1
2
3
4
19
20
21
22 package v1beta1
23
24 import (
25 corev1 "k8s.io/api/core/v1"
26 v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
27 runtime "k8s.io/apimachinery/pkg/runtime"
28 intstr "k8s.io/apimachinery/pkg/util/intstr"
29 )
30
31
32 func (in *DaemonSet) DeepCopyInto(out *DaemonSet) {
33 *out = *in
34 out.TypeMeta = in.TypeMeta
35 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
36 in.Spec.DeepCopyInto(&out.Spec)
37 in.Status.DeepCopyInto(&out.Status)
38 return
39 }
40
41
42 func (in *DaemonSet) DeepCopy() *DaemonSet {
43 if in == nil {
44 return nil
45 }
46 out := new(DaemonSet)
47 in.DeepCopyInto(out)
48 return out
49 }
50
51
52 func (in *DaemonSet) DeepCopyObject() runtime.Object {
53 if c := in.DeepCopy(); c != nil {
54 return c
55 }
56 return nil
57 }
58
59
60 func (in *DaemonSetCondition) DeepCopyInto(out *DaemonSetCondition) {
61 *out = *in
62 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
63 return
64 }
65
66
67 func (in *DaemonSetCondition) DeepCopy() *DaemonSetCondition {
68 if in == nil {
69 return nil
70 }
71 out := new(DaemonSetCondition)
72 in.DeepCopyInto(out)
73 return out
74 }
75
76
77 func (in *DaemonSetList) DeepCopyInto(out *DaemonSetList) {
78 *out = *in
79 out.TypeMeta = in.TypeMeta
80 in.ListMeta.DeepCopyInto(&out.ListMeta)
81 if in.Items != nil {
82 in, out := &in.Items, &out.Items
83 *out = make([]DaemonSet, len(*in))
84 for i := range *in {
85 (*in)[i].DeepCopyInto(&(*out)[i])
86 }
87 }
88 return
89 }
90
91
92 func (in *DaemonSetList) DeepCopy() *DaemonSetList {
93 if in == nil {
94 return nil
95 }
96 out := new(DaemonSetList)
97 in.DeepCopyInto(out)
98 return out
99 }
100
101
102 func (in *DaemonSetList) DeepCopyObject() runtime.Object {
103 if c := in.DeepCopy(); c != nil {
104 return c
105 }
106 return nil
107 }
108
109
110 func (in *DaemonSetSpec) DeepCopyInto(out *DaemonSetSpec) {
111 *out = *in
112 if in.Selector != nil {
113 in, out := &in.Selector, &out.Selector
114 *out = new(v1.LabelSelector)
115 (*in).DeepCopyInto(*out)
116 }
117 in.Template.DeepCopyInto(&out.Template)
118 in.UpdateStrategy.DeepCopyInto(&out.UpdateStrategy)
119 if in.RevisionHistoryLimit != nil {
120 in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
121 *out = new(int32)
122 **out = **in
123 }
124 return
125 }
126
127
128 func (in *DaemonSetSpec) DeepCopy() *DaemonSetSpec {
129 if in == nil {
130 return nil
131 }
132 out := new(DaemonSetSpec)
133 in.DeepCopyInto(out)
134 return out
135 }
136
137
138 func (in *DaemonSetStatus) DeepCopyInto(out *DaemonSetStatus) {
139 *out = *in
140 if in.CollisionCount != nil {
141 in, out := &in.CollisionCount, &out.CollisionCount
142 *out = new(int32)
143 **out = **in
144 }
145 if in.Conditions != nil {
146 in, out := &in.Conditions, &out.Conditions
147 *out = make([]DaemonSetCondition, len(*in))
148 for i := range *in {
149 (*in)[i].DeepCopyInto(&(*out)[i])
150 }
151 }
152 return
153 }
154
155
156 func (in *DaemonSetStatus) DeepCopy() *DaemonSetStatus {
157 if in == nil {
158 return nil
159 }
160 out := new(DaemonSetStatus)
161 in.DeepCopyInto(out)
162 return out
163 }
164
165
166 func (in *DaemonSetUpdateStrategy) DeepCopyInto(out *DaemonSetUpdateStrategy) {
167 *out = *in
168 if in.RollingUpdate != nil {
169 in, out := &in.RollingUpdate, &out.RollingUpdate
170 *out = new(RollingUpdateDaemonSet)
171 (*in).DeepCopyInto(*out)
172 }
173 return
174 }
175
176
177 func (in *DaemonSetUpdateStrategy) DeepCopy() *DaemonSetUpdateStrategy {
178 if in == nil {
179 return nil
180 }
181 out := new(DaemonSetUpdateStrategy)
182 in.DeepCopyInto(out)
183 return out
184 }
185
186
187 func (in *Deployment) DeepCopyInto(out *Deployment) {
188 *out = *in
189 out.TypeMeta = in.TypeMeta
190 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
191 in.Spec.DeepCopyInto(&out.Spec)
192 in.Status.DeepCopyInto(&out.Status)
193 return
194 }
195
196
197 func (in *Deployment) DeepCopy() *Deployment {
198 if in == nil {
199 return nil
200 }
201 out := new(Deployment)
202 in.DeepCopyInto(out)
203 return out
204 }
205
206
207 func (in *Deployment) DeepCopyObject() runtime.Object {
208 if c := in.DeepCopy(); c != nil {
209 return c
210 }
211 return nil
212 }
213
214
215 func (in *DeploymentCondition) DeepCopyInto(out *DeploymentCondition) {
216 *out = *in
217 in.LastUpdateTime.DeepCopyInto(&out.LastUpdateTime)
218 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
219 return
220 }
221
222
223 func (in *DeploymentCondition) DeepCopy() *DeploymentCondition {
224 if in == nil {
225 return nil
226 }
227 out := new(DeploymentCondition)
228 in.DeepCopyInto(out)
229 return out
230 }
231
232
233 func (in *DeploymentList) DeepCopyInto(out *DeploymentList) {
234 *out = *in
235 out.TypeMeta = in.TypeMeta
236 in.ListMeta.DeepCopyInto(&out.ListMeta)
237 if in.Items != nil {
238 in, out := &in.Items, &out.Items
239 *out = make([]Deployment, len(*in))
240 for i := range *in {
241 (*in)[i].DeepCopyInto(&(*out)[i])
242 }
243 }
244 return
245 }
246
247
248 func (in *DeploymentList) DeepCopy() *DeploymentList {
249 if in == nil {
250 return nil
251 }
252 out := new(DeploymentList)
253 in.DeepCopyInto(out)
254 return out
255 }
256
257
258 func (in *DeploymentList) DeepCopyObject() runtime.Object {
259 if c := in.DeepCopy(); c != nil {
260 return c
261 }
262 return nil
263 }
264
265
266 func (in *DeploymentRollback) DeepCopyInto(out *DeploymentRollback) {
267 *out = *in
268 out.TypeMeta = in.TypeMeta
269 if in.UpdatedAnnotations != nil {
270 in, out := &in.UpdatedAnnotations, &out.UpdatedAnnotations
271 *out = make(map[string]string, len(*in))
272 for key, val := range *in {
273 (*out)[key] = val
274 }
275 }
276 out.RollbackTo = in.RollbackTo
277 return
278 }
279
280
281 func (in *DeploymentRollback) DeepCopy() *DeploymentRollback {
282 if in == nil {
283 return nil
284 }
285 out := new(DeploymentRollback)
286 in.DeepCopyInto(out)
287 return out
288 }
289
290
291 func (in *DeploymentRollback) DeepCopyObject() runtime.Object {
292 if c := in.DeepCopy(); c != nil {
293 return c
294 }
295 return nil
296 }
297
298
299 func (in *DeploymentSpec) DeepCopyInto(out *DeploymentSpec) {
300 *out = *in
301 if in.Replicas != nil {
302 in, out := &in.Replicas, &out.Replicas
303 *out = new(int32)
304 **out = **in
305 }
306 if in.Selector != nil {
307 in, out := &in.Selector, &out.Selector
308 *out = new(v1.LabelSelector)
309 (*in).DeepCopyInto(*out)
310 }
311 in.Template.DeepCopyInto(&out.Template)
312 in.Strategy.DeepCopyInto(&out.Strategy)
313 if in.RevisionHistoryLimit != nil {
314 in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
315 *out = new(int32)
316 **out = **in
317 }
318 if in.RollbackTo != nil {
319 in, out := &in.RollbackTo, &out.RollbackTo
320 *out = new(RollbackConfig)
321 **out = **in
322 }
323 if in.ProgressDeadlineSeconds != nil {
324 in, out := &in.ProgressDeadlineSeconds, &out.ProgressDeadlineSeconds
325 *out = new(int32)
326 **out = **in
327 }
328 return
329 }
330
331
332 func (in *DeploymentSpec) DeepCopy() *DeploymentSpec {
333 if in == nil {
334 return nil
335 }
336 out := new(DeploymentSpec)
337 in.DeepCopyInto(out)
338 return out
339 }
340
341
342 func (in *DeploymentStatus) DeepCopyInto(out *DeploymentStatus) {
343 *out = *in
344 if in.Conditions != nil {
345 in, out := &in.Conditions, &out.Conditions
346 *out = make([]DeploymentCondition, len(*in))
347 for i := range *in {
348 (*in)[i].DeepCopyInto(&(*out)[i])
349 }
350 }
351 if in.CollisionCount != nil {
352 in, out := &in.CollisionCount, &out.CollisionCount
353 *out = new(int32)
354 **out = **in
355 }
356 return
357 }
358
359
360 func (in *DeploymentStatus) DeepCopy() *DeploymentStatus {
361 if in == nil {
362 return nil
363 }
364 out := new(DeploymentStatus)
365 in.DeepCopyInto(out)
366 return out
367 }
368
369
370 func (in *DeploymentStrategy) DeepCopyInto(out *DeploymentStrategy) {
371 *out = *in
372 if in.RollingUpdate != nil {
373 in, out := &in.RollingUpdate, &out.RollingUpdate
374 *out = new(RollingUpdateDeployment)
375 (*in).DeepCopyInto(*out)
376 }
377 return
378 }
379
380
381 func (in *DeploymentStrategy) DeepCopy() *DeploymentStrategy {
382 if in == nil {
383 return nil
384 }
385 out := new(DeploymentStrategy)
386 in.DeepCopyInto(out)
387 return out
388 }
389
390
391 func (in *HTTPIngressPath) DeepCopyInto(out *HTTPIngressPath) {
392 *out = *in
393 if in.PathType != nil {
394 in, out := &in.PathType, &out.PathType
395 *out = new(PathType)
396 **out = **in
397 }
398 in.Backend.DeepCopyInto(&out.Backend)
399 return
400 }
401
402
403 func (in *HTTPIngressPath) DeepCopy() *HTTPIngressPath {
404 if in == nil {
405 return nil
406 }
407 out := new(HTTPIngressPath)
408 in.DeepCopyInto(out)
409 return out
410 }
411
412
413 func (in *HTTPIngressRuleValue) DeepCopyInto(out *HTTPIngressRuleValue) {
414 *out = *in
415 if in.Paths != nil {
416 in, out := &in.Paths, &out.Paths
417 *out = make([]HTTPIngressPath, len(*in))
418 for i := range *in {
419 (*in)[i].DeepCopyInto(&(*out)[i])
420 }
421 }
422 return
423 }
424
425
426 func (in *HTTPIngressRuleValue) DeepCopy() *HTTPIngressRuleValue {
427 if in == nil {
428 return nil
429 }
430 out := new(HTTPIngressRuleValue)
431 in.DeepCopyInto(out)
432 return out
433 }
434
435
436 func (in *IPBlock) DeepCopyInto(out *IPBlock) {
437 *out = *in
438 if in.Except != nil {
439 in, out := &in.Except, &out.Except
440 *out = make([]string, len(*in))
441 copy(*out, *in)
442 }
443 return
444 }
445
446
447 func (in *IPBlock) DeepCopy() *IPBlock {
448 if in == nil {
449 return nil
450 }
451 out := new(IPBlock)
452 in.DeepCopyInto(out)
453 return out
454 }
455
456
457 func (in *Ingress) DeepCopyInto(out *Ingress) {
458 *out = *in
459 out.TypeMeta = in.TypeMeta
460 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
461 in.Spec.DeepCopyInto(&out.Spec)
462 in.Status.DeepCopyInto(&out.Status)
463 return
464 }
465
466
467 func (in *Ingress) DeepCopy() *Ingress {
468 if in == nil {
469 return nil
470 }
471 out := new(Ingress)
472 in.DeepCopyInto(out)
473 return out
474 }
475
476
477 func (in *Ingress) DeepCopyObject() runtime.Object {
478 if c := in.DeepCopy(); c != nil {
479 return c
480 }
481 return nil
482 }
483
484
485 func (in *IngressBackend) DeepCopyInto(out *IngressBackend) {
486 *out = *in
487 out.ServicePort = in.ServicePort
488 if in.Resource != nil {
489 in, out := &in.Resource, &out.Resource
490 *out = new(corev1.TypedLocalObjectReference)
491 (*in).DeepCopyInto(*out)
492 }
493 return
494 }
495
496
497 func (in *IngressBackend) DeepCopy() *IngressBackend {
498 if in == nil {
499 return nil
500 }
501 out := new(IngressBackend)
502 in.DeepCopyInto(out)
503 return out
504 }
505
506
507 func (in *IngressList) DeepCopyInto(out *IngressList) {
508 *out = *in
509 out.TypeMeta = in.TypeMeta
510 in.ListMeta.DeepCopyInto(&out.ListMeta)
511 if in.Items != nil {
512 in, out := &in.Items, &out.Items
513 *out = make([]Ingress, len(*in))
514 for i := range *in {
515 (*in)[i].DeepCopyInto(&(*out)[i])
516 }
517 }
518 return
519 }
520
521
522 func (in *IngressList) DeepCopy() *IngressList {
523 if in == nil {
524 return nil
525 }
526 out := new(IngressList)
527 in.DeepCopyInto(out)
528 return out
529 }
530
531
532 func (in *IngressList) DeepCopyObject() runtime.Object {
533 if c := in.DeepCopy(); c != nil {
534 return c
535 }
536 return nil
537 }
538
539
540 func (in *IngressLoadBalancerIngress) DeepCopyInto(out *IngressLoadBalancerIngress) {
541 *out = *in
542 if in.Ports != nil {
543 in, out := &in.Ports, &out.Ports
544 *out = make([]IngressPortStatus, len(*in))
545 for i := range *in {
546 (*in)[i].DeepCopyInto(&(*out)[i])
547 }
548 }
549 return
550 }
551
552
553 func (in *IngressLoadBalancerIngress) DeepCopy() *IngressLoadBalancerIngress {
554 if in == nil {
555 return nil
556 }
557 out := new(IngressLoadBalancerIngress)
558 in.DeepCopyInto(out)
559 return out
560 }
561
562
563 func (in *IngressLoadBalancerStatus) DeepCopyInto(out *IngressLoadBalancerStatus) {
564 *out = *in
565 if in.Ingress != nil {
566 in, out := &in.Ingress, &out.Ingress
567 *out = make([]IngressLoadBalancerIngress, len(*in))
568 for i := range *in {
569 (*in)[i].DeepCopyInto(&(*out)[i])
570 }
571 }
572 return
573 }
574
575
576 func (in *IngressLoadBalancerStatus) DeepCopy() *IngressLoadBalancerStatus {
577 if in == nil {
578 return nil
579 }
580 out := new(IngressLoadBalancerStatus)
581 in.DeepCopyInto(out)
582 return out
583 }
584
585
586 func (in *IngressPortStatus) DeepCopyInto(out *IngressPortStatus) {
587 *out = *in
588 if in.Error != nil {
589 in, out := &in.Error, &out.Error
590 *out = new(string)
591 **out = **in
592 }
593 return
594 }
595
596
597 func (in *IngressPortStatus) DeepCopy() *IngressPortStatus {
598 if in == nil {
599 return nil
600 }
601 out := new(IngressPortStatus)
602 in.DeepCopyInto(out)
603 return out
604 }
605
606
607 func (in *IngressRule) DeepCopyInto(out *IngressRule) {
608 *out = *in
609 in.IngressRuleValue.DeepCopyInto(&out.IngressRuleValue)
610 return
611 }
612
613
614 func (in *IngressRule) DeepCopy() *IngressRule {
615 if in == nil {
616 return nil
617 }
618 out := new(IngressRule)
619 in.DeepCopyInto(out)
620 return out
621 }
622
623
624 func (in *IngressRuleValue) DeepCopyInto(out *IngressRuleValue) {
625 *out = *in
626 if in.HTTP != nil {
627 in, out := &in.HTTP, &out.HTTP
628 *out = new(HTTPIngressRuleValue)
629 (*in).DeepCopyInto(*out)
630 }
631 return
632 }
633
634
635 func (in *IngressRuleValue) DeepCopy() *IngressRuleValue {
636 if in == nil {
637 return nil
638 }
639 out := new(IngressRuleValue)
640 in.DeepCopyInto(out)
641 return out
642 }
643
644
645 func (in *IngressSpec) DeepCopyInto(out *IngressSpec) {
646 *out = *in
647 if in.IngressClassName != nil {
648 in, out := &in.IngressClassName, &out.IngressClassName
649 *out = new(string)
650 **out = **in
651 }
652 if in.Backend != nil {
653 in, out := &in.Backend, &out.Backend
654 *out = new(IngressBackend)
655 (*in).DeepCopyInto(*out)
656 }
657 if in.TLS != nil {
658 in, out := &in.TLS, &out.TLS
659 *out = make([]IngressTLS, len(*in))
660 for i := range *in {
661 (*in)[i].DeepCopyInto(&(*out)[i])
662 }
663 }
664 if in.Rules != nil {
665 in, out := &in.Rules, &out.Rules
666 *out = make([]IngressRule, len(*in))
667 for i := range *in {
668 (*in)[i].DeepCopyInto(&(*out)[i])
669 }
670 }
671 return
672 }
673
674
675 func (in *IngressSpec) DeepCopy() *IngressSpec {
676 if in == nil {
677 return nil
678 }
679 out := new(IngressSpec)
680 in.DeepCopyInto(out)
681 return out
682 }
683
684
685 func (in *IngressStatus) DeepCopyInto(out *IngressStatus) {
686 *out = *in
687 in.LoadBalancer.DeepCopyInto(&out.LoadBalancer)
688 return
689 }
690
691
692 func (in *IngressStatus) DeepCopy() *IngressStatus {
693 if in == nil {
694 return nil
695 }
696 out := new(IngressStatus)
697 in.DeepCopyInto(out)
698 return out
699 }
700
701
702 func (in *IngressTLS) DeepCopyInto(out *IngressTLS) {
703 *out = *in
704 if in.Hosts != nil {
705 in, out := &in.Hosts, &out.Hosts
706 *out = make([]string, len(*in))
707 copy(*out, *in)
708 }
709 return
710 }
711
712
713 func (in *IngressTLS) DeepCopy() *IngressTLS {
714 if in == nil {
715 return nil
716 }
717 out := new(IngressTLS)
718 in.DeepCopyInto(out)
719 return out
720 }
721
722
723 func (in *NetworkPolicy) DeepCopyInto(out *NetworkPolicy) {
724 *out = *in
725 out.TypeMeta = in.TypeMeta
726 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
727 in.Spec.DeepCopyInto(&out.Spec)
728 return
729 }
730
731
732 func (in *NetworkPolicy) DeepCopy() *NetworkPolicy {
733 if in == nil {
734 return nil
735 }
736 out := new(NetworkPolicy)
737 in.DeepCopyInto(out)
738 return out
739 }
740
741
742 func (in *NetworkPolicy) DeepCopyObject() runtime.Object {
743 if c := in.DeepCopy(); c != nil {
744 return c
745 }
746 return nil
747 }
748
749
750 func (in *NetworkPolicyEgressRule) DeepCopyInto(out *NetworkPolicyEgressRule) {
751 *out = *in
752 if in.Ports != nil {
753 in, out := &in.Ports, &out.Ports
754 *out = make([]NetworkPolicyPort, len(*in))
755 for i := range *in {
756 (*in)[i].DeepCopyInto(&(*out)[i])
757 }
758 }
759 if in.To != nil {
760 in, out := &in.To, &out.To
761 *out = make([]NetworkPolicyPeer, len(*in))
762 for i := range *in {
763 (*in)[i].DeepCopyInto(&(*out)[i])
764 }
765 }
766 return
767 }
768
769
770 func (in *NetworkPolicyEgressRule) DeepCopy() *NetworkPolicyEgressRule {
771 if in == nil {
772 return nil
773 }
774 out := new(NetworkPolicyEgressRule)
775 in.DeepCopyInto(out)
776 return out
777 }
778
779
780 func (in *NetworkPolicyIngressRule) DeepCopyInto(out *NetworkPolicyIngressRule) {
781 *out = *in
782 if in.Ports != nil {
783 in, out := &in.Ports, &out.Ports
784 *out = make([]NetworkPolicyPort, len(*in))
785 for i := range *in {
786 (*in)[i].DeepCopyInto(&(*out)[i])
787 }
788 }
789 if in.From != nil {
790 in, out := &in.From, &out.From
791 *out = make([]NetworkPolicyPeer, len(*in))
792 for i := range *in {
793 (*in)[i].DeepCopyInto(&(*out)[i])
794 }
795 }
796 return
797 }
798
799
800 func (in *NetworkPolicyIngressRule) DeepCopy() *NetworkPolicyIngressRule {
801 if in == nil {
802 return nil
803 }
804 out := new(NetworkPolicyIngressRule)
805 in.DeepCopyInto(out)
806 return out
807 }
808
809
810 func (in *NetworkPolicyList) DeepCopyInto(out *NetworkPolicyList) {
811 *out = *in
812 out.TypeMeta = in.TypeMeta
813 in.ListMeta.DeepCopyInto(&out.ListMeta)
814 if in.Items != nil {
815 in, out := &in.Items, &out.Items
816 *out = make([]NetworkPolicy, len(*in))
817 for i := range *in {
818 (*in)[i].DeepCopyInto(&(*out)[i])
819 }
820 }
821 return
822 }
823
824
825 func (in *NetworkPolicyList) DeepCopy() *NetworkPolicyList {
826 if in == nil {
827 return nil
828 }
829 out := new(NetworkPolicyList)
830 in.DeepCopyInto(out)
831 return out
832 }
833
834
835 func (in *NetworkPolicyList) DeepCopyObject() runtime.Object {
836 if c := in.DeepCopy(); c != nil {
837 return c
838 }
839 return nil
840 }
841
842
843 func (in *NetworkPolicyPeer) DeepCopyInto(out *NetworkPolicyPeer) {
844 *out = *in
845 if in.PodSelector != nil {
846 in, out := &in.PodSelector, &out.PodSelector
847 *out = new(v1.LabelSelector)
848 (*in).DeepCopyInto(*out)
849 }
850 if in.NamespaceSelector != nil {
851 in, out := &in.NamespaceSelector, &out.NamespaceSelector
852 *out = new(v1.LabelSelector)
853 (*in).DeepCopyInto(*out)
854 }
855 if in.IPBlock != nil {
856 in, out := &in.IPBlock, &out.IPBlock
857 *out = new(IPBlock)
858 (*in).DeepCopyInto(*out)
859 }
860 return
861 }
862
863
864 func (in *NetworkPolicyPeer) DeepCopy() *NetworkPolicyPeer {
865 if in == nil {
866 return nil
867 }
868 out := new(NetworkPolicyPeer)
869 in.DeepCopyInto(out)
870 return out
871 }
872
873
874 func (in *NetworkPolicyPort) DeepCopyInto(out *NetworkPolicyPort) {
875 *out = *in
876 if in.Protocol != nil {
877 in, out := &in.Protocol, &out.Protocol
878 *out = new(corev1.Protocol)
879 **out = **in
880 }
881 if in.Port != nil {
882 in, out := &in.Port, &out.Port
883 *out = new(intstr.IntOrString)
884 **out = **in
885 }
886 if in.EndPort != nil {
887 in, out := &in.EndPort, &out.EndPort
888 *out = new(int32)
889 **out = **in
890 }
891 return
892 }
893
894
895 func (in *NetworkPolicyPort) DeepCopy() *NetworkPolicyPort {
896 if in == nil {
897 return nil
898 }
899 out := new(NetworkPolicyPort)
900 in.DeepCopyInto(out)
901 return out
902 }
903
904
905 func (in *NetworkPolicySpec) DeepCopyInto(out *NetworkPolicySpec) {
906 *out = *in
907 in.PodSelector.DeepCopyInto(&out.PodSelector)
908 if in.Ingress != nil {
909 in, out := &in.Ingress, &out.Ingress
910 *out = make([]NetworkPolicyIngressRule, len(*in))
911 for i := range *in {
912 (*in)[i].DeepCopyInto(&(*out)[i])
913 }
914 }
915 if in.Egress != nil {
916 in, out := &in.Egress, &out.Egress
917 *out = make([]NetworkPolicyEgressRule, len(*in))
918 for i := range *in {
919 (*in)[i].DeepCopyInto(&(*out)[i])
920 }
921 }
922 if in.PolicyTypes != nil {
923 in, out := &in.PolicyTypes, &out.PolicyTypes
924 *out = make([]PolicyType, len(*in))
925 copy(*out, *in)
926 }
927 return
928 }
929
930
931 func (in *NetworkPolicySpec) DeepCopy() *NetworkPolicySpec {
932 if in == nil {
933 return nil
934 }
935 out := new(NetworkPolicySpec)
936 in.DeepCopyInto(out)
937 return out
938 }
939
940
941 func (in *ReplicaSet) DeepCopyInto(out *ReplicaSet) {
942 *out = *in
943 out.TypeMeta = in.TypeMeta
944 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
945 in.Spec.DeepCopyInto(&out.Spec)
946 in.Status.DeepCopyInto(&out.Status)
947 return
948 }
949
950
951 func (in *ReplicaSet) DeepCopy() *ReplicaSet {
952 if in == nil {
953 return nil
954 }
955 out := new(ReplicaSet)
956 in.DeepCopyInto(out)
957 return out
958 }
959
960
961 func (in *ReplicaSet) DeepCopyObject() runtime.Object {
962 if c := in.DeepCopy(); c != nil {
963 return c
964 }
965 return nil
966 }
967
968
969 func (in *ReplicaSetCondition) DeepCopyInto(out *ReplicaSetCondition) {
970 *out = *in
971 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
972 return
973 }
974
975
976 func (in *ReplicaSetCondition) DeepCopy() *ReplicaSetCondition {
977 if in == nil {
978 return nil
979 }
980 out := new(ReplicaSetCondition)
981 in.DeepCopyInto(out)
982 return out
983 }
984
985
986 func (in *ReplicaSetList) DeepCopyInto(out *ReplicaSetList) {
987 *out = *in
988 out.TypeMeta = in.TypeMeta
989 in.ListMeta.DeepCopyInto(&out.ListMeta)
990 if in.Items != nil {
991 in, out := &in.Items, &out.Items
992 *out = make([]ReplicaSet, len(*in))
993 for i := range *in {
994 (*in)[i].DeepCopyInto(&(*out)[i])
995 }
996 }
997 return
998 }
999
1000
1001 func (in *ReplicaSetList) DeepCopy() *ReplicaSetList {
1002 if in == nil {
1003 return nil
1004 }
1005 out := new(ReplicaSetList)
1006 in.DeepCopyInto(out)
1007 return out
1008 }
1009
1010
1011 func (in *ReplicaSetList) DeepCopyObject() runtime.Object {
1012 if c := in.DeepCopy(); c != nil {
1013 return c
1014 }
1015 return nil
1016 }
1017
1018
1019 func (in *ReplicaSetSpec) DeepCopyInto(out *ReplicaSetSpec) {
1020 *out = *in
1021 if in.Replicas != nil {
1022 in, out := &in.Replicas, &out.Replicas
1023 *out = new(int32)
1024 **out = **in
1025 }
1026 if in.Selector != nil {
1027 in, out := &in.Selector, &out.Selector
1028 *out = new(v1.LabelSelector)
1029 (*in).DeepCopyInto(*out)
1030 }
1031 in.Template.DeepCopyInto(&out.Template)
1032 return
1033 }
1034
1035
1036 func (in *ReplicaSetSpec) DeepCopy() *ReplicaSetSpec {
1037 if in == nil {
1038 return nil
1039 }
1040 out := new(ReplicaSetSpec)
1041 in.DeepCopyInto(out)
1042 return out
1043 }
1044
1045
1046 func (in *ReplicaSetStatus) DeepCopyInto(out *ReplicaSetStatus) {
1047 *out = *in
1048 if in.Conditions != nil {
1049 in, out := &in.Conditions, &out.Conditions
1050 *out = make([]ReplicaSetCondition, len(*in))
1051 for i := range *in {
1052 (*in)[i].DeepCopyInto(&(*out)[i])
1053 }
1054 }
1055 return
1056 }
1057
1058
1059 func (in *ReplicaSetStatus) DeepCopy() *ReplicaSetStatus {
1060 if in == nil {
1061 return nil
1062 }
1063 out := new(ReplicaSetStatus)
1064 in.DeepCopyInto(out)
1065 return out
1066 }
1067
1068
1069 func (in *RollbackConfig) DeepCopyInto(out *RollbackConfig) {
1070 *out = *in
1071 return
1072 }
1073
1074
1075 func (in *RollbackConfig) DeepCopy() *RollbackConfig {
1076 if in == nil {
1077 return nil
1078 }
1079 out := new(RollbackConfig)
1080 in.DeepCopyInto(out)
1081 return out
1082 }
1083
1084
1085 func (in *RollingUpdateDaemonSet) DeepCopyInto(out *RollingUpdateDaemonSet) {
1086 *out = *in
1087 if in.MaxUnavailable != nil {
1088 in, out := &in.MaxUnavailable, &out.MaxUnavailable
1089 *out = new(intstr.IntOrString)
1090 **out = **in
1091 }
1092 if in.MaxSurge != nil {
1093 in, out := &in.MaxSurge, &out.MaxSurge
1094 *out = new(intstr.IntOrString)
1095 **out = **in
1096 }
1097 return
1098 }
1099
1100
1101 func (in *RollingUpdateDaemonSet) DeepCopy() *RollingUpdateDaemonSet {
1102 if in == nil {
1103 return nil
1104 }
1105 out := new(RollingUpdateDaemonSet)
1106 in.DeepCopyInto(out)
1107 return out
1108 }
1109
1110
1111 func (in *RollingUpdateDeployment) DeepCopyInto(out *RollingUpdateDeployment) {
1112 *out = *in
1113 if in.MaxUnavailable != nil {
1114 in, out := &in.MaxUnavailable, &out.MaxUnavailable
1115 *out = new(intstr.IntOrString)
1116 **out = **in
1117 }
1118 if in.MaxSurge != nil {
1119 in, out := &in.MaxSurge, &out.MaxSurge
1120 *out = new(intstr.IntOrString)
1121 **out = **in
1122 }
1123 return
1124 }
1125
1126
1127 func (in *RollingUpdateDeployment) DeepCopy() *RollingUpdateDeployment {
1128 if in == nil {
1129 return nil
1130 }
1131 out := new(RollingUpdateDeployment)
1132 in.DeepCopyInto(out)
1133 return out
1134 }
1135
1136
1137 func (in *Scale) DeepCopyInto(out *Scale) {
1138 *out = *in
1139 out.TypeMeta = in.TypeMeta
1140 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
1141 out.Spec = in.Spec
1142 in.Status.DeepCopyInto(&out.Status)
1143 return
1144 }
1145
1146
1147 func (in *Scale) DeepCopy() *Scale {
1148 if in == nil {
1149 return nil
1150 }
1151 out := new(Scale)
1152 in.DeepCopyInto(out)
1153 return out
1154 }
1155
1156
1157 func (in *Scale) DeepCopyObject() runtime.Object {
1158 if c := in.DeepCopy(); c != nil {
1159 return c
1160 }
1161 return nil
1162 }
1163
1164
1165 func (in *ScaleSpec) DeepCopyInto(out *ScaleSpec) {
1166 *out = *in
1167 return
1168 }
1169
1170
1171 func (in *ScaleSpec) DeepCopy() *ScaleSpec {
1172 if in == nil {
1173 return nil
1174 }
1175 out := new(ScaleSpec)
1176 in.DeepCopyInto(out)
1177 return out
1178 }
1179
1180
1181 func (in *ScaleStatus) DeepCopyInto(out *ScaleStatus) {
1182 *out = *in
1183 if in.Selector != nil {
1184 in, out := &in.Selector, &out.Selector
1185 *out = make(map[string]string, len(*in))
1186 for key, val := range *in {
1187 (*out)[key] = val
1188 }
1189 }
1190 return
1191 }
1192
1193
1194 func (in *ScaleStatus) DeepCopy() *ScaleStatus {
1195 if in == nil {
1196 return nil
1197 }
1198 out := new(ScaleStatus)
1199 in.DeepCopyInto(out)
1200 return out
1201 }
1202
View as plain text