blob: c4570d0311b720e8205467a3d22ce59d0853d10c [file] [log] [blame]
Scott Bakere7144bc2019-10-01 14:16:47 -07001// +build !ignore_autogenerated
2
3/*
4Copyright The Kubernetes Authors.
5
6Licensed under the Apache License, Version 2.0 (the "License");
7you may not use this file except in compliance with the License.
8You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12Unless required by applicable law or agreed to in writing, software
13distributed under the License is distributed on an "AS IS" BASIS,
14WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15See the License for the specific language governing permissions and
16limitations under the License.
17*/
18
19// Code generated by deepcopy-gen. DO NOT EDIT.
20
21package v1beta1
22
23import (
24 v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
25 runtime "k8s.io/apimachinery/pkg/runtime"
26)
27
28// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
girishke7ca43b2019-10-10 12:30:03 +000029func (in *MutatingWebhook) DeepCopyInto(out *MutatingWebhook) {
30 *out = *in
31 in.ClientConfig.DeepCopyInto(&out.ClientConfig)
32 if in.Rules != nil {
33 in, out := &in.Rules, &out.Rules
34 *out = make([]RuleWithOperations, len(*in))
35 for i := range *in {
36 (*in)[i].DeepCopyInto(&(*out)[i])
37 }
38 }
39 if in.FailurePolicy != nil {
40 in, out := &in.FailurePolicy, &out.FailurePolicy
41 *out = new(FailurePolicyType)
42 **out = **in
43 }
44 if in.MatchPolicy != nil {
45 in, out := &in.MatchPolicy, &out.MatchPolicy
46 *out = new(MatchPolicyType)
47 **out = **in
48 }
49 if in.NamespaceSelector != nil {
50 in, out := &in.NamespaceSelector, &out.NamespaceSelector
51 *out = new(v1.LabelSelector)
52 (*in).DeepCopyInto(*out)
53 }
54 if in.ObjectSelector != nil {
55 in, out := &in.ObjectSelector, &out.ObjectSelector
56 *out = new(v1.LabelSelector)
57 (*in).DeepCopyInto(*out)
58 }
59 if in.SideEffects != nil {
60 in, out := &in.SideEffects, &out.SideEffects
61 *out = new(SideEffectClass)
62 **out = **in
63 }
64 if in.TimeoutSeconds != nil {
65 in, out := &in.TimeoutSeconds, &out.TimeoutSeconds
66 *out = new(int32)
67 **out = **in
68 }
69 if in.AdmissionReviewVersions != nil {
70 in, out := &in.AdmissionReviewVersions, &out.AdmissionReviewVersions
71 *out = make([]string, len(*in))
72 copy(*out, *in)
73 }
74 if in.ReinvocationPolicy != nil {
75 in, out := &in.ReinvocationPolicy, &out.ReinvocationPolicy
76 *out = new(ReinvocationPolicyType)
77 **out = **in
78 }
79 return
80}
81
82// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MutatingWebhook.
83func (in *MutatingWebhook) DeepCopy() *MutatingWebhook {
84 if in == nil {
85 return nil
86 }
87 out := new(MutatingWebhook)
88 in.DeepCopyInto(out)
89 return out
90}
91
92// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Scott Bakere7144bc2019-10-01 14:16:47 -070093func (in *MutatingWebhookConfiguration) DeepCopyInto(out *MutatingWebhookConfiguration) {
94 *out = *in
95 out.TypeMeta = in.TypeMeta
96 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
97 if in.Webhooks != nil {
98 in, out := &in.Webhooks, &out.Webhooks
girishke7ca43b2019-10-10 12:30:03 +000099 *out = make([]MutatingWebhook, len(*in))
Scott Bakere7144bc2019-10-01 14:16:47 -0700100 for i := range *in {
101 (*in)[i].DeepCopyInto(&(*out)[i])
102 }
103 }
104 return
105}
106
107// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MutatingWebhookConfiguration.
108func (in *MutatingWebhookConfiguration) DeepCopy() *MutatingWebhookConfiguration {
109 if in == nil {
110 return nil
111 }
112 out := new(MutatingWebhookConfiguration)
113 in.DeepCopyInto(out)
114 return out
115}
116
117// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
118func (in *MutatingWebhookConfiguration) DeepCopyObject() runtime.Object {
119 if c := in.DeepCopy(); c != nil {
120 return c
121 }
122 return nil
123}
124
125// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
126func (in *MutatingWebhookConfigurationList) DeepCopyInto(out *MutatingWebhookConfigurationList) {
127 *out = *in
128 out.TypeMeta = in.TypeMeta
girishke7ca43b2019-10-10 12:30:03 +0000129 in.ListMeta.DeepCopyInto(&out.ListMeta)
Scott Bakere7144bc2019-10-01 14:16:47 -0700130 if in.Items != nil {
131 in, out := &in.Items, &out.Items
132 *out = make([]MutatingWebhookConfiguration, len(*in))
133 for i := range *in {
134 (*in)[i].DeepCopyInto(&(*out)[i])
135 }
136 }
137 return
138}
139
140// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MutatingWebhookConfigurationList.
141func (in *MutatingWebhookConfigurationList) DeepCopy() *MutatingWebhookConfigurationList {
142 if in == nil {
143 return nil
144 }
145 out := new(MutatingWebhookConfigurationList)
146 in.DeepCopyInto(out)
147 return out
148}
149
150// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
151func (in *MutatingWebhookConfigurationList) DeepCopyObject() runtime.Object {
152 if c := in.DeepCopy(); c != nil {
153 return c
154 }
155 return nil
156}
157
158// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
159func (in *Rule) DeepCopyInto(out *Rule) {
160 *out = *in
161 if in.APIGroups != nil {
162 in, out := &in.APIGroups, &out.APIGroups
163 *out = make([]string, len(*in))
164 copy(*out, *in)
165 }
166 if in.APIVersions != nil {
167 in, out := &in.APIVersions, &out.APIVersions
168 *out = make([]string, len(*in))
169 copy(*out, *in)
170 }
171 if in.Resources != nil {
172 in, out := &in.Resources, &out.Resources
173 *out = make([]string, len(*in))
174 copy(*out, *in)
175 }
girishke7ca43b2019-10-10 12:30:03 +0000176 if in.Scope != nil {
177 in, out := &in.Scope, &out.Scope
178 *out = new(ScopeType)
179 **out = **in
180 }
Scott Bakere7144bc2019-10-01 14:16:47 -0700181 return
182}
183
184// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rule.
185func (in *Rule) DeepCopy() *Rule {
186 if in == nil {
187 return nil
188 }
189 out := new(Rule)
190 in.DeepCopyInto(out)
191 return out
192}
193
194// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
195func (in *RuleWithOperations) DeepCopyInto(out *RuleWithOperations) {
196 *out = *in
197 if in.Operations != nil {
198 in, out := &in.Operations, &out.Operations
199 *out = make([]OperationType, len(*in))
200 copy(*out, *in)
201 }
202 in.Rule.DeepCopyInto(&out.Rule)
203 return
204}
205
206// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleWithOperations.
207func (in *RuleWithOperations) DeepCopy() *RuleWithOperations {
208 if in == nil {
209 return nil
210 }
211 out := new(RuleWithOperations)
212 in.DeepCopyInto(out)
213 return out
214}
215
216// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
217func (in *ServiceReference) DeepCopyInto(out *ServiceReference) {
218 *out = *in
219 if in.Path != nil {
220 in, out := &in.Path, &out.Path
221 *out = new(string)
222 **out = **in
223 }
girishke7ca43b2019-10-10 12:30:03 +0000224 if in.Port != nil {
225 in, out := &in.Port, &out.Port
226 *out = new(int32)
227 **out = **in
228 }
Scott Bakere7144bc2019-10-01 14:16:47 -0700229 return
230}
231
232// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceReference.
233func (in *ServiceReference) DeepCopy() *ServiceReference {
234 if in == nil {
235 return nil
236 }
237 out := new(ServiceReference)
238 in.DeepCopyInto(out)
239 return out
240}
241
242// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
girishke7ca43b2019-10-10 12:30:03 +0000243func (in *ValidatingWebhook) DeepCopyInto(out *ValidatingWebhook) {
244 *out = *in
245 in.ClientConfig.DeepCopyInto(&out.ClientConfig)
246 if in.Rules != nil {
247 in, out := &in.Rules, &out.Rules
248 *out = make([]RuleWithOperations, len(*in))
249 for i := range *in {
250 (*in)[i].DeepCopyInto(&(*out)[i])
251 }
252 }
253 if in.FailurePolicy != nil {
254 in, out := &in.FailurePolicy, &out.FailurePolicy
255 *out = new(FailurePolicyType)
256 **out = **in
257 }
258 if in.MatchPolicy != nil {
259 in, out := &in.MatchPolicy, &out.MatchPolicy
260 *out = new(MatchPolicyType)
261 **out = **in
262 }
263 if in.NamespaceSelector != nil {
264 in, out := &in.NamespaceSelector, &out.NamespaceSelector
265 *out = new(v1.LabelSelector)
266 (*in).DeepCopyInto(*out)
267 }
268 if in.ObjectSelector != nil {
269 in, out := &in.ObjectSelector, &out.ObjectSelector
270 *out = new(v1.LabelSelector)
271 (*in).DeepCopyInto(*out)
272 }
273 if in.SideEffects != nil {
274 in, out := &in.SideEffects, &out.SideEffects
275 *out = new(SideEffectClass)
276 **out = **in
277 }
278 if in.TimeoutSeconds != nil {
279 in, out := &in.TimeoutSeconds, &out.TimeoutSeconds
280 *out = new(int32)
281 **out = **in
282 }
283 if in.AdmissionReviewVersions != nil {
284 in, out := &in.AdmissionReviewVersions, &out.AdmissionReviewVersions
285 *out = make([]string, len(*in))
286 copy(*out, *in)
287 }
288 return
289}
290
291// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidatingWebhook.
292func (in *ValidatingWebhook) DeepCopy() *ValidatingWebhook {
293 if in == nil {
294 return nil
295 }
296 out := new(ValidatingWebhook)
297 in.DeepCopyInto(out)
298 return out
299}
300
301// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Scott Bakere7144bc2019-10-01 14:16:47 -0700302func (in *ValidatingWebhookConfiguration) DeepCopyInto(out *ValidatingWebhookConfiguration) {
303 *out = *in
304 out.TypeMeta = in.TypeMeta
305 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
306 if in.Webhooks != nil {
307 in, out := &in.Webhooks, &out.Webhooks
girishke7ca43b2019-10-10 12:30:03 +0000308 *out = make([]ValidatingWebhook, len(*in))
Scott Bakere7144bc2019-10-01 14:16:47 -0700309 for i := range *in {
310 (*in)[i].DeepCopyInto(&(*out)[i])
311 }
312 }
313 return
314}
315
316// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidatingWebhookConfiguration.
317func (in *ValidatingWebhookConfiguration) DeepCopy() *ValidatingWebhookConfiguration {
318 if in == nil {
319 return nil
320 }
321 out := new(ValidatingWebhookConfiguration)
322 in.DeepCopyInto(out)
323 return out
324}
325
326// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
327func (in *ValidatingWebhookConfiguration) DeepCopyObject() runtime.Object {
328 if c := in.DeepCopy(); c != nil {
329 return c
330 }
331 return nil
332}
333
334// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
335func (in *ValidatingWebhookConfigurationList) DeepCopyInto(out *ValidatingWebhookConfigurationList) {
336 *out = *in
337 out.TypeMeta = in.TypeMeta
girishke7ca43b2019-10-10 12:30:03 +0000338 in.ListMeta.DeepCopyInto(&out.ListMeta)
Scott Bakere7144bc2019-10-01 14:16:47 -0700339 if in.Items != nil {
340 in, out := &in.Items, &out.Items
341 *out = make([]ValidatingWebhookConfiguration, len(*in))
342 for i := range *in {
343 (*in)[i].DeepCopyInto(&(*out)[i])
344 }
345 }
346 return
347}
348
349// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidatingWebhookConfigurationList.
350func (in *ValidatingWebhookConfigurationList) DeepCopy() *ValidatingWebhookConfigurationList {
351 if in == nil {
352 return nil
353 }
354 out := new(ValidatingWebhookConfigurationList)
355 in.DeepCopyInto(out)
356 return out
357}
358
359// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
360func (in *ValidatingWebhookConfigurationList) DeepCopyObject() runtime.Object {
361 if c := in.DeepCopy(); c != nil {
362 return c
363 }
364 return nil
365}
366
367// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Scott Bakere7144bc2019-10-01 14:16:47 -0700368func (in *WebhookClientConfig) DeepCopyInto(out *WebhookClientConfig) {
369 *out = *in
370 if in.URL != nil {
371 in, out := &in.URL, &out.URL
372 *out = new(string)
373 **out = **in
374 }
375 if in.Service != nil {
376 in, out := &in.Service, &out.Service
377 *out = new(ServiceReference)
378 (*in).DeepCopyInto(*out)
379 }
380 if in.CABundle != nil {
381 in, out := &in.CABundle, &out.CABundle
382 *out = make([]byte, len(*in))
383 copy(*out, *in)
384 }
385 return
386}
387
388// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookClientConfig.
389func (in *WebhookClientConfig) DeepCopy() *WebhookClientConfig {
390 if in == nil {
391 return nil
392 }
393 out := new(WebhookClientConfig)
394 in.DeepCopyInto(out)
395 return out
396}