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 )
12
13
14 func (in *BinaryBuildRequestOptions) DeepCopyInto(out *BinaryBuildRequestOptions) {
15 *out = *in
16 out.TypeMeta = in.TypeMeta
17 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
18 return
19 }
20
21
22 func (in *BinaryBuildRequestOptions) DeepCopy() *BinaryBuildRequestOptions {
23 if in == nil {
24 return nil
25 }
26 out := new(BinaryBuildRequestOptions)
27 in.DeepCopyInto(out)
28 return out
29 }
30
31
32 func (in *BinaryBuildRequestOptions) DeepCopyObject() runtime.Object {
33 if c := in.DeepCopy(); c != nil {
34 return c
35 }
36 return nil
37 }
38
39
40 func (in *BinaryBuildSource) DeepCopyInto(out *BinaryBuildSource) {
41 *out = *in
42 return
43 }
44
45
46 func (in *BinaryBuildSource) DeepCopy() *BinaryBuildSource {
47 if in == nil {
48 return nil
49 }
50 out := new(BinaryBuildSource)
51 in.DeepCopyInto(out)
52 return out
53 }
54
55
56 func (in *BitbucketWebHookCause) DeepCopyInto(out *BitbucketWebHookCause) {
57 *out = *in
58 in.CommonWebHookCause.DeepCopyInto(&out.CommonWebHookCause)
59 return
60 }
61
62
63 func (in *BitbucketWebHookCause) DeepCopy() *BitbucketWebHookCause {
64 if in == nil {
65 return nil
66 }
67 out := new(BitbucketWebHookCause)
68 in.DeepCopyInto(out)
69 return out
70 }
71
72
73 func (in *Build) DeepCopyInto(out *Build) {
74 *out = *in
75 out.TypeMeta = in.TypeMeta
76 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
77 in.Spec.DeepCopyInto(&out.Spec)
78 in.Status.DeepCopyInto(&out.Status)
79 return
80 }
81
82
83 func (in *Build) DeepCopy() *Build {
84 if in == nil {
85 return nil
86 }
87 out := new(Build)
88 in.DeepCopyInto(out)
89 return out
90 }
91
92
93 func (in *Build) DeepCopyObject() runtime.Object {
94 if c := in.DeepCopy(); c != nil {
95 return c
96 }
97 return nil
98 }
99
100
101 func (in *BuildCondition) DeepCopyInto(out *BuildCondition) {
102 *out = *in
103 in.LastUpdateTime.DeepCopyInto(&out.LastUpdateTime)
104 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
105 return
106 }
107
108
109 func (in *BuildCondition) DeepCopy() *BuildCondition {
110 if in == nil {
111 return nil
112 }
113 out := new(BuildCondition)
114 in.DeepCopyInto(out)
115 return out
116 }
117
118
119 func (in *BuildConfig) DeepCopyInto(out *BuildConfig) {
120 *out = *in
121 out.TypeMeta = in.TypeMeta
122 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
123 in.Spec.DeepCopyInto(&out.Spec)
124 in.Status.DeepCopyInto(&out.Status)
125 return
126 }
127
128
129 func (in *BuildConfig) DeepCopy() *BuildConfig {
130 if in == nil {
131 return nil
132 }
133 out := new(BuildConfig)
134 in.DeepCopyInto(out)
135 return out
136 }
137
138
139 func (in *BuildConfig) DeepCopyObject() runtime.Object {
140 if c := in.DeepCopy(); c != nil {
141 return c
142 }
143 return nil
144 }
145
146
147 func (in *BuildConfigList) DeepCopyInto(out *BuildConfigList) {
148 *out = *in
149 out.TypeMeta = in.TypeMeta
150 in.ListMeta.DeepCopyInto(&out.ListMeta)
151 if in.Items != nil {
152 in, out := &in.Items, &out.Items
153 *out = make([]BuildConfig, len(*in))
154 for i := range *in {
155 (*in)[i].DeepCopyInto(&(*out)[i])
156 }
157 }
158 return
159 }
160
161
162 func (in *BuildConfigList) DeepCopy() *BuildConfigList {
163 if in == nil {
164 return nil
165 }
166 out := new(BuildConfigList)
167 in.DeepCopyInto(out)
168 return out
169 }
170
171
172 func (in *BuildConfigList) DeepCopyObject() runtime.Object {
173 if c := in.DeepCopy(); c != nil {
174 return c
175 }
176 return nil
177 }
178
179
180 func (in *BuildConfigSpec) DeepCopyInto(out *BuildConfigSpec) {
181 *out = *in
182 if in.Triggers != nil {
183 in, out := &in.Triggers, &out.Triggers
184 *out = make([]BuildTriggerPolicy, len(*in))
185 for i := range *in {
186 (*in)[i].DeepCopyInto(&(*out)[i])
187 }
188 }
189 in.CommonSpec.DeepCopyInto(&out.CommonSpec)
190 if in.SuccessfulBuildsHistoryLimit != nil {
191 in, out := &in.SuccessfulBuildsHistoryLimit, &out.SuccessfulBuildsHistoryLimit
192 *out = new(int32)
193 **out = **in
194 }
195 if in.FailedBuildsHistoryLimit != nil {
196 in, out := &in.FailedBuildsHistoryLimit, &out.FailedBuildsHistoryLimit
197 *out = new(int32)
198 **out = **in
199 }
200 return
201 }
202
203
204 func (in *BuildConfigSpec) DeepCopy() *BuildConfigSpec {
205 if in == nil {
206 return nil
207 }
208 out := new(BuildConfigSpec)
209 in.DeepCopyInto(out)
210 return out
211 }
212
213
214 func (in *BuildConfigStatus) DeepCopyInto(out *BuildConfigStatus) {
215 *out = *in
216 if in.ImageChangeTriggers != nil {
217 in, out := &in.ImageChangeTriggers, &out.ImageChangeTriggers
218 *out = make([]ImageChangeTriggerStatus, len(*in))
219 for i := range *in {
220 (*in)[i].DeepCopyInto(&(*out)[i])
221 }
222 }
223 return
224 }
225
226
227 func (in *BuildConfigStatus) DeepCopy() *BuildConfigStatus {
228 if in == nil {
229 return nil
230 }
231 out := new(BuildConfigStatus)
232 in.DeepCopyInto(out)
233 return out
234 }
235
236
237 func (in *BuildList) DeepCopyInto(out *BuildList) {
238 *out = *in
239 out.TypeMeta = in.TypeMeta
240 in.ListMeta.DeepCopyInto(&out.ListMeta)
241 if in.Items != nil {
242 in, out := &in.Items, &out.Items
243 *out = make([]Build, len(*in))
244 for i := range *in {
245 (*in)[i].DeepCopyInto(&(*out)[i])
246 }
247 }
248 return
249 }
250
251
252 func (in *BuildList) DeepCopy() *BuildList {
253 if in == nil {
254 return nil
255 }
256 out := new(BuildList)
257 in.DeepCopyInto(out)
258 return out
259 }
260
261
262 func (in *BuildList) DeepCopyObject() runtime.Object {
263 if c := in.DeepCopy(); c != nil {
264 return c
265 }
266 return nil
267 }
268
269
270 func (in *BuildLog) DeepCopyInto(out *BuildLog) {
271 *out = *in
272 out.TypeMeta = in.TypeMeta
273 return
274 }
275
276
277 func (in *BuildLog) DeepCopy() *BuildLog {
278 if in == nil {
279 return nil
280 }
281 out := new(BuildLog)
282 in.DeepCopyInto(out)
283 return out
284 }
285
286
287 func (in *BuildLog) DeepCopyObject() runtime.Object {
288 if c := in.DeepCopy(); c != nil {
289 return c
290 }
291 return nil
292 }
293
294
295 func (in *BuildLogOptions) DeepCopyInto(out *BuildLogOptions) {
296 *out = *in
297 out.TypeMeta = in.TypeMeta
298 if in.SinceSeconds != nil {
299 in, out := &in.SinceSeconds, &out.SinceSeconds
300 *out = new(int64)
301 **out = **in
302 }
303 if in.SinceTime != nil {
304 in, out := &in.SinceTime, &out.SinceTime
305 *out = (*in).DeepCopy()
306 }
307 if in.TailLines != nil {
308 in, out := &in.TailLines, &out.TailLines
309 *out = new(int64)
310 **out = **in
311 }
312 if in.LimitBytes != nil {
313 in, out := &in.LimitBytes, &out.LimitBytes
314 *out = new(int64)
315 **out = **in
316 }
317 if in.Version != nil {
318 in, out := &in.Version, &out.Version
319 *out = new(int64)
320 **out = **in
321 }
322 return
323 }
324
325
326 func (in *BuildLogOptions) DeepCopy() *BuildLogOptions {
327 if in == nil {
328 return nil
329 }
330 out := new(BuildLogOptions)
331 in.DeepCopyInto(out)
332 return out
333 }
334
335
336 func (in *BuildLogOptions) DeepCopyObject() runtime.Object {
337 if c := in.DeepCopy(); c != nil {
338 return c
339 }
340 return nil
341 }
342
343
344 func (in *BuildOutput) DeepCopyInto(out *BuildOutput) {
345 *out = *in
346 if in.To != nil {
347 in, out := &in.To, &out.To
348 *out = new(corev1.ObjectReference)
349 **out = **in
350 }
351 if in.PushSecret != nil {
352 in, out := &in.PushSecret, &out.PushSecret
353 *out = new(corev1.LocalObjectReference)
354 **out = **in
355 }
356 if in.ImageLabels != nil {
357 in, out := &in.ImageLabels, &out.ImageLabels
358 *out = make([]ImageLabel, len(*in))
359 copy(*out, *in)
360 }
361 return
362 }
363
364
365 func (in *BuildOutput) DeepCopy() *BuildOutput {
366 if in == nil {
367 return nil
368 }
369 out := new(BuildOutput)
370 in.DeepCopyInto(out)
371 return out
372 }
373
374
375 func (in *BuildPostCommitSpec) DeepCopyInto(out *BuildPostCommitSpec) {
376 *out = *in
377 if in.Command != nil {
378 in, out := &in.Command, &out.Command
379 *out = make([]string, len(*in))
380 copy(*out, *in)
381 }
382 if in.Args != nil {
383 in, out := &in.Args, &out.Args
384 *out = make([]string, len(*in))
385 copy(*out, *in)
386 }
387 return
388 }
389
390
391 func (in *BuildPostCommitSpec) DeepCopy() *BuildPostCommitSpec {
392 if in == nil {
393 return nil
394 }
395 out := new(BuildPostCommitSpec)
396 in.DeepCopyInto(out)
397 return out
398 }
399
400
401 func (in *BuildRequest) DeepCopyInto(out *BuildRequest) {
402 *out = *in
403 out.TypeMeta = in.TypeMeta
404 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
405 if in.Revision != nil {
406 in, out := &in.Revision, &out.Revision
407 *out = new(SourceRevision)
408 (*in).DeepCopyInto(*out)
409 }
410 if in.TriggeredByImage != nil {
411 in, out := &in.TriggeredByImage, &out.TriggeredByImage
412 *out = new(corev1.ObjectReference)
413 **out = **in
414 }
415 if in.From != nil {
416 in, out := &in.From, &out.From
417 *out = new(corev1.ObjectReference)
418 **out = **in
419 }
420 if in.Binary != nil {
421 in, out := &in.Binary, &out.Binary
422 *out = new(BinaryBuildSource)
423 **out = **in
424 }
425 if in.LastVersion != nil {
426 in, out := &in.LastVersion, &out.LastVersion
427 *out = new(int64)
428 **out = **in
429 }
430 if in.Env != nil {
431 in, out := &in.Env, &out.Env
432 *out = make([]corev1.EnvVar, len(*in))
433 for i := range *in {
434 (*in)[i].DeepCopyInto(&(*out)[i])
435 }
436 }
437 if in.TriggeredBy != nil {
438 in, out := &in.TriggeredBy, &out.TriggeredBy
439 *out = make([]BuildTriggerCause, len(*in))
440 for i := range *in {
441 (*in)[i].DeepCopyInto(&(*out)[i])
442 }
443 }
444 if in.DockerStrategyOptions != nil {
445 in, out := &in.DockerStrategyOptions, &out.DockerStrategyOptions
446 *out = new(DockerStrategyOptions)
447 (*in).DeepCopyInto(*out)
448 }
449 if in.SourceStrategyOptions != nil {
450 in, out := &in.SourceStrategyOptions, &out.SourceStrategyOptions
451 *out = new(SourceStrategyOptions)
452 (*in).DeepCopyInto(*out)
453 }
454 return
455 }
456
457
458 func (in *BuildRequest) DeepCopy() *BuildRequest {
459 if in == nil {
460 return nil
461 }
462 out := new(BuildRequest)
463 in.DeepCopyInto(out)
464 return out
465 }
466
467
468 func (in *BuildRequest) DeepCopyObject() runtime.Object {
469 if c := in.DeepCopy(); c != nil {
470 return c
471 }
472 return nil
473 }
474
475
476 func (in *BuildSource) DeepCopyInto(out *BuildSource) {
477 *out = *in
478 if in.Binary != nil {
479 in, out := &in.Binary, &out.Binary
480 *out = new(BinaryBuildSource)
481 **out = **in
482 }
483 if in.Dockerfile != nil {
484 in, out := &in.Dockerfile, &out.Dockerfile
485 *out = new(string)
486 **out = **in
487 }
488 if in.Git != nil {
489 in, out := &in.Git, &out.Git
490 *out = new(GitBuildSource)
491 (*in).DeepCopyInto(*out)
492 }
493 if in.Images != nil {
494 in, out := &in.Images, &out.Images
495 *out = make([]ImageSource, len(*in))
496 for i := range *in {
497 (*in)[i].DeepCopyInto(&(*out)[i])
498 }
499 }
500 if in.SourceSecret != nil {
501 in, out := &in.SourceSecret, &out.SourceSecret
502 *out = new(corev1.LocalObjectReference)
503 **out = **in
504 }
505 if in.Secrets != nil {
506 in, out := &in.Secrets, &out.Secrets
507 *out = make([]SecretBuildSource, len(*in))
508 copy(*out, *in)
509 }
510 if in.ConfigMaps != nil {
511 in, out := &in.ConfigMaps, &out.ConfigMaps
512 *out = make([]ConfigMapBuildSource, len(*in))
513 copy(*out, *in)
514 }
515 return
516 }
517
518
519 func (in *BuildSource) DeepCopy() *BuildSource {
520 if in == nil {
521 return nil
522 }
523 out := new(BuildSource)
524 in.DeepCopyInto(out)
525 return out
526 }
527
528
529 func (in *BuildSpec) DeepCopyInto(out *BuildSpec) {
530 *out = *in
531 in.CommonSpec.DeepCopyInto(&out.CommonSpec)
532 if in.TriggeredBy != nil {
533 in, out := &in.TriggeredBy, &out.TriggeredBy
534 *out = make([]BuildTriggerCause, len(*in))
535 for i := range *in {
536 (*in)[i].DeepCopyInto(&(*out)[i])
537 }
538 }
539 return
540 }
541
542
543 func (in *BuildSpec) DeepCopy() *BuildSpec {
544 if in == nil {
545 return nil
546 }
547 out := new(BuildSpec)
548 in.DeepCopyInto(out)
549 return out
550 }
551
552
553 func (in *BuildStatus) DeepCopyInto(out *BuildStatus) {
554 *out = *in
555 if in.StartTimestamp != nil {
556 in, out := &in.StartTimestamp, &out.StartTimestamp
557 *out = (*in).DeepCopy()
558 }
559 if in.CompletionTimestamp != nil {
560 in, out := &in.CompletionTimestamp, &out.CompletionTimestamp
561 *out = (*in).DeepCopy()
562 }
563 if in.Config != nil {
564 in, out := &in.Config, &out.Config
565 *out = new(corev1.ObjectReference)
566 **out = **in
567 }
568 in.Output.DeepCopyInto(&out.Output)
569 if in.Stages != nil {
570 in, out := &in.Stages, &out.Stages
571 *out = make([]StageInfo, len(*in))
572 for i := range *in {
573 (*in)[i].DeepCopyInto(&(*out)[i])
574 }
575 }
576 if in.Conditions != nil {
577 in, out := &in.Conditions, &out.Conditions
578 *out = make([]BuildCondition, len(*in))
579 for i := range *in {
580 (*in)[i].DeepCopyInto(&(*out)[i])
581 }
582 }
583 return
584 }
585
586
587 func (in *BuildStatus) DeepCopy() *BuildStatus {
588 if in == nil {
589 return nil
590 }
591 out := new(BuildStatus)
592 in.DeepCopyInto(out)
593 return out
594 }
595
596
597 func (in *BuildStatusOutput) DeepCopyInto(out *BuildStatusOutput) {
598 *out = *in
599 if in.To != nil {
600 in, out := &in.To, &out.To
601 *out = new(BuildStatusOutputTo)
602 **out = **in
603 }
604 return
605 }
606
607
608 func (in *BuildStatusOutput) DeepCopy() *BuildStatusOutput {
609 if in == nil {
610 return nil
611 }
612 out := new(BuildStatusOutput)
613 in.DeepCopyInto(out)
614 return out
615 }
616
617
618 func (in *BuildStatusOutputTo) DeepCopyInto(out *BuildStatusOutputTo) {
619 *out = *in
620 return
621 }
622
623
624 func (in *BuildStatusOutputTo) DeepCopy() *BuildStatusOutputTo {
625 if in == nil {
626 return nil
627 }
628 out := new(BuildStatusOutputTo)
629 in.DeepCopyInto(out)
630 return out
631 }
632
633
634 func (in *BuildStrategy) DeepCopyInto(out *BuildStrategy) {
635 *out = *in
636 if in.DockerStrategy != nil {
637 in, out := &in.DockerStrategy, &out.DockerStrategy
638 *out = new(DockerBuildStrategy)
639 (*in).DeepCopyInto(*out)
640 }
641 if in.SourceStrategy != nil {
642 in, out := &in.SourceStrategy, &out.SourceStrategy
643 *out = new(SourceBuildStrategy)
644 (*in).DeepCopyInto(*out)
645 }
646 if in.CustomStrategy != nil {
647 in, out := &in.CustomStrategy, &out.CustomStrategy
648 *out = new(CustomBuildStrategy)
649 (*in).DeepCopyInto(*out)
650 }
651 if in.JenkinsPipelineStrategy != nil {
652 in, out := &in.JenkinsPipelineStrategy, &out.JenkinsPipelineStrategy
653 *out = new(JenkinsPipelineBuildStrategy)
654 (*in).DeepCopyInto(*out)
655 }
656 return
657 }
658
659
660 func (in *BuildStrategy) DeepCopy() *BuildStrategy {
661 if in == nil {
662 return nil
663 }
664 out := new(BuildStrategy)
665 in.DeepCopyInto(out)
666 return out
667 }
668
669
670 func (in *BuildTriggerCause) DeepCopyInto(out *BuildTriggerCause) {
671 *out = *in
672 if in.GenericWebHook != nil {
673 in, out := &in.GenericWebHook, &out.GenericWebHook
674 *out = new(GenericWebHookCause)
675 (*in).DeepCopyInto(*out)
676 }
677 if in.GitHubWebHook != nil {
678 in, out := &in.GitHubWebHook, &out.GitHubWebHook
679 *out = new(GitHubWebHookCause)
680 (*in).DeepCopyInto(*out)
681 }
682 if in.ImageChangeBuild != nil {
683 in, out := &in.ImageChangeBuild, &out.ImageChangeBuild
684 *out = new(ImageChangeCause)
685 (*in).DeepCopyInto(*out)
686 }
687 if in.GitLabWebHook != nil {
688 in, out := &in.GitLabWebHook, &out.GitLabWebHook
689 *out = new(GitLabWebHookCause)
690 (*in).DeepCopyInto(*out)
691 }
692 if in.BitbucketWebHook != nil {
693 in, out := &in.BitbucketWebHook, &out.BitbucketWebHook
694 *out = new(BitbucketWebHookCause)
695 (*in).DeepCopyInto(*out)
696 }
697 return
698 }
699
700
701 func (in *BuildTriggerCause) DeepCopy() *BuildTriggerCause {
702 if in == nil {
703 return nil
704 }
705 out := new(BuildTriggerCause)
706 in.DeepCopyInto(out)
707 return out
708 }
709
710
711 func (in *BuildTriggerPolicy) DeepCopyInto(out *BuildTriggerPolicy) {
712 *out = *in
713 if in.GitHubWebHook != nil {
714 in, out := &in.GitHubWebHook, &out.GitHubWebHook
715 *out = new(WebHookTrigger)
716 (*in).DeepCopyInto(*out)
717 }
718 if in.GenericWebHook != nil {
719 in, out := &in.GenericWebHook, &out.GenericWebHook
720 *out = new(WebHookTrigger)
721 (*in).DeepCopyInto(*out)
722 }
723 if in.ImageChange != nil {
724 in, out := &in.ImageChange, &out.ImageChange
725 *out = new(ImageChangeTrigger)
726 (*in).DeepCopyInto(*out)
727 }
728 if in.GitLabWebHook != nil {
729 in, out := &in.GitLabWebHook, &out.GitLabWebHook
730 *out = new(WebHookTrigger)
731 (*in).DeepCopyInto(*out)
732 }
733 if in.BitbucketWebHook != nil {
734 in, out := &in.BitbucketWebHook, &out.BitbucketWebHook
735 *out = new(WebHookTrigger)
736 (*in).DeepCopyInto(*out)
737 }
738 return
739 }
740
741
742 func (in *BuildTriggerPolicy) DeepCopy() *BuildTriggerPolicy {
743 if in == nil {
744 return nil
745 }
746 out := new(BuildTriggerPolicy)
747 in.DeepCopyInto(out)
748 return out
749 }
750
751
752 func (in *BuildVolume) DeepCopyInto(out *BuildVolume) {
753 *out = *in
754 in.Source.DeepCopyInto(&out.Source)
755 if in.Mounts != nil {
756 in, out := &in.Mounts, &out.Mounts
757 *out = make([]BuildVolumeMount, len(*in))
758 copy(*out, *in)
759 }
760 return
761 }
762
763
764 func (in *BuildVolume) DeepCopy() *BuildVolume {
765 if in == nil {
766 return nil
767 }
768 out := new(BuildVolume)
769 in.DeepCopyInto(out)
770 return out
771 }
772
773
774 func (in *BuildVolumeMount) DeepCopyInto(out *BuildVolumeMount) {
775 *out = *in
776 return
777 }
778
779
780 func (in *BuildVolumeMount) DeepCopy() *BuildVolumeMount {
781 if in == nil {
782 return nil
783 }
784 out := new(BuildVolumeMount)
785 in.DeepCopyInto(out)
786 return out
787 }
788
789
790 func (in *BuildVolumeSource) DeepCopyInto(out *BuildVolumeSource) {
791 *out = *in
792 if in.Secret != nil {
793 in, out := &in.Secret, &out.Secret
794 *out = new(corev1.SecretVolumeSource)
795 (*in).DeepCopyInto(*out)
796 }
797 if in.ConfigMap != nil {
798 in, out := &in.ConfigMap, &out.ConfigMap
799 *out = new(corev1.ConfigMapVolumeSource)
800 (*in).DeepCopyInto(*out)
801 }
802 if in.CSI != nil {
803 in, out := &in.CSI, &out.CSI
804 *out = new(corev1.CSIVolumeSource)
805 (*in).DeepCopyInto(*out)
806 }
807 return
808 }
809
810
811 func (in *BuildVolumeSource) DeepCopy() *BuildVolumeSource {
812 if in == nil {
813 return nil
814 }
815 out := new(BuildVolumeSource)
816 in.DeepCopyInto(out)
817 return out
818 }
819
820
821 func (in *CommonSpec) DeepCopyInto(out *CommonSpec) {
822 *out = *in
823 in.Source.DeepCopyInto(&out.Source)
824 if in.Revision != nil {
825 in, out := &in.Revision, &out.Revision
826 *out = new(SourceRevision)
827 (*in).DeepCopyInto(*out)
828 }
829 in.Strategy.DeepCopyInto(&out.Strategy)
830 in.Output.DeepCopyInto(&out.Output)
831 in.Resources.DeepCopyInto(&out.Resources)
832 in.PostCommit.DeepCopyInto(&out.PostCommit)
833 if in.CompletionDeadlineSeconds != nil {
834 in, out := &in.CompletionDeadlineSeconds, &out.CompletionDeadlineSeconds
835 *out = new(int64)
836 **out = **in
837 }
838 if in.NodeSelector != nil {
839 in, out := &in.NodeSelector, &out.NodeSelector
840 *out = make(OptionalNodeSelector, len(*in))
841 for key, val := range *in {
842 (*out)[key] = val
843 }
844 }
845 if in.MountTrustedCA != nil {
846 in, out := &in.MountTrustedCA, &out.MountTrustedCA
847 *out = new(bool)
848 **out = **in
849 }
850 return
851 }
852
853
854 func (in *CommonSpec) DeepCopy() *CommonSpec {
855 if in == nil {
856 return nil
857 }
858 out := new(CommonSpec)
859 in.DeepCopyInto(out)
860 return out
861 }
862
863
864 func (in *CommonWebHookCause) DeepCopyInto(out *CommonWebHookCause) {
865 *out = *in
866 if in.Revision != nil {
867 in, out := &in.Revision, &out.Revision
868 *out = new(SourceRevision)
869 (*in).DeepCopyInto(*out)
870 }
871 return
872 }
873
874
875 func (in *CommonWebHookCause) DeepCopy() *CommonWebHookCause {
876 if in == nil {
877 return nil
878 }
879 out := new(CommonWebHookCause)
880 in.DeepCopyInto(out)
881 return out
882 }
883
884
885 func (in *ConfigMapBuildSource) DeepCopyInto(out *ConfigMapBuildSource) {
886 *out = *in
887 out.ConfigMap = in.ConfigMap
888 return
889 }
890
891
892 func (in *ConfigMapBuildSource) DeepCopy() *ConfigMapBuildSource {
893 if in == nil {
894 return nil
895 }
896 out := new(ConfigMapBuildSource)
897 in.DeepCopyInto(out)
898 return out
899 }
900
901
902 func (in *CustomBuildStrategy) DeepCopyInto(out *CustomBuildStrategy) {
903 *out = *in
904 out.From = in.From
905 if in.PullSecret != nil {
906 in, out := &in.PullSecret, &out.PullSecret
907 *out = new(corev1.LocalObjectReference)
908 **out = **in
909 }
910 if in.Env != nil {
911 in, out := &in.Env, &out.Env
912 *out = make([]corev1.EnvVar, len(*in))
913 for i := range *in {
914 (*in)[i].DeepCopyInto(&(*out)[i])
915 }
916 }
917 if in.Secrets != nil {
918 in, out := &in.Secrets, &out.Secrets
919 *out = make([]SecretSpec, len(*in))
920 copy(*out, *in)
921 }
922 return
923 }
924
925
926 func (in *CustomBuildStrategy) DeepCopy() *CustomBuildStrategy {
927 if in == nil {
928 return nil
929 }
930 out := new(CustomBuildStrategy)
931 in.DeepCopyInto(out)
932 return out
933 }
934
935
936 func (in *DockerBuildStrategy) DeepCopyInto(out *DockerBuildStrategy) {
937 *out = *in
938 if in.From != nil {
939 in, out := &in.From, &out.From
940 *out = new(corev1.ObjectReference)
941 **out = **in
942 }
943 if in.PullSecret != nil {
944 in, out := &in.PullSecret, &out.PullSecret
945 *out = new(corev1.LocalObjectReference)
946 **out = **in
947 }
948 if in.Env != nil {
949 in, out := &in.Env, &out.Env
950 *out = make([]corev1.EnvVar, len(*in))
951 for i := range *in {
952 (*in)[i].DeepCopyInto(&(*out)[i])
953 }
954 }
955 if in.BuildArgs != nil {
956 in, out := &in.BuildArgs, &out.BuildArgs
957 *out = make([]corev1.EnvVar, len(*in))
958 for i := range *in {
959 (*in)[i].DeepCopyInto(&(*out)[i])
960 }
961 }
962 if in.ImageOptimizationPolicy != nil {
963 in, out := &in.ImageOptimizationPolicy, &out.ImageOptimizationPolicy
964 *out = new(ImageOptimizationPolicy)
965 **out = **in
966 }
967 if in.Volumes != nil {
968 in, out := &in.Volumes, &out.Volumes
969 *out = make([]BuildVolume, len(*in))
970 for i := range *in {
971 (*in)[i].DeepCopyInto(&(*out)[i])
972 }
973 }
974 return
975 }
976
977
978 func (in *DockerBuildStrategy) DeepCopy() *DockerBuildStrategy {
979 if in == nil {
980 return nil
981 }
982 out := new(DockerBuildStrategy)
983 in.DeepCopyInto(out)
984 return out
985 }
986
987
988 func (in *DockerStrategyOptions) DeepCopyInto(out *DockerStrategyOptions) {
989 *out = *in
990 if in.BuildArgs != nil {
991 in, out := &in.BuildArgs, &out.BuildArgs
992 *out = make([]corev1.EnvVar, len(*in))
993 for i := range *in {
994 (*in)[i].DeepCopyInto(&(*out)[i])
995 }
996 }
997 if in.NoCache != nil {
998 in, out := &in.NoCache, &out.NoCache
999 *out = new(bool)
1000 **out = **in
1001 }
1002 return
1003 }
1004
1005
1006 func (in *DockerStrategyOptions) DeepCopy() *DockerStrategyOptions {
1007 if in == nil {
1008 return nil
1009 }
1010 out := new(DockerStrategyOptions)
1011 in.DeepCopyInto(out)
1012 return out
1013 }
1014
1015
1016 func (in *GenericWebHookCause) DeepCopyInto(out *GenericWebHookCause) {
1017 *out = *in
1018 if in.Revision != nil {
1019 in, out := &in.Revision, &out.Revision
1020 *out = new(SourceRevision)
1021 (*in).DeepCopyInto(*out)
1022 }
1023 return
1024 }
1025
1026
1027 func (in *GenericWebHookCause) DeepCopy() *GenericWebHookCause {
1028 if in == nil {
1029 return nil
1030 }
1031 out := new(GenericWebHookCause)
1032 in.DeepCopyInto(out)
1033 return out
1034 }
1035
1036
1037 func (in *GenericWebHookEvent) DeepCopyInto(out *GenericWebHookEvent) {
1038 *out = *in
1039 if in.Git != nil {
1040 in, out := &in.Git, &out.Git
1041 *out = new(GitInfo)
1042 (*in).DeepCopyInto(*out)
1043 }
1044 if in.Env != nil {
1045 in, out := &in.Env, &out.Env
1046 *out = make([]corev1.EnvVar, len(*in))
1047 for i := range *in {
1048 (*in)[i].DeepCopyInto(&(*out)[i])
1049 }
1050 }
1051 if in.DockerStrategyOptions != nil {
1052 in, out := &in.DockerStrategyOptions, &out.DockerStrategyOptions
1053 *out = new(DockerStrategyOptions)
1054 (*in).DeepCopyInto(*out)
1055 }
1056 return
1057 }
1058
1059
1060 func (in *GenericWebHookEvent) DeepCopy() *GenericWebHookEvent {
1061 if in == nil {
1062 return nil
1063 }
1064 out := new(GenericWebHookEvent)
1065 in.DeepCopyInto(out)
1066 return out
1067 }
1068
1069
1070 func (in *GitBuildSource) DeepCopyInto(out *GitBuildSource) {
1071 *out = *in
1072 in.ProxyConfig.DeepCopyInto(&out.ProxyConfig)
1073 return
1074 }
1075
1076
1077 func (in *GitBuildSource) DeepCopy() *GitBuildSource {
1078 if in == nil {
1079 return nil
1080 }
1081 out := new(GitBuildSource)
1082 in.DeepCopyInto(out)
1083 return out
1084 }
1085
1086
1087 func (in *GitHubWebHookCause) DeepCopyInto(out *GitHubWebHookCause) {
1088 *out = *in
1089 if in.Revision != nil {
1090 in, out := &in.Revision, &out.Revision
1091 *out = new(SourceRevision)
1092 (*in).DeepCopyInto(*out)
1093 }
1094 return
1095 }
1096
1097
1098 func (in *GitHubWebHookCause) DeepCopy() *GitHubWebHookCause {
1099 if in == nil {
1100 return nil
1101 }
1102 out := new(GitHubWebHookCause)
1103 in.DeepCopyInto(out)
1104 return out
1105 }
1106
1107
1108 func (in *GitInfo) DeepCopyInto(out *GitInfo) {
1109 *out = *in
1110 in.GitBuildSource.DeepCopyInto(&out.GitBuildSource)
1111 out.GitSourceRevision = in.GitSourceRevision
1112 if in.Refs != nil {
1113 in, out := &in.Refs, &out.Refs
1114 *out = make([]GitRefInfo, len(*in))
1115 for i := range *in {
1116 (*in)[i].DeepCopyInto(&(*out)[i])
1117 }
1118 }
1119 return
1120 }
1121
1122
1123 func (in *GitInfo) DeepCopy() *GitInfo {
1124 if in == nil {
1125 return nil
1126 }
1127 out := new(GitInfo)
1128 in.DeepCopyInto(out)
1129 return out
1130 }
1131
1132
1133 func (in *GitLabWebHookCause) DeepCopyInto(out *GitLabWebHookCause) {
1134 *out = *in
1135 in.CommonWebHookCause.DeepCopyInto(&out.CommonWebHookCause)
1136 return
1137 }
1138
1139
1140 func (in *GitLabWebHookCause) DeepCopy() *GitLabWebHookCause {
1141 if in == nil {
1142 return nil
1143 }
1144 out := new(GitLabWebHookCause)
1145 in.DeepCopyInto(out)
1146 return out
1147 }
1148
1149
1150 func (in *GitRefInfo) DeepCopyInto(out *GitRefInfo) {
1151 *out = *in
1152 in.GitBuildSource.DeepCopyInto(&out.GitBuildSource)
1153 out.GitSourceRevision = in.GitSourceRevision
1154 return
1155 }
1156
1157
1158 func (in *GitRefInfo) DeepCopy() *GitRefInfo {
1159 if in == nil {
1160 return nil
1161 }
1162 out := new(GitRefInfo)
1163 in.DeepCopyInto(out)
1164 return out
1165 }
1166
1167
1168 func (in *GitSourceRevision) DeepCopyInto(out *GitSourceRevision) {
1169 *out = *in
1170 out.Author = in.Author
1171 out.Committer = in.Committer
1172 return
1173 }
1174
1175
1176 func (in *GitSourceRevision) DeepCopy() *GitSourceRevision {
1177 if in == nil {
1178 return nil
1179 }
1180 out := new(GitSourceRevision)
1181 in.DeepCopyInto(out)
1182 return out
1183 }
1184
1185
1186 func (in *ImageChangeCause) DeepCopyInto(out *ImageChangeCause) {
1187 *out = *in
1188 if in.FromRef != nil {
1189 in, out := &in.FromRef, &out.FromRef
1190 *out = new(corev1.ObjectReference)
1191 **out = **in
1192 }
1193 return
1194 }
1195
1196
1197 func (in *ImageChangeCause) DeepCopy() *ImageChangeCause {
1198 if in == nil {
1199 return nil
1200 }
1201 out := new(ImageChangeCause)
1202 in.DeepCopyInto(out)
1203 return out
1204 }
1205
1206
1207 func (in *ImageChangeTrigger) DeepCopyInto(out *ImageChangeTrigger) {
1208 *out = *in
1209 if in.From != nil {
1210 in, out := &in.From, &out.From
1211 *out = new(corev1.ObjectReference)
1212 **out = **in
1213 }
1214 return
1215 }
1216
1217
1218 func (in *ImageChangeTrigger) DeepCopy() *ImageChangeTrigger {
1219 if in == nil {
1220 return nil
1221 }
1222 out := new(ImageChangeTrigger)
1223 in.DeepCopyInto(out)
1224 return out
1225 }
1226
1227
1228 func (in *ImageChangeTriggerStatus) DeepCopyInto(out *ImageChangeTriggerStatus) {
1229 *out = *in
1230 out.From = in.From
1231 in.LastTriggerTime.DeepCopyInto(&out.LastTriggerTime)
1232 return
1233 }
1234
1235
1236 func (in *ImageChangeTriggerStatus) DeepCopy() *ImageChangeTriggerStatus {
1237 if in == nil {
1238 return nil
1239 }
1240 out := new(ImageChangeTriggerStatus)
1241 in.DeepCopyInto(out)
1242 return out
1243 }
1244
1245
1246 func (in *ImageLabel) DeepCopyInto(out *ImageLabel) {
1247 *out = *in
1248 return
1249 }
1250
1251
1252 func (in *ImageLabel) DeepCopy() *ImageLabel {
1253 if in == nil {
1254 return nil
1255 }
1256 out := new(ImageLabel)
1257 in.DeepCopyInto(out)
1258 return out
1259 }
1260
1261
1262 func (in *ImageSource) DeepCopyInto(out *ImageSource) {
1263 *out = *in
1264 out.From = in.From
1265 if in.As != nil {
1266 in, out := &in.As, &out.As
1267 *out = make([]string, len(*in))
1268 copy(*out, *in)
1269 }
1270 if in.Paths != nil {
1271 in, out := &in.Paths, &out.Paths
1272 *out = make([]ImageSourcePath, len(*in))
1273 copy(*out, *in)
1274 }
1275 if in.PullSecret != nil {
1276 in, out := &in.PullSecret, &out.PullSecret
1277 *out = new(corev1.LocalObjectReference)
1278 **out = **in
1279 }
1280 return
1281 }
1282
1283
1284 func (in *ImageSource) DeepCopy() *ImageSource {
1285 if in == nil {
1286 return nil
1287 }
1288 out := new(ImageSource)
1289 in.DeepCopyInto(out)
1290 return out
1291 }
1292
1293
1294 func (in *ImageSourcePath) DeepCopyInto(out *ImageSourcePath) {
1295 *out = *in
1296 return
1297 }
1298
1299
1300 func (in *ImageSourcePath) DeepCopy() *ImageSourcePath {
1301 if in == nil {
1302 return nil
1303 }
1304 out := new(ImageSourcePath)
1305 in.DeepCopyInto(out)
1306 return out
1307 }
1308
1309
1310 func (in *ImageStreamTagReference) DeepCopyInto(out *ImageStreamTagReference) {
1311 *out = *in
1312 return
1313 }
1314
1315
1316 func (in *ImageStreamTagReference) DeepCopy() *ImageStreamTagReference {
1317 if in == nil {
1318 return nil
1319 }
1320 out := new(ImageStreamTagReference)
1321 in.DeepCopyInto(out)
1322 return out
1323 }
1324
1325
1326 func (in *JenkinsPipelineBuildStrategy) DeepCopyInto(out *JenkinsPipelineBuildStrategy) {
1327 *out = *in
1328 if in.Env != nil {
1329 in, out := &in.Env, &out.Env
1330 *out = make([]corev1.EnvVar, len(*in))
1331 for i := range *in {
1332 (*in)[i].DeepCopyInto(&(*out)[i])
1333 }
1334 }
1335 return
1336 }
1337
1338
1339 func (in *JenkinsPipelineBuildStrategy) DeepCopy() *JenkinsPipelineBuildStrategy {
1340 if in == nil {
1341 return nil
1342 }
1343 out := new(JenkinsPipelineBuildStrategy)
1344 in.DeepCopyInto(out)
1345 return out
1346 }
1347
1348
1349 func (in OptionalNodeSelector) DeepCopyInto(out *OptionalNodeSelector) {
1350 {
1351 in := &in
1352 *out = make(OptionalNodeSelector, len(*in))
1353 for key, val := range *in {
1354 (*out)[key] = val
1355 }
1356 return
1357 }
1358 }
1359
1360
1361 func (in OptionalNodeSelector) DeepCopy() OptionalNodeSelector {
1362 if in == nil {
1363 return nil
1364 }
1365 out := new(OptionalNodeSelector)
1366 in.DeepCopyInto(out)
1367 return *out
1368 }
1369
1370
1371 func (in *ProxyConfig) DeepCopyInto(out *ProxyConfig) {
1372 *out = *in
1373 if in.HTTPProxy != nil {
1374 in, out := &in.HTTPProxy, &out.HTTPProxy
1375 *out = new(string)
1376 **out = **in
1377 }
1378 if in.HTTPSProxy != nil {
1379 in, out := &in.HTTPSProxy, &out.HTTPSProxy
1380 *out = new(string)
1381 **out = **in
1382 }
1383 if in.NoProxy != nil {
1384 in, out := &in.NoProxy, &out.NoProxy
1385 *out = new(string)
1386 **out = **in
1387 }
1388 return
1389 }
1390
1391
1392 func (in *ProxyConfig) DeepCopy() *ProxyConfig {
1393 if in == nil {
1394 return nil
1395 }
1396 out := new(ProxyConfig)
1397 in.DeepCopyInto(out)
1398 return out
1399 }
1400
1401
1402 func (in *SecretBuildSource) DeepCopyInto(out *SecretBuildSource) {
1403 *out = *in
1404 out.Secret = in.Secret
1405 return
1406 }
1407
1408
1409 func (in *SecretBuildSource) DeepCopy() *SecretBuildSource {
1410 if in == nil {
1411 return nil
1412 }
1413 out := new(SecretBuildSource)
1414 in.DeepCopyInto(out)
1415 return out
1416 }
1417
1418
1419 func (in *SecretLocalReference) DeepCopyInto(out *SecretLocalReference) {
1420 *out = *in
1421 return
1422 }
1423
1424
1425 func (in *SecretLocalReference) DeepCopy() *SecretLocalReference {
1426 if in == nil {
1427 return nil
1428 }
1429 out := new(SecretLocalReference)
1430 in.DeepCopyInto(out)
1431 return out
1432 }
1433
1434
1435 func (in *SecretSpec) DeepCopyInto(out *SecretSpec) {
1436 *out = *in
1437 out.SecretSource = in.SecretSource
1438 return
1439 }
1440
1441
1442 func (in *SecretSpec) DeepCopy() *SecretSpec {
1443 if in == nil {
1444 return nil
1445 }
1446 out := new(SecretSpec)
1447 in.DeepCopyInto(out)
1448 return out
1449 }
1450
1451
1452 func (in *SourceBuildStrategy) DeepCopyInto(out *SourceBuildStrategy) {
1453 *out = *in
1454 out.From = in.From
1455 if in.PullSecret != nil {
1456 in, out := &in.PullSecret, &out.PullSecret
1457 *out = new(corev1.LocalObjectReference)
1458 **out = **in
1459 }
1460 if in.Env != nil {
1461 in, out := &in.Env, &out.Env
1462 *out = make([]corev1.EnvVar, len(*in))
1463 for i := range *in {
1464 (*in)[i].DeepCopyInto(&(*out)[i])
1465 }
1466 }
1467 if in.Incremental != nil {
1468 in, out := &in.Incremental, &out.Incremental
1469 *out = new(bool)
1470 **out = **in
1471 }
1472 if in.Volumes != nil {
1473 in, out := &in.Volumes, &out.Volumes
1474 *out = make([]BuildVolume, len(*in))
1475 for i := range *in {
1476 (*in)[i].DeepCopyInto(&(*out)[i])
1477 }
1478 }
1479 return
1480 }
1481
1482
1483 func (in *SourceBuildStrategy) DeepCopy() *SourceBuildStrategy {
1484 if in == nil {
1485 return nil
1486 }
1487 out := new(SourceBuildStrategy)
1488 in.DeepCopyInto(out)
1489 return out
1490 }
1491
1492
1493 func (in *SourceControlUser) DeepCopyInto(out *SourceControlUser) {
1494 *out = *in
1495 return
1496 }
1497
1498
1499 func (in *SourceControlUser) DeepCopy() *SourceControlUser {
1500 if in == nil {
1501 return nil
1502 }
1503 out := new(SourceControlUser)
1504 in.DeepCopyInto(out)
1505 return out
1506 }
1507
1508
1509 func (in *SourceRevision) DeepCopyInto(out *SourceRevision) {
1510 *out = *in
1511 if in.Git != nil {
1512 in, out := &in.Git, &out.Git
1513 *out = new(GitSourceRevision)
1514 **out = **in
1515 }
1516 return
1517 }
1518
1519
1520 func (in *SourceRevision) DeepCopy() *SourceRevision {
1521 if in == nil {
1522 return nil
1523 }
1524 out := new(SourceRevision)
1525 in.DeepCopyInto(out)
1526 return out
1527 }
1528
1529
1530 func (in *SourceStrategyOptions) DeepCopyInto(out *SourceStrategyOptions) {
1531 *out = *in
1532 if in.Incremental != nil {
1533 in, out := &in.Incremental, &out.Incremental
1534 *out = new(bool)
1535 **out = **in
1536 }
1537 return
1538 }
1539
1540
1541 func (in *SourceStrategyOptions) DeepCopy() *SourceStrategyOptions {
1542 if in == nil {
1543 return nil
1544 }
1545 out := new(SourceStrategyOptions)
1546 in.DeepCopyInto(out)
1547 return out
1548 }
1549
1550
1551 func (in *StageInfo) DeepCopyInto(out *StageInfo) {
1552 *out = *in
1553 in.StartTime.DeepCopyInto(&out.StartTime)
1554 if in.Steps != nil {
1555 in, out := &in.Steps, &out.Steps
1556 *out = make([]StepInfo, len(*in))
1557 for i := range *in {
1558 (*in)[i].DeepCopyInto(&(*out)[i])
1559 }
1560 }
1561 return
1562 }
1563
1564
1565 func (in *StageInfo) DeepCopy() *StageInfo {
1566 if in == nil {
1567 return nil
1568 }
1569 out := new(StageInfo)
1570 in.DeepCopyInto(out)
1571 return out
1572 }
1573
1574
1575 func (in *StepInfo) DeepCopyInto(out *StepInfo) {
1576 *out = *in
1577 in.StartTime.DeepCopyInto(&out.StartTime)
1578 return
1579 }
1580
1581
1582 func (in *StepInfo) DeepCopy() *StepInfo {
1583 if in == nil {
1584 return nil
1585 }
1586 out := new(StepInfo)
1587 in.DeepCopyInto(out)
1588 return out
1589 }
1590
1591
1592 func (in *WebHookTrigger) DeepCopyInto(out *WebHookTrigger) {
1593 *out = *in
1594 if in.SecretReference != nil {
1595 in, out := &in.SecretReference, &out.SecretReference
1596 *out = new(SecretLocalReference)
1597 **out = **in
1598 }
1599 return
1600 }
1601
1602
1603 func (in *WebHookTrigger) DeepCopy() *WebHookTrigger {
1604 if in == nil {
1605 return nil
1606 }
1607 out := new(WebHookTrigger)
1608 in.DeepCopyInto(out)
1609 return out
1610 }
1611
View as plain text