1
2
3
4
19
20
21
22 package v1beta1
23
24 import (
25 configv1 "github.com/openshift/api/config/v1"
26 v1 "k8s.io/api/core/v1"
27 metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
28 runtime "k8s.io/apimachinery/pkg/runtime"
29 )
30
31
32 func (in *CDI) DeepCopyInto(out *CDI) {
33 *out = *in
34 out.TypeMeta = in.TypeMeta
35 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
36 in.Spec.DeepCopyInto(&out.Spec)
37 in.Status.DeepCopyInto(&out.Status)
38 return
39 }
40
41
42 func (in *CDI) DeepCopy() *CDI {
43 if in == nil {
44 return nil
45 }
46 out := new(CDI)
47 in.DeepCopyInto(out)
48 return out
49 }
50
51
52 func (in *CDI) DeepCopyObject() runtime.Object {
53 if c := in.DeepCopy(); c != nil {
54 return c
55 }
56 return nil
57 }
58
59
60 func (in *CDICertConfig) DeepCopyInto(out *CDICertConfig) {
61 *out = *in
62 if in.CA != nil {
63 in, out := &in.CA, &out.CA
64 *out = new(CertConfig)
65 (*in).DeepCopyInto(*out)
66 }
67 if in.Server != nil {
68 in, out := &in.Server, &out.Server
69 *out = new(CertConfig)
70 (*in).DeepCopyInto(*out)
71 }
72 return
73 }
74
75
76 func (in *CDICertConfig) DeepCopy() *CDICertConfig {
77 if in == nil {
78 return nil
79 }
80 out := new(CDICertConfig)
81 in.DeepCopyInto(out)
82 return out
83 }
84
85
86 func (in *CDIConfig) DeepCopyInto(out *CDIConfig) {
87 *out = *in
88 out.TypeMeta = in.TypeMeta
89 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
90 in.Spec.DeepCopyInto(&out.Spec)
91 in.Status.DeepCopyInto(&out.Status)
92 return
93 }
94
95
96 func (in *CDIConfig) DeepCopy() *CDIConfig {
97 if in == nil {
98 return nil
99 }
100 out := new(CDIConfig)
101 in.DeepCopyInto(out)
102 return out
103 }
104
105
106 func (in *CDIConfig) DeepCopyObject() runtime.Object {
107 if c := in.DeepCopy(); c != nil {
108 return c
109 }
110 return nil
111 }
112
113
114 func (in *CDIConfigList) DeepCopyInto(out *CDIConfigList) {
115 *out = *in
116 out.TypeMeta = in.TypeMeta
117 in.ListMeta.DeepCopyInto(&out.ListMeta)
118 if in.Items != nil {
119 in, out := &in.Items, &out.Items
120 *out = make([]CDIConfig, len(*in))
121 for i := range *in {
122 (*in)[i].DeepCopyInto(&(*out)[i])
123 }
124 }
125 return
126 }
127
128
129 func (in *CDIConfigList) DeepCopy() *CDIConfigList {
130 if in == nil {
131 return nil
132 }
133 out := new(CDIConfigList)
134 in.DeepCopyInto(out)
135 return out
136 }
137
138
139 func (in *CDIConfigList) DeepCopyObject() runtime.Object {
140 if c := in.DeepCopy(); c != nil {
141 return c
142 }
143 return nil
144 }
145
146
147 func (in *CDIConfigSpec) DeepCopyInto(out *CDIConfigSpec) {
148 *out = *in
149 if in.UploadProxyURLOverride != nil {
150 in, out := &in.UploadProxyURLOverride, &out.UploadProxyURLOverride
151 *out = new(string)
152 **out = **in
153 }
154 if in.ImportProxy != nil {
155 in, out := &in.ImportProxy, &out.ImportProxy
156 *out = new(ImportProxy)
157 (*in).DeepCopyInto(*out)
158 }
159 if in.ScratchSpaceStorageClass != nil {
160 in, out := &in.ScratchSpaceStorageClass, &out.ScratchSpaceStorageClass
161 *out = new(string)
162 **out = **in
163 }
164 if in.PodResourceRequirements != nil {
165 in, out := &in.PodResourceRequirements, &out.PodResourceRequirements
166 *out = new(v1.ResourceRequirements)
167 (*in).DeepCopyInto(*out)
168 }
169 if in.FeatureGates != nil {
170 in, out := &in.FeatureGates, &out.FeatureGates
171 *out = make([]string, len(*in))
172 copy(*out, *in)
173 }
174 if in.FilesystemOverhead != nil {
175 in, out := &in.FilesystemOverhead, &out.FilesystemOverhead
176 *out = new(FilesystemOverhead)
177 (*in).DeepCopyInto(*out)
178 }
179 if in.Preallocation != nil {
180 in, out := &in.Preallocation, &out.Preallocation
181 *out = new(bool)
182 **out = **in
183 }
184 if in.InsecureRegistries != nil {
185 in, out := &in.InsecureRegistries, &out.InsecureRegistries
186 *out = make([]string, len(*in))
187 copy(*out, *in)
188 }
189 if in.DataVolumeTTLSeconds != nil {
190 in, out := &in.DataVolumeTTLSeconds, &out.DataVolumeTTLSeconds
191 *out = new(int32)
192 **out = **in
193 }
194 if in.TLSSecurityProfile != nil {
195 in, out := &in.TLSSecurityProfile, &out.TLSSecurityProfile
196 *out = new(configv1.TLSSecurityProfile)
197 (*in).DeepCopyInto(*out)
198 }
199 if in.ImagePullSecrets != nil {
200 in, out := &in.ImagePullSecrets, &out.ImagePullSecrets
201 *out = make([]v1.LocalObjectReference, len(*in))
202 copy(*out, *in)
203 }
204 return
205 }
206
207
208 func (in *CDIConfigSpec) DeepCopy() *CDIConfigSpec {
209 if in == nil {
210 return nil
211 }
212 out := new(CDIConfigSpec)
213 in.DeepCopyInto(out)
214 return out
215 }
216
217
218 func (in *CDIConfigStatus) DeepCopyInto(out *CDIConfigStatus) {
219 *out = *in
220 if in.UploadProxyURL != nil {
221 in, out := &in.UploadProxyURL, &out.UploadProxyURL
222 *out = new(string)
223 **out = **in
224 }
225 if in.ImportProxy != nil {
226 in, out := &in.ImportProxy, &out.ImportProxy
227 *out = new(ImportProxy)
228 (*in).DeepCopyInto(*out)
229 }
230 if in.DefaultPodResourceRequirements != nil {
231 in, out := &in.DefaultPodResourceRequirements, &out.DefaultPodResourceRequirements
232 *out = new(v1.ResourceRequirements)
233 (*in).DeepCopyInto(*out)
234 }
235 if in.FilesystemOverhead != nil {
236 in, out := &in.FilesystemOverhead, &out.FilesystemOverhead
237 *out = new(FilesystemOverhead)
238 (*in).DeepCopyInto(*out)
239 }
240 if in.ImagePullSecrets != nil {
241 in, out := &in.ImagePullSecrets, &out.ImagePullSecrets
242 *out = make([]v1.LocalObjectReference, len(*in))
243 copy(*out, *in)
244 }
245 return
246 }
247
248
249 func (in *CDIConfigStatus) DeepCopy() *CDIConfigStatus {
250 if in == nil {
251 return nil
252 }
253 out := new(CDIConfigStatus)
254 in.DeepCopyInto(out)
255 return out
256 }
257
258
259 func (in *CDIList) DeepCopyInto(out *CDIList) {
260 *out = *in
261 out.TypeMeta = in.TypeMeta
262 in.ListMeta.DeepCopyInto(&out.ListMeta)
263 if in.Items != nil {
264 in, out := &in.Items, &out.Items
265 *out = make([]CDI, len(*in))
266 for i := range *in {
267 (*in)[i].DeepCopyInto(&(*out)[i])
268 }
269 }
270 return
271 }
272
273
274 func (in *CDIList) DeepCopy() *CDIList {
275 if in == nil {
276 return nil
277 }
278 out := new(CDIList)
279 in.DeepCopyInto(out)
280 return out
281 }
282
283
284 func (in *CDIList) DeepCopyObject() runtime.Object {
285 if c := in.DeepCopy(); c != nil {
286 return c
287 }
288 return nil
289 }
290
291
292 func (in *CDISpec) DeepCopyInto(out *CDISpec) {
293 *out = *in
294 if in.UninstallStrategy != nil {
295 in, out := &in.UninstallStrategy, &out.UninstallStrategy
296 *out = new(CDIUninstallStrategy)
297 **out = **in
298 }
299 in.Infra.DeepCopyInto(&out.Infra)
300 in.Workloads.DeepCopyInto(&out.Workloads)
301 if in.CloneStrategyOverride != nil {
302 in, out := &in.CloneStrategyOverride, &out.CloneStrategyOverride
303 *out = new(CDICloneStrategy)
304 **out = **in
305 }
306 if in.Config != nil {
307 in, out := &in.Config, &out.Config
308 *out = new(CDIConfigSpec)
309 (*in).DeepCopyInto(*out)
310 }
311 if in.CertConfig != nil {
312 in, out := &in.CertConfig, &out.CertConfig
313 *out = new(CDICertConfig)
314 (*in).DeepCopyInto(*out)
315 }
316 if in.PriorityClass != nil {
317 in, out := &in.PriorityClass, &out.PriorityClass
318 *out = new(CDIPriorityClass)
319 **out = **in
320 }
321 return
322 }
323
324
325 func (in *CDISpec) DeepCopy() *CDISpec {
326 if in == nil {
327 return nil
328 }
329 out := new(CDISpec)
330 in.DeepCopyInto(out)
331 return out
332 }
333
334
335 func (in *CDIStatus) DeepCopyInto(out *CDIStatus) {
336 *out = *in
337 in.Status.DeepCopyInto(&out.Status)
338 return
339 }
340
341
342 func (in *CDIStatus) DeepCopy() *CDIStatus {
343 if in == nil {
344 return nil
345 }
346 out := new(CDIStatus)
347 in.DeepCopyInto(out)
348 return out
349 }
350
351
352 func (in *CertConfig) DeepCopyInto(out *CertConfig) {
353 *out = *in
354 if in.Duration != nil {
355 in, out := &in.Duration, &out.Duration
356 *out = new(metav1.Duration)
357 **out = **in
358 }
359 if in.RenewBefore != nil {
360 in, out := &in.RenewBefore, &out.RenewBefore
361 *out = new(metav1.Duration)
362 **out = **in
363 }
364 return
365 }
366
367
368 func (in *CertConfig) DeepCopy() *CertConfig {
369 if in == nil {
370 return nil
371 }
372 out := new(CertConfig)
373 in.DeepCopyInto(out)
374 return out
375 }
376
377
378 func (in *ClaimPropertySet) DeepCopyInto(out *ClaimPropertySet) {
379 *out = *in
380 if in.AccessModes != nil {
381 in, out := &in.AccessModes, &out.AccessModes
382 *out = make([]v1.PersistentVolumeAccessMode, len(*in))
383 copy(*out, *in)
384 }
385 if in.VolumeMode != nil {
386 in, out := &in.VolumeMode, &out.VolumeMode
387 *out = new(v1.PersistentVolumeMode)
388 **out = **in
389 }
390 return
391 }
392
393
394 func (in *ClaimPropertySet) DeepCopy() *ClaimPropertySet {
395 if in == nil {
396 return nil
397 }
398 out := new(ClaimPropertySet)
399 in.DeepCopyInto(out)
400 return out
401 }
402
403
404 func (in *ConditionState) DeepCopyInto(out *ConditionState) {
405 *out = *in
406 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
407 in.LastHeartbeatTime.DeepCopyInto(&out.LastHeartbeatTime)
408 return
409 }
410
411
412 func (in *ConditionState) DeepCopy() *ConditionState {
413 if in == nil {
414 return nil
415 }
416 out := new(ConditionState)
417 in.DeepCopyInto(out)
418 return out
419 }
420
421
422 func (in *DataImportCron) DeepCopyInto(out *DataImportCron) {
423 *out = *in
424 out.TypeMeta = in.TypeMeta
425 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
426 in.Spec.DeepCopyInto(&out.Spec)
427 in.Status.DeepCopyInto(&out.Status)
428 return
429 }
430
431
432 func (in *DataImportCron) DeepCopy() *DataImportCron {
433 if in == nil {
434 return nil
435 }
436 out := new(DataImportCron)
437 in.DeepCopyInto(out)
438 return out
439 }
440
441
442 func (in *DataImportCron) DeepCopyObject() runtime.Object {
443 if c := in.DeepCopy(); c != nil {
444 return c
445 }
446 return nil
447 }
448
449
450 func (in *DataImportCronCondition) DeepCopyInto(out *DataImportCronCondition) {
451 *out = *in
452 in.ConditionState.DeepCopyInto(&out.ConditionState)
453 return
454 }
455
456
457 func (in *DataImportCronCondition) DeepCopy() *DataImportCronCondition {
458 if in == nil {
459 return nil
460 }
461 out := new(DataImportCronCondition)
462 in.DeepCopyInto(out)
463 return out
464 }
465
466
467 func (in *DataImportCronList) DeepCopyInto(out *DataImportCronList) {
468 *out = *in
469 out.TypeMeta = in.TypeMeta
470 in.ListMeta.DeepCopyInto(&out.ListMeta)
471 if in.Items != nil {
472 in, out := &in.Items, &out.Items
473 *out = make([]DataImportCron, len(*in))
474 for i := range *in {
475 (*in)[i].DeepCopyInto(&(*out)[i])
476 }
477 }
478 return
479 }
480
481
482 func (in *DataImportCronList) DeepCopy() *DataImportCronList {
483 if in == nil {
484 return nil
485 }
486 out := new(DataImportCronList)
487 in.DeepCopyInto(out)
488 return out
489 }
490
491
492 func (in *DataImportCronList) DeepCopyObject() runtime.Object {
493 if c := in.DeepCopy(); c != nil {
494 return c
495 }
496 return nil
497 }
498
499
500 func (in *DataImportCronSpec) DeepCopyInto(out *DataImportCronSpec) {
501 *out = *in
502 in.Template.DeepCopyInto(&out.Template)
503 if in.GarbageCollect != nil {
504 in, out := &in.GarbageCollect, &out.GarbageCollect
505 *out = new(DataImportCronGarbageCollect)
506 **out = **in
507 }
508 if in.ImportsToKeep != nil {
509 in, out := &in.ImportsToKeep, &out.ImportsToKeep
510 *out = new(int32)
511 **out = **in
512 }
513 if in.RetentionPolicy != nil {
514 in, out := &in.RetentionPolicy, &out.RetentionPolicy
515 *out = new(DataImportCronRetentionPolicy)
516 **out = **in
517 }
518 return
519 }
520
521
522 func (in *DataImportCronSpec) DeepCopy() *DataImportCronSpec {
523 if in == nil {
524 return nil
525 }
526 out := new(DataImportCronSpec)
527 in.DeepCopyInto(out)
528 return out
529 }
530
531
532 func (in *DataImportCronStatus) DeepCopyInto(out *DataImportCronStatus) {
533 *out = *in
534 if in.CurrentImports != nil {
535 in, out := &in.CurrentImports, &out.CurrentImports
536 *out = make([]ImportStatus, len(*in))
537 copy(*out, *in)
538 }
539 if in.LastImportedPVC != nil {
540 in, out := &in.LastImportedPVC, &out.LastImportedPVC
541 *out = new(DataVolumeSourcePVC)
542 **out = **in
543 }
544 if in.LastExecutionTimestamp != nil {
545 in, out := &in.LastExecutionTimestamp, &out.LastExecutionTimestamp
546 *out = (*in).DeepCopy()
547 }
548 if in.LastImportTimestamp != nil {
549 in, out := &in.LastImportTimestamp, &out.LastImportTimestamp
550 *out = (*in).DeepCopy()
551 }
552 if in.Conditions != nil {
553 in, out := &in.Conditions, &out.Conditions
554 *out = make([]DataImportCronCondition, len(*in))
555 for i := range *in {
556 (*in)[i].DeepCopyInto(&(*out)[i])
557 }
558 }
559 return
560 }
561
562
563 func (in *DataImportCronStatus) DeepCopy() *DataImportCronStatus {
564 if in == nil {
565 return nil
566 }
567 out := new(DataImportCronStatus)
568 in.DeepCopyInto(out)
569 return out
570 }
571
572
573 func (in *DataSource) DeepCopyInto(out *DataSource) {
574 *out = *in
575 out.TypeMeta = in.TypeMeta
576 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
577 in.Spec.DeepCopyInto(&out.Spec)
578 in.Status.DeepCopyInto(&out.Status)
579 return
580 }
581
582
583 func (in *DataSource) DeepCopy() *DataSource {
584 if in == nil {
585 return nil
586 }
587 out := new(DataSource)
588 in.DeepCopyInto(out)
589 return out
590 }
591
592
593 func (in *DataSource) DeepCopyObject() runtime.Object {
594 if c := in.DeepCopy(); c != nil {
595 return c
596 }
597 return nil
598 }
599
600
601 func (in *DataSourceCondition) DeepCopyInto(out *DataSourceCondition) {
602 *out = *in
603 in.ConditionState.DeepCopyInto(&out.ConditionState)
604 return
605 }
606
607
608 func (in *DataSourceCondition) DeepCopy() *DataSourceCondition {
609 if in == nil {
610 return nil
611 }
612 out := new(DataSourceCondition)
613 in.DeepCopyInto(out)
614 return out
615 }
616
617
618 func (in *DataSourceList) DeepCopyInto(out *DataSourceList) {
619 *out = *in
620 out.TypeMeta = in.TypeMeta
621 in.ListMeta.DeepCopyInto(&out.ListMeta)
622 if in.Items != nil {
623 in, out := &in.Items, &out.Items
624 *out = make([]DataSource, len(*in))
625 for i := range *in {
626 (*in)[i].DeepCopyInto(&(*out)[i])
627 }
628 }
629 return
630 }
631
632
633 func (in *DataSourceList) DeepCopy() *DataSourceList {
634 if in == nil {
635 return nil
636 }
637 out := new(DataSourceList)
638 in.DeepCopyInto(out)
639 return out
640 }
641
642
643 func (in *DataSourceList) DeepCopyObject() runtime.Object {
644 if c := in.DeepCopy(); c != nil {
645 return c
646 }
647 return nil
648 }
649
650
651 func (in *DataSourceSource) DeepCopyInto(out *DataSourceSource) {
652 *out = *in
653 if in.PVC != nil {
654 in, out := &in.PVC, &out.PVC
655 *out = new(DataVolumeSourcePVC)
656 **out = **in
657 }
658 if in.Snapshot != nil {
659 in, out := &in.Snapshot, &out.Snapshot
660 *out = new(DataVolumeSourceSnapshot)
661 **out = **in
662 }
663 return
664 }
665
666
667 func (in *DataSourceSource) DeepCopy() *DataSourceSource {
668 if in == nil {
669 return nil
670 }
671 out := new(DataSourceSource)
672 in.DeepCopyInto(out)
673 return out
674 }
675
676
677 func (in *DataSourceSpec) DeepCopyInto(out *DataSourceSpec) {
678 *out = *in
679 in.Source.DeepCopyInto(&out.Source)
680 return
681 }
682
683
684 func (in *DataSourceSpec) DeepCopy() *DataSourceSpec {
685 if in == nil {
686 return nil
687 }
688 out := new(DataSourceSpec)
689 in.DeepCopyInto(out)
690 return out
691 }
692
693
694 func (in *DataSourceStatus) DeepCopyInto(out *DataSourceStatus) {
695 *out = *in
696 in.Source.DeepCopyInto(&out.Source)
697 if in.Conditions != nil {
698 in, out := &in.Conditions, &out.Conditions
699 *out = make([]DataSourceCondition, len(*in))
700 for i := range *in {
701 (*in)[i].DeepCopyInto(&(*out)[i])
702 }
703 }
704 return
705 }
706
707
708 func (in *DataSourceStatus) DeepCopy() *DataSourceStatus {
709 if in == nil {
710 return nil
711 }
712 out := new(DataSourceStatus)
713 in.DeepCopyInto(out)
714 return out
715 }
716
717
718 func (in *DataVolume) DeepCopyInto(out *DataVolume) {
719 *out = *in
720 out.TypeMeta = in.TypeMeta
721 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
722 in.Spec.DeepCopyInto(&out.Spec)
723 in.Status.DeepCopyInto(&out.Status)
724 return
725 }
726
727
728 func (in *DataVolume) DeepCopy() *DataVolume {
729 if in == nil {
730 return nil
731 }
732 out := new(DataVolume)
733 in.DeepCopyInto(out)
734 return out
735 }
736
737
738 func (in *DataVolume) DeepCopyObject() runtime.Object {
739 if c := in.DeepCopy(); c != nil {
740 return c
741 }
742 return nil
743 }
744
745
746 func (in *DataVolumeBlankImage) DeepCopyInto(out *DataVolumeBlankImage) {
747 *out = *in
748 return
749 }
750
751
752 func (in *DataVolumeBlankImage) DeepCopy() *DataVolumeBlankImage {
753 if in == nil {
754 return nil
755 }
756 out := new(DataVolumeBlankImage)
757 in.DeepCopyInto(out)
758 return out
759 }
760
761
762 func (in *DataVolumeCheckpoint) DeepCopyInto(out *DataVolumeCheckpoint) {
763 *out = *in
764 return
765 }
766
767
768 func (in *DataVolumeCheckpoint) DeepCopy() *DataVolumeCheckpoint {
769 if in == nil {
770 return nil
771 }
772 out := new(DataVolumeCheckpoint)
773 in.DeepCopyInto(out)
774 return out
775 }
776
777
778 func (in *DataVolumeCondition) DeepCopyInto(out *DataVolumeCondition) {
779 *out = *in
780 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
781 in.LastHeartbeatTime.DeepCopyInto(&out.LastHeartbeatTime)
782 return
783 }
784
785
786 func (in *DataVolumeCondition) DeepCopy() *DataVolumeCondition {
787 if in == nil {
788 return nil
789 }
790 out := new(DataVolumeCondition)
791 in.DeepCopyInto(out)
792 return out
793 }
794
795
796 func (in *DataVolumeList) DeepCopyInto(out *DataVolumeList) {
797 *out = *in
798 out.TypeMeta = in.TypeMeta
799 in.ListMeta.DeepCopyInto(&out.ListMeta)
800 if in.Items != nil {
801 in, out := &in.Items, &out.Items
802 *out = make([]DataVolume, len(*in))
803 for i := range *in {
804 (*in)[i].DeepCopyInto(&(*out)[i])
805 }
806 }
807 return
808 }
809
810
811 func (in *DataVolumeList) DeepCopy() *DataVolumeList {
812 if in == nil {
813 return nil
814 }
815 out := new(DataVolumeList)
816 in.DeepCopyInto(out)
817 return out
818 }
819
820
821 func (in *DataVolumeList) DeepCopyObject() runtime.Object {
822 if c := in.DeepCopy(); c != nil {
823 return c
824 }
825 return nil
826 }
827
828
829 func (in *DataVolumeSource) DeepCopyInto(out *DataVolumeSource) {
830 *out = *in
831 if in.HTTP != nil {
832 in, out := &in.HTTP, &out.HTTP
833 *out = new(DataVolumeSourceHTTP)
834 (*in).DeepCopyInto(*out)
835 }
836 if in.S3 != nil {
837 in, out := &in.S3, &out.S3
838 *out = new(DataVolumeSourceS3)
839 **out = **in
840 }
841 if in.GCS != nil {
842 in, out := &in.GCS, &out.GCS
843 *out = new(DataVolumeSourceGCS)
844 **out = **in
845 }
846 if in.Registry != nil {
847 in, out := &in.Registry, &out.Registry
848 *out = new(DataVolumeSourceRegistry)
849 (*in).DeepCopyInto(*out)
850 }
851 if in.PVC != nil {
852 in, out := &in.PVC, &out.PVC
853 *out = new(DataVolumeSourcePVC)
854 **out = **in
855 }
856 if in.Upload != nil {
857 in, out := &in.Upload, &out.Upload
858 *out = new(DataVolumeSourceUpload)
859 **out = **in
860 }
861 if in.Blank != nil {
862 in, out := &in.Blank, &out.Blank
863 *out = new(DataVolumeBlankImage)
864 **out = **in
865 }
866 if in.Imageio != nil {
867 in, out := &in.Imageio, &out.Imageio
868 *out = new(DataVolumeSourceImageIO)
869 **out = **in
870 }
871 if in.VDDK != nil {
872 in, out := &in.VDDK, &out.VDDK
873 *out = new(DataVolumeSourceVDDK)
874 **out = **in
875 }
876 if in.Snapshot != nil {
877 in, out := &in.Snapshot, &out.Snapshot
878 *out = new(DataVolumeSourceSnapshot)
879 **out = **in
880 }
881 return
882 }
883
884
885 func (in *DataVolumeSource) DeepCopy() *DataVolumeSource {
886 if in == nil {
887 return nil
888 }
889 out := new(DataVolumeSource)
890 in.DeepCopyInto(out)
891 return out
892 }
893
894
895 func (in *DataVolumeSourceGCS) DeepCopyInto(out *DataVolumeSourceGCS) {
896 *out = *in
897 return
898 }
899
900
901 func (in *DataVolumeSourceGCS) DeepCopy() *DataVolumeSourceGCS {
902 if in == nil {
903 return nil
904 }
905 out := new(DataVolumeSourceGCS)
906 in.DeepCopyInto(out)
907 return out
908 }
909
910
911 func (in *DataVolumeSourceHTTP) DeepCopyInto(out *DataVolumeSourceHTTP) {
912 *out = *in
913 if in.ExtraHeaders != nil {
914 in, out := &in.ExtraHeaders, &out.ExtraHeaders
915 *out = make([]string, len(*in))
916 copy(*out, *in)
917 }
918 if in.SecretExtraHeaders != nil {
919 in, out := &in.SecretExtraHeaders, &out.SecretExtraHeaders
920 *out = make([]string, len(*in))
921 copy(*out, *in)
922 }
923 return
924 }
925
926
927 func (in *DataVolumeSourceHTTP) DeepCopy() *DataVolumeSourceHTTP {
928 if in == nil {
929 return nil
930 }
931 out := new(DataVolumeSourceHTTP)
932 in.DeepCopyInto(out)
933 return out
934 }
935
936
937 func (in *DataVolumeSourceImageIO) DeepCopyInto(out *DataVolumeSourceImageIO) {
938 *out = *in
939 return
940 }
941
942
943 func (in *DataVolumeSourceImageIO) DeepCopy() *DataVolumeSourceImageIO {
944 if in == nil {
945 return nil
946 }
947 out := new(DataVolumeSourceImageIO)
948 in.DeepCopyInto(out)
949 return out
950 }
951
952
953 func (in *DataVolumeSourcePVC) DeepCopyInto(out *DataVolumeSourcePVC) {
954 *out = *in
955 return
956 }
957
958
959 func (in *DataVolumeSourcePVC) DeepCopy() *DataVolumeSourcePVC {
960 if in == nil {
961 return nil
962 }
963 out := new(DataVolumeSourcePVC)
964 in.DeepCopyInto(out)
965 return out
966 }
967
968
969 func (in *DataVolumeSourceRef) DeepCopyInto(out *DataVolumeSourceRef) {
970 *out = *in
971 if in.Namespace != nil {
972 in, out := &in.Namespace, &out.Namespace
973 *out = new(string)
974 **out = **in
975 }
976 return
977 }
978
979
980 func (in *DataVolumeSourceRef) DeepCopy() *DataVolumeSourceRef {
981 if in == nil {
982 return nil
983 }
984 out := new(DataVolumeSourceRef)
985 in.DeepCopyInto(out)
986 return out
987 }
988
989
990 func (in *DataVolumeSourceRegistry) DeepCopyInto(out *DataVolumeSourceRegistry) {
991 *out = *in
992 if in.URL != nil {
993 in, out := &in.URL, &out.URL
994 *out = new(string)
995 **out = **in
996 }
997 if in.ImageStream != nil {
998 in, out := &in.ImageStream, &out.ImageStream
999 *out = new(string)
1000 **out = **in
1001 }
1002 if in.PullMethod != nil {
1003 in, out := &in.PullMethod, &out.PullMethod
1004 *out = new(RegistryPullMethod)
1005 **out = **in
1006 }
1007 if in.SecretRef != nil {
1008 in, out := &in.SecretRef, &out.SecretRef
1009 *out = new(string)
1010 **out = **in
1011 }
1012 if in.CertConfigMap != nil {
1013 in, out := &in.CertConfigMap, &out.CertConfigMap
1014 *out = new(string)
1015 **out = **in
1016 }
1017 return
1018 }
1019
1020
1021 func (in *DataVolumeSourceRegistry) DeepCopy() *DataVolumeSourceRegistry {
1022 if in == nil {
1023 return nil
1024 }
1025 out := new(DataVolumeSourceRegistry)
1026 in.DeepCopyInto(out)
1027 return out
1028 }
1029
1030
1031 func (in *DataVolumeSourceS3) DeepCopyInto(out *DataVolumeSourceS3) {
1032 *out = *in
1033 return
1034 }
1035
1036
1037 func (in *DataVolumeSourceS3) DeepCopy() *DataVolumeSourceS3 {
1038 if in == nil {
1039 return nil
1040 }
1041 out := new(DataVolumeSourceS3)
1042 in.DeepCopyInto(out)
1043 return out
1044 }
1045
1046
1047 func (in *DataVolumeSourceSnapshot) DeepCopyInto(out *DataVolumeSourceSnapshot) {
1048 *out = *in
1049 return
1050 }
1051
1052
1053 func (in *DataVolumeSourceSnapshot) DeepCopy() *DataVolumeSourceSnapshot {
1054 if in == nil {
1055 return nil
1056 }
1057 out := new(DataVolumeSourceSnapshot)
1058 in.DeepCopyInto(out)
1059 return out
1060 }
1061
1062
1063 func (in *DataVolumeSourceUpload) DeepCopyInto(out *DataVolumeSourceUpload) {
1064 *out = *in
1065 return
1066 }
1067
1068
1069 func (in *DataVolumeSourceUpload) DeepCopy() *DataVolumeSourceUpload {
1070 if in == nil {
1071 return nil
1072 }
1073 out := new(DataVolumeSourceUpload)
1074 in.DeepCopyInto(out)
1075 return out
1076 }
1077
1078
1079 func (in *DataVolumeSourceVDDK) DeepCopyInto(out *DataVolumeSourceVDDK) {
1080 *out = *in
1081 return
1082 }
1083
1084
1085 func (in *DataVolumeSourceVDDK) DeepCopy() *DataVolumeSourceVDDK {
1086 if in == nil {
1087 return nil
1088 }
1089 out := new(DataVolumeSourceVDDK)
1090 in.DeepCopyInto(out)
1091 return out
1092 }
1093
1094
1095 func (in *DataVolumeSpec) DeepCopyInto(out *DataVolumeSpec) {
1096 *out = *in
1097 if in.Source != nil {
1098 in, out := &in.Source, &out.Source
1099 *out = new(DataVolumeSource)
1100 (*in).DeepCopyInto(*out)
1101 }
1102 if in.SourceRef != nil {
1103 in, out := &in.SourceRef, &out.SourceRef
1104 *out = new(DataVolumeSourceRef)
1105 (*in).DeepCopyInto(*out)
1106 }
1107 if in.PVC != nil {
1108 in, out := &in.PVC, &out.PVC
1109 *out = new(v1.PersistentVolumeClaimSpec)
1110 (*in).DeepCopyInto(*out)
1111 }
1112 if in.Storage != nil {
1113 in, out := &in.Storage, &out.Storage
1114 *out = new(StorageSpec)
1115 (*in).DeepCopyInto(*out)
1116 }
1117 if in.Checkpoints != nil {
1118 in, out := &in.Checkpoints, &out.Checkpoints
1119 *out = make([]DataVolumeCheckpoint, len(*in))
1120 copy(*out, *in)
1121 }
1122 if in.Preallocation != nil {
1123 in, out := &in.Preallocation, &out.Preallocation
1124 *out = new(bool)
1125 **out = **in
1126 }
1127 return
1128 }
1129
1130
1131 func (in *DataVolumeSpec) DeepCopy() *DataVolumeSpec {
1132 if in == nil {
1133 return nil
1134 }
1135 out := new(DataVolumeSpec)
1136 in.DeepCopyInto(out)
1137 return out
1138 }
1139
1140
1141 func (in *DataVolumeStatus) DeepCopyInto(out *DataVolumeStatus) {
1142 *out = *in
1143 if in.Conditions != nil {
1144 in, out := &in.Conditions, &out.Conditions
1145 *out = make([]DataVolumeCondition, len(*in))
1146 for i := range *in {
1147 (*in)[i].DeepCopyInto(&(*out)[i])
1148 }
1149 }
1150 return
1151 }
1152
1153
1154 func (in *DataVolumeStatus) DeepCopy() *DataVolumeStatus {
1155 if in == nil {
1156 return nil
1157 }
1158 out := new(DataVolumeStatus)
1159 in.DeepCopyInto(out)
1160 return out
1161 }
1162
1163
1164 func (in *FilesystemOverhead) DeepCopyInto(out *FilesystemOverhead) {
1165 *out = *in
1166 if in.StorageClass != nil {
1167 in, out := &in.StorageClass, &out.StorageClass
1168 *out = make(map[string]Percent, len(*in))
1169 for key, val := range *in {
1170 (*out)[key] = val
1171 }
1172 }
1173 return
1174 }
1175
1176
1177 func (in *FilesystemOverhead) DeepCopy() *FilesystemOverhead {
1178 if in == nil {
1179 return nil
1180 }
1181 out := new(FilesystemOverhead)
1182 in.DeepCopyInto(out)
1183 return out
1184 }
1185
1186
1187 func (in *ImportProxy) DeepCopyInto(out *ImportProxy) {
1188 *out = *in
1189 if in.HTTPProxy != nil {
1190 in, out := &in.HTTPProxy, &out.HTTPProxy
1191 *out = new(string)
1192 **out = **in
1193 }
1194 if in.HTTPSProxy != nil {
1195 in, out := &in.HTTPSProxy, &out.HTTPSProxy
1196 *out = new(string)
1197 **out = **in
1198 }
1199 if in.NoProxy != nil {
1200 in, out := &in.NoProxy, &out.NoProxy
1201 *out = new(string)
1202 **out = **in
1203 }
1204 if in.TrustedCAProxy != nil {
1205 in, out := &in.TrustedCAProxy, &out.TrustedCAProxy
1206 *out = new(string)
1207 **out = **in
1208 }
1209 return
1210 }
1211
1212
1213 func (in *ImportProxy) DeepCopy() *ImportProxy {
1214 if in == nil {
1215 return nil
1216 }
1217 out := new(ImportProxy)
1218 in.DeepCopyInto(out)
1219 return out
1220 }
1221
1222
1223 func (in *ImportSourceType) DeepCopyInto(out *ImportSourceType) {
1224 *out = *in
1225 if in.HTTP != nil {
1226 in, out := &in.HTTP, &out.HTTP
1227 *out = new(DataVolumeSourceHTTP)
1228 (*in).DeepCopyInto(*out)
1229 }
1230 if in.S3 != nil {
1231 in, out := &in.S3, &out.S3
1232 *out = new(DataVolumeSourceS3)
1233 **out = **in
1234 }
1235 if in.Registry != nil {
1236 in, out := &in.Registry, &out.Registry
1237 *out = new(DataVolumeSourceRegistry)
1238 (*in).DeepCopyInto(*out)
1239 }
1240 if in.GCS != nil {
1241 in, out := &in.GCS, &out.GCS
1242 *out = new(DataVolumeSourceGCS)
1243 **out = **in
1244 }
1245 if in.Blank != nil {
1246 in, out := &in.Blank, &out.Blank
1247 *out = new(DataVolumeBlankImage)
1248 **out = **in
1249 }
1250 if in.Imageio != nil {
1251 in, out := &in.Imageio, &out.Imageio
1252 *out = new(DataVolumeSourceImageIO)
1253 **out = **in
1254 }
1255 if in.VDDK != nil {
1256 in, out := &in.VDDK, &out.VDDK
1257 *out = new(DataVolumeSourceVDDK)
1258 **out = **in
1259 }
1260 return
1261 }
1262
1263
1264 func (in *ImportSourceType) DeepCopy() *ImportSourceType {
1265 if in == nil {
1266 return nil
1267 }
1268 out := new(ImportSourceType)
1269 in.DeepCopyInto(out)
1270 return out
1271 }
1272
1273
1274 func (in *ImportStatus) DeepCopyInto(out *ImportStatus) {
1275 *out = *in
1276 return
1277 }
1278
1279
1280 func (in *ImportStatus) DeepCopy() *ImportStatus {
1281 if in == nil {
1282 return nil
1283 }
1284 out := new(ImportStatus)
1285 in.DeepCopyInto(out)
1286 return out
1287 }
1288
1289
1290 func (in *ObjectTransfer) DeepCopyInto(out *ObjectTransfer) {
1291 *out = *in
1292 out.TypeMeta = in.TypeMeta
1293 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
1294 in.Spec.DeepCopyInto(&out.Spec)
1295 in.Status.DeepCopyInto(&out.Status)
1296 return
1297 }
1298
1299
1300 func (in *ObjectTransfer) DeepCopy() *ObjectTransfer {
1301 if in == nil {
1302 return nil
1303 }
1304 out := new(ObjectTransfer)
1305 in.DeepCopyInto(out)
1306 return out
1307 }
1308
1309
1310 func (in *ObjectTransfer) DeepCopyObject() runtime.Object {
1311 if c := in.DeepCopy(); c != nil {
1312 return c
1313 }
1314 return nil
1315 }
1316
1317
1318 func (in *ObjectTransferCondition) DeepCopyInto(out *ObjectTransferCondition) {
1319 *out = *in
1320 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
1321 in.LastHeartbeatTime.DeepCopyInto(&out.LastHeartbeatTime)
1322 return
1323 }
1324
1325
1326 func (in *ObjectTransferCondition) DeepCopy() *ObjectTransferCondition {
1327 if in == nil {
1328 return nil
1329 }
1330 out := new(ObjectTransferCondition)
1331 in.DeepCopyInto(out)
1332 return out
1333 }
1334
1335
1336 func (in *ObjectTransferList) DeepCopyInto(out *ObjectTransferList) {
1337 *out = *in
1338 out.TypeMeta = in.TypeMeta
1339 in.ListMeta.DeepCopyInto(&out.ListMeta)
1340 if in.Items != nil {
1341 in, out := &in.Items, &out.Items
1342 *out = make([]ObjectTransfer, len(*in))
1343 for i := range *in {
1344 (*in)[i].DeepCopyInto(&(*out)[i])
1345 }
1346 }
1347 return
1348 }
1349
1350
1351 func (in *ObjectTransferList) DeepCopy() *ObjectTransferList {
1352 if in == nil {
1353 return nil
1354 }
1355 out := new(ObjectTransferList)
1356 in.DeepCopyInto(out)
1357 return out
1358 }
1359
1360
1361 func (in *ObjectTransferList) DeepCopyObject() runtime.Object {
1362 if c := in.DeepCopy(); c != nil {
1363 return c
1364 }
1365 return nil
1366 }
1367
1368
1369 func (in *ObjectTransferSpec) DeepCopyInto(out *ObjectTransferSpec) {
1370 *out = *in
1371 in.Source.DeepCopyInto(&out.Source)
1372 in.Target.DeepCopyInto(&out.Target)
1373 if in.ParentName != nil {
1374 in, out := &in.ParentName, &out.ParentName
1375 *out = new(string)
1376 **out = **in
1377 }
1378 return
1379 }
1380
1381
1382 func (in *ObjectTransferSpec) DeepCopy() *ObjectTransferSpec {
1383 if in == nil {
1384 return nil
1385 }
1386 out := new(ObjectTransferSpec)
1387 in.DeepCopyInto(out)
1388 return out
1389 }
1390
1391
1392 func (in *ObjectTransferStatus) DeepCopyInto(out *ObjectTransferStatus) {
1393 *out = *in
1394 if in.Data != nil {
1395 in, out := &in.Data, &out.Data
1396 *out = make(map[string]string, len(*in))
1397 for key, val := range *in {
1398 (*out)[key] = val
1399 }
1400 }
1401 if in.Conditions != nil {
1402 in, out := &in.Conditions, &out.Conditions
1403 *out = make([]ObjectTransferCondition, len(*in))
1404 for i := range *in {
1405 (*in)[i].DeepCopyInto(&(*out)[i])
1406 }
1407 }
1408 return
1409 }
1410
1411
1412 func (in *ObjectTransferStatus) DeepCopy() *ObjectTransferStatus {
1413 if in == nil {
1414 return nil
1415 }
1416 out := new(ObjectTransferStatus)
1417 in.DeepCopyInto(out)
1418 return out
1419 }
1420
1421
1422 func (in *StorageProfile) DeepCopyInto(out *StorageProfile) {
1423 *out = *in
1424 out.TypeMeta = in.TypeMeta
1425 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
1426 in.Spec.DeepCopyInto(&out.Spec)
1427 in.Status.DeepCopyInto(&out.Status)
1428 return
1429 }
1430
1431
1432 func (in *StorageProfile) DeepCopy() *StorageProfile {
1433 if in == nil {
1434 return nil
1435 }
1436 out := new(StorageProfile)
1437 in.DeepCopyInto(out)
1438 return out
1439 }
1440
1441
1442 func (in *StorageProfile) DeepCopyObject() runtime.Object {
1443 if c := in.DeepCopy(); c != nil {
1444 return c
1445 }
1446 return nil
1447 }
1448
1449
1450 func (in *StorageProfileList) DeepCopyInto(out *StorageProfileList) {
1451 *out = *in
1452 out.TypeMeta = in.TypeMeta
1453 in.ListMeta.DeepCopyInto(&out.ListMeta)
1454 if in.Items != nil {
1455 in, out := &in.Items, &out.Items
1456 *out = make([]StorageProfile, len(*in))
1457 for i := range *in {
1458 (*in)[i].DeepCopyInto(&(*out)[i])
1459 }
1460 }
1461 return
1462 }
1463
1464
1465 func (in *StorageProfileList) DeepCopy() *StorageProfileList {
1466 if in == nil {
1467 return nil
1468 }
1469 out := new(StorageProfileList)
1470 in.DeepCopyInto(out)
1471 return out
1472 }
1473
1474
1475 func (in *StorageProfileList) DeepCopyObject() runtime.Object {
1476 if c := in.DeepCopy(); c != nil {
1477 return c
1478 }
1479 return nil
1480 }
1481
1482
1483 func (in *StorageProfileSpec) DeepCopyInto(out *StorageProfileSpec) {
1484 *out = *in
1485 if in.CloneStrategy != nil {
1486 in, out := &in.CloneStrategy, &out.CloneStrategy
1487 *out = new(CDICloneStrategy)
1488 **out = **in
1489 }
1490 if in.ClaimPropertySets != nil {
1491 in, out := &in.ClaimPropertySets, &out.ClaimPropertySets
1492 *out = make([]ClaimPropertySet, len(*in))
1493 for i := range *in {
1494 (*in)[i].DeepCopyInto(&(*out)[i])
1495 }
1496 }
1497 return
1498 }
1499
1500
1501 func (in *StorageProfileSpec) DeepCopy() *StorageProfileSpec {
1502 if in == nil {
1503 return nil
1504 }
1505 out := new(StorageProfileSpec)
1506 in.DeepCopyInto(out)
1507 return out
1508 }
1509
1510
1511 func (in *StorageProfileStatus) DeepCopyInto(out *StorageProfileStatus) {
1512 *out = *in
1513 if in.StorageClass != nil {
1514 in, out := &in.StorageClass, &out.StorageClass
1515 *out = new(string)
1516 **out = **in
1517 }
1518 if in.Provisioner != nil {
1519 in, out := &in.Provisioner, &out.Provisioner
1520 *out = new(string)
1521 **out = **in
1522 }
1523 if in.CloneStrategy != nil {
1524 in, out := &in.CloneStrategy, &out.CloneStrategy
1525 *out = new(CDICloneStrategy)
1526 **out = **in
1527 }
1528 if in.ClaimPropertySets != nil {
1529 in, out := &in.ClaimPropertySets, &out.ClaimPropertySets
1530 *out = make([]ClaimPropertySet, len(*in))
1531 for i := range *in {
1532 (*in)[i].DeepCopyInto(&(*out)[i])
1533 }
1534 }
1535 return
1536 }
1537
1538
1539 func (in *StorageProfileStatus) DeepCopy() *StorageProfileStatus {
1540 if in == nil {
1541 return nil
1542 }
1543 out := new(StorageProfileStatus)
1544 in.DeepCopyInto(out)
1545 return out
1546 }
1547
1548
1549 func (in *StorageSpec) DeepCopyInto(out *StorageSpec) {
1550 *out = *in
1551 if in.AccessModes != nil {
1552 in, out := &in.AccessModes, &out.AccessModes
1553 *out = make([]v1.PersistentVolumeAccessMode, len(*in))
1554 copy(*out, *in)
1555 }
1556 if in.Selector != nil {
1557 in, out := &in.Selector, &out.Selector
1558 *out = new(metav1.LabelSelector)
1559 (*in).DeepCopyInto(*out)
1560 }
1561 in.Resources.DeepCopyInto(&out.Resources)
1562 if in.StorageClassName != nil {
1563 in, out := &in.StorageClassName, &out.StorageClassName
1564 *out = new(string)
1565 **out = **in
1566 }
1567 if in.VolumeMode != nil {
1568 in, out := &in.VolumeMode, &out.VolumeMode
1569 *out = new(v1.PersistentVolumeMode)
1570 **out = **in
1571 }
1572 if in.DataSource != nil {
1573 in, out := &in.DataSource, &out.DataSource
1574 *out = new(v1.TypedLocalObjectReference)
1575 (*in).DeepCopyInto(*out)
1576 }
1577 if in.DataSourceRef != nil {
1578 in, out := &in.DataSourceRef, &out.DataSourceRef
1579 *out = new(v1.TypedObjectReference)
1580 (*in).DeepCopyInto(*out)
1581 }
1582 return
1583 }
1584
1585
1586 func (in *StorageSpec) DeepCopy() *StorageSpec {
1587 if in == nil {
1588 return nil
1589 }
1590 out := new(StorageSpec)
1591 in.DeepCopyInto(out)
1592 return out
1593 }
1594
1595
1596 func (in *TransferSource) DeepCopyInto(out *TransferSource) {
1597 *out = *in
1598 if in.RequiredAnnotations != nil {
1599 in, out := &in.RequiredAnnotations, &out.RequiredAnnotations
1600 *out = make(map[string]string, len(*in))
1601 for key, val := range *in {
1602 (*out)[key] = val
1603 }
1604 }
1605 return
1606 }
1607
1608
1609 func (in *TransferSource) DeepCopy() *TransferSource {
1610 if in == nil {
1611 return nil
1612 }
1613 out := new(TransferSource)
1614 in.DeepCopyInto(out)
1615 return out
1616 }
1617
1618
1619 func (in *TransferTarget) DeepCopyInto(out *TransferTarget) {
1620 *out = *in
1621 if in.Namespace != nil {
1622 in, out := &in.Namespace, &out.Namespace
1623 *out = new(string)
1624 **out = **in
1625 }
1626 if in.Name != nil {
1627 in, out := &in.Name, &out.Name
1628 *out = new(string)
1629 **out = **in
1630 }
1631 return
1632 }
1633
1634
1635 func (in *TransferTarget) DeepCopy() *TransferTarget {
1636 if in == nil {
1637 return nil
1638 }
1639 out := new(TransferTarget)
1640 in.DeepCopyInto(out)
1641 return out
1642 }
1643
1644
1645 func (in *VolumeCloneSource) DeepCopyInto(out *VolumeCloneSource) {
1646 *out = *in
1647 out.TypeMeta = in.TypeMeta
1648 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
1649 in.Spec.DeepCopyInto(&out.Spec)
1650 return
1651 }
1652
1653
1654 func (in *VolumeCloneSource) DeepCopy() *VolumeCloneSource {
1655 if in == nil {
1656 return nil
1657 }
1658 out := new(VolumeCloneSource)
1659 in.DeepCopyInto(out)
1660 return out
1661 }
1662
1663
1664 func (in *VolumeCloneSource) DeepCopyObject() runtime.Object {
1665 if c := in.DeepCopy(); c != nil {
1666 return c
1667 }
1668 return nil
1669 }
1670
1671
1672 func (in *VolumeCloneSourceList) DeepCopyInto(out *VolumeCloneSourceList) {
1673 *out = *in
1674 out.TypeMeta = in.TypeMeta
1675 in.ListMeta.DeepCopyInto(&out.ListMeta)
1676 if in.Items != nil {
1677 in, out := &in.Items, &out.Items
1678 *out = make([]VolumeCloneSource, len(*in))
1679 for i := range *in {
1680 (*in)[i].DeepCopyInto(&(*out)[i])
1681 }
1682 }
1683 return
1684 }
1685
1686
1687 func (in *VolumeCloneSourceList) DeepCopy() *VolumeCloneSourceList {
1688 if in == nil {
1689 return nil
1690 }
1691 out := new(VolumeCloneSourceList)
1692 in.DeepCopyInto(out)
1693 return out
1694 }
1695
1696
1697 func (in *VolumeCloneSourceList) DeepCopyObject() runtime.Object {
1698 if c := in.DeepCopy(); c != nil {
1699 return c
1700 }
1701 return nil
1702 }
1703
1704
1705 func (in *VolumeCloneSourceSpec) DeepCopyInto(out *VolumeCloneSourceSpec) {
1706 *out = *in
1707 in.Source.DeepCopyInto(&out.Source)
1708 if in.Preallocation != nil {
1709 in, out := &in.Preallocation, &out.Preallocation
1710 *out = new(bool)
1711 **out = **in
1712 }
1713 if in.PriorityClassName != nil {
1714 in, out := &in.PriorityClassName, &out.PriorityClassName
1715 *out = new(string)
1716 **out = **in
1717 }
1718 return
1719 }
1720
1721
1722 func (in *VolumeCloneSourceSpec) DeepCopy() *VolumeCloneSourceSpec {
1723 if in == nil {
1724 return nil
1725 }
1726 out := new(VolumeCloneSourceSpec)
1727 in.DeepCopyInto(out)
1728 return out
1729 }
1730
1731
1732 func (in *VolumeImportSource) DeepCopyInto(out *VolumeImportSource) {
1733 *out = *in
1734 out.TypeMeta = in.TypeMeta
1735 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
1736 in.Spec.DeepCopyInto(&out.Spec)
1737 out.Status = in.Status
1738 return
1739 }
1740
1741
1742 func (in *VolumeImportSource) DeepCopy() *VolumeImportSource {
1743 if in == nil {
1744 return nil
1745 }
1746 out := new(VolumeImportSource)
1747 in.DeepCopyInto(out)
1748 return out
1749 }
1750
1751
1752 func (in *VolumeImportSource) DeepCopyObject() runtime.Object {
1753 if c := in.DeepCopy(); c != nil {
1754 return c
1755 }
1756 return nil
1757 }
1758
1759
1760 func (in *VolumeImportSourceList) DeepCopyInto(out *VolumeImportSourceList) {
1761 *out = *in
1762 out.TypeMeta = in.TypeMeta
1763 in.ListMeta.DeepCopyInto(&out.ListMeta)
1764 if in.Items != nil {
1765 in, out := &in.Items, &out.Items
1766 *out = make([]VolumeImportSource, len(*in))
1767 for i := range *in {
1768 (*in)[i].DeepCopyInto(&(*out)[i])
1769 }
1770 }
1771 return
1772 }
1773
1774
1775 func (in *VolumeImportSourceList) DeepCopy() *VolumeImportSourceList {
1776 if in == nil {
1777 return nil
1778 }
1779 out := new(VolumeImportSourceList)
1780 in.DeepCopyInto(out)
1781 return out
1782 }
1783
1784
1785 func (in *VolumeImportSourceList) DeepCopyObject() runtime.Object {
1786 if c := in.DeepCopy(); c != nil {
1787 return c
1788 }
1789 return nil
1790 }
1791
1792
1793 func (in *VolumeImportSourceSpec) DeepCopyInto(out *VolumeImportSourceSpec) {
1794 *out = *in
1795 if in.Source != nil {
1796 in, out := &in.Source, &out.Source
1797 *out = new(ImportSourceType)
1798 (*in).DeepCopyInto(*out)
1799 }
1800 if in.Preallocation != nil {
1801 in, out := &in.Preallocation, &out.Preallocation
1802 *out = new(bool)
1803 **out = **in
1804 }
1805 return
1806 }
1807
1808
1809 func (in *VolumeImportSourceSpec) DeepCopy() *VolumeImportSourceSpec {
1810 if in == nil {
1811 return nil
1812 }
1813 out := new(VolumeImportSourceSpec)
1814 in.DeepCopyInto(out)
1815 return out
1816 }
1817
1818
1819 func (in *VolumeImportSourceStatus) DeepCopyInto(out *VolumeImportSourceStatus) {
1820 *out = *in
1821 return
1822 }
1823
1824
1825 func (in *VolumeImportSourceStatus) DeepCopy() *VolumeImportSourceStatus {
1826 if in == nil {
1827 return nil
1828 }
1829 out := new(VolumeImportSourceStatus)
1830 in.DeepCopyInto(out)
1831 return out
1832 }
1833
1834
1835 func (in *VolumeUploadSource) DeepCopyInto(out *VolumeUploadSource) {
1836 *out = *in
1837 out.TypeMeta = in.TypeMeta
1838 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
1839 in.Spec.DeepCopyInto(&out.Spec)
1840 out.Status = in.Status
1841 return
1842 }
1843
1844
1845 func (in *VolumeUploadSource) DeepCopy() *VolumeUploadSource {
1846 if in == nil {
1847 return nil
1848 }
1849 out := new(VolumeUploadSource)
1850 in.DeepCopyInto(out)
1851 return out
1852 }
1853
1854
1855 func (in *VolumeUploadSource) DeepCopyObject() runtime.Object {
1856 if c := in.DeepCopy(); c != nil {
1857 return c
1858 }
1859 return nil
1860 }
1861
1862
1863 func (in *VolumeUploadSourceList) DeepCopyInto(out *VolumeUploadSourceList) {
1864 *out = *in
1865 out.TypeMeta = in.TypeMeta
1866 in.ListMeta.DeepCopyInto(&out.ListMeta)
1867 if in.Items != nil {
1868 in, out := &in.Items, &out.Items
1869 *out = make([]VolumeImportSource, len(*in))
1870 for i := range *in {
1871 (*in)[i].DeepCopyInto(&(*out)[i])
1872 }
1873 }
1874 return
1875 }
1876
1877
1878 func (in *VolumeUploadSourceList) DeepCopy() *VolumeUploadSourceList {
1879 if in == nil {
1880 return nil
1881 }
1882 out := new(VolumeUploadSourceList)
1883 in.DeepCopyInto(out)
1884 return out
1885 }
1886
1887
1888 func (in *VolumeUploadSourceList) DeepCopyObject() runtime.Object {
1889 if c := in.DeepCopy(); c != nil {
1890 return c
1891 }
1892 return nil
1893 }
1894
1895
1896 func (in *VolumeUploadSourceSpec) DeepCopyInto(out *VolumeUploadSourceSpec) {
1897 *out = *in
1898 if in.Preallocation != nil {
1899 in, out := &in.Preallocation, &out.Preallocation
1900 *out = new(bool)
1901 **out = **in
1902 }
1903 return
1904 }
1905
1906
1907 func (in *VolumeUploadSourceSpec) DeepCopy() *VolumeUploadSourceSpec {
1908 if in == nil {
1909 return nil
1910 }
1911 out := new(VolumeUploadSourceSpec)
1912 in.DeepCopyInto(out)
1913 return out
1914 }
1915
1916
1917 func (in *VolumeUploadSourceStatus) DeepCopyInto(out *VolumeUploadSourceStatus) {
1918 *out = *in
1919 return
1920 }
1921
1922
1923 func (in *VolumeUploadSourceStatus) DeepCopy() *VolumeUploadSourceStatus {
1924 if in == nil {
1925 return nil
1926 }
1927 out := new(VolumeUploadSourceStatus)
1928 in.DeepCopyInto(out)
1929 return out
1930 }
1931
View as plain text