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 *Deployment) DeepCopyInto(out *Deployment) {
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 Deployment.
101 func (in *Deployment) DeepCopy() *Deployment {
105 out := new(Deployment)
110 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
111 func (in *Deployment) 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 *DeploymentCondition) DeepCopyInto(out *DeploymentCondition) {
121 in.LastUpdateTime.DeepCopyInto(&out.LastUpdateTime)
122 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
126 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentCondition.
127 func (in *DeploymentCondition) DeepCopy() *DeploymentCondition {
131 out := new(DeploymentCondition)
136 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
137 func (in *DeploymentList) DeepCopyInto(out *DeploymentList) {
139 out.TypeMeta = in.TypeMeta
140 out.ListMeta = in.ListMeta
142 in, out := &in.Items, &out.Items
143 *out = make([]Deployment, len(*in))
145 (*in)[i].DeepCopyInto(&(*out)[i])
151 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentList.
152 func (in *DeploymentList) DeepCopy() *DeploymentList {
156 out := new(DeploymentList)
161 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
162 func (in *DeploymentList) DeepCopyObject() runtime.Object {
163 if c := in.DeepCopy(); c != nil {
169 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
170 func (in *DeploymentRollback) DeepCopyInto(out *DeploymentRollback) {
172 out.TypeMeta = in.TypeMeta
173 if in.UpdatedAnnotations != nil {
174 in, out := &in.UpdatedAnnotations, &out.UpdatedAnnotations
175 *out = make(map[string]string, len(*in))
176 for key, val := range *in {
180 out.RollbackTo = in.RollbackTo
184 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentRollback.
185 func (in *DeploymentRollback) DeepCopy() *DeploymentRollback {
189 out := new(DeploymentRollback)
194 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
195 func (in *DeploymentRollback) DeepCopyObject() runtime.Object {
196 if c := in.DeepCopy(); c != nil {
202 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
203 func (in *DeploymentSpec) DeepCopyInto(out *DeploymentSpec) {
205 if in.Replicas != nil {
206 in, out := &in.Replicas, &out.Replicas
210 if in.Selector != nil {
211 in, out := &in.Selector, &out.Selector
212 *out = new(v1.LabelSelector)
213 (*in).DeepCopyInto(*out)
215 in.Template.DeepCopyInto(&out.Template)
216 in.Strategy.DeepCopyInto(&out.Strategy)
217 if in.RevisionHistoryLimit != nil {
218 in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
222 if in.RollbackTo != nil {
223 in, out := &in.RollbackTo, &out.RollbackTo
224 *out = new(RollbackConfig)
227 if in.ProgressDeadlineSeconds != nil {
228 in, out := &in.ProgressDeadlineSeconds, &out.ProgressDeadlineSeconds
235 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentSpec.
236 func (in *DeploymentSpec) DeepCopy() *DeploymentSpec {
240 out := new(DeploymentSpec)
245 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
246 func (in *DeploymentStatus) DeepCopyInto(out *DeploymentStatus) {
248 if in.Conditions != nil {
249 in, out := &in.Conditions, &out.Conditions
250 *out = make([]DeploymentCondition, len(*in))
252 (*in)[i].DeepCopyInto(&(*out)[i])
255 if in.CollisionCount != nil {
256 in, out := &in.CollisionCount, &out.CollisionCount
263 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStatus.
264 func (in *DeploymentStatus) DeepCopy() *DeploymentStatus {
268 out := new(DeploymentStatus)
273 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
274 func (in *DeploymentStrategy) DeepCopyInto(out *DeploymentStrategy) {
276 if in.RollingUpdate != nil {
277 in, out := &in.RollingUpdate, &out.RollingUpdate
278 *out = new(RollingUpdateDeployment)
279 (*in).DeepCopyInto(*out)
284 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStrategy.
285 func (in *DeploymentStrategy) DeepCopy() *DeploymentStrategy {
289 out := new(DeploymentStrategy)
294 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
295 func (in *RollbackConfig) DeepCopyInto(out *RollbackConfig) {
300 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollbackConfig.
301 func (in *RollbackConfig) DeepCopy() *RollbackConfig {
305 out := new(RollbackConfig)
310 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
311 func (in *RollingUpdateDeployment) DeepCopyInto(out *RollingUpdateDeployment) {
313 if in.MaxUnavailable != nil {
314 in, out := &in.MaxUnavailable, &out.MaxUnavailable
315 *out = new(intstr.IntOrString)
318 if in.MaxSurge != nil {
319 in, out := &in.MaxSurge, &out.MaxSurge
320 *out = new(intstr.IntOrString)
326 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateDeployment.
327 func (in *RollingUpdateDeployment) DeepCopy() *RollingUpdateDeployment {
331 out := new(RollingUpdateDeployment)
336 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
337 func (in *RollingUpdateStatefulSetStrategy) DeepCopyInto(out *RollingUpdateStatefulSetStrategy) {
339 if in.Partition != nil {
340 in, out := &in.Partition, &out.Partition
347 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateStatefulSetStrategy.
348 func (in *RollingUpdateStatefulSetStrategy) DeepCopy() *RollingUpdateStatefulSetStrategy {
352 out := new(RollingUpdateStatefulSetStrategy)
357 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
358 func (in *Scale) DeepCopyInto(out *Scale) {
360 out.TypeMeta = in.TypeMeta
361 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
363 in.Status.DeepCopyInto(&out.Status)
367 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scale.
368 func (in *Scale) DeepCopy() *Scale {
377 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
378 func (in *Scale) DeepCopyObject() runtime.Object {
379 if c := in.DeepCopy(); c != nil {
385 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
386 func (in *ScaleSpec) DeepCopyInto(out *ScaleSpec) {
391 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleSpec.
392 func (in *ScaleSpec) DeepCopy() *ScaleSpec {
396 out := new(ScaleSpec)
401 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
402 func (in *ScaleStatus) DeepCopyInto(out *ScaleStatus) {
404 if in.Selector != nil {
405 in, out := &in.Selector, &out.Selector
406 *out = make(map[string]string, len(*in))
407 for key, val := range *in {
414 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleStatus.
415 func (in *ScaleStatus) DeepCopy() *ScaleStatus {
419 out := new(ScaleStatus)
424 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
425 func (in *StatefulSet) DeepCopyInto(out *StatefulSet) {
427 out.TypeMeta = in.TypeMeta
428 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
429 in.Spec.DeepCopyInto(&out.Spec)
430 in.Status.DeepCopyInto(&out.Status)
434 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSet.
435 func (in *StatefulSet) DeepCopy() *StatefulSet {
439 out := new(StatefulSet)
444 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
445 func (in *StatefulSet) DeepCopyObject() runtime.Object {
446 if c := in.DeepCopy(); c != nil {
452 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
453 func (in *StatefulSetCondition) DeepCopyInto(out *StatefulSetCondition) {
455 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
459 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetCondition.
460 func (in *StatefulSetCondition) DeepCopy() *StatefulSetCondition {
464 out := new(StatefulSetCondition)
469 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
470 func (in *StatefulSetList) DeepCopyInto(out *StatefulSetList) {
472 out.TypeMeta = in.TypeMeta
473 out.ListMeta = in.ListMeta
475 in, out := &in.Items, &out.Items
476 *out = make([]StatefulSet, len(*in))
478 (*in)[i].DeepCopyInto(&(*out)[i])
484 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetList.
485 func (in *StatefulSetList) DeepCopy() *StatefulSetList {
489 out := new(StatefulSetList)
494 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
495 func (in *StatefulSetList) DeepCopyObject() runtime.Object {
496 if c := in.DeepCopy(); c != nil {
502 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
503 func (in *StatefulSetSpec) DeepCopyInto(out *StatefulSetSpec) {
505 if in.Replicas != nil {
506 in, out := &in.Replicas, &out.Replicas
510 if in.Selector != nil {
511 in, out := &in.Selector, &out.Selector
512 *out = new(v1.LabelSelector)
513 (*in).DeepCopyInto(*out)
515 in.Template.DeepCopyInto(&out.Template)
516 if in.VolumeClaimTemplates != nil {
517 in, out := &in.VolumeClaimTemplates, &out.VolumeClaimTemplates
518 *out = make([]corev1.PersistentVolumeClaim, len(*in))
520 (*in)[i].DeepCopyInto(&(*out)[i])
523 in.UpdateStrategy.DeepCopyInto(&out.UpdateStrategy)
524 if in.RevisionHistoryLimit != nil {
525 in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
532 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetSpec.
533 func (in *StatefulSetSpec) DeepCopy() *StatefulSetSpec {
537 out := new(StatefulSetSpec)
542 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
543 func (in *StatefulSetStatus) DeepCopyInto(out *StatefulSetStatus) {
545 if in.ObservedGeneration != nil {
546 in, out := &in.ObservedGeneration, &out.ObservedGeneration
550 if in.CollisionCount != nil {
551 in, out := &in.CollisionCount, &out.CollisionCount
555 if in.Conditions != nil {
556 in, out := &in.Conditions, &out.Conditions
557 *out = make([]StatefulSetCondition, len(*in))
559 (*in)[i].DeepCopyInto(&(*out)[i])
565 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetStatus.
566 func (in *StatefulSetStatus) DeepCopy() *StatefulSetStatus {
570 out := new(StatefulSetStatus)
575 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
576 func (in *StatefulSetUpdateStrategy) DeepCopyInto(out *StatefulSetUpdateStrategy) {
578 if in.RollingUpdate != nil {
579 in, out := &in.RollingUpdate, &out.RollingUpdate
580 *out = new(RollingUpdateStatefulSetStrategy)
581 (*in).DeepCopyInto(*out)
586 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetUpdateStrategy.
587 func (in *StatefulSetUpdateStrategy) DeepCopy() *StatefulSetUpdateStrategy {
591 out := new(StatefulSetUpdateStrategy)