1
2
3
18
19
20
21 package v1
22
23 import (
24 "github.com/fluxcd/pkg/apis/acl"
25 "github.com/fluxcd/pkg/apis/meta"
26 metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
27 "k8s.io/apimachinery/pkg/runtime"
28 )
29
30
31 func (in *Artifact) DeepCopyInto(out *Artifact) {
32 *out = *in
33 in.LastUpdateTime.DeepCopyInto(&out.LastUpdateTime)
34 if in.Size != nil {
35 in, out := &in.Size, &out.Size
36 *out = new(int64)
37 **out = **in
38 }
39 if in.Metadata != nil {
40 in, out := &in.Metadata, &out.Metadata
41 *out = make(map[string]string, len(*in))
42 for key, val := range *in {
43 (*out)[key] = val
44 }
45 }
46 }
47
48
49 func (in *Artifact) DeepCopy() *Artifact {
50 if in == nil {
51 return nil
52 }
53 out := new(Artifact)
54 in.DeepCopyInto(out)
55 return out
56 }
57
58
59 func (in *Bucket) DeepCopyInto(out *Bucket) {
60 *out = *in
61 out.TypeMeta = in.TypeMeta
62 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
63 in.Spec.DeepCopyInto(&out.Spec)
64 in.Status.DeepCopyInto(&out.Status)
65 }
66
67
68 func (in *Bucket) DeepCopy() *Bucket {
69 if in == nil {
70 return nil
71 }
72 out := new(Bucket)
73 in.DeepCopyInto(out)
74 return out
75 }
76
77
78 func (in *Bucket) DeepCopyObject() runtime.Object {
79 if c := in.DeepCopy(); c != nil {
80 return c
81 }
82 return nil
83 }
84
85
86 func (in *BucketList) DeepCopyInto(out *BucketList) {
87 *out = *in
88 out.TypeMeta = in.TypeMeta
89 in.ListMeta.DeepCopyInto(&out.ListMeta)
90 if in.Items != nil {
91 in, out := &in.Items, &out.Items
92 *out = make([]Bucket, len(*in))
93 for i := range *in {
94 (*in)[i].DeepCopyInto(&(*out)[i])
95 }
96 }
97 }
98
99
100 func (in *BucketList) DeepCopy() *BucketList {
101 if in == nil {
102 return nil
103 }
104 out := new(BucketList)
105 in.DeepCopyInto(out)
106 return out
107 }
108
109
110 func (in *BucketList) DeepCopyObject() runtime.Object {
111 if c := in.DeepCopy(); c != nil {
112 return c
113 }
114 return nil
115 }
116
117
118 func (in *BucketSTSSpec) DeepCopyInto(out *BucketSTSSpec) {
119 *out = *in
120 if in.SecretRef != nil {
121 in, out := &in.SecretRef, &out.SecretRef
122 *out = new(meta.LocalObjectReference)
123 **out = **in
124 }
125 if in.CertSecretRef != nil {
126 in, out := &in.CertSecretRef, &out.CertSecretRef
127 *out = new(meta.LocalObjectReference)
128 **out = **in
129 }
130 }
131
132
133 func (in *BucketSTSSpec) DeepCopy() *BucketSTSSpec {
134 if in == nil {
135 return nil
136 }
137 out := new(BucketSTSSpec)
138 in.DeepCopyInto(out)
139 return out
140 }
141
142
143 func (in *BucketSpec) DeepCopyInto(out *BucketSpec) {
144 *out = *in
145 if in.STS != nil {
146 in, out := &in.STS, &out.STS
147 *out = new(BucketSTSSpec)
148 (*in).DeepCopyInto(*out)
149 }
150 if in.SecretRef != nil {
151 in, out := &in.SecretRef, &out.SecretRef
152 *out = new(meta.LocalObjectReference)
153 **out = **in
154 }
155 if in.CertSecretRef != nil {
156 in, out := &in.CertSecretRef, &out.CertSecretRef
157 *out = new(meta.LocalObjectReference)
158 **out = **in
159 }
160 if in.ProxySecretRef != nil {
161 in, out := &in.ProxySecretRef, &out.ProxySecretRef
162 *out = new(meta.LocalObjectReference)
163 **out = **in
164 }
165 out.Interval = in.Interval
166 if in.Timeout != nil {
167 in, out := &in.Timeout, &out.Timeout
168 *out = new(metav1.Duration)
169 **out = **in
170 }
171 if in.Ignore != nil {
172 in, out := &in.Ignore, &out.Ignore
173 *out = new(string)
174 **out = **in
175 }
176 }
177
178
179 func (in *BucketSpec) DeepCopy() *BucketSpec {
180 if in == nil {
181 return nil
182 }
183 out := new(BucketSpec)
184 in.DeepCopyInto(out)
185 return out
186 }
187
188
189 func (in *BucketStatus) DeepCopyInto(out *BucketStatus) {
190 *out = *in
191 if in.Conditions != nil {
192 in, out := &in.Conditions, &out.Conditions
193 *out = make([]metav1.Condition, len(*in))
194 for i := range *in {
195 (*in)[i].DeepCopyInto(&(*out)[i])
196 }
197 }
198 if in.Artifact != nil {
199 in, out := &in.Artifact, &out.Artifact
200 *out = new(Artifact)
201 (*in).DeepCopyInto(*out)
202 }
203 if in.ObservedIgnore != nil {
204 in, out := &in.ObservedIgnore, &out.ObservedIgnore
205 *out = new(string)
206 **out = **in
207 }
208 out.ReconcileRequestStatus = in.ReconcileRequestStatus
209 }
210
211
212 func (in *BucketStatus) DeepCopy() *BucketStatus {
213 if in == nil {
214 return nil
215 }
216 out := new(BucketStatus)
217 in.DeepCopyInto(out)
218 return out
219 }
220
221
222 func (in *GitRepository) DeepCopyInto(out *GitRepository) {
223 *out = *in
224 out.TypeMeta = in.TypeMeta
225 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
226 in.Spec.DeepCopyInto(&out.Spec)
227 in.Status.DeepCopyInto(&out.Status)
228 }
229
230
231 func (in *GitRepository) DeepCopy() *GitRepository {
232 if in == nil {
233 return nil
234 }
235 out := new(GitRepository)
236 in.DeepCopyInto(out)
237 return out
238 }
239
240
241 func (in *GitRepository) DeepCopyObject() runtime.Object {
242 if c := in.DeepCopy(); c != nil {
243 return c
244 }
245 return nil
246 }
247
248
249 func (in *GitRepositoryInclude) DeepCopyInto(out *GitRepositoryInclude) {
250 *out = *in
251 out.GitRepositoryRef = in.GitRepositoryRef
252 }
253
254
255 func (in *GitRepositoryInclude) DeepCopy() *GitRepositoryInclude {
256 if in == nil {
257 return nil
258 }
259 out := new(GitRepositoryInclude)
260 in.DeepCopyInto(out)
261 return out
262 }
263
264
265 func (in *GitRepositoryList) DeepCopyInto(out *GitRepositoryList) {
266 *out = *in
267 out.TypeMeta = in.TypeMeta
268 in.ListMeta.DeepCopyInto(&out.ListMeta)
269 if in.Items != nil {
270 in, out := &in.Items, &out.Items
271 *out = make([]GitRepository, len(*in))
272 for i := range *in {
273 (*in)[i].DeepCopyInto(&(*out)[i])
274 }
275 }
276 }
277
278
279 func (in *GitRepositoryList) DeepCopy() *GitRepositoryList {
280 if in == nil {
281 return nil
282 }
283 out := new(GitRepositoryList)
284 in.DeepCopyInto(out)
285 return out
286 }
287
288
289 func (in *GitRepositoryList) DeepCopyObject() runtime.Object {
290 if c := in.DeepCopy(); c != nil {
291 return c
292 }
293 return nil
294 }
295
296
297 func (in *GitRepositoryRef) DeepCopyInto(out *GitRepositoryRef) {
298 *out = *in
299 }
300
301
302 func (in *GitRepositoryRef) DeepCopy() *GitRepositoryRef {
303 if in == nil {
304 return nil
305 }
306 out := new(GitRepositoryRef)
307 in.DeepCopyInto(out)
308 return out
309 }
310
311
312 func (in *GitRepositorySpec) DeepCopyInto(out *GitRepositorySpec) {
313 *out = *in
314 if in.SecretRef != nil {
315 in, out := &in.SecretRef, &out.SecretRef
316 *out = new(meta.LocalObjectReference)
317 **out = **in
318 }
319 out.Interval = in.Interval
320 if in.Timeout != nil {
321 in, out := &in.Timeout, &out.Timeout
322 *out = new(metav1.Duration)
323 **out = **in
324 }
325 if in.Reference != nil {
326 in, out := &in.Reference, &out.Reference
327 *out = new(GitRepositoryRef)
328 **out = **in
329 }
330 if in.Verification != nil {
331 in, out := &in.Verification, &out.Verification
332 *out = new(GitRepositoryVerification)
333 **out = **in
334 }
335 if in.ProxySecretRef != nil {
336 in, out := &in.ProxySecretRef, &out.ProxySecretRef
337 *out = new(meta.LocalObjectReference)
338 **out = **in
339 }
340 if in.Ignore != nil {
341 in, out := &in.Ignore, &out.Ignore
342 *out = new(string)
343 **out = **in
344 }
345 if in.Include != nil {
346 in, out := &in.Include, &out.Include
347 *out = make([]GitRepositoryInclude, len(*in))
348 copy(*out, *in)
349 }
350 }
351
352
353 func (in *GitRepositorySpec) DeepCopy() *GitRepositorySpec {
354 if in == nil {
355 return nil
356 }
357 out := new(GitRepositorySpec)
358 in.DeepCopyInto(out)
359 return out
360 }
361
362
363 func (in *GitRepositoryStatus) DeepCopyInto(out *GitRepositoryStatus) {
364 *out = *in
365 if in.Conditions != nil {
366 in, out := &in.Conditions, &out.Conditions
367 *out = make([]metav1.Condition, len(*in))
368 for i := range *in {
369 (*in)[i].DeepCopyInto(&(*out)[i])
370 }
371 }
372 if in.Artifact != nil {
373 in, out := &in.Artifact, &out.Artifact
374 *out = new(Artifact)
375 (*in).DeepCopyInto(*out)
376 }
377 if in.IncludedArtifacts != nil {
378 in, out := &in.IncludedArtifacts, &out.IncludedArtifacts
379 *out = make([]*Artifact, len(*in))
380 for i := range *in {
381 if (*in)[i] != nil {
382 in, out := &(*in)[i], &(*out)[i]
383 *out = new(Artifact)
384 (*in).DeepCopyInto(*out)
385 }
386 }
387 }
388 if in.ObservedIgnore != nil {
389 in, out := &in.ObservedIgnore, &out.ObservedIgnore
390 *out = new(string)
391 **out = **in
392 }
393 if in.ObservedInclude != nil {
394 in, out := &in.ObservedInclude, &out.ObservedInclude
395 *out = make([]GitRepositoryInclude, len(*in))
396 copy(*out, *in)
397 }
398 if in.SourceVerificationMode != nil {
399 in, out := &in.SourceVerificationMode, &out.SourceVerificationMode
400 *out = new(GitVerificationMode)
401 **out = **in
402 }
403 out.ReconcileRequestStatus = in.ReconcileRequestStatus
404 }
405
406
407 func (in *GitRepositoryStatus) DeepCopy() *GitRepositoryStatus {
408 if in == nil {
409 return nil
410 }
411 out := new(GitRepositoryStatus)
412 in.DeepCopyInto(out)
413 return out
414 }
415
416
417 func (in *GitRepositoryVerification) DeepCopyInto(out *GitRepositoryVerification) {
418 *out = *in
419 out.SecretRef = in.SecretRef
420 }
421
422
423 func (in *GitRepositoryVerification) DeepCopy() *GitRepositoryVerification {
424 if in == nil {
425 return nil
426 }
427 out := new(GitRepositoryVerification)
428 in.DeepCopyInto(out)
429 return out
430 }
431
432
433 func (in *HelmChart) DeepCopyInto(out *HelmChart) {
434 *out = *in
435 out.TypeMeta = in.TypeMeta
436 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
437 in.Spec.DeepCopyInto(&out.Spec)
438 in.Status.DeepCopyInto(&out.Status)
439 }
440
441
442 func (in *HelmChart) DeepCopy() *HelmChart {
443 if in == nil {
444 return nil
445 }
446 out := new(HelmChart)
447 in.DeepCopyInto(out)
448 return out
449 }
450
451
452 func (in *HelmChart) DeepCopyObject() runtime.Object {
453 if c := in.DeepCopy(); c != nil {
454 return c
455 }
456 return nil
457 }
458
459
460 func (in *HelmChartList) DeepCopyInto(out *HelmChartList) {
461 *out = *in
462 out.TypeMeta = in.TypeMeta
463 in.ListMeta.DeepCopyInto(&out.ListMeta)
464 if in.Items != nil {
465 in, out := &in.Items, &out.Items
466 *out = make([]HelmChart, len(*in))
467 for i := range *in {
468 (*in)[i].DeepCopyInto(&(*out)[i])
469 }
470 }
471 }
472
473
474 func (in *HelmChartList) DeepCopy() *HelmChartList {
475 if in == nil {
476 return nil
477 }
478 out := new(HelmChartList)
479 in.DeepCopyInto(out)
480 return out
481 }
482
483
484 func (in *HelmChartList) DeepCopyObject() runtime.Object {
485 if c := in.DeepCopy(); c != nil {
486 return c
487 }
488 return nil
489 }
490
491
492 func (in *HelmChartSpec) DeepCopyInto(out *HelmChartSpec) {
493 *out = *in
494 out.SourceRef = in.SourceRef
495 out.Interval = in.Interval
496 if in.ValuesFiles != nil {
497 in, out := &in.ValuesFiles, &out.ValuesFiles
498 *out = make([]string, len(*in))
499 copy(*out, *in)
500 }
501 if in.Verify != nil {
502 in, out := &in.Verify, &out.Verify
503 *out = new(OCIRepositoryVerification)
504 (*in).DeepCopyInto(*out)
505 }
506 }
507
508
509 func (in *HelmChartSpec) DeepCopy() *HelmChartSpec {
510 if in == nil {
511 return nil
512 }
513 out := new(HelmChartSpec)
514 in.DeepCopyInto(out)
515 return out
516 }
517
518
519 func (in *HelmChartStatus) DeepCopyInto(out *HelmChartStatus) {
520 *out = *in
521 if in.ObservedValuesFiles != nil {
522 in, out := &in.ObservedValuesFiles, &out.ObservedValuesFiles
523 *out = make([]string, len(*in))
524 copy(*out, *in)
525 }
526 if in.Conditions != nil {
527 in, out := &in.Conditions, &out.Conditions
528 *out = make([]metav1.Condition, len(*in))
529 for i := range *in {
530 (*in)[i].DeepCopyInto(&(*out)[i])
531 }
532 }
533 if in.Artifact != nil {
534 in, out := &in.Artifact, &out.Artifact
535 *out = new(Artifact)
536 (*in).DeepCopyInto(*out)
537 }
538 out.ReconcileRequestStatus = in.ReconcileRequestStatus
539 }
540
541
542 func (in *HelmChartStatus) DeepCopy() *HelmChartStatus {
543 if in == nil {
544 return nil
545 }
546 out := new(HelmChartStatus)
547 in.DeepCopyInto(out)
548 return out
549 }
550
551
552 func (in *HelmRepository) DeepCopyInto(out *HelmRepository) {
553 *out = *in
554 out.TypeMeta = in.TypeMeta
555 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
556 in.Spec.DeepCopyInto(&out.Spec)
557 in.Status.DeepCopyInto(&out.Status)
558 }
559
560
561 func (in *HelmRepository) DeepCopy() *HelmRepository {
562 if in == nil {
563 return nil
564 }
565 out := new(HelmRepository)
566 in.DeepCopyInto(out)
567 return out
568 }
569
570
571 func (in *HelmRepository) DeepCopyObject() runtime.Object {
572 if c := in.DeepCopy(); c != nil {
573 return c
574 }
575 return nil
576 }
577
578
579 func (in *HelmRepositoryList) DeepCopyInto(out *HelmRepositoryList) {
580 *out = *in
581 out.TypeMeta = in.TypeMeta
582 in.ListMeta.DeepCopyInto(&out.ListMeta)
583 if in.Items != nil {
584 in, out := &in.Items, &out.Items
585 *out = make([]HelmRepository, len(*in))
586 for i := range *in {
587 (*in)[i].DeepCopyInto(&(*out)[i])
588 }
589 }
590 }
591
592
593 func (in *HelmRepositoryList) DeepCopy() *HelmRepositoryList {
594 if in == nil {
595 return nil
596 }
597 out := new(HelmRepositoryList)
598 in.DeepCopyInto(out)
599 return out
600 }
601
602
603 func (in *HelmRepositoryList) DeepCopyObject() runtime.Object {
604 if c := in.DeepCopy(); c != nil {
605 return c
606 }
607 return nil
608 }
609
610
611 func (in *HelmRepositorySpec) DeepCopyInto(out *HelmRepositorySpec) {
612 *out = *in
613 if in.SecretRef != nil {
614 in, out := &in.SecretRef, &out.SecretRef
615 *out = new(meta.LocalObjectReference)
616 **out = **in
617 }
618 if in.CertSecretRef != nil {
619 in, out := &in.CertSecretRef, &out.CertSecretRef
620 *out = new(meta.LocalObjectReference)
621 **out = **in
622 }
623 out.Interval = in.Interval
624 if in.Timeout != nil {
625 in, out := &in.Timeout, &out.Timeout
626 *out = new(metav1.Duration)
627 **out = **in
628 }
629 if in.AccessFrom != nil {
630 in, out := &in.AccessFrom, &out.AccessFrom
631 *out = new(acl.AccessFrom)
632 (*in).DeepCopyInto(*out)
633 }
634 }
635
636
637 func (in *HelmRepositorySpec) DeepCopy() *HelmRepositorySpec {
638 if in == nil {
639 return nil
640 }
641 out := new(HelmRepositorySpec)
642 in.DeepCopyInto(out)
643 return out
644 }
645
646
647 func (in *HelmRepositoryStatus) DeepCopyInto(out *HelmRepositoryStatus) {
648 *out = *in
649 if in.Conditions != nil {
650 in, out := &in.Conditions, &out.Conditions
651 *out = make([]metav1.Condition, len(*in))
652 for i := range *in {
653 (*in)[i].DeepCopyInto(&(*out)[i])
654 }
655 }
656 if in.Artifact != nil {
657 in, out := &in.Artifact, &out.Artifact
658 *out = new(Artifact)
659 (*in).DeepCopyInto(*out)
660 }
661 out.ReconcileRequestStatus = in.ReconcileRequestStatus
662 }
663
664
665 func (in *HelmRepositoryStatus) DeepCopy() *HelmRepositoryStatus {
666 if in == nil {
667 return nil
668 }
669 out := new(HelmRepositoryStatus)
670 in.DeepCopyInto(out)
671 return out
672 }
673
674
675 func (in *LocalHelmChartSourceReference) DeepCopyInto(out *LocalHelmChartSourceReference) {
676 *out = *in
677 }
678
679
680 func (in *LocalHelmChartSourceReference) DeepCopy() *LocalHelmChartSourceReference {
681 if in == nil {
682 return nil
683 }
684 out := new(LocalHelmChartSourceReference)
685 in.DeepCopyInto(out)
686 return out
687 }
688
689
690 func (in *OCIRepositoryVerification) DeepCopyInto(out *OCIRepositoryVerification) {
691 *out = *in
692 if in.SecretRef != nil {
693 in, out := &in.SecretRef, &out.SecretRef
694 *out = new(meta.LocalObjectReference)
695 **out = **in
696 }
697 if in.MatchOIDCIdentity != nil {
698 in, out := &in.MatchOIDCIdentity, &out.MatchOIDCIdentity
699 *out = make([]OIDCIdentityMatch, len(*in))
700 copy(*out, *in)
701 }
702 }
703
704
705 func (in *OCIRepositoryVerification) DeepCopy() *OCIRepositoryVerification {
706 if in == nil {
707 return nil
708 }
709 out := new(OCIRepositoryVerification)
710 in.DeepCopyInto(out)
711 return out
712 }
713
714
715 func (in *OIDCIdentityMatch) DeepCopyInto(out *OIDCIdentityMatch) {
716 *out = *in
717 }
718
719
720 func (in *OIDCIdentityMatch) DeepCopy() *OIDCIdentityMatch {
721 if in == nil {
722 return nil
723 }
724 out := new(OIDCIdentityMatch)
725 in.DeepCopyInto(out)
726 return out
727 }
728
View as plain text