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 *ControllerRevision) DeepCopyInto(out *ControllerRevision) {
33 out.TypeMeta = in.TypeMeta
34 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
35 in.Data.DeepCopyInto(&out.Data)
39 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerRevision.
40 func (in *ControllerRevision) DeepCopy() *ControllerRevision {
44 out := new(ControllerRevision)
49 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
50 func (in *ControllerRevision) DeepCopyObject() runtime.Object {
51 if c := in.DeepCopy(); c != nil {
57 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
58 func (in *ControllerRevisionList) DeepCopyInto(out *ControllerRevisionList) {
60 out.TypeMeta = in.TypeMeta
61 out.ListMeta = in.ListMeta
63 in, out := &in.Items, &out.Items
64 *out = make([]ControllerRevision, len(*in))
66 (*in)[i].DeepCopyInto(&(*out)[i])
72 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerRevisionList.
73 func (in *ControllerRevisionList) DeepCopy() *ControllerRevisionList {
77 out := new(ControllerRevisionList)
82 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
83 func (in *ControllerRevisionList) 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 *DaemonSet) DeepCopyInto(out *DaemonSet) {
93 out.TypeMeta = in.TypeMeta
94 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
95 in.Spec.DeepCopyInto(&out.Spec)
96 in.Status.DeepCopyInto(&out.Status)
100 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSet.
101 func (in *DaemonSet) DeepCopy() *DaemonSet {
105 out := new(DaemonSet)
110 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
111 func (in *DaemonSet) DeepCopyObject() runtime.Object {
112 if c := in.DeepCopy(); c != nil {
118 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
119 func (in *DaemonSetCondition) DeepCopyInto(out *DaemonSetCondition) {
121 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
125 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetCondition.
126 func (in *DaemonSetCondition) DeepCopy() *DaemonSetCondition {
130 out := new(DaemonSetCondition)
135 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
136 func (in *DaemonSetList) DeepCopyInto(out *DaemonSetList) {
138 out.TypeMeta = in.TypeMeta
139 out.ListMeta = in.ListMeta
141 in, out := &in.Items, &out.Items
142 *out = make([]DaemonSet, len(*in))
144 (*in)[i].DeepCopyInto(&(*out)[i])
150 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetList.
151 func (in *DaemonSetList) DeepCopy() *DaemonSetList {
155 out := new(DaemonSetList)
160 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
161 func (in *DaemonSetList) DeepCopyObject() runtime.Object {
162 if c := in.DeepCopy(); c != nil {
168 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
169 func (in *DaemonSetSpec) DeepCopyInto(out *DaemonSetSpec) {
171 if in.Selector != nil {
172 in, out := &in.Selector, &out.Selector
173 *out = new(v1.LabelSelector)
174 (*in).DeepCopyInto(*out)
176 in.Template.DeepCopyInto(&out.Template)
177 in.UpdateStrategy.DeepCopyInto(&out.UpdateStrategy)
178 if in.RevisionHistoryLimit != nil {
179 in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
186 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetSpec.
187 func (in *DaemonSetSpec) DeepCopy() *DaemonSetSpec {
191 out := new(DaemonSetSpec)
196 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
197 func (in *DaemonSetStatus) DeepCopyInto(out *DaemonSetStatus) {
199 if in.CollisionCount != nil {
200 in, out := &in.CollisionCount, &out.CollisionCount
204 if in.Conditions != nil {
205 in, out := &in.Conditions, &out.Conditions
206 *out = make([]DaemonSetCondition, len(*in))
208 (*in)[i].DeepCopyInto(&(*out)[i])
214 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetStatus.
215 func (in *DaemonSetStatus) DeepCopy() *DaemonSetStatus {
219 out := new(DaemonSetStatus)
224 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
225 func (in *DaemonSetUpdateStrategy) DeepCopyInto(out *DaemonSetUpdateStrategy) {
227 if in.RollingUpdate != nil {
228 in, out := &in.RollingUpdate, &out.RollingUpdate
229 *out = new(RollingUpdateDaemonSet)
230 (*in).DeepCopyInto(*out)
235 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetUpdateStrategy.
236 func (in *DaemonSetUpdateStrategy) DeepCopy() *DaemonSetUpdateStrategy {
240 out := new(DaemonSetUpdateStrategy)
245 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
246 func (in *Deployment) DeepCopyInto(out *Deployment) {
248 out.TypeMeta = in.TypeMeta
249 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
250 in.Spec.DeepCopyInto(&out.Spec)
251 in.Status.DeepCopyInto(&out.Status)
255 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Deployment.
256 func (in *Deployment) DeepCopy() *Deployment {
260 out := new(Deployment)
265 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
266 func (in *Deployment) DeepCopyObject() runtime.Object {
267 if c := in.DeepCopy(); c != nil {
273 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
274 func (in *DeploymentCondition) DeepCopyInto(out *DeploymentCondition) {
276 in.LastUpdateTime.DeepCopyInto(&out.LastUpdateTime)
277 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
281 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentCondition.
282 func (in *DeploymentCondition) DeepCopy() *DeploymentCondition {
286 out := new(DeploymentCondition)
291 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
292 func (in *DeploymentList) DeepCopyInto(out *DeploymentList) {
294 out.TypeMeta = in.TypeMeta
295 out.ListMeta = in.ListMeta
297 in, out := &in.Items, &out.Items
298 *out = make([]Deployment, len(*in))
300 (*in)[i].DeepCopyInto(&(*out)[i])
306 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentList.
307 func (in *DeploymentList) DeepCopy() *DeploymentList {
311 out := new(DeploymentList)
316 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
317 func (in *DeploymentList) DeepCopyObject() runtime.Object {
318 if c := in.DeepCopy(); c != nil {
324 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
325 func (in *DeploymentSpec) DeepCopyInto(out *DeploymentSpec) {
327 if in.Replicas != nil {
328 in, out := &in.Replicas, &out.Replicas
332 if in.Selector != nil {
333 in, out := &in.Selector, &out.Selector
334 *out = new(v1.LabelSelector)
335 (*in).DeepCopyInto(*out)
337 in.Template.DeepCopyInto(&out.Template)
338 in.Strategy.DeepCopyInto(&out.Strategy)
339 if in.RevisionHistoryLimit != nil {
340 in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
344 if in.ProgressDeadlineSeconds != nil {
345 in, out := &in.ProgressDeadlineSeconds, &out.ProgressDeadlineSeconds
352 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentSpec.
353 func (in *DeploymentSpec) DeepCopy() *DeploymentSpec {
357 out := new(DeploymentSpec)
362 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
363 func (in *DeploymentStatus) DeepCopyInto(out *DeploymentStatus) {
365 if in.Conditions != nil {
366 in, out := &in.Conditions, &out.Conditions
367 *out = make([]DeploymentCondition, len(*in))
369 (*in)[i].DeepCopyInto(&(*out)[i])
372 if in.CollisionCount != nil {
373 in, out := &in.CollisionCount, &out.CollisionCount
380 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStatus.
381 func (in *DeploymentStatus) DeepCopy() *DeploymentStatus {
385 out := new(DeploymentStatus)
390 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
391 func (in *DeploymentStrategy) DeepCopyInto(out *DeploymentStrategy) {
393 if in.RollingUpdate != nil {
394 in, out := &in.RollingUpdate, &out.RollingUpdate
395 *out = new(RollingUpdateDeployment)
396 (*in).DeepCopyInto(*out)
401 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStrategy.
402 func (in *DeploymentStrategy) DeepCopy() *DeploymentStrategy {
406 out := new(DeploymentStrategy)
411 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
412 func (in *ReplicaSet) DeepCopyInto(out *ReplicaSet) {
414 out.TypeMeta = in.TypeMeta
415 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
416 in.Spec.DeepCopyInto(&out.Spec)
417 in.Status.DeepCopyInto(&out.Status)
421 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSet.
422 func (in *ReplicaSet) DeepCopy() *ReplicaSet {
426 out := new(ReplicaSet)
431 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
432 func (in *ReplicaSet) DeepCopyObject() runtime.Object {
433 if c := in.DeepCopy(); c != nil {
439 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
440 func (in *ReplicaSetCondition) DeepCopyInto(out *ReplicaSetCondition) {
442 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
446 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetCondition.
447 func (in *ReplicaSetCondition) DeepCopy() *ReplicaSetCondition {
451 out := new(ReplicaSetCondition)
456 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
457 func (in *ReplicaSetList) DeepCopyInto(out *ReplicaSetList) {
459 out.TypeMeta = in.TypeMeta
460 out.ListMeta = in.ListMeta
462 in, out := &in.Items, &out.Items
463 *out = make([]ReplicaSet, len(*in))
465 (*in)[i].DeepCopyInto(&(*out)[i])
471 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetList.
472 func (in *ReplicaSetList) DeepCopy() *ReplicaSetList {
476 out := new(ReplicaSetList)
481 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
482 func (in *ReplicaSetList) DeepCopyObject() runtime.Object {
483 if c := in.DeepCopy(); c != nil {
489 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
490 func (in *ReplicaSetSpec) DeepCopyInto(out *ReplicaSetSpec) {
492 if in.Replicas != nil {
493 in, out := &in.Replicas, &out.Replicas
497 if in.Selector != nil {
498 in, out := &in.Selector, &out.Selector
499 *out = new(v1.LabelSelector)
500 (*in).DeepCopyInto(*out)
502 in.Template.DeepCopyInto(&out.Template)
506 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetSpec.
507 func (in *ReplicaSetSpec) DeepCopy() *ReplicaSetSpec {
511 out := new(ReplicaSetSpec)
516 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
517 func (in *ReplicaSetStatus) DeepCopyInto(out *ReplicaSetStatus) {
519 if in.Conditions != nil {
520 in, out := &in.Conditions, &out.Conditions
521 *out = make([]ReplicaSetCondition, len(*in))
523 (*in)[i].DeepCopyInto(&(*out)[i])
529 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetStatus.
530 func (in *ReplicaSetStatus) DeepCopy() *ReplicaSetStatus {
534 out := new(ReplicaSetStatus)
539 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
540 func (in *RollingUpdateDaemonSet) DeepCopyInto(out *RollingUpdateDaemonSet) {
542 if in.MaxUnavailable != nil {
543 in, out := &in.MaxUnavailable, &out.MaxUnavailable
544 *out = new(intstr.IntOrString)
550 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateDaemonSet.
551 func (in *RollingUpdateDaemonSet) DeepCopy() *RollingUpdateDaemonSet {
555 out := new(RollingUpdateDaemonSet)
560 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
561 func (in *RollingUpdateDeployment) DeepCopyInto(out *RollingUpdateDeployment) {
563 if in.MaxUnavailable != nil {
564 in, out := &in.MaxUnavailable, &out.MaxUnavailable
565 *out = new(intstr.IntOrString)
568 if in.MaxSurge != nil {
569 in, out := &in.MaxSurge, &out.MaxSurge
570 *out = new(intstr.IntOrString)
576 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateDeployment.
577 func (in *RollingUpdateDeployment) DeepCopy() *RollingUpdateDeployment {
581 out := new(RollingUpdateDeployment)
586 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
587 func (in *RollingUpdateStatefulSetStrategy) DeepCopyInto(out *RollingUpdateStatefulSetStrategy) {
589 if in.Partition != nil {
590 in, out := &in.Partition, &out.Partition
597 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateStatefulSetStrategy.
598 func (in *RollingUpdateStatefulSetStrategy) DeepCopy() *RollingUpdateStatefulSetStrategy {
602 out := new(RollingUpdateStatefulSetStrategy)
607 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
608 func (in *Scale) DeepCopyInto(out *Scale) {
610 out.TypeMeta = in.TypeMeta
611 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
613 in.Status.DeepCopyInto(&out.Status)
617 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scale.
618 func (in *Scale) DeepCopy() *Scale {
627 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
628 func (in *Scale) DeepCopyObject() runtime.Object {
629 if c := in.DeepCopy(); c != nil {
635 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
636 func (in *ScaleSpec) DeepCopyInto(out *ScaleSpec) {
641 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleSpec.
642 func (in *ScaleSpec) DeepCopy() *ScaleSpec {
646 out := new(ScaleSpec)
651 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
652 func (in *ScaleStatus) DeepCopyInto(out *ScaleStatus) {
654 if in.Selector != nil {
655 in, out := &in.Selector, &out.Selector
656 *out = make(map[string]string, len(*in))
657 for key, val := range *in {
664 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleStatus.
665 func (in *ScaleStatus) DeepCopy() *ScaleStatus {
669 out := new(ScaleStatus)
674 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
675 func (in *StatefulSet) DeepCopyInto(out *StatefulSet) {
677 out.TypeMeta = in.TypeMeta
678 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
679 in.Spec.DeepCopyInto(&out.Spec)
680 in.Status.DeepCopyInto(&out.Status)
684 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSet.
685 func (in *StatefulSet) DeepCopy() *StatefulSet {
689 out := new(StatefulSet)
694 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
695 func (in *StatefulSet) DeepCopyObject() runtime.Object {
696 if c := in.DeepCopy(); c != nil {
702 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
703 func (in *StatefulSetCondition) DeepCopyInto(out *StatefulSetCondition) {
705 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
709 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetCondition.
710 func (in *StatefulSetCondition) DeepCopy() *StatefulSetCondition {
714 out := new(StatefulSetCondition)
719 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
720 func (in *StatefulSetList) DeepCopyInto(out *StatefulSetList) {
722 out.TypeMeta = in.TypeMeta
723 out.ListMeta = in.ListMeta
725 in, out := &in.Items, &out.Items
726 *out = make([]StatefulSet, len(*in))
728 (*in)[i].DeepCopyInto(&(*out)[i])
734 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetList.
735 func (in *StatefulSetList) DeepCopy() *StatefulSetList {
739 out := new(StatefulSetList)
744 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
745 func (in *StatefulSetList) DeepCopyObject() runtime.Object {
746 if c := in.DeepCopy(); c != nil {
752 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
753 func (in *StatefulSetSpec) DeepCopyInto(out *StatefulSetSpec) {
755 if in.Replicas != nil {
756 in, out := &in.Replicas, &out.Replicas
760 if in.Selector != nil {
761 in, out := &in.Selector, &out.Selector
762 *out = new(v1.LabelSelector)
763 (*in).DeepCopyInto(*out)
765 in.Template.DeepCopyInto(&out.Template)
766 if in.VolumeClaimTemplates != nil {
767 in, out := &in.VolumeClaimTemplates, &out.VolumeClaimTemplates
768 *out = make([]corev1.PersistentVolumeClaim, len(*in))
770 (*in)[i].DeepCopyInto(&(*out)[i])
773 in.UpdateStrategy.DeepCopyInto(&out.UpdateStrategy)
774 if in.RevisionHistoryLimit != nil {
775 in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
782 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetSpec.
783 func (in *StatefulSetSpec) DeepCopy() *StatefulSetSpec {
787 out := new(StatefulSetSpec)
792 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
793 func (in *StatefulSetStatus) DeepCopyInto(out *StatefulSetStatus) {
795 if in.CollisionCount != nil {
796 in, out := &in.CollisionCount, &out.CollisionCount
800 if in.Conditions != nil {
801 in, out := &in.Conditions, &out.Conditions
802 *out = make([]StatefulSetCondition, len(*in))
804 (*in)[i].DeepCopyInto(&(*out)[i])
810 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetStatus.
811 func (in *StatefulSetStatus) DeepCopy() *StatefulSetStatus {
815 out := new(StatefulSetStatus)
820 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
821 func (in *StatefulSetUpdateStrategy) DeepCopyInto(out *StatefulSetUpdateStrategy) {
823 if in.RollingUpdate != nil {
824 in, out := &in.RollingUpdate, &out.RollingUpdate
825 *out = new(RollingUpdateStatefulSetStrategy)
826 (*in).DeepCopyInto(*out)
831 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetUpdateStrategy.
832 func (in *StatefulSetUpdateStrategy) DeepCopy() *StatefulSetUpdateStrategy {
836 out := new(StatefulSetUpdateStrategy)