1 // +build !ignore_autogenerated
4 Copyright The Kubernetes Authors.
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
10 http://www.apache.org/licenses/LICENSE-2.0
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.
19 // Code generated by deepcopy-gen. DO NOT EDIT.
24 corev1 "k8s.io/api/core/v1"
25 v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
26 runtime "k8s.io/apimachinery/pkg/runtime"
27 intstr "k8s.io/apimachinery/pkg/util/intstr"
30 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
31 func (in *AllowedFlexVolume) DeepCopyInto(out *AllowedFlexVolume) {
36 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedFlexVolume.
37 func (in *AllowedFlexVolume) DeepCopy() *AllowedFlexVolume {
41 out := new(AllowedFlexVolume)
46 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
47 func (in *AllowedHostPath) DeepCopyInto(out *AllowedHostPath) {
52 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedHostPath.
53 func (in *AllowedHostPath) DeepCopy() *AllowedHostPath {
57 out := new(AllowedHostPath)
62 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
63 func (in *DaemonSet) DeepCopyInto(out *DaemonSet) {
65 out.TypeMeta = in.TypeMeta
66 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
67 in.Spec.DeepCopyInto(&out.Spec)
68 in.Status.DeepCopyInto(&out.Status)
72 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSet.
73 func (in *DaemonSet) DeepCopy() *DaemonSet {
82 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
83 func (in *DaemonSet) DeepCopyObject() runtime.Object {
84 if c := in.DeepCopy(); c != nil {
90 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
91 func (in *DaemonSetCondition) DeepCopyInto(out *DaemonSetCondition) {
93 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
97 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetCondition.
98 func (in *DaemonSetCondition) DeepCopy() *DaemonSetCondition {
102 out := new(DaemonSetCondition)
107 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
108 func (in *DaemonSetList) DeepCopyInto(out *DaemonSetList) {
110 out.TypeMeta = in.TypeMeta
111 out.ListMeta = in.ListMeta
113 in, out := &in.Items, &out.Items
114 *out = make([]DaemonSet, len(*in))
116 (*in)[i].DeepCopyInto(&(*out)[i])
122 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetList.
123 func (in *DaemonSetList) DeepCopy() *DaemonSetList {
127 out := new(DaemonSetList)
132 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
133 func (in *DaemonSetList) DeepCopyObject() runtime.Object {
134 if c := in.DeepCopy(); c != nil {
140 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
141 func (in *DaemonSetSpec) DeepCopyInto(out *DaemonSetSpec) {
143 if in.Selector != nil {
144 in, out := &in.Selector, &out.Selector
145 *out = new(v1.LabelSelector)
146 (*in).DeepCopyInto(*out)
148 in.Template.DeepCopyInto(&out.Template)
149 in.UpdateStrategy.DeepCopyInto(&out.UpdateStrategy)
150 if in.RevisionHistoryLimit != nil {
151 in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
158 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetSpec.
159 func (in *DaemonSetSpec) DeepCopy() *DaemonSetSpec {
163 out := new(DaemonSetSpec)
168 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
169 func (in *DaemonSetStatus) DeepCopyInto(out *DaemonSetStatus) {
171 if in.CollisionCount != nil {
172 in, out := &in.CollisionCount, &out.CollisionCount
176 if in.Conditions != nil {
177 in, out := &in.Conditions, &out.Conditions
178 *out = make([]DaemonSetCondition, len(*in))
180 (*in)[i].DeepCopyInto(&(*out)[i])
186 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetStatus.
187 func (in *DaemonSetStatus) DeepCopy() *DaemonSetStatus {
191 out := new(DaemonSetStatus)
196 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
197 func (in *DaemonSetUpdateStrategy) DeepCopyInto(out *DaemonSetUpdateStrategy) {
199 if in.RollingUpdate != nil {
200 in, out := &in.RollingUpdate, &out.RollingUpdate
201 *out = new(RollingUpdateDaemonSet)
202 (*in).DeepCopyInto(*out)
207 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetUpdateStrategy.
208 func (in *DaemonSetUpdateStrategy) DeepCopy() *DaemonSetUpdateStrategy {
212 out := new(DaemonSetUpdateStrategy)
217 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
218 func (in *Deployment) DeepCopyInto(out *Deployment) {
220 out.TypeMeta = in.TypeMeta
221 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
222 in.Spec.DeepCopyInto(&out.Spec)
223 in.Status.DeepCopyInto(&out.Status)
227 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Deployment.
228 func (in *Deployment) DeepCopy() *Deployment {
232 out := new(Deployment)
237 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
238 func (in *Deployment) DeepCopyObject() runtime.Object {
239 if c := in.DeepCopy(); c != nil {
245 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
246 func (in *DeploymentCondition) DeepCopyInto(out *DeploymentCondition) {
248 in.LastUpdateTime.DeepCopyInto(&out.LastUpdateTime)
249 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
253 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentCondition.
254 func (in *DeploymentCondition) DeepCopy() *DeploymentCondition {
258 out := new(DeploymentCondition)
263 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
264 func (in *DeploymentList) DeepCopyInto(out *DeploymentList) {
266 out.TypeMeta = in.TypeMeta
267 out.ListMeta = in.ListMeta
269 in, out := &in.Items, &out.Items
270 *out = make([]Deployment, len(*in))
272 (*in)[i].DeepCopyInto(&(*out)[i])
278 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentList.
279 func (in *DeploymentList) DeepCopy() *DeploymentList {
283 out := new(DeploymentList)
288 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
289 func (in *DeploymentList) DeepCopyObject() runtime.Object {
290 if c := in.DeepCopy(); c != nil {
296 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
297 func (in *DeploymentRollback) DeepCopyInto(out *DeploymentRollback) {
299 out.TypeMeta = in.TypeMeta
300 if in.UpdatedAnnotations != nil {
301 in, out := &in.UpdatedAnnotations, &out.UpdatedAnnotations
302 *out = make(map[string]string, len(*in))
303 for key, val := range *in {
307 out.RollbackTo = in.RollbackTo
311 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentRollback.
312 func (in *DeploymentRollback) DeepCopy() *DeploymentRollback {
316 out := new(DeploymentRollback)
321 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
322 func (in *DeploymentRollback) DeepCopyObject() runtime.Object {
323 if c := in.DeepCopy(); c != nil {
329 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
330 func (in *DeploymentSpec) DeepCopyInto(out *DeploymentSpec) {
332 if in.Replicas != nil {
333 in, out := &in.Replicas, &out.Replicas
337 if in.Selector != nil {
338 in, out := &in.Selector, &out.Selector
339 *out = new(v1.LabelSelector)
340 (*in).DeepCopyInto(*out)
342 in.Template.DeepCopyInto(&out.Template)
343 in.Strategy.DeepCopyInto(&out.Strategy)
344 if in.RevisionHistoryLimit != nil {
345 in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
349 if in.RollbackTo != nil {
350 in, out := &in.RollbackTo, &out.RollbackTo
351 *out = new(RollbackConfig)
354 if in.ProgressDeadlineSeconds != nil {
355 in, out := &in.ProgressDeadlineSeconds, &out.ProgressDeadlineSeconds
362 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentSpec.
363 func (in *DeploymentSpec) DeepCopy() *DeploymentSpec {
367 out := new(DeploymentSpec)
372 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
373 func (in *DeploymentStatus) DeepCopyInto(out *DeploymentStatus) {
375 if in.Conditions != nil {
376 in, out := &in.Conditions, &out.Conditions
377 *out = make([]DeploymentCondition, len(*in))
379 (*in)[i].DeepCopyInto(&(*out)[i])
382 if in.CollisionCount != nil {
383 in, out := &in.CollisionCount, &out.CollisionCount
390 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStatus.
391 func (in *DeploymentStatus) DeepCopy() *DeploymentStatus {
395 out := new(DeploymentStatus)
400 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
401 func (in *DeploymentStrategy) DeepCopyInto(out *DeploymentStrategy) {
403 if in.RollingUpdate != nil {
404 in, out := &in.RollingUpdate, &out.RollingUpdate
405 *out = new(RollingUpdateDeployment)
406 (*in).DeepCopyInto(*out)
411 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStrategy.
412 func (in *DeploymentStrategy) DeepCopy() *DeploymentStrategy {
416 out := new(DeploymentStrategy)
421 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
422 func (in *FSGroupStrategyOptions) DeepCopyInto(out *FSGroupStrategyOptions) {
424 if in.Ranges != nil {
425 in, out := &in.Ranges, &out.Ranges
426 *out = make([]IDRange, len(*in))
432 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FSGroupStrategyOptions.
433 func (in *FSGroupStrategyOptions) DeepCopy() *FSGroupStrategyOptions {
437 out := new(FSGroupStrategyOptions)
442 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
443 func (in *HTTPIngressPath) DeepCopyInto(out *HTTPIngressPath) {
445 out.Backend = in.Backend
449 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPIngressPath.
450 func (in *HTTPIngressPath) DeepCopy() *HTTPIngressPath {
454 out := new(HTTPIngressPath)
459 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
460 func (in *HTTPIngressRuleValue) DeepCopyInto(out *HTTPIngressRuleValue) {
463 in, out := &in.Paths, &out.Paths
464 *out = make([]HTTPIngressPath, len(*in))
470 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPIngressRuleValue.
471 func (in *HTTPIngressRuleValue) DeepCopy() *HTTPIngressRuleValue {
475 out := new(HTTPIngressRuleValue)
480 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
481 func (in *HostPortRange) DeepCopyInto(out *HostPortRange) {
486 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPortRange.
487 func (in *HostPortRange) DeepCopy() *HostPortRange {
491 out := new(HostPortRange)
496 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
497 func (in *IDRange) DeepCopyInto(out *IDRange) {
502 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IDRange.
503 func (in *IDRange) DeepCopy() *IDRange {
512 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
513 func (in *IPBlock) DeepCopyInto(out *IPBlock) {
515 if in.Except != nil {
516 in, out := &in.Except, &out.Except
517 *out = make([]string, len(*in))
523 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPBlock.
524 func (in *IPBlock) DeepCopy() *IPBlock {
533 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
534 func (in *Ingress) DeepCopyInto(out *Ingress) {
536 out.TypeMeta = in.TypeMeta
537 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
538 in.Spec.DeepCopyInto(&out.Spec)
539 in.Status.DeepCopyInto(&out.Status)
543 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ingress.
544 func (in *Ingress) DeepCopy() *Ingress {
553 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
554 func (in *Ingress) DeepCopyObject() runtime.Object {
555 if c := in.DeepCopy(); c != nil {
561 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
562 func (in *IngressBackend) DeepCopyInto(out *IngressBackend) {
564 out.ServicePort = in.ServicePort
568 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressBackend.
569 func (in *IngressBackend) DeepCopy() *IngressBackend {
573 out := new(IngressBackend)
578 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
579 func (in *IngressList) DeepCopyInto(out *IngressList) {
581 out.TypeMeta = in.TypeMeta
582 out.ListMeta = in.ListMeta
584 in, out := &in.Items, &out.Items
585 *out = make([]Ingress, len(*in))
587 (*in)[i].DeepCopyInto(&(*out)[i])
593 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressList.
594 func (in *IngressList) DeepCopy() *IngressList {
598 out := new(IngressList)
603 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
604 func (in *IngressList) DeepCopyObject() runtime.Object {
605 if c := in.DeepCopy(); c != nil {
611 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
612 func (in *IngressRule) DeepCopyInto(out *IngressRule) {
614 in.IngressRuleValue.DeepCopyInto(&out.IngressRuleValue)
618 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRule.
619 func (in *IngressRule) DeepCopy() *IngressRule {
623 out := new(IngressRule)
628 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
629 func (in *IngressRuleValue) DeepCopyInto(out *IngressRuleValue) {
632 in, out := &in.HTTP, &out.HTTP
633 *out = new(HTTPIngressRuleValue)
634 (*in).DeepCopyInto(*out)
639 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRuleValue.
640 func (in *IngressRuleValue) DeepCopy() *IngressRuleValue {
644 out := new(IngressRuleValue)
649 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
650 func (in *IngressSpec) DeepCopyInto(out *IngressSpec) {
652 if in.Backend != nil {
653 in, out := &in.Backend, &out.Backend
654 *out = new(IngressBackend)
658 in, out := &in.TLS, &out.TLS
659 *out = make([]IngressTLS, len(*in))
661 (*in)[i].DeepCopyInto(&(*out)[i])
665 in, out := &in.Rules, &out.Rules
666 *out = make([]IngressRule, len(*in))
668 (*in)[i].DeepCopyInto(&(*out)[i])
674 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressSpec.
675 func (in *IngressSpec) DeepCopy() *IngressSpec {
679 out := new(IngressSpec)
684 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
685 func (in *IngressStatus) DeepCopyInto(out *IngressStatus) {
687 in.LoadBalancer.DeepCopyInto(&out.LoadBalancer)
691 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressStatus.
692 func (in *IngressStatus) DeepCopy() *IngressStatus {
696 out := new(IngressStatus)
701 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
702 func (in *IngressTLS) DeepCopyInto(out *IngressTLS) {
705 in, out := &in.Hosts, &out.Hosts
706 *out = make([]string, len(*in))
712 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressTLS.
713 func (in *IngressTLS) DeepCopy() *IngressTLS {
717 out := new(IngressTLS)
722 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
723 func (in *NetworkPolicy) DeepCopyInto(out *NetworkPolicy) {
725 out.TypeMeta = in.TypeMeta
726 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
727 in.Spec.DeepCopyInto(&out.Spec)
731 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicy.
732 func (in *NetworkPolicy) DeepCopy() *NetworkPolicy {
736 out := new(NetworkPolicy)
741 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
742 func (in *NetworkPolicy) DeepCopyObject() runtime.Object {
743 if c := in.DeepCopy(); c != nil {
749 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
750 func (in *NetworkPolicyEgressRule) DeepCopyInto(out *NetworkPolicyEgressRule) {
753 in, out := &in.Ports, &out.Ports
754 *out = make([]NetworkPolicyPort, len(*in))
756 (*in)[i].DeepCopyInto(&(*out)[i])
760 in, out := &in.To, &out.To
761 *out = make([]NetworkPolicyPeer, len(*in))
763 (*in)[i].DeepCopyInto(&(*out)[i])
769 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyEgressRule.
770 func (in *NetworkPolicyEgressRule) DeepCopy() *NetworkPolicyEgressRule {
774 out := new(NetworkPolicyEgressRule)
779 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
780 func (in *NetworkPolicyIngressRule) DeepCopyInto(out *NetworkPolicyIngressRule) {
783 in, out := &in.Ports, &out.Ports
784 *out = make([]NetworkPolicyPort, len(*in))
786 (*in)[i].DeepCopyInto(&(*out)[i])
790 in, out := &in.From, &out.From
791 *out = make([]NetworkPolicyPeer, len(*in))
793 (*in)[i].DeepCopyInto(&(*out)[i])
799 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyIngressRule.
800 func (in *NetworkPolicyIngressRule) DeepCopy() *NetworkPolicyIngressRule {
804 out := new(NetworkPolicyIngressRule)
809 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
810 func (in *NetworkPolicyList) DeepCopyInto(out *NetworkPolicyList) {
812 out.TypeMeta = in.TypeMeta
813 out.ListMeta = in.ListMeta
815 in, out := &in.Items, &out.Items
816 *out = make([]NetworkPolicy, len(*in))
818 (*in)[i].DeepCopyInto(&(*out)[i])
824 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyList.
825 func (in *NetworkPolicyList) DeepCopy() *NetworkPolicyList {
829 out := new(NetworkPolicyList)
834 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
835 func (in *NetworkPolicyList) DeepCopyObject() runtime.Object {
836 if c := in.DeepCopy(); c != nil {
842 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
843 func (in *NetworkPolicyPeer) DeepCopyInto(out *NetworkPolicyPeer) {
845 if in.PodSelector != nil {
846 in, out := &in.PodSelector, &out.PodSelector
847 *out = new(v1.LabelSelector)
848 (*in).DeepCopyInto(*out)
850 if in.NamespaceSelector != nil {
851 in, out := &in.NamespaceSelector, &out.NamespaceSelector
852 *out = new(v1.LabelSelector)
853 (*in).DeepCopyInto(*out)
855 if in.IPBlock != nil {
856 in, out := &in.IPBlock, &out.IPBlock
858 (*in).DeepCopyInto(*out)
863 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyPeer.
864 func (in *NetworkPolicyPeer) DeepCopy() *NetworkPolicyPeer {
868 out := new(NetworkPolicyPeer)
873 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
874 func (in *NetworkPolicyPort) DeepCopyInto(out *NetworkPolicyPort) {
876 if in.Protocol != nil {
877 in, out := &in.Protocol, &out.Protocol
878 *out = new(corev1.Protocol)
882 in, out := &in.Port, &out.Port
883 *out = new(intstr.IntOrString)
889 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyPort.
890 func (in *NetworkPolicyPort) DeepCopy() *NetworkPolicyPort {
894 out := new(NetworkPolicyPort)
899 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
900 func (in *NetworkPolicySpec) DeepCopyInto(out *NetworkPolicySpec) {
902 in.PodSelector.DeepCopyInto(&out.PodSelector)
903 if in.Ingress != nil {
904 in, out := &in.Ingress, &out.Ingress
905 *out = make([]NetworkPolicyIngressRule, len(*in))
907 (*in)[i].DeepCopyInto(&(*out)[i])
910 if in.Egress != nil {
911 in, out := &in.Egress, &out.Egress
912 *out = make([]NetworkPolicyEgressRule, len(*in))
914 (*in)[i].DeepCopyInto(&(*out)[i])
917 if in.PolicyTypes != nil {
918 in, out := &in.PolicyTypes, &out.PolicyTypes
919 *out = make([]PolicyType, len(*in))
925 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicySpec.
926 func (in *NetworkPolicySpec) DeepCopy() *NetworkPolicySpec {
930 out := new(NetworkPolicySpec)
935 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
936 func (in *PodSecurityPolicy) DeepCopyInto(out *PodSecurityPolicy) {
938 out.TypeMeta = in.TypeMeta
939 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
940 in.Spec.DeepCopyInto(&out.Spec)
944 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityPolicy.
945 func (in *PodSecurityPolicy) DeepCopy() *PodSecurityPolicy {
949 out := new(PodSecurityPolicy)
954 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
955 func (in *PodSecurityPolicy) DeepCopyObject() runtime.Object {
956 if c := in.DeepCopy(); c != nil {
962 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
963 func (in *PodSecurityPolicyList) DeepCopyInto(out *PodSecurityPolicyList) {
965 out.TypeMeta = in.TypeMeta
966 out.ListMeta = in.ListMeta
968 in, out := &in.Items, &out.Items
969 *out = make([]PodSecurityPolicy, len(*in))
971 (*in)[i].DeepCopyInto(&(*out)[i])
977 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityPolicyList.
978 func (in *PodSecurityPolicyList) DeepCopy() *PodSecurityPolicyList {
982 out := new(PodSecurityPolicyList)
987 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
988 func (in *PodSecurityPolicyList) DeepCopyObject() runtime.Object {
989 if c := in.DeepCopy(); c != nil {
995 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
996 func (in *PodSecurityPolicySpec) DeepCopyInto(out *PodSecurityPolicySpec) {
998 if in.DefaultAddCapabilities != nil {
999 in, out := &in.DefaultAddCapabilities, &out.DefaultAddCapabilities
1000 *out = make([]corev1.Capability, len(*in))
1003 if in.RequiredDropCapabilities != nil {
1004 in, out := &in.RequiredDropCapabilities, &out.RequiredDropCapabilities
1005 *out = make([]corev1.Capability, len(*in))
1008 if in.AllowedCapabilities != nil {
1009 in, out := &in.AllowedCapabilities, &out.AllowedCapabilities
1010 *out = make([]corev1.Capability, len(*in))
1013 if in.Volumes != nil {
1014 in, out := &in.Volumes, &out.Volumes
1015 *out = make([]FSType, len(*in))
1018 if in.HostPorts != nil {
1019 in, out := &in.HostPorts, &out.HostPorts
1020 *out = make([]HostPortRange, len(*in))
1023 in.SELinux.DeepCopyInto(&out.SELinux)
1024 in.RunAsUser.DeepCopyInto(&out.RunAsUser)
1025 if in.RunAsGroup != nil {
1026 in, out := &in.RunAsGroup, &out.RunAsGroup
1027 *out = new(RunAsGroupStrategyOptions)
1028 (*in).DeepCopyInto(*out)
1030 in.SupplementalGroups.DeepCopyInto(&out.SupplementalGroups)
1031 in.FSGroup.DeepCopyInto(&out.FSGroup)
1032 if in.DefaultAllowPrivilegeEscalation != nil {
1033 in, out := &in.DefaultAllowPrivilegeEscalation, &out.DefaultAllowPrivilegeEscalation
1037 if in.AllowPrivilegeEscalation != nil {
1038 in, out := &in.AllowPrivilegeEscalation, &out.AllowPrivilegeEscalation
1042 if in.AllowedHostPaths != nil {
1043 in, out := &in.AllowedHostPaths, &out.AllowedHostPaths
1044 *out = make([]AllowedHostPath, len(*in))
1047 if in.AllowedFlexVolumes != nil {
1048 in, out := &in.AllowedFlexVolumes, &out.AllowedFlexVolumes
1049 *out = make([]AllowedFlexVolume, len(*in))
1052 if in.AllowedUnsafeSysctls != nil {
1053 in, out := &in.AllowedUnsafeSysctls, &out.AllowedUnsafeSysctls
1054 *out = make([]string, len(*in))
1057 if in.ForbiddenSysctls != nil {
1058 in, out := &in.ForbiddenSysctls, &out.ForbiddenSysctls
1059 *out = make([]string, len(*in))
1062 if in.AllowedProcMountTypes != nil {
1063 in, out := &in.AllowedProcMountTypes, &out.AllowedProcMountTypes
1064 *out = make([]corev1.ProcMountType, len(*in))
1070 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityPolicySpec.
1071 func (in *PodSecurityPolicySpec) DeepCopy() *PodSecurityPolicySpec {
1075 out := new(PodSecurityPolicySpec)
1076 in.DeepCopyInto(out)
1080 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1081 func (in *ReplicaSet) DeepCopyInto(out *ReplicaSet) {
1083 out.TypeMeta = in.TypeMeta
1084 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
1085 in.Spec.DeepCopyInto(&out.Spec)
1086 in.Status.DeepCopyInto(&out.Status)
1090 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSet.
1091 func (in *ReplicaSet) DeepCopy() *ReplicaSet {
1095 out := new(ReplicaSet)
1096 in.DeepCopyInto(out)
1100 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
1101 func (in *ReplicaSet) DeepCopyObject() runtime.Object {
1102 if c := in.DeepCopy(); c != nil {
1108 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1109 func (in *ReplicaSetCondition) DeepCopyInto(out *ReplicaSetCondition) {
1111 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
1115 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetCondition.
1116 func (in *ReplicaSetCondition) DeepCopy() *ReplicaSetCondition {
1120 out := new(ReplicaSetCondition)
1121 in.DeepCopyInto(out)
1125 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1126 func (in *ReplicaSetList) DeepCopyInto(out *ReplicaSetList) {
1128 out.TypeMeta = in.TypeMeta
1129 out.ListMeta = in.ListMeta
1130 if in.Items != nil {
1131 in, out := &in.Items, &out.Items
1132 *out = make([]ReplicaSet, len(*in))
1133 for i := range *in {
1134 (*in)[i].DeepCopyInto(&(*out)[i])
1140 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetList.
1141 func (in *ReplicaSetList) DeepCopy() *ReplicaSetList {
1145 out := new(ReplicaSetList)
1146 in.DeepCopyInto(out)
1150 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
1151 func (in *ReplicaSetList) DeepCopyObject() runtime.Object {
1152 if c := in.DeepCopy(); c != nil {
1158 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1159 func (in *ReplicaSetSpec) DeepCopyInto(out *ReplicaSetSpec) {
1161 if in.Replicas != nil {
1162 in, out := &in.Replicas, &out.Replicas
1166 if in.Selector != nil {
1167 in, out := &in.Selector, &out.Selector
1168 *out = new(v1.LabelSelector)
1169 (*in).DeepCopyInto(*out)
1171 in.Template.DeepCopyInto(&out.Template)
1175 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetSpec.
1176 func (in *ReplicaSetSpec) DeepCopy() *ReplicaSetSpec {
1180 out := new(ReplicaSetSpec)
1181 in.DeepCopyInto(out)
1185 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1186 func (in *ReplicaSetStatus) DeepCopyInto(out *ReplicaSetStatus) {
1188 if in.Conditions != nil {
1189 in, out := &in.Conditions, &out.Conditions
1190 *out = make([]ReplicaSetCondition, len(*in))
1191 for i := range *in {
1192 (*in)[i].DeepCopyInto(&(*out)[i])
1198 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetStatus.
1199 func (in *ReplicaSetStatus) DeepCopy() *ReplicaSetStatus {
1203 out := new(ReplicaSetStatus)
1204 in.DeepCopyInto(out)
1208 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1209 func (in *ReplicationControllerDummy) DeepCopyInto(out *ReplicationControllerDummy) {
1211 out.TypeMeta = in.TypeMeta
1215 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationControllerDummy.
1216 func (in *ReplicationControllerDummy) DeepCopy() *ReplicationControllerDummy {
1220 out := new(ReplicationControllerDummy)
1221 in.DeepCopyInto(out)
1225 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
1226 func (in *ReplicationControllerDummy) DeepCopyObject() runtime.Object {
1227 if c := in.DeepCopy(); c != nil {
1233 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1234 func (in *RollbackConfig) DeepCopyInto(out *RollbackConfig) {
1239 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollbackConfig.
1240 func (in *RollbackConfig) DeepCopy() *RollbackConfig {
1244 out := new(RollbackConfig)
1245 in.DeepCopyInto(out)
1249 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1250 func (in *RollingUpdateDaemonSet) DeepCopyInto(out *RollingUpdateDaemonSet) {
1252 if in.MaxUnavailable != nil {
1253 in, out := &in.MaxUnavailable, &out.MaxUnavailable
1254 *out = new(intstr.IntOrString)
1260 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateDaemonSet.
1261 func (in *RollingUpdateDaemonSet) DeepCopy() *RollingUpdateDaemonSet {
1265 out := new(RollingUpdateDaemonSet)
1266 in.DeepCopyInto(out)
1270 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1271 func (in *RollingUpdateDeployment) DeepCopyInto(out *RollingUpdateDeployment) {
1273 if in.MaxUnavailable != nil {
1274 in, out := &in.MaxUnavailable, &out.MaxUnavailable
1275 *out = new(intstr.IntOrString)
1278 if in.MaxSurge != nil {
1279 in, out := &in.MaxSurge, &out.MaxSurge
1280 *out = new(intstr.IntOrString)
1286 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateDeployment.
1287 func (in *RollingUpdateDeployment) DeepCopy() *RollingUpdateDeployment {
1291 out := new(RollingUpdateDeployment)
1292 in.DeepCopyInto(out)
1296 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1297 func (in *RunAsGroupStrategyOptions) DeepCopyInto(out *RunAsGroupStrategyOptions) {
1299 if in.Ranges != nil {
1300 in, out := &in.Ranges, &out.Ranges
1301 *out = make([]IDRange, len(*in))
1307 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunAsGroupStrategyOptions.
1308 func (in *RunAsGroupStrategyOptions) DeepCopy() *RunAsGroupStrategyOptions {
1312 out := new(RunAsGroupStrategyOptions)
1313 in.DeepCopyInto(out)
1317 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1318 func (in *RunAsUserStrategyOptions) DeepCopyInto(out *RunAsUserStrategyOptions) {
1320 if in.Ranges != nil {
1321 in, out := &in.Ranges, &out.Ranges
1322 *out = make([]IDRange, len(*in))
1328 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunAsUserStrategyOptions.
1329 func (in *RunAsUserStrategyOptions) DeepCopy() *RunAsUserStrategyOptions {
1333 out := new(RunAsUserStrategyOptions)
1334 in.DeepCopyInto(out)
1338 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1339 func (in *SELinuxStrategyOptions) DeepCopyInto(out *SELinuxStrategyOptions) {
1341 if in.SELinuxOptions != nil {
1342 in, out := &in.SELinuxOptions, &out.SELinuxOptions
1343 *out = new(corev1.SELinuxOptions)
1349 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SELinuxStrategyOptions.
1350 func (in *SELinuxStrategyOptions) DeepCopy() *SELinuxStrategyOptions {
1354 out := new(SELinuxStrategyOptions)
1355 in.DeepCopyInto(out)
1359 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1360 func (in *Scale) DeepCopyInto(out *Scale) {
1362 out.TypeMeta = in.TypeMeta
1363 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
1365 in.Status.DeepCopyInto(&out.Status)
1369 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scale.
1370 func (in *Scale) DeepCopy() *Scale {
1375 in.DeepCopyInto(out)
1379 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
1380 func (in *Scale) DeepCopyObject() runtime.Object {
1381 if c := in.DeepCopy(); c != nil {
1387 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1388 func (in *ScaleSpec) DeepCopyInto(out *ScaleSpec) {
1393 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleSpec.
1394 func (in *ScaleSpec) DeepCopy() *ScaleSpec {
1398 out := new(ScaleSpec)
1399 in.DeepCopyInto(out)
1403 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1404 func (in *ScaleStatus) DeepCopyInto(out *ScaleStatus) {
1406 if in.Selector != nil {
1407 in, out := &in.Selector, &out.Selector
1408 *out = make(map[string]string, len(*in))
1409 for key, val := range *in {
1416 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleStatus.
1417 func (in *ScaleStatus) DeepCopy() *ScaleStatus {
1421 out := new(ScaleStatus)
1422 in.DeepCopyInto(out)
1426 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
1427 func (in *SupplementalGroupsStrategyOptions) DeepCopyInto(out *SupplementalGroupsStrategyOptions) {
1429 if in.Ranges != nil {
1430 in, out := &in.Ranges, &out.Ranges
1431 *out = make([]IDRange, len(*in))
1437 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SupplementalGroupsStrategyOptions.
1438 func (in *SupplementalGroupsStrategyOptions) DeepCopy() *SupplementalGroupsStrategyOptions {
1442 out := new(SupplementalGroupsStrategyOptions)
1443 in.DeepCopyInto(out)