Zack Williams | e940c7a | 2019-08-21 14:25:39 -0700 | [diff] [blame] | 1 | // +build !ignore_autogenerated |
| 2 | |
| 3 | /* |
| 4 | Copyright The Kubernetes Authors. |
| 5 | |
| 6 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | you may not use this file except in compliance with the License. |
| 8 | You may obtain a copy of the License at |
| 9 | |
| 10 | http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | |
| 12 | Unless required by applicable law or agreed to in writing, software |
| 13 | distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | See the License for the specific language governing permissions and |
| 16 | limitations under the License. |
| 17 | */ |
| 18 | |
| 19 | // Code generated by deepcopy-gen. DO NOT EDIT. |
| 20 | |
| 21 | package v1alpha1 |
| 22 | |
| 23 | import ( |
| 24 | runtime "k8s.io/apimachinery/pkg/runtime" |
| 25 | ) |
| 26 | |
| 27 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 28 | func (in *AuditSink) DeepCopyInto(out *AuditSink) { |
| 29 | *out = *in |
| 30 | out.TypeMeta = in.TypeMeta |
| 31 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 32 | in.Spec.DeepCopyInto(&out.Spec) |
| 33 | return |
| 34 | } |
| 35 | |
| 36 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuditSink. |
| 37 | func (in *AuditSink) DeepCopy() *AuditSink { |
| 38 | if in == nil { |
| 39 | return nil |
| 40 | } |
| 41 | out := new(AuditSink) |
| 42 | in.DeepCopyInto(out) |
| 43 | return out |
| 44 | } |
| 45 | |
| 46 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 47 | func (in *AuditSink) DeepCopyObject() runtime.Object { |
| 48 | if c := in.DeepCopy(); c != nil { |
| 49 | return c |
| 50 | } |
| 51 | return nil |
| 52 | } |
| 53 | |
| 54 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 55 | func (in *AuditSinkList) DeepCopyInto(out *AuditSinkList) { |
| 56 | *out = *in |
| 57 | out.TypeMeta = in.TypeMeta |
| 58 | in.ListMeta.DeepCopyInto(&out.ListMeta) |
| 59 | if in.Items != nil { |
| 60 | in, out := &in.Items, &out.Items |
| 61 | *out = make([]AuditSink, len(*in)) |
| 62 | for i := range *in { |
| 63 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 64 | } |
| 65 | } |
| 66 | return |
| 67 | } |
| 68 | |
| 69 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuditSinkList. |
| 70 | func (in *AuditSinkList) DeepCopy() *AuditSinkList { |
| 71 | if in == nil { |
| 72 | return nil |
| 73 | } |
| 74 | out := new(AuditSinkList) |
| 75 | in.DeepCopyInto(out) |
| 76 | return out |
| 77 | } |
| 78 | |
| 79 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 80 | func (in *AuditSinkList) DeepCopyObject() runtime.Object { |
| 81 | if c := in.DeepCopy(); c != nil { |
| 82 | return c |
| 83 | } |
| 84 | return nil |
| 85 | } |
| 86 | |
| 87 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 88 | func (in *AuditSinkSpec) DeepCopyInto(out *AuditSinkSpec) { |
| 89 | *out = *in |
| 90 | in.Policy.DeepCopyInto(&out.Policy) |
| 91 | in.Webhook.DeepCopyInto(&out.Webhook) |
| 92 | return |
| 93 | } |
| 94 | |
| 95 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuditSinkSpec. |
| 96 | func (in *AuditSinkSpec) DeepCopy() *AuditSinkSpec { |
| 97 | if in == nil { |
| 98 | return nil |
| 99 | } |
| 100 | out := new(AuditSinkSpec) |
| 101 | in.DeepCopyInto(out) |
| 102 | return out |
| 103 | } |
| 104 | |
| 105 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 106 | func (in *Policy) DeepCopyInto(out *Policy) { |
| 107 | *out = *in |
| 108 | if in.Stages != nil { |
| 109 | in, out := &in.Stages, &out.Stages |
| 110 | *out = make([]Stage, len(*in)) |
| 111 | copy(*out, *in) |
| 112 | } |
| 113 | return |
| 114 | } |
| 115 | |
| 116 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy. |
| 117 | func (in *Policy) DeepCopy() *Policy { |
| 118 | if in == nil { |
| 119 | return nil |
| 120 | } |
| 121 | out := new(Policy) |
| 122 | in.DeepCopyInto(out) |
| 123 | return out |
| 124 | } |
| 125 | |
| 126 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 127 | func (in *ServiceReference) DeepCopyInto(out *ServiceReference) { |
| 128 | *out = *in |
| 129 | if in.Path != nil { |
| 130 | in, out := &in.Path, &out.Path |
| 131 | *out = new(string) |
| 132 | **out = **in |
| 133 | } |
| 134 | if in.Port != nil { |
| 135 | in, out := &in.Port, &out.Port |
| 136 | *out = new(int32) |
| 137 | **out = **in |
| 138 | } |
| 139 | return |
| 140 | } |
| 141 | |
| 142 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceReference. |
| 143 | func (in *ServiceReference) DeepCopy() *ServiceReference { |
| 144 | if in == nil { |
| 145 | return nil |
| 146 | } |
| 147 | out := new(ServiceReference) |
| 148 | in.DeepCopyInto(out) |
| 149 | return out |
| 150 | } |
| 151 | |
| 152 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 153 | func (in *Webhook) DeepCopyInto(out *Webhook) { |
| 154 | *out = *in |
| 155 | if in.Throttle != nil { |
| 156 | in, out := &in.Throttle, &out.Throttle |
| 157 | *out = new(WebhookThrottleConfig) |
| 158 | (*in).DeepCopyInto(*out) |
| 159 | } |
| 160 | in.ClientConfig.DeepCopyInto(&out.ClientConfig) |
| 161 | return |
| 162 | } |
| 163 | |
| 164 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Webhook. |
| 165 | func (in *Webhook) DeepCopy() *Webhook { |
| 166 | if in == nil { |
| 167 | return nil |
| 168 | } |
| 169 | out := new(Webhook) |
| 170 | in.DeepCopyInto(out) |
| 171 | return out |
| 172 | } |
| 173 | |
| 174 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 175 | func (in *WebhookClientConfig) DeepCopyInto(out *WebhookClientConfig) { |
| 176 | *out = *in |
| 177 | if in.URL != nil { |
| 178 | in, out := &in.URL, &out.URL |
| 179 | *out = new(string) |
| 180 | **out = **in |
| 181 | } |
| 182 | if in.Service != nil { |
| 183 | in, out := &in.Service, &out.Service |
| 184 | *out = new(ServiceReference) |
| 185 | (*in).DeepCopyInto(*out) |
| 186 | } |
| 187 | if in.CABundle != nil { |
| 188 | in, out := &in.CABundle, &out.CABundle |
| 189 | *out = make([]byte, len(*in)) |
| 190 | copy(*out, *in) |
| 191 | } |
| 192 | return |
| 193 | } |
| 194 | |
| 195 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookClientConfig. |
| 196 | func (in *WebhookClientConfig) DeepCopy() *WebhookClientConfig { |
| 197 | if in == nil { |
| 198 | return nil |
| 199 | } |
| 200 | out := new(WebhookClientConfig) |
| 201 | in.DeepCopyInto(out) |
| 202 | return out |
| 203 | } |
| 204 | |
| 205 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 206 | func (in *WebhookThrottleConfig) DeepCopyInto(out *WebhookThrottleConfig) { |
| 207 | *out = *in |
| 208 | if in.QPS != nil { |
| 209 | in, out := &in.QPS, &out.QPS |
| 210 | *out = new(int64) |
| 211 | **out = **in |
| 212 | } |
| 213 | if in.Burst != nil { |
| 214 | in, out := &in.Burst, &out.Burst |
| 215 | *out = new(int64) |
| 216 | **out = **in |
| 217 | } |
| 218 | return |
| 219 | } |
| 220 | |
| 221 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookThrottleConfig. |
| 222 | func (in *WebhookThrottleConfig) DeepCopy() *WebhookThrottleConfig { |
| 223 | if in == nil { |
| 224 | return nil |
| 225 | } |
| 226 | out := new(WebhookThrottleConfig) |
| 227 | in.DeepCopyInto(out) |
| 228 | return out |
| 229 | } |