blob: b17e78927718e8332ee64716fcfb025b36af5e68 [file] [log] [blame]
Matteo Scandoloa4285862020-12-01 18:10:10 -08001// +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 v1
22
23import (
24 corev1 "k8s.io/api/core/v1"
25 metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
26 runtime "k8s.io/apimachinery/pkg/runtime"
27 intstr "k8s.io/apimachinery/pkg/util/intstr"
28)
29
30// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
31func (in *HTTPIngressPath) DeepCopyInto(out *HTTPIngressPath) {
32 *out = *in
33 if in.PathType != nil {
34 in, out := &in.PathType, &out.PathType
35 *out = new(PathType)
36 **out = **in
37 }
38 in.Backend.DeepCopyInto(&out.Backend)
39 return
40}
41
42// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPIngressPath.
43func (in *HTTPIngressPath) DeepCopy() *HTTPIngressPath {
44 if in == nil {
45 return nil
46 }
47 out := new(HTTPIngressPath)
48 in.DeepCopyInto(out)
49 return out
50}
51
52// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
53func (in *HTTPIngressRuleValue) DeepCopyInto(out *HTTPIngressRuleValue) {
54 *out = *in
55 if in.Paths != nil {
56 in, out := &in.Paths, &out.Paths
57 *out = make([]HTTPIngressPath, len(*in))
58 for i := range *in {
59 (*in)[i].DeepCopyInto(&(*out)[i])
60 }
61 }
62 return
63}
64
65// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPIngressRuleValue.
66func (in *HTTPIngressRuleValue) DeepCopy() *HTTPIngressRuleValue {
67 if in == nil {
68 return nil
69 }
70 out := new(HTTPIngressRuleValue)
71 in.DeepCopyInto(out)
72 return out
73}
74
75// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
76func (in *IPBlock) DeepCopyInto(out *IPBlock) {
77 *out = *in
78 if in.Except != nil {
79 in, out := &in.Except, &out.Except
80 *out = make([]string, len(*in))
81 copy(*out, *in)
82 }
83 return
84}
85
86// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPBlock.
87func (in *IPBlock) DeepCopy() *IPBlock {
88 if in == nil {
89 return nil
90 }
91 out := new(IPBlock)
92 in.DeepCopyInto(out)
93 return out
94}
95
96// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
97func (in *Ingress) DeepCopyInto(out *Ingress) {
98 *out = *in
99 out.TypeMeta = in.TypeMeta
100 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
101 in.Spec.DeepCopyInto(&out.Spec)
102 in.Status.DeepCopyInto(&out.Status)
103 return
104}
105
106// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ingress.
107func (in *Ingress) DeepCopy() *Ingress {
108 if in == nil {
109 return nil
110 }
111 out := new(Ingress)
112 in.DeepCopyInto(out)
113 return out
114}
115
116// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
117func (in *Ingress) DeepCopyObject() runtime.Object {
118 if c := in.DeepCopy(); c != nil {
119 return c
120 }
121 return nil
122}
123
124// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
125func (in *IngressBackend) DeepCopyInto(out *IngressBackend) {
126 *out = *in
127 if in.Service != nil {
128 in, out := &in.Service, &out.Service
129 *out = new(IngressServiceBackend)
130 **out = **in
131 }
132 if in.Resource != nil {
133 in, out := &in.Resource, &out.Resource
134 *out = new(corev1.TypedLocalObjectReference)
135 (*in).DeepCopyInto(*out)
136 }
137 return
138}
139
140// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressBackend.
141func (in *IngressBackend) DeepCopy() *IngressBackend {
142 if in == nil {
143 return nil
144 }
145 out := new(IngressBackend)
146 in.DeepCopyInto(out)
147 return out
148}
149
150// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
151func (in *IngressClass) DeepCopyInto(out *IngressClass) {
152 *out = *in
153 out.TypeMeta = in.TypeMeta
154 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
155 in.Spec.DeepCopyInto(&out.Spec)
156 return
157}
158
159// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressClass.
160func (in *IngressClass) DeepCopy() *IngressClass {
161 if in == nil {
162 return nil
163 }
164 out := new(IngressClass)
165 in.DeepCopyInto(out)
166 return out
167}
168
169// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
170func (in *IngressClass) DeepCopyObject() runtime.Object {
171 if c := in.DeepCopy(); c != nil {
172 return c
173 }
174 return nil
175}
176
177// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
178func (in *IngressClassList) DeepCopyInto(out *IngressClassList) {
179 *out = *in
180 out.TypeMeta = in.TypeMeta
181 in.ListMeta.DeepCopyInto(&out.ListMeta)
182 if in.Items != nil {
183 in, out := &in.Items, &out.Items
184 *out = make([]IngressClass, len(*in))
185 for i := range *in {
186 (*in)[i].DeepCopyInto(&(*out)[i])
187 }
188 }
189 return
190}
191
192// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressClassList.
193func (in *IngressClassList) DeepCopy() *IngressClassList {
194 if in == nil {
195 return nil
196 }
197 out := new(IngressClassList)
198 in.DeepCopyInto(out)
199 return out
200}
201
202// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
203func (in *IngressClassList) DeepCopyObject() runtime.Object {
204 if c := in.DeepCopy(); c != nil {
205 return c
206 }
207 return nil
208}
209
210// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
211func (in *IngressClassSpec) DeepCopyInto(out *IngressClassSpec) {
212 *out = *in
213 if in.Parameters != nil {
214 in, out := &in.Parameters, &out.Parameters
215 *out = new(corev1.TypedLocalObjectReference)
216 (*in).DeepCopyInto(*out)
217 }
218 return
219}
220
221// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressClassSpec.
222func (in *IngressClassSpec) DeepCopy() *IngressClassSpec {
223 if in == nil {
224 return nil
225 }
226 out := new(IngressClassSpec)
227 in.DeepCopyInto(out)
228 return out
229}
230
231// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
232func (in *IngressList) DeepCopyInto(out *IngressList) {
233 *out = *in
234 out.TypeMeta = in.TypeMeta
235 in.ListMeta.DeepCopyInto(&out.ListMeta)
236 if in.Items != nil {
237 in, out := &in.Items, &out.Items
238 *out = make([]Ingress, len(*in))
239 for i := range *in {
240 (*in)[i].DeepCopyInto(&(*out)[i])
241 }
242 }
243 return
244}
245
246// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressList.
247func (in *IngressList) DeepCopy() *IngressList {
248 if in == nil {
249 return nil
250 }
251 out := new(IngressList)
252 in.DeepCopyInto(out)
253 return out
254}
255
256// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
257func (in *IngressList) DeepCopyObject() runtime.Object {
258 if c := in.DeepCopy(); c != nil {
259 return c
260 }
261 return nil
262}
263
264// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
265func (in *IngressRule) DeepCopyInto(out *IngressRule) {
266 *out = *in
267 in.IngressRuleValue.DeepCopyInto(&out.IngressRuleValue)
268 return
269}
270
271// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRule.
272func (in *IngressRule) DeepCopy() *IngressRule {
273 if in == nil {
274 return nil
275 }
276 out := new(IngressRule)
277 in.DeepCopyInto(out)
278 return out
279}
280
281// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
282func (in *IngressRuleValue) DeepCopyInto(out *IngressRuleValue) {
283 *out = *in
284 if in.HTTP != nil {
285 in, out := &in.HTTP, &out.HTTP
286 *out = new(HTTPIngressRuleValue)
287 (*in).DeepCopyInto(*out)
288 }
289 return
290}
291
292// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRuleValue.
293func (in *IngressRuleValue) DeepCopy() *IngressRuleValue {
294 if in == nil {
295 return nil
296 }
297 out := new(IngressRuleValue)
298 in.DeepCopyInto(out)
299 return out
300}
301
302// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
303func (in *IngressServiceBackend) DeepCopyInto(out *IngressServiceBackend) {
304 *out = *in
305 out.Port = in.Port
306 return
307}
308
309// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressServiceBackend.
310func (in *IngressServiceBackend) DeepCopy() *IngressServiceBackend {
311 if in == nil {
312 return nil
313 }
314 out := new(IngressServiceBackend)
315 in.DeepCopyInto(out)
316 return out
317}
318
319// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
320func (in *IngressSpec) DeepCopyInto(out *IngressSpec) {
321 *out = *in
322 if in.IngressClassName != nil {
323 in, out := &in.IngressClassName, &out.IngressClassName
324 *out = new(string)
325 **out = **in
326 }
327 if in.DefaultBackend != nil {
328 in, out := &in.DefaultBackend, &out.DefaultBackend
329 *out = new(IngressBackend)
330 (*in).DeepCopyInto(*out)
331 }
332 if in.TLS != nil {
333 in, out := &in.TLS, &out.TLS
334 *out = make([]IngressTLS, len(*in))
335 for i := range *in {
336 (*in)[i].DeepCopyInto(&(*out)[i])
337 }
338 }
339 if in.Rules != nil {
340 in, out := &in.Rules, &out.Rules
341 *out = make([]IngressRule, 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 IngressSpec.
350func (in *IngressSpec) DeepCopy() *IngressSpec {
351 if in == nil {
352 return nil
353 }
354 out := new(IngressSpec)
355 in.DeepCopyInto(out)
356 return out
357}
358
359// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
360func (in *IngressStatus) DeepCopyInto(out *IngressStatus) {
361 *out = *in
362 in.LoadBalancer.DeepCopyInto(&out.LoadBalancer)
363 return
364}
365
366// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressStatus.
367func (in *IngressStatus) DeepCopy() *IngressStatus {
368 if in == nil {
369 return nil
370 }
371 out := new(IngressStatus)
372 in.DeepCopyInto(out)
373 return out
374}
375
376// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
377func (in *IngressTLS) DeepCopyInto(out *IngressTLS) {
378 *out = *in
379 if in.Hosts != nil {
380 in, out := &in.Hosts, &out.Hosts
381 *out = make([]string, len(*in))
382 copy(*out, *in)
383 }
384 return
385}
386
387// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressTLS.
388func (in *IngressTLS) DeepCopy() *IngressTLS {
389 if in == nil {
390 return nil
391 }
392 out := new(IngressTLS)
393 in.DeepCopyInto(out)
394 return out
395}
396
397// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
398func (in *NetworkPolicy) DeepCopyInto(out *NetworkPolicy) {
399 *out = *in
400 out.TypeMeta = in.TypeMeta
401 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
402 in.Spec.DeepCopyInto(&out.Spec)
403 return
404}
405
406// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicy.
407func (in *NetworkPolicy) DeepCopy() *NetworkPolicy {
408 if in == nil {
409 return nil
410 }
411 out := new(NetworkPolicy)
412 in.DeepCopyInto(out)
413 return out
414}
415
416// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
417func (in *NetworkPolicy) DeepCopyObject() runtime.Object {
418 if c := in.DeepCopy(); c != nil {
419 return c
420 }
421 return nil
422}
423
424// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
425func (in *NetworkPolicyEgressRule) DeepCopyInto(out *NetworkPolicyEgressRule) {
426 *out = *in
427 if in.Ports != nil {
428 in, out := &in.Ports, &out.Ports
429 *out = make([]NetworkPolicyPort, len(*in))
430 for i := range *in {
431 (*in)[i].DeepCopyInto(&(*out)[i])
432 }
433 }
434 if in.To != nil {
435 in, out := &in.To, &out.To
436 *out = make([]NetworkPolicyPeer, len(*in))
437 for i := range *in {
438 (*in)[i].DeepCopyInto(&(*out)[i])
439 }
440 }
441 return
442}
443
444// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyEgressRule.
445func (in *NetworkPolicyEgressRule) DeepCopy() *NetworkPolicyEgressRule {
446 if in == nil {
447 return nil
448 }
449 out := new(NetworkPolicyEgressRule)
450 in.DeepCopyInto(out)
451 return out
452}
453
454// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
455func (in *NetworkPolicyIngressRule) DeepCopyInto(out *NetworkPolicyIngressRule) {
456 *out = *in
457 if in.Ports != nil {
458 in, out := &in.Ports, &out.Ports
459 *out = make([]NetworkPolicyPort, len(*in))
460 for i := range *in {
461 (*in)[i].DeepCopyInto(&(*out)[i])
462 }
463 }
464 if in.From != nil {
465 in, out := &in.From, &out.From
466 *out = make([]NetworkPolicyPeer, len(*in))
467 for i := range *in {
468 (*in)[i].DeepCopyInto(&(*out)[i])
469 }
470 }
471 return
472}
473
474// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyIngressRule.
475func (in *NetworkPolicyIngressRule) DeepCopy() *NetworkPolicyIngressRule {
476 if in == nil {
477 return nil
478 }
479 out := new(NetworkPolicyIngressRule)
480 in.DeepCopyInto(out)
481 return out
482}
483
484// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
485func (in *NetworkPolicyList) DeepCopyInto(out *NetworkPolicyList) {
486 *out = *in
487 out.TypeMeta = in.TypeMeta
488 in.ListMeta.DeepCopyInto(&out.ListMeta)
489 if in.Items != nil {
490 in, out := &in.Items, &out.Items
491 *out = make([]NetworkPolicy, len(*in))
492 for i := range *in {
493 (*in)[i].DeepCopyInto(&(*out)[i])
494 }
495 }
496 return
497}
498
499// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyList.
500func (in *NetworkPolicyList) DeepCopy() *NetworkPolicyList {
501 if in == nil {
502 return nil
503 }
504 out := new(NetworkPolicyList)
505 in.DeepCopyInto(out)
506 return out
507}
508
509// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
510func (in *NetworkPolicyList) DeepCopyObject() runtime.Object {
511 if c := in.DeepCopy(); c != nil {
512 return c
513 }
514 return nil
515}
516
517// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
518func (in *NetworkPolicyPeer) DeepCopyInto(out *NetworkPolicyPeer) {
519 *out = *in
520 if in.PodSelector != nil {
521 in, out := &in.PodSelector, &out.PodSelector
522 *out = new(metav1.LabelSelector)
523 (*in).DeepCopyInto(*out)
524 }
525 if in.NamespaceSelector != nil {
526 in, out := &in.NamespaceSelector, &out.NamespaceSelector
527 *out = new(metav1.LabelSelector)
528 (*in).DeepCopyInto(*out)
529 }
530 if in.IPBlock != nil {
531 in, out := &in.IPBlock, &out.IPBlock
532 *out = new(IPBlock)
533 (*in).DeepCopyInto(*out)
534 }
535 return
536}
537
538// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyPeer.
539func (in *NetworkPolicyPeer) DeepCopy() *NetworkPolicyPeer {
540 if in == nil {
541 return nil
542 }
543 out := new(NetworkPolicyPeer)
544 in.DeepCopyInto(out)
545 return out
546}
547
548// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
549func (in *NetworkPolicyPort) DeepCopyInto(out *NetworkPolicyPort) {
550 *out = *in
551 if in.Protocol != nil {
552 in, out := &in.Protocol, &out.Protocol
553 *out = new(corev1.Protocol)
554 **out = **in
555 }
556 if in.Port != nil {
557 in, out := &in.Port, &out.Port
558 *out = new(intstr.IntOrString)
559 **out = **in
560 }
561 return
562}
563
564// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyPort.
565func (in *NetworkPolicyPort) DeepCopy() *NetworkPolicyPort {
566 if in == nil {
567 return nil
568 }
569 out := new(NetworkPolicyPort)
570 in.DeepCopyInto(out)
571 return out
572}
573
574// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
575func (in *NetworkPolicySpec) DeepCopyInto(out *NetworkPolicySpec) {
576 *out = *in
577 in.PodSelector.DeepCopyInto(&out.PodSelector)
578 if in.Ingress != nil {
579 in, out := &in.Ingress, &out.Ingress
580 *out = make([]NetworkPolicyIngressRule, len(*in))
581 for i := range *in {
582 (*in)[i].DeepCopyInto(&(*out)[i])
583 }
584 }
585 if in.Egress != nil {
586 in, out := &in.Egress, &out.Egress
587 *out = make([]NetworkPolicyEgressRule, len(*in))
588 for i := range *in {
589 (*in)[i].DeepCopyInto(&(*out)[i])
590 }
591 }
592 if in.PolicyTypes != nil {
593 in, out := &in.PolicyTypes, &out.PolicyTypes
594 *out = make([]PolicyType, len(*in))
595 copy(*out, *in)
596 }
597 return
598}
599
600// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicySpec.
601func (in *NetworkPolicySpec) DeepCopy() *NetworkPolicySpec {
602 if in == nil {
603 return nil
604 }
605 out := new(NetworkPolicySpec)
606 in.DeepCopyInto(out)
607 return out
608}
609
610// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
611func (in *ServiceBackendPort) DeepCopyInto(out *ServiceBackendPort) {
612 *out = *in
613 return
614}
615
616// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceBackendPort.
617func (in *ServiceBackendPort) DeepCopy() *ServiceBackendPort {
618 if in == nil {
619 return nil
620 }
621 out := new(ServiceBackendPort)
622 in.DeepCopyInto(out)
623 return out
624}