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 *ControllerRevision) DeepCopyInto(out *ControllerRevision) {
33 *out = *in
34 out.TypeMeta = in.TypeMeta
35 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
36 in.Data.DeepCopyInto(&out.Data)
37 return
38 }
39
40
41 func (in *ControllerRevision) DeepCopy() *ControllerRevision {
42 if in == nil {
43 return nil
44 }
45 out := new(ControllerRevision)
46 in.DeepCopyInto(out)
47 return out
48 }
49
50
51 func (in *ControllerRevision) DeepCopyObject() runtime.Object {
52 if c := in.DeepCopy(); c != nil {
53 return c
54 }
55 return nil
56 }
57
58
59 func (in *ControllerRevisionList) DeepCopyInto(out *ControllerRevisionList) {
60 *out = *in
61 out.TypeMeta = in.TypeMeta
62 in.ListMeta.DeepCopyInto(&out.ListMeta)
63 if in.Items != nil {
64 in, out := &in.Items, &out.Items
65 *out = make([]ControllerRevision, len(*in))
66 for i := range *in {
67 (*in)[i].DeepCopyInto(&(*out)[i])
68 }
69 }
70 return
71 }
72
73
74 func (in *ControllerRevisionList) DeepCopy() *ControllerRevisionList {
75 if in == nil {
76 return nil
77 }
78 out := new(ControllerRevisionList)
79 in.DeepCopyInto(out)
80 return out
81 }
82
83
84 func (in *ControllerRevisionList) DeepCopyObject() runtime.Object {
85 if c := in.DeepCopy(); c != nil {
86 return c
87 }
88 return nil
89 }
90
91
92 func (in *Deployment) DeepCopyInto(out *Deployment) {
93 *out = *in
94 out.TypeMeta = in.TypeMeta
95 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
96 in.Spec.DeepCopyInto(&out.Spec)
97 in.Status.DeepCopyInto(&out.Status)
98 return
99 }
100
101
102 func (in *Deployment) DeepCopy() *Deployment {
103 if in == nil {
104 return nil
105 }
106 out := new(Deployment)
107 in.DeepCopyInto(out)
108 return out
109 }
110
111
112 func (in *Deployment) DeepCopyObject() runtime.Object {
113 if c := in.DeepCopy(); c != nil {
114 return c
115 }
116 return nil
117 }
118
119
120 func (in *DeploymentCondition) DeepCopyInto(out *DeploymentCondition) {
121 *out = *in
122 in.LastUpdateTime.DeepCopyInto(&out.LastUpdateTime)
123 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
124 return
125 }
126
127
128 func (in *DeploymentCondition) DeepCopy() *DeploymentCondition {
129 if in == nil {
130 return nil
131 }
132 out := new(DeploymentCondition)
133 in.DeepCopyInto(out)
134 return out
135 }
136
137
138 func (in *DeploymentList) DeepCopyInto(out *DeploymentList) {
139 *out = *in
140 out.TypeMeta = in.TypeMeta
141 in.ListMeta.DeepCopyInto(&out.ListMeta)
142 if in.Items != nil {
143 in, out := &in.Items, &out.Items
144 *out = make([]Deployment, len(*in))
145 for i := range *in {
146 (*in)[i].DeepCopyInto(&(*out)[i])
147 }
148 }
149 return
150 }
151
152
153 func (in *DeploymentList) DeepCopy() *DeploymentList {
154 if in == nil {
155 return nil
156 }
157 out := new(DeploymentList)
158 in.DeepCopyInto(out)
159 return out
160 }
161
162
163 func (in *DeploymentList) DeepCopyObject() runtime.Object {
164 if c := in.DeepCopy(); c != nil {
165 return c
166 }
167 return nil
168 }
169
170
171 func (in *DeploymentRollback) DeepCopyInto(out *DeploymentRollback) {
172 *out = *in
173 out.TypeMeta = in.TypeMeta
174 if in.UpdatedAnnotations != nil {
175 in, out := &in.UpdatedAnnotations, &out.UpdatedAnnotations
176 *out = make(map[string]string, len(*in))
177 for key, val := range *in {
178 (*out)[key] = val
179 }
180 }
181 out.RollbackTo = in.RollbackTo
182 return
183 }
184
185
186 func (in *DeploymentRollback) DeepCopy() *DeploymentRollback {
187 if in == nil {
188 return nil
189 }
190 out := new(DeploymentRollback)
191 in.DeepCopyInto(out)
192 return out
193 }
194
195
196 func (in *DeploymentRollback) DeepCopyObject() runtime.Object {
197 if c := in.DeepCopy(); c != nil {
198 return c
199 }
200 return nil
201 }
202
203
204 func (in *DeploymentSpec) DeepCopyInto(out *DeploymentSpec) {
205 *out = *in
206 if in.Replicas != nil {
207 in, out := &in.Replicas, &out.Replicas
208 *out = new(int32)
209 **out = **in
210 }
211 if in.Selector != nil {
212 in, out := &in.Selector, &out.Selector
213 *out = new(v1.LabelSelector)
214 (*in).DeepCopyInto(*out)
215 }
216 in.Template.DeepCopyInto(&out.Template)
217 in.Strategy.DeepCopyInto(&out.Strategy)
218 if in.RevisionHistoryLimit != nil {
219 in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
220 *out = new(int32)
221 **out = **in
222 }
223 if in.RollbackTo != nil {
224 in, out := &in.RollbackTo, &out.RollbackTo
225 *out = new(RollbackConfig)
226 **out = **in
227 }
228 if in.ProgressDeadlineSeconds != nil {
229 in, out := &in.ProgressDeadlineSeconds, &out.ProgressDeadlineSeconds
230 *out = new(int32)
231 **out = **in
232 }
233 return
234 }
235
236
237 func (in *DeploymentSpec) DeepCopy() *DeploymentSpec {
238 if in == nil {
239 return nil
240 }
241 out := new(DeploymentSpec)
242 in.DeepCopyInto(out)
243 return out
244 }
245
246
247 func (in *DeploymentStatus) DeepCopyInto(out *DeploymentStatus) {
248 *out = *in
249 if in.Conditions != nil {
250 in, out := &in.Conditions, &out.Conditions
251 *out = make([]DeploymentCondition, len(*in))
252 for i := range *in {
253 (*in)[i].DeepCopyInto(&(*out)[i])
254 }
255 }
256 if in.CollisionCount != nil {
257 in, out := &in.CollisionCount, &out.CollisionCount
258 *out = new(int32)
259 **out = **in
260 }
261 return
262 }
263
264
265 func (in *DeploymentStatus) DeepCopy() *DeploymentStatus {
266 if in == nil {
267 return nil
268 }
269 out := new(DeploymentStatus)
270 in.DeepCopyInto(out)
271 return out
272 }
273
274
275 func (in *DeploymentStrategy) DeepCopyInto(out *DeploymentStrategy) {
276 *out = *in
277 if in.RollingUpdate != nil {
278 in, out := &in.RollingUpdate, &out.RollingUpdate
279 *out = new(RollingUpdateDeployment)
280 (*in).DeepCopyInto(*out)
281 }
282 return
283 }
284
285
286 func (in *DeploymentStrategy) DeepCopy() *DeploymentStrategy {
287 if in == nil {
288 return nil
289 }
290 out := new(DeploymentStrategy)
291 in.DeepCopyInto(out)
292 return out
293 }
294
295
296 func (in *RollbackConfig) DeepCopyInto(out *RollbackConfig) {
297 *out = *in
298 return
299 }
300
301
302 func (in *RollbackConfig) DeepCopy() *RollbackConfig {
303 if in == nil {
304 return nil
305 }
306 out := new(RollbackConfig)
307 in.DeepCopyInto(out)
308 return out
309 }
310
311
312 func (in *RollingUpdateDeployment) DeepCopyInto(out *RollingUpdateDeployment) {
313 *out = *in
314 if in.MaxUnavailable != nil {
315 in, out := &in.MaxUnavailable, &out.MaxUnavailable
316 *out = new(intstr.IntOrString)
317 **out = **in
318 }
319 if in.MaxSurge != nil {
320 in, out := &in.MaxSurge, &out.MaxSurge
321 *out = new(intstr.IntOrString)
322 **out = **in
323 }
324 return
325 }
326
327
328 func (in *RollingUpdateDeployment) DeepCopy() *RollingUpdateDeployment {
329 if in == nil {
330 return nil
331 }
332 out := new(RollingUpdateDeployment)
333 in.DeepCopyInto(out)
334 return out
335 }
336
337
338 func (in *RollingUpdateStatefulSetStrategy) DeepCopyInto(out *RollingUpdateStatefulSetStrategy) {
339 *out = *in
340 if in.Partition != nil {
341 in, out := &in.Partition, &out.Partition
342 *out = new(int32)
343 **out = **in
344 }
345 if in.MaxUnavailable != nil {
346 in, out := &in.MaxUnavailable, &out.MaxUnavailable
347 *out = new(intstr.IntOrString)
348 **out = **in
349 }
350 return
351 }
352
353
354 func (in *RollingUpdateStatefulSetStrategy) DeepCopy() *RollingUpdateStatefulSetStrategy {
355 if in == nil {
356 return nil
357 }
358 out := new(RollingUpdateStatefulSetStrategy)
359 in.DeepCopyInto(out)
360 return out
361 }
362
363
364 func (in *Scale) DeepCopyInto(out *Scale) {
365 *out = *in
366 out.TypeMeta = in.TypeMeta
367 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
368 out.Spec = in.Spec
369 in.Status.DeepCopyInto(&out.Status)
370 return
371 }
372
373
374 func (in *Scale) DeepCopy() *Scale {
375 if in == nil {
376 return nil
377 }
378 out := new(Scale)
379 in.DeepCopyInto(out)
380 return out
381 }
382
383
384 func (in *Scale) DeepCopyObject() runtime.Object {
385 if c := in.DeepCopy(); c != nil {
386 return c
387 }
388 return nil
389 }
390
391
392 func (in *ScaleSpec) DeepCopyInto(out *ScaleSpec) {
393 *out = *in
394 return
395 }
396
397
398 func (in *ScaleSpec) DeepCopy() *ScaleSpec {
399 if in == nil {
400 return nil
401 }
402 out := new(ScaleSpec)
403 in.DeepCopyInto(out)
404 return out
405 }
406
407
408 func (in *ScaleStatus) DeepCopyInto(out *ScaleStatus) {
409 *out = *in
410 if in.Selector != nil {
411 in, out := &in.Selector, &out.Selector
412 *out = make(map[string]string, len(*in))
413 for key, val := range *in {
414 (*out)[key] = val
415 }
416 }
417 return
418 }
419
420
421 func (in *ScaleStatus) DeepCopy() *ScaleStatus {
422 if in == nil {
423 return nil
424 }
425 out := new(ScaleStatus)
426 in.DeepCopyInto(out)
427 return out
428 }
429
430
431 func (in *StatefulSet) DeepCopyInto(out *StatefulSet) {
432 *out = *in
433 out.TypeMeta = in.TypeMeta
434 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
435 in.Spec.DeepCopyInto(&out.Spec)
436 in.Status.DeepCopyInto(&out.Status)
437 return
438 }
439
440
441 func (in *StatefulSet) DeepCopy() *StatefulSet {
442 if in == nil {
443 return nil
444 }
445 out := new(StatefulSet)
446 in.DeepCopyInto(out)
447 return out
448 }
449
450
451 func (in *StatefulSet) DeepCopyObject() runtime.Object {
452 if c := in.DeepCopy(); c != nil {
453 return c
454 }
455 return nil
456 }
457
458
459 func (in *StatefulSetCondition) DeepCopyInto(out *StatefulSetCondition) {
460 *out = *in
461 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
462 return
463 }
464
465
466 func (in *StatefulSetCondition) DeepCopy() *StatefulSetCondition {
467 if in == nil {
468 return nil
469 }
470 out := new(StatefulSetCondition)
471 in.DeepCopyInto(out)
472 return out
473 }
474
475
476 func (in *StatefulSetList) DeepCopyInto(out *StatefulSetList) {
477 *out = *in
478 out.TypeMeta = in.TypeMeta
479 in.ListMeta.DeepCopyInto(&out.ListMeta)
480 if in.Items != nil {
481 in, out := &in.Items, &out.Items
482 *out = make([]StatefulSet, len(*in))
483 for i := range *in {
484 (*in)[i].DeepCopyInto(&(*out)[i])
485 }
486 }
487 return
488 }
489
490
491 func (in *StatefulSetList) DeepCopy() *StatefulSetList {
492 if in == nil {
493 return nil
494 }
495 out := new(StatefulSetList)
496 in.DeepCopyInto(out)
497 return out
498 }
499
500
501 func (in *StatefulSetList) DeepCopyObject() runtime.Object {
502 if c := in.DeepCopy(); c != nil {
503 return c
504 }
505 return nil
506 }
507
508
509 func (in *StatefulSetOrdinals) DeepCopyInto(out *StatefulSetOrdinals) {
510 *out = *in
511 return
512 }
513
514
515 func (in *StatefulSetOrdinals) DeepCopy() *StatefulSetOrdinals {
516 if in == nil {
517 return nil
518 }
519 out := new(StatefulSetOrdinals)
520 in.DeepCopyInto(out)
521 return out
522 }
523
524
525 func (in *StatefulSetPersistentVolumeClaimRetentionPolicy) DeepCopyInto(out *StatefulSetPersistentVolumeClaimRetentionPolicy) {
526 *out = *in
527 return
528 }
529
530
531 func (in *StatefulSetPersistentVolumeClaimRetentionPolicy) DeepCopy() *StatefulSetPersistentVolumeClaimRetentionPolicy {
532 if in == nil {
533 return nil
534 }
535 out := new(StatefulSetPersistentVolumeClaimRetentionPolicy)
536 in.DeepCopyInto(out)
537 return out
538 }
539
540
541 func (in *StatefulSetSpec) DeepCopyInto(out *StatefulSetSpec) {
542 *out = *in
543 if in.Replicas != nil {
544 in, out := &in.Replicas, &out.Replicas
545 *out = new(int32)
546 **out = **in
547 }
548 if in.Selector != nil {
549 in, out := &in.Selector, &out.Selector
550 *out = new(v1.LabelSelector)
551 (*in).DeepCopyInto(*out)
552 }
553 in.Template.DeepCopyInto(&out.Template)
554 if in.VolumeClaimTemplates != nil {
555 in, out := &in.VolumeClaimTemplates, &out.VolumeClaimTemplates
556 *out = make([]corev1.PersistentVolumeClaim, len(*in))
557 for i := range *in {
558 (*in)[i].DeepCopyInto(&(*out)[i])
559 }
560 }
561 in.UpdateStrategy.DeepCopyInto(&out.UpdateStrategy)
562 if in.RevisionHistoryLimit != nil {
563 in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
564 *out = new(int32)
565 **out = **in
566 }
567 if in.PersistentVolumeClaimRetentionPolicy != nil {
568 in, out := &in.PersistentVolumeClaimRetentionPolicy, &out.PersistentVolumeClaimRetentionPolicy
569 *out = new(StatefulSetPersistentVolumeClaimRetentionPolicy)
570 **out = **in
571 }
572 if in.Ordinals != nil {
573 in, out := &in.Ordinals, &out.Ordinals
574 *out = new(StatefulSetOrdinals)
575 **out = **in
576 }
577 return
578 }
579
580
581 func (in *StatefulSetSpec) DeepCopy() *StatefulSetSpec {
582 if in == nil {
583 return nil
584 }
585 out := new(StatefulSetSpec)
586 in.DeepCopyInto(out)
587 return out
588 }
589
590
591 func (in *StatefulSetStatus) DeepCopyInto(out *StatefulSetStatus) {
592 *out = *in
593 if in.ObservedGeneration != nil {
594 in, out := &in.ObservedGeneration, &out.ObservedGeneration
595 *out = new(int64)
596 **out = **in
597 }
598 if in.CollisionCount != nil {
599 in, out := &in.CollisionCount, &out.CollisionCount
600 *out = new(int32)
601 **out = **in
602 }
603 if in.Conditions != nil {
604 in, out := &in.Conditions, &out.Conditions
605 *out = make([]StatefulSetCondition, len(*in))
606 for i := range *in {
607 (*in)[i].DeepCopyInto(&(*out)[i])
608 }
609 }
610 return
611 }
612
613
614 func (in *StatefulSetStatus) DeepCopy() *StatefulSetStatus {
615 if in == nil {
616 return nil
617 }
618 out := new(StatefulSetStatus)
619 in.DeepCopyInto(out)
620 return out
621 }
622
623
624 func (in *StatefulSetUpdateStrategy) DeepCopyInto(out *StatefulSetUpdateStrategy) {
625 *out = *in
626 if in.RollingUpdate != nil {
627 in, out := &in.RollingUpdate, &out.RollingUpdate
628 *out = new(RollingUpdateStatefulSetStrategy)
629 (*in).DeepCopyInto(*out)
630 }
631 return
632 }
633
634
635 func (in *StatefulSetUpdateStrategy) DeepCopy() *StatefulSetUpdateStrategy {
636 if in == nil {
637 return nil
638 }
639 out := new(StatefulSetUpdateStrategy)
640 in.DeepCopyInto(out)
641 return out
642 }
643
View as plain text