1
2
3
4
5
6 package v1
7
8 import (
9 corev1 "k8s.io/api/core/v1"
10 runtime "k8s.io/apimachinery/pkg/runtime"
11 intstr "k8s.io/apimachinery/pkg/util/intstr"
12 )
13
14
15 func (in *CustomDeploymentStrategyParams) DeepCopyInto(out *CustomDeploymentStrategyParams) {
16 *out = *in
17 if in.Environment != nil {
18 in, out := &in.Environment, &out.Environment
19 *out = make([]corev1.EnvVar, len(*in))
20 for i := range *in {
21 (*in)[i].DeepCopyInto(&(*out)[i])
22 }
23 }
24 if in.Command != nil {
25 in, out := &in.Command, &out.Command
26 *out = make([]string, len(*in))
27 copy(*out, *in)
28 }
29 return
30 }
31
32
33 func (in *CustomDeploymentStrategyParams) DeepCopy() *CustomDeploymentStrategyParams {
34 if in == nil {
35 return nil
36 }
37 out := new(CustomDeploymentStrategyParams)
38 in.DeepCopyInto(out)
39 return out
40 }
41
42
43 func (in *DeploymentCause) DeepCopyInto(out *DeploymentCause) {
44 *out = *in
45 if in.ImageTrigger != nil {
46 in, out := &in.ImageTrigger, &out.ImageTrigger
47 *out = new(DeploymentCauseImageTrigger)
48 **out = **in
49 }
50 return
51 }
52
53
54 func (in *DeploymentCause) DeepCopy() *DeploymentCause {
55 if in == nil {
56 return nil
57 }
58 out := new(DeploymentCause)
59 in.DeepCopyInto(out)
60 return out
61 }
62
63
64 func (in *DeploymentCauseImageTrigger) DeepCopyInto(out *DeploymentCauseImageTrigger) {
65 *out = *in
66 out.From = in.From
67 return
68 }
69
70
71 func (in *DeploymentCauseImageTrigger) DeepCopy() *DeploymentCauseImageTrigger {
72 if in == nil {
73 return nil
74 }
75 out := new(DeploymentCauseImageTrigger)
76 in.DeepCopyInto(out)
77 return out
78 }
79
80
81 func (in *DeploymentCondition) DeepCopyInto(out *DeploymentCondition) {
82 *out = *in
83 in.LastUpdateTime.DeepCopyInto(&out.LastUpdateTime)
84 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
85 return
86 }
87
88
89 func (in *DeploymentCondition) DeepCopy() *DeploymentCondition {
90 if in == nil {
91 return nil
92 }
93 out := new(DeploymentCondition)
94 in.DeepCopyInto(out)
95 return out
96 }
97
98
99 func (in *DeploymentConfig) DeepCopyInto(out *DeploymentConfig) {
100 *out = *in
101 out.TypeMeta = in.TypeMeta
102 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
103 in.Spec.DeepCopyInto(&out.Spec)
104 in.Status.DeepCopyInto(&out.Status)
105 return
106 }
107
108
109 func (in *DeploymentConfig) DeepCopy() *DeploymentConfig {
110 if in == nil {
111 return nil
112 }
113 out := new(DeploymentConfig)
114 in.DeepCopyInto(out)
115 return out
116 }
117
118
119 func (in *DeploymentConfig) DeepCopyObject() runtime.Object {
120 if c := in.DeepCopy(); c != nil {
121 return c
122 }
123 return nil
124 }
125
126
127 func (in *DeploymentConfigList) DeepCopyInto(out *DeploymentConfigList) {
128 *out = *in
129 out.TypeMeta = in.TypeMeta
130 in.ListMeta.DeepCopyInto(&out.ListMeta)
131 if in.Items != nil {
132 in, out := &in.Items, &out.Items
133 *out = make([]DeploymentConfig, len(*in))
134 for i := range *in {
135 (*in)[i].DeepCopyInto(&(*out)[i])
136 }
137 }
138 return
139 }
140
141
142 func (in *DeploymentConfigList) DeepCopy() *DeploymentConfigList {
143 if in == nil {
144 return nil
145 }
146 out := new(DeploymentConfigList)
147 in.DeepCopyInto(out)
148 return out
149 }
150
151
152 func (in *DeploymentConfigList) DeepCopyObject() runtime.Object {
153 if c := in.DeepCopy(); c != nil {
154 return c
155 }
156 return nil
157 }
158
159
160 func (in *DeploymentConfigRollback) DeepCopyInto(out *DeploymentConfigRollback) {
161 *out = *in
162 out.TypeMeta = in.TypeMeta
163 if in.UpdatedAnnotations != nil {
164 in, out := &in.UpdatedAnnotations, &out.UpdatedAnnotations
165 *out = make(map[string]string, len(*in))
166 for key, val := range *in {
167 (*out)[key] = val
168 }
169 }
170 out.Spec = in.Spec
171 return
172 }
173
174
175 func (in *DeploymentConfigRollback) DeepCopy() *DeploymentConfigRollback {
176 if in == nil {
177 return nil
178 }
179 out := new(DeploymentConfigRollback)
180 in.DeepCopyInto(out)
181 return out
182 }
183
184
185 func (in *DeploymentConfigRollback) DeepCopyObject() runtime.Object {
186 if c := in.DeepCopy(); c != nil {
187 return c
188 }
189 return nil
190 }
191
192
193 func (in *DeploymentConfigRollbackSpec) DeepCopyInto(out *DeploymentConfigRollbackSpec) {
194 *out = *in
195 out.From = in.From
196 return
197 }
198
199
200 func (in *DeploymentConfigRollbackSpec) DeepCopy() *DeploymentConfigRollbackSpec {
201 if in == nil {
202 return nil
203 }
204 out := new(DeploymentConfigRollbackSpec)
205 in.DeepCopyInto(out)
206 return out
207 }
208
209
210 func (in *DeploymentConfigSpec) DeepCopyInto(out *DeploymentConfigSpec) {
211 *out = *in
212 in.Strategy.DeepCopyInto(&out.Strategy)
213 if in.Triggers != nil {
214 in, out := &in.Triggers, &out.Triggers
215 *out = make(DeploymentTriggerPolicies, len(*in))
216 for i := range *in {
217 (*in)[i].DeepCopyInto(&(*out)[i])
218 }
219 }
220 if in.RevisionHistoryLimit != nil {
221 in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
222 *out = new(int32)
223 **out = **in
224 }
225 if in.Selector != nil {
226 in, out := &in.Selector, &out.Selector
227 *out = make(map[string]string, len(*in))
228 for key, val := range *in {
229 (*out)[key] = val
230 }
231 }
232 if in.Template != nil {
233 in, out := &in.Template, &out.Template
234 *out = new(corev1.PodTemplateSpec)
235 (*in).DeepCopyInto(*out)
236 }
237 return
238 }
239
240
241 func (in *DeploymentConfigSpec) DeepCopy() *DeploymentConfigSpec {
242 if in == nil {
243 return nil
244 }
245 out := new(DeploymentConfigSpec)
246 in.DeepCopyInto(out)
247 return out
248 }
249
250
251 func (in *DeploymentConfigStatus) DeepCopyInto(out *DeploymentConfigStatus) {
252 *out = *in
253 if in.Details != nil {
254 in, out := &in.Details, &out.Details
255 *out = new(DeploymentDetails)
256 (*in).DeepCopyInto(*out)
257 }
258 if in.Conditions != nil {
259 in, out := &in.Conditions, &out.Conditions
260 *out = make([]DeploymentCondition, len(*in))
261 for i := range *in {
262 (*in)[i].DeepCopyInto(&(*out)[i])
263 }
264 }
265 return
266 }
267
268
269 func (in *DeploymentConfigStatus) DeepCopy() *DeploymentConfigStatus {
270 if in == nil {
271 return nil
272 }
273 out := new(DeploymentConfigStatus)
274 in.DeepCopyInto(out)
275 return out
276 }
277
278
279 func (in *DeploymentDetails) DeepCopyInto(out *DeploymentDetails) {
280 *out = *in
281 if in.Causes != nil {
282 in, out := &in.Causes, &out.Causes
283 *out = make([]DeploymentCause, len(*in))
284 for i := range *in {
285 (*in)[i].DeepCopyInto(&(*out)[i])
286 }
287 }
288 return
289 }
290
291
292 func (in *DeploymentDetails) DeepCopy() *DeploymentDetails {
293 if in == nil {
294 return nil
295 }
296 out := new(DeploymentDetails)
297 in.DeepCopyInto(out)
298 return out
299 }
300
301
302 func (in *DeploymentLog) DeepCopyInto(out *DeploymentLog) {
303 *out = *in
304 out.TypeMeta = in.TypeMeta
305 return
306 }
307
308
309 func (in *DeploymentLog) DeepCopy() *DeploymentLog {
310 if in == nil {
311 return nil
312 }
313 out := new(DeploymentLog)
314 in.DeepCopyInto(out)
315 return out
316 }
317
318
319 func (in *DeploymentLog) DeepCopyObject() runtime.Object {
320 if c := in.DeepCopy(); c != nil {
321 return c
322 }
323 return nil
324 }
325
326
327 func (in *DeploymentLogOptions) DeepCopyInto(out *DeploymentLogOptions) {
328 *out = *in
329 out.TypeMeta = in.TypeMeta
330 if in.SinceSeconds != nil {
331 in, out := &in.SinceSeconds, &out.SinceSeconds
332 *out = new(int64)
333 **out = **in
334 }
335 if in.SinceTime != nil {
336 in, out := &in.SinceTime, &out.SinceTime
337 *out = (*in).DeepCopy()
338 }
339 if in.TailLines != nil {
340 in, out := &in.TailLines, &out.TailLines
341 *out = new(int64)
342 **out = **in
343 }
344 if in.LimitBytes != nil {
345 in, out := &in.LimitBytes, &out.LimitBytes
346 *out = new(int64)
347 **out = **in
348 }
349 if in.Version != nil {
350 in, out := &in.Version, &out.Version
351 *out = new(int64)
352 **out = **in
353 }
354 return
355 }
356
357
358 func (in *DeploymentLogOptions) DeepCopy() *DeploymentLogOptions {
359 if in == nil {
360 return nil
361 }
362 out := new(DeploymentLogOptions)
363 in.DeepCopyInto(out)
364 return out
365 }
366
367
368 func (in *DeploymentLogOptions) DeepCopyObject() runtime.Object {
369 if c := in.DeepCopy(); c != nil {
370 return c
371 }
372 return nil
373 }
374
375
376 func (in *DeploymentRequest) DeepCopyInto(out *DeploymentRequest) {
377 *out = *in
378 out.TypeMeta = in.TypeMeta
379 if in.ExcludeTriggers != nil {
380 in, out := &in.ExcludeTriggers, &out.ExcludeTriggers
381 *out = make([]DeploymentTriggerType, len(*in))
382 copy(*out, *in)
383 }
384 return
385 }
386
387
388 func (in *DeploymentRequest) DeepCopy() *DeploymentRequest {
389 if in == nil {
390 return nil
391 }
392 out := new(DeploymentRequest)
393 in.DeepCopyInto(out)
394 return out
395 }
396
397
398 func (in *DeploymentRequest) DeepCopyObject() runtime.Object {
399 if c := in.DeepCopy(); c != nil {
400 return c
401 }
402 return nil
403 }
404
405
406 func (in *DeploymentStrategy) DeepCopyInto(out *DeploymentStrategy) {
407 *out = *in
408 if in.CustomParams != nil {
409 in, out := &in.CustomParams, &out.CustomParams
410 *out = new(CustomDeploymentStrategyParams)
411 (*in).DeepCopyInto(*out)
412 }
413 if in.RecreateParams != nil {
414 in, out := &in.RecreateParams, &out.RecreateParams
415 *out = new(RecreateDeploymentStrategyParams)
416 (*in).DeepCopyInto(*out)
417 }
418 if in.RollingParams != nil {
419 in, out := &in.RollingParams, &out.RollingParams
420 *out = new(RollingDeploymentStrategyParams)
421 (*in).DeepCopyInto(*out)
422 }
423 in.Resources.DeepCopyInto(&out.Resources)
424 if in.Labels != nil {
425 in, out := &in.Labels, &out.Labels
426 *out = make(map[string]string, len(*in))
427 for key, val := range *in {
428 (*out)[key] = val
429 }
430 }
431 if in.Annotations != nil {
432 in, out := &in.Annotations, &out.Annotations
433 *out = make(map[string]string, len(*in))
434 for key, val := range *in {
435 (*out)[key] = val
436 }
437 }
438 if in.ActiveDeadlineSeconds != nil {
439 in, out := &in.ActiveDeadlineSeconds, &out.ActiveDeadlineSeconds
440 *out = new(int64)
441 **out = **in
442 }
443 return
444 }
445
446
447 func (in *DeploymentStrategy) DeepCopy() *DeploymentStrategy {
448 if in == nil {
449 return nil
450 }
451 out := new(DeploymentStrategy)
452 in.DeepCopyInto(out)
453 return out
454 }
455
456
457 func (in *DeploymentTriggerImageChangeParams) DeepCopyInto(out *DeploymentTriggerImageChangeParams) {
458 *out = *in
459 if in.ContainerNames != nil {
460 in, out := &in.ContainerNames, &out.ContainerNames
461 *out = make([]string, len(*in))
462 copy(*out, *in)
463 }
464 out.From = in.From
465 return
466 }
467
468
469 func (in *DeploymentTriggerImageChangeParams) DeepCopy() *DeploymentTriggerImageChangeParams {
470 if in == nil {
471 return nil
472 }
473 out := new(DeploymentTriggerImageChangeParams)
474 in.DeepCopyInto(out)
475 return out
476 }
477
478
479 func (in DeploymentTriggerPolicies) DeepCopyInto(out *DeploymentTriggerPolicies) {
480 {
481 in := &in
482 *out = make(DeploymentTriggerPolicies, len(*in))
483 for i := range *in {
484 (*in)[i].DeepCopyInto(&(*out)[i])
485 }
486 return
487 }
488 }
489
490
491 func (in DeploymentTriggerPolicies) DeepCopy() DeploymentTriggerPolicies {
492 if in == nil {
493 return nil
494 }
495 out := new(DeploymentTriggerPolicies)
496 in.DeepCopyInto(out)
497 return *out
498 }
499
500
501 func (in *DeploymentTriggerPolicy) DeepCopyInto(out *DeploymentTriggerPolicy) {
502 *out = *in
503 if in.ImageChangeParams != nil {
504 in, out := &in.ImageChangeParams, &out.ImageChangeParams
505 *out = new(DeploymentTriggerImageChangeParams)
506 (*in).DeepCopyInto(*out)
507 }
508 return
509 }
510
511
512 func (in *DeploymentTriggerPolicy) DeepCopy() *DeploymentTriggerPolicy {
513 if in == nil {
514 return nil
515 }
516 out := new(DeploymentTriggerPolicy)
517 in.DeepCopyInto(out)
518 return out
519 }
520
521
522 func (in *ExecNewPodHook) DeepCopyInto(out *ExecNewPodHook) {
523 *out = *in
524 if in.Command != nil {
525 in, out := &in.Command, &out.Command
526 *out = make([]string, len(*in))
527 copy(*out, *in)
528 }
529 if in.Env != nil {
530 in, out := &in.Env, &out.Env
531 *out = make([]corev1.EnvVar, len(*in))
532 for i := range *in {
533 (*in)[i].DeepCopyInto(&(*out)[i])
534 }
535 }
536 if in.Volumes != nil {
537 in, out := &in.Volumes, &out.Volumes
538 *out = make([]string, len(*in))
539 copy(*out, *in)
540 }
541 return
542 }
543
544
545 func (in *ExecNewPodHook) DeepCopy() *ExecNewPodHook {
546 if in == nil {
547 return nil
548 }
549 out := new(ExecNewPodHook)
550 in.DeepCopyInto(out)
551 return out
552 }
553
554
555 func (in *LifecycleHook) DeepCopyInto(out *LifecycleHook) {
556 *out = *in
557 if in.ExecNewPod != nil {
558 in, out := &in.ExecNewPod, &out.ExecNewPod
559 *out = new(ExecNewPodHook)
560 (*in).DeepCopyInto(*out)
561 }
562 if in.TagImages != nil {
563 in, out := &in.TagImages, &out.TagImages
564 *out = make([]TagImageHook, len(*in))
565 copy(*out, *in)
566 }
567 return
568 }
569
570
571 func (in *LifecycleHook) DeepCopy() *LifecycleHook {
572 if in == nil {
573 return nil
574 }
575 out := new(LifecycleHook)
576 in.DeepCopyInto(out)
577 return out
578 }
579
580
581 func (in *RecreateDeploymentStrategyParams) DeepCopyInto(out *RecreateDeploymentStrategyParams) {
582 *out = *in
583 if in.TimeoutSeconds != nil {
584 in, out := &in.TimeoutSeconds, &out.TimeoutSeconds
585 *out = new(int64)
586 **out = **in
587 }
588 if in.Pre != nil {
589 in, out := &in.Pre, &out.Pre
590 *out = new(LifecycleHook)
591 (*in).DeepCopyInto(*out)
592 }
593 if in.Mid != nil {
594 in, out := &in.Mid, &out.Mid
595 *out = new(LifecycleHook)
596 (*in).DeepCopyInto(*out)
597 }
598 if in.Post != nil {
599 in, out := &in.Post, &out.Post
600 *out = new(LifecycleHook)
601 (*in).DeepCopyInto(*out)
602 }
603 return
604 }
605
606
607 func (in *RecreateDeploymentStrategyParams) DeepCopy() *RecreateDeploymentStrategyParams {
608 if in == nil {
609 return nil
610 }
611 out := new(RecreateDeploymentStrategyParams)
612 in.DeepCopyInto(out)
613 return out
614 }
615
616
617 func (in *RollingDeploymentStrategyParams) DeepCopyInto(out *RollingDeploymentStrategyParams) {
618 *out = *in
619 if in.UpdatePeriodSeconds != nil {
620 in, out := &in.UpdatePeriodSeconds, &out.UpdatePeriodSeconds
621 *out = new(int64)
622 **out = **in
623 }
624 if in.IntervalSeconds != nil {
625 in, out := &in.IntervalSeconds, &out.IntervalSeconds
626 *out = new(int64)
627 **out = **in
628 }
629 if in.TimeoutSeconds != nil {
630 in, out := &in.TimeoutSeconds, &out.TimeoutSeconds
631 *out = new(int64)
632 **out = **in
633 }
634 if in.MaxUnavailable != nil {
635 in, out := &in.MaxUnavailable, &out.MaxUnavailable
636 *out = new(intstr.IntOrString)
637 **out = **in
638 }
639 if in.MaxSurge != nil {
640 in, out := &in.MaxSurge, &out.MaxSurge
641 *out = new(intstr.IntOrString)
642 **out = **in
643 }
644 if in.Pre != nil {
645 in, out := &in.Pre, &out.Pre
646 *out = new(LifecycleHook)
647 (*in).DeepCopyInto(*out)
648 }
649 if in.Post != nil {
650 in, out := &in.Post, &out.Post
651 *out = new(LifecycleHook)
652 (*in).DeepCopyInto(*out)
653 }
654 return
655 }
656
657
658 func (in *RollingDeploymentStrategyParams) DeepCopy() *RollingDeploymentStrategyParams {
659 if in == nil {
660 return nil
661 }
662 out := new(RollingDeploymentStrategyParams)
663 in.DeepCopyInto(out)
664 return out
665 }
666
667
668 func (in *TagImageHook) DeepCopyInto(out *TagImageHook) {
669 *out = *in
670 out.To = in.To
671 return
672 }
673
674
675 func (in *TagImageHook) DeepCopy() *TagImageHook {
676 if in == nil {
677 return nil
678 }
679 out := new(TagImageHook)
680 in.DeepCopyInto(out)
681 return out
682 }
683
View as plain text