1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 package v1alpha1
21
22 import (
23 "encoding/json"
24 "k8s.io/api/core/v1"
25 "k8s.io/apimachinery/pkg/runtime"
26 "net/http"
27 )
28
29
30 func (in *AWSChaos) DeepCopyInto(out *AWSChaos) {
31 *out = *in
32 out.TypeMeta = in.TypeMeta
33 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
34 in.Spec.DeepCopyInto(&out.Spec)
35 in.Status.DeepCopyInto(&out.Status)
36 }
37
38
39 func (in *AWSChaos) DeepCopy() *AWSChaos {
40 if in == nil {
41 return nil
42 }
43 out := new(AWSChaos)
44 in.DeepCopyInto(out)
45 return out
46 }
47
48
49 func (in *AWSChaos) DeepCopyObject() runtime.Object {
50 if c := in.DeepCopy(); c != nil {
51 return c
52 }
53 return nil
54 }
55
56
57 func (in *AWSChaosList) DeepCopyInto(out *AWSChaosList) {
58 *out = *in
59 out.TypeMeta = in.TypeMeta
60 in.ListMeta.DeepCopyInto(&out.ListMeta)
61 if in.Items != nil {
62 in, out := &in.Items, &out.Items
63 *out = make([]AWSChaos, len(*in))
64 for i := range *in {
65 (*in)[i].DeepCopyInto(&(*out)[i])
66 }
67 }
68 }
69
70
71 func (in *AWSChaosList) DeepCopy() *AWSChaosList {
72 if in == nil {
73 return nil
74 }
75 out := new(AWSChaosList)
76 in.DeepCopyInto(out)
77 return out
78 }
79
80
81 func (in *AWSChaosList) DeepCopyObject() runtime.Object {
82 if c := in.DeepCopy(); c != nil {
83 return c
84 }
85 return nil
86 }
87
88
89 func (in *AWSChaosSpec) DeepCopyInto(out *AWSChaosSpec) {
90 *out = *in
91 if in.Duration != nil {
92 in, out := &in.Duration, &out.Duration
93 *out = new(string)
94 **out = **in
95 }
96 if in.SecretName != nil {
97 in, out := &in.SecretName, &out.SecretName
98 *out = new(string)
99 **out = **in
100 }
101 in.AWSSelector.DeepCopyInto(&out.AWSSelector)
102 }
103
104
105 func (in *AWSChaosSpec) DeepCopy() *AWSChaosSpec {
106 if in == nil {
107 return nil
108 }
109 out := new(AWSChaosSpec)
110 in.DeepCopyInto(out)
111 return out
112 }
113
114
115 func (in *AWSChaosStatus) DeepCopyInto(out *AWSChaosStatus) {
116 *out = *in
117 in.ChaosStatus.DeepCopyInto(&out.ChaosStatus)
118 }
119
120
121 func (in *AWSChaosStatus) DeepCopy() *AWSChaosStatus {
122 if in == nil {
123 return nil
124 }
125 out := new(AWSChaosStatus)
126 in.DeepCopyInto(out)
127 return out
128 }
129
130
131 func (in *AWSSelector) DeepCopyInto(out *AWSSelector) {
132 *out = *in
133 if in.Endpoint != nil {
134 in, out := &in.Endpoint, &out.Endpoint
135 *out = new(string)
136 **out = **in
137 }
138 if in.EbsVolume != nil {
139 in, out := &in.EbsVolume, &out.EbsVolume
140 *out = new(string)
141 **out = **in
142 }
143 if in.DeviceName != nil {
144 in, out := &in.DeviceName, &out.DeviceName
145 *out = new(string)
146 **out = **in
147 }
148 }
149
150
151 func (in *AWSSelector) DeepCopy() *AWSSelector {
152 if in == nil {
153 return nil
154 }
155 out := new(AWSSelector)
156 in.DeepCopyInto(out)
157 return out
158 }
159
160
161 func (in *AttrOverrideSpec) DeepCopyInto(out *AttrOverrideSpec) {
162 *out = *in
163 if in.Ino != nil {
164 in, out := &in.Ino, &out.Ino
165 *out = new(uint64)
166 **out = **in
167 }
168 if in.Size != nil {
169 in, out := &in.Size, &out.Size
170 *out = new(uint64)
171 **out = **in
172 }
173 if in.Blocks != nil {
174 in, out := &in.Blocks, &out.Blocks
175 *out = new(uint64)
176 **out = **in
177 }
178 if in.Atime != nil {
179 in, out := &in.Atime, &out.Atime
180 *out = new(Timespec)
181 **out = **in
182 }
183 if in.Mtime != nil {
184 in, out := &in.Mtime, &out.Mtime
185 *out = new(Timespec)
186 **out = **in
187 }
188 if in.Ctime != nil {
189 in, out := &in.Ctime, &out.Ctime
190 *out = new(Timespec)
191 **out = **in
192 }
193 if in.Kind != nil {
194 in, out := &in.Kind, &out.Kind
195 *out = new(FileType)
196 **out = **in
197 }
198 if in.Perm != nil {
199 in, out := &in.Perm, &out.Perm
200 *out = new(uint16)
201 **out = **in
202 }
203 if in.Nlink != nil {
204 in, out := &in.Nlink, &out.Nlink
205 *out = new(uint32)
206 **out = **in
207 }
208 if in.UID != nil {
209 in, out := &in.UID, &out.UID
210 *out = new(uint32)
211 **out = **in
212 }
213 if in.GID != nil {
214 in, out := &in.GID, &out.GID
215 *out = new(uint32)
216 **out = **in
217 }
218 if in.Rdev != nil {
219 in, out := &in.Rdev, &out.Rdev
220 *out = new(uint32)
221 **out = **in
222 }
223 }
224
225
226 func (in *AttrOverrideSpec) DeepCopy() *AttrOverrideSpec {
227 if in == nil {
228 return nil
229 }
230 out := new(AttrOverrideSpec)
231 in.DeepCopyInto(out)
232 return out
233 }
234
235
236 func (in *AzureChaos) DeepCopyInto(out *AzureChaos) {
237 *out = *in
238 out.TypeMeta = in.TypeMeta
239 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
240 in.Spec.DeepCopyInto(&out.Spec)
241 in.Status.DeepCopyInto(&out.Status)
242 }
243
244
245 func (in *AzureChaos) DeepCopy() *AzureChaos {
246 if in == nil {
247 return nil
248 }
249 out := new(AzureChaos)
250 in.DeepCopyInto(out)
251 return out
252 }
253
254
255 func (in *AzureChaos) DeepCopyObject() runtime.Object {
256 if c := in.DeepCopy(); c != nil {
257 return c
258 }
259 return nil
260 }
261
262
263 func (in *AzureChaosList) DeepCopyInto(out *AzureChaosList) {
264 *out = *in
265 out.TypeMeta = in.TypeMeta
266 in.ListMeta.DeepCopyInto(&out.ListMeta)
267 if in.Items != nil {
268 in, out := &in.Items, &out.Items
269 *out = make([]AzureChaos, len(*in))
270 for i := range *in {
271 (*in)[i].DeepCopyInto(&(*out)[i])
272 }
273 }
274 }
275
276
277 func (in *AzureChaosList) DeepCopy() *AzureChaosList {
278 if in == nil {
279 return nil
280 }
281 out := new(AzureChaosList)
282 in.DeepCopyInto(out)
283 return out
284 }
285
286
287 func (in *AzureChaosList) DeepCopyObject() runtime.Object {
288 if c := in.DeepCopy(); c != nil {
289 return c
290 }
291 return nil
292 }
293
294
295 func (in *AzureChaosSpec) DeepCopyInto(out *AzureChaosSpec) {
296 *out = *in
297 if in.Duration != nil {
298 in, out := &in.Duration, &out.Duration
299 *out = new(string)
300 **out = **in
301 }
302 in.AzureSelector.DeepCopyInto(&out.AzureSelector)
303 }
304
305
306 func (in *AzureChaosSpec) DeepCopy() *AzureChaosSpec {
307 if in == nil {
308 return nil
309 }
310 out := new(AzureChaosSpec)
311 in.DeepCopyInto(out)
312 return out
313 }
314
315
316 func (in *AzureChaosStatus) DeepCopyInto(out *AzureChaosStatus) {
317 *out = *in
318 in.ChaosStatus.DeepCopyInto(&out.ChaosStatus)
319 }
320
321
322 func (in *AzureChaosStatus) DeepCopy() *AzureChaosStatus {
323 if in == nil {
324 return nil
325 }
326 out := new(AzureChaosStatus)
327 in.DeepCopyInto(out)
328 return out
329 }
330
331
332 func (in *AzureSelector) DeepCopyInto(out *AzureSelector) {
333 *out = *in
334 if in.DiskName != nil {
335 in, out := &in.DiskName, &out.DiskName
336 *out = new(string)
337 **out = **in
338 }
339 if in.LUN != nil {
340 in, out := &in.LUN, &out.LUN
341 *out = new(int)
342 **out = **in
343 }
344 if in.SecretName != nil {
345 in, out := &in.SecretName, &out.SecretName
346 *out = new(string)
347 **out = **in
348 }
349 }
350
351
352 func (in *AzureSelector) DeepCopy() *AzureSelector {
353 if in == nil {
354 return nil
355 }
356 out := new(AzureSelector)
357 in.DeepCopyInto(out)
358 return out
359 }
360
361
362 func (in *BandwidthSpec) DeepCopyInto(out *BandwidthSpec) {
363 *out = *in
364 if in.Peakrate != nil {
365 in, out := &in.Peakrate, &out.Peakrate
366 *out = new(uint64)
367 **out = **in
368 }
369 if in.Minburst != nil {
370 in, out := &in.Minburst, &out.Minburst
371 *out = new(uint32)
372 **out = **in
373 }
374 }
375
376
377 func (in *BandwidthSpec) DeepCopy() *BandwidthSpec {
378 if in == nil {
379 return nil
380 }
381 out := new(BandwidthSpec)
382 in.DeepCopyInto(out)
383 return out
384 }
385
386
387 func (in *BlockChaos) DeepCopyInto(out *BlockChaos) {
388 *out = *in
389 out.TypeMeta = in.TypeMeta
390 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
391 in.Spec.DeepCopyInto(&out.Spec)
392 in.Status.DeepCopyInto(&out.Status)
393 }
394
395
396 func (in *BlockChaos) DeepCopy() *BlockChaos {
397 if in == nil {
398 return nil
399 }
400 out := new(BlockChaos)
401 in.DeepCopyInto(out)
402 return out
403 }
404
405
406 func (in *BlockChaos) DeepCopyObject() runtime.Object {
407 if c := in.DeepCopy(); c != nil {
408 return c
409 }
410 return nil
411 }
412
413
414 func (in *BlockChaosList) DeepCopyInto(out *BlockChaosList) {
415 *out = *in
416 out.TypeMeta = in.TypeMeta
417 in.ListMeta.DeepCopyInto(&out.ListMeta)
418 if in.Items != nil {
419 in, out := &in.Items, &out.Items
420 *out = make([]BlockChaos, len(*in))
421 for i := range *in {
422 (*in)[i].DeepCopyInto(&(*out)[i])
423 }
424 }
425 }
426
427
428 func (in *BlockChaosList) DeepCopy() *BlockChaosList {
429 if in == nil {
430 return nil
431 }
432 out := new(BlockChaosList)
433 in.DeepCopyInto(out)
434 return out
435 }
436
437
438 func (in *BlockChaosList) DeepCopyObject() runtime.Object {
439 if c := in.DeepCopy(); c != nil {
440 return c
441 }
442 return nil
443 }
444
445
446 func (in *BlockChaosSpec) DeepCopyInto(out *BlockChaosSpec) {
447 *out = *in
448 if in.Delay != nil {
449 in, out := &in.Delay, &out.Delay
450 *out = new(BlockDelaySpec)
451 **out = **in
452 }
453 in.ContainerNodeVolumePathSelector.DeepCopyInto(&out.ContainerNodeVolumePathSelector)
454 if in.Duration != nil {
455 in, out := &in.Duration, &out.Duration
456 *out = new(string)
457 **out = **in
458 }
459 }
460
461
462 func (in *BlockChaosSpec) DeepCopy() *BlockChaosSpec {
463 if in == nil {
464 return nil
465 }
466 out := new(BlockChaosSpec)
467 in.DeepCopyInto(out)
468 return out
469 }
470
471
472 func (in *BlockChaosStatus) DeepCopyInto(out *BlockChaosStatus) {
473 *out = *in
474 in.ChaosStatus.DeepCopyInto(&out.ChaosStatus)
475 if in.InjectionIds != nil {
476 in, out := &in.InjectionIds, &out.InjectionIds
477 *out = make(map[string]int, len(*in))
478 for key, val := range *in {
479 (*out)[key] = val
480 }
481 }
482 }
483
484
485 func (in *BlockChaosStatus) DeepCopy() *BlockChaosStatus {
486 if in == nil {
487 return nil
488 }
489 out := new(BlockChaosStatus)
490 in.DeepCopyInto(out)
491 return out
492 }
493
494
495 func (in *BlockDelaySpec) DeepCopyInto(out *BlockDelaySpec) {
496 *out = *in
497 }
498
499
500 func (in *BlockDelaySpec) DeepCopy() *BlockDelaySpec {
501 if in == nil {
502 return nil
503 }
504 out := new(BlockDelaySpec)
505 in.DeepCopyInto(out)
506 return out
507 }
508
509
510 func (in *CPUStressor) DeepCopyInto(out *CPUStressor) {
511 *out = *in
512 out.Stressor = in.Stressor
513 if in.Load != nil {
514 in, out := &in.Load, &out.Load
515 *out = new(int)
516 **out = **in
517 }
518 if in.Options != nil {
519 in, out := &in.Options, &out.Options
520 *out = make([]string, len(*in))
521 copy(*out, *in)
522 }
523 }
524
525
526 func (in *CPUStressor) DeepCopy() *CPUStressor {
527 if in == nil {
528 return nil
529 }
530 out := new(CPUStressor)
531 in.DeepCopyInto(out)
532 return out
533 }
534
535
536 func (in *ChaosCondition) DeepCopyInto(out *ChaosCondition) {
537 *out = *in
538 }
539
540
541 func (in *ChaosCondition) DeepCopy() *ChaosCondition {
542 if in == nil {
543 return nil
544 }
545 out := new(ChaosCondition)
546 in.DeepCopyInto(out)
547 return out
548 }
549
550
551 func (in *ChaosOnlyScheduleSpec) DeepCopyInto(out *ChaosOnlyScheduleSpec) {
552 *out = *in
553 if in.StartingDeadlineSeconds != nil {
554 in, out := &in.StartingDeadlineSeconds, &out.StartingDeadlineSeconds
555 *out = new(int64)
556 **out = **in
557 }
558 in.EmbedChaos.DeepCopyInto(&out.EmbedChaos)
559 }
560
561
562 func (in *ChaosOnlyScheduleSpec) DeepCopy() *ChaosOnlyScheduleSpec {
563 if in == nil {
564 return nil
565 }
566 out := new(ChaosOnlyScheduleSpec)
567 in.DeepCopyInto(out)
568 return out
569 }
570
571
572 func (in *ChaosStatus) DeepCopyInto(out *ChaosStatus) {
573 *out = *in
574 if in.Conditions != nil {
575 in, out := &in.Conditions, &out.Conditions
576 *out = make([]ChaosCondition, len(*in))
577 copy(*out, *in)
578 }
579 in.Experiment.DeepCopyInto(&out.Experiment)
580 }
581
582
583 func (in *ChaosStatus) DeepCopy() *ChaosStatus {
584 if in == nil {
585 return nil
586 }
587 out := new(ChaosStatus)
588 in.DeepCopyInto(out)
589 return out
590 }
591
592
593 func (in *CidrAndPort) DeepCopyInto(out *CidrAndPort) {
594 *out = *in
595 }
596
597
598 func (in *CidrAndPort) DeepCopy() *CidrAndPort {
599 if in == nil {
600 return nil
601 }
602 out := new(CidrAndPort)
603 in.DeepCopyInto(out)
604 return out
605 }
606
607
608 func (in ClockIds) DeepCopyInto(out *ClockIds) {
609 {
610 in := &in
611 *out = make(ClockIds, len(*in))
612 copy(*out, *in)
613 }
614 }
615
616
617 func (in ClockIds) DeepCopy() ClockIds {
618 if in == nil {
619 return nil
620 }
621 out := new(ClockIds)
622 in.DeepCopyInto(out)
623 return *out
624 }
625
626
627 func (in *ClockSpec) DeepCopyInto(out *ClockSpec) {
628 *out = *in
629 }
630
631
632 func (in *ClockSpec) DeepCopy() *ClockSpec {
633 if in == nil {
634 return nil
635 }
636 out := new(ClockSpec)
637 in.DeepCopyInto(out)
638 return out
639 }
640
641
642 func (in *ConditionalBranch) DeepCopyInto(out *ConditionalBranch) {
643 *out = *in
644 }
645
646
647 func (in *ConditionalBranch) DeepCopy() *ConditionalBranch {
648 if in == nil {
649 return nil
650 }
651 out := new(ConditionalBranch)
652 in.DeepCopyInto(out)
653 return out
654 }
655
656
657 func (in *ConditionalBranchStatus) DeepCopyInto(out *ConditionalBranchStatus) {
658 *out = *in
659 }
660
661
662 func (in *ConditionalBranchStatus) DeepCopy() *ConditionalBranchStatus {
663 if in == nil {
664 return nil
665 }
666 out := new(ConditionalBranchStatus)
667 in.DeepCopyInto(out)
668 return out
669 }
670
671
672 func (in *ConditionalBranchesStatus) DeepCopyInto(out *ConditionalBranchesStatus) {
673 *out = *in
674 if in.Branches != nil {
675 in, out := &in.Branches, &out.Branches
676 *out = make([]ConditionalBranchStatus, len(*in))
677 copy(*out, *in)
678 }
679 if in.Context != nil {
680 in, out := &in.Context, &out.Context
681 *out = make([]string, len(*in))
682 copy(*out, *in)
683 }
684 }
685
686
687 func (in *ConditionalBranchesStatus) DeepCopy() *ConditionalBranchesStatus {
688 if in == nil {
689 return nil
690 }
691 out := new(ConditionalBranchesStatus)
692 in.DeepCopyInto(out)
693 return out
694 }
695
696
697 func (in *ContainerNodeVolumePathSelector) DeepCopyInto(out *ContainerNodeVolumePathSelector) {
698 *out = *in
699 in.ContainerSelector.DeepCopyInto(&out.ContainerSelector)
700 }
701
702
703 func (in *ContainerNodeVolumePathSelector) DeepCopy() *ContainerNodeVolumePathSelector {
704 if in == nil {
705 return nil
706 }
707 out := new(ContainerNodeVolumePathSelector)
708 in.DeepCopyInto(out)
709 return out
710 }
711
712
713 func (in *ContainerSelector) DeepCopyInto(out *ContainerSelector) {
714 *out = *in
715 in.PodSelector.DeepCopyInto(&out.PodSelector)
716 if in.ContainerNames != nil {
717 in, out := &in.ContainerNames, &out.ContainerNames
718 *out = make([]string, len(*in))
719 copy(*out, *in)
720 }
721 }
722
723
724 func (in *ContainerSelector) DeepCopy() *ContainerSelector {
725 if in == nil {
726 return nil
727 }
728 out := new(ContainerSelector)
729 in.DeepCopyInto(out)
730 return out
731 }
732
733
734 func (in *CorruptSpec) DeepCopyInto(out *CorruptSpec) {
735 *out = *in
736 }
737
738
739 func (in *CorruptSpec) DeepCopy() *CorruptSpec {
740 if in == nil {
741 return nil
742 }
743 out := new(CorruptSpec)
744 in.DeepCopyInto(out)
745 return out
746 }
747
748
749 func (in *DNSChaos) DeepCopyInto(out *DNSChaos) {
750 *out = *in
751 out.TypeMeta = in.TypeMeta
752 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
753 in.Spec.DeepCopyInto(&out.Spec)
754 in.Status.DeepCopyInto(&out.Status)
755 }
756
757
758 func (in *DNSChaos) DeepCopy() *DNSChaos {
759 if in == nil {
760 return nil
761 }
762 out := new(DNSChaos)
763 in.DeepCopyInto(out)
764 return out
765 }
766
767
768 func (in *DNSChaos) DeepCopyObject() runtime.Object {
769 if c := in.DeepCopy(); c != nil {
770 return c
771 }
772 return nil
773 }
774
775
776 func (in *DNSChaosList) DeepCopyInto(out *DNSChaosList) {
777 *out = *in
778 out.TypeMeta = in.TypeMeta
779 in.ListMeta.DeepCopyInto(&out.ListMeta)
780 if in.Items != nil {
781 in, out := &in.Items, &out.Items
782 *out = make([]DNSChaos, len(*in))
783 for i := range *in {
784 (*in)[i].DeepCopyInto(&(*out)[i])
785 }
786 }
787 }
788
789
790 func (in *DNSChaosList) DeepCopy() *DNSChaosList {
791 if in == nil {
792 return nil
793 }
794 out := new(DNSChaosList)
795 in.DeepCopyInto(out)
796 return out
797 }
798
799
800 func (in *DNSChaosList) DeepCopyObject() runtime.Object {
801 if c := in.DeepCopy(); c != nil {
802 return c
803 }
804 return nil
805 }
806
807
808 func (in *DNSChaosSpec) DeepCopyInto(out *DNSChaosSpec) {
809 *out = *in
810 in.ContainerSelector.DeepCopyInto(&out.ContainerSelector)
811 if in.Duration != nil {
812 in, out := &in.Duration, &out.Duration
813 *out = new(string)
814 **out = **in
815 }
816 if in.DomainNamePatterns != nil {
817 in, out := &in.DomainNamePatterns, &out.DomainNamePatterns
818 *out = make([]string, len(*in))
819 copy(*out, *in)
820 }
821 }
822
823
824 func (in *DNSChaosSpec) DeepCopy() *DNSChaosSpec {
825 if in == nil {
826 return nil
827 }
828 out := new(DNSChaosSpec)
829 in.DeepCopyInto(out)
830 return out
831 }
832
833
834 func (in *DNSChaosStatus) DeepCopyInto(out *DNSChaosStatus) {
835 *out = *in
836 in.ChaosStatus.DeepCopyInto(&out.ChaosStatus)
837 }
838
839
840 func (in *DNSChaosStatus) DeepCopy() *DNSChaosStatus {
841 if in == nil {
842 return nil
843 }
844 out := new(DNSChaosStatus)
845 in.DeepCopyInto(out)
846 return out
847 }
848
849
850 func (in *DelaySpec) DeepCopyInto(out *DelaySpec) {
851 *out = *in
852 if in.Reorder != nil {
853 in, out := &in.Reorder, &out.Reorder
854 *out = new(ReorderSpec)
855 **out = **in
856 }
857 }
858
859
860 func (in *DelaySpec) DeepCopy() *DelaySpec {
861 if in == nil {
862 return nil
863 }
864 out := new(DelaySpec)
865 in.DeepCopyInto(out)
866 return out
867 }
868
869
870 func (in *DiskFileSpec) DeepCopyInto(out *DiskFileSpec) {
871 *out = *in
872 }
873
874
875 func (in *DiskFileSpec) DeepCopy() *DiskFileSpec {
876 if in == nil {
877 return nil
878 }
879 out := new(DiskFileSpec)
880 in.DeepCopyInto(out)
881 return out
882 }
883
884
885 func (in *DiskFillSpec) DeepCopyInto(out *DiskFillSpec) {
886 *out = *in
887 out.DiskFileSpec = in.DiskFileSpec
888 }
889
890
891 func (in *DiskFillSpec) DeepCopy() *DiskFillSpec {
892 if in == nil {
893 return nil
894 }
895 out := new(DiskFillSpec)
896 in.DeepCopyInto(out)
897 return out
898 }
899
900
901 func (in *DiskPayloadSpec) DeepCopyInto(out *DiskPayloadSpec) {
902 *out = *in
903 out.DiskFileSpec = in.DiskFileSpec
904 }
905
906
907 func (in *DiskPayloadSpec) DeepCopy() *DiskPayloadSpec {
908 if in == nil {
909 return nil
910 }
911 out := new(DiskPayloadSpec)
912 in.DeepCopyInto(out)
913 return out
914 }
915
916
917 func (in *DuplicateSpec) DeepCopyInto(out *DuplicateSpec) {
918 *out = *in
919 }
920
921
922 func (in *DuplicateSpec) DeepCopy() *DuplicateSpec {
923 if in == nil {
924 return nil
925 }
926 out := new(DuplicateSpec)
927 in.DeepCopyInto(out)
928 return out
929 }
930
931
932 func (in *EmbedChaos) DeepCopyInto(out *EmbedChaos) {
933 *out = *in
934 if in.AWSChaos != nil {
935 in, out := &in.AWSChaos, &out.AWSChaos
936 *out = new(AWSChaosSpec)
937 (*in).DeepCopyInto(*out)
938 }
939 if in.AzureChaos != nil {
940 in, out := &in.AzureChaos, &out.AzureChaos
941 *out = new(AzureChaosSpec)
942 (*in).DeepCopyInto(*out)
943 }
944 if in.BlockChaos != nil {
945 in, out := &in.BlockChaos, &out.BlockChaos
946 *out = new(BlockChaosSpec)
947 (*in).DeepCopyInto(*out)
948 }
949 if in.DNSChaos != nil {
950 in, out := &in.DNSChaos, &out.DNSChaos
951 *out = new(DNSChaosSpec)
952 (*in).DeepCopyInto(*out)
953 }
954 if in.GCPChaos != nil {
955 in, out := &in.GCPChaos, &out.GCPChaos
956 *out = new(GCPChaosSpec)
957 (*in).DeepCopyInto(*out)
958 }
959 if in.HTTPChaos != nil {
960 in, out := &in.HTTPChaos, &out.HTTPChaos
961 *out = new(HTTPChaosSpec)
962 (*in).DeepCopyInto(*out)
963 }
964 if in.IOChaos != nil {
965 in, out := &in.IOChaos, &out.IOChaos
966 *out = new(IOChaosSpec)
967 (*in).DeepCopyInto(*out)
968 }
969 if in.JVMChaos != nil {
970 in, out := &in.JVMChaos, &out.JVMChaos
971 *out = new(JVMChaosSpec)
972 (*in).DeepCopyInto(*out)
973 }
974 if in.KernelChaos != nil {
975 in, out := &in.KernelChaos, &out.KernelChaos
976 *out = new(KernelChaosSpec)
977 (*in).DeepCopyInto(*out)
978 }
979 if in.NetworkChaos != nil {
980 in, out := &in.NetworkChaos, &out.NetworkChaos
981 *out = new(NetworkChaosSpec)
982 (*in).DeepCopyInto(*out)
983 }
984 if in.PhysicalMachineChaos != nil {
985 in, out := &in.PhysicalMachineChaos, &out.PhysicalMachineChaos
986 *out = new(PhysicalMachineChaosSpec)
987 (*in).DeepCopyInto(*out)
988 }
989 if in.PodChaos != nil {
990 in, out := &in.PodChaos, &out.PodChaos
991 *out = new(PodChaosSpec)
992 (*in).DeepCopyInto(*out)
993 }
994 if in.StressChaos != nil {
995 in, out := &in.StressChaos, &out.StressChaos
996 *out = new(StressChaosSpec)
997 (*in).DeepCopyInto(*out)
998 }
999 if in.TimeChaos != nil {
1000 in, out := &in.TimeChaos, &out.TimeChaos
1001 *out = new(TimeChaosSpec)
1002 (*in).DeepCopyInto(*out)
1003 }
1004 }
1005
1006
1007 func (in *EmbedChaos) DeepCopy() *EmbedChaos {
1008 if in == nil {
1009 return nil
1010 }
1011 out := new(EmbedChaos)
1012 in.DeepCopyInto(out)
1013 return out
1014 }
1015
1016
1017 func (in *EmbedStatusCheck) DeepCopyInto(out *EmbedStatusCheck) {
1018 *out = *in
1019 if in.HTTPStatusCheck != nil {
1020 in, out := &in.HTTPStatusCheck, &out.HTTPStatusCheck
1021 *out = new(HTTPStatusCheck)
1022 (*in).DeepCopyInto(*out)
1023 }
1024 }
1025
1026
1027 func (in *EmbedStatusCheck) DeepCopy() *EmbedStatusCheck {
1028 if in == nil {
1029 return nil
1030 }
1031 out := new(EmbedStatusCheck)
1032 in.DeepCopyInto(out)
1033 return out
1034 }
1035
1036
1037 func (in *ExpInfo) DeepCopyInto(out *ExpInfo) {
1038 *out = *in
1039 if in.StressCPU != nil {
1040 in, out := &in.StressCPU, &out.StressCPU
1041 *out = new(StressCPUSpec)
1042 (*in).DeepCopyInto(*out)
1043 }
1044 if in.StressMemory != nil {
1045 in, out := &in.StressMemory, &out.StressMemory
1046 *out = new(StressMemorySpec)
1047 (*in).DeepCopyInto(*out)
1048 }
1049 if in.DiskReadPayload != nil {
1050 in, out := &in.DiskReadPayload, &out.DiskReadPayload
1051 *out = new(DiskPayloadSpec)
1052 **out = **in
1053 }
1054 if in.DiskWritePayload != nil {
1055 in, out := &in.DiskWritePayload, &out.DiskWritePayload
1056 *out = new(DiskPayloadSpec)
1057 **out = **in
1058 }
1059 if in.DiskFill != nil {
1060 in, out := &in.DiskFill, &out.DiskFill
1061 *out = new(DiskFillSpec)
1062 **out = **in
1063 }
1064 if in.NetworkCorrupt != nil {
1065 in, out := &in.NetworkCorrupt, &out.NetworkCorrupt
1066 *out = new(NetworkCorruptSpec)
1067 **out = **in
1068 }
1069 if in.NetworkDuplicate != nil {
1070 in, out := &in.NetworkDuplicate, &out.NetworkDuplicate
1071 *out = new(NetworkDuplicateSpec)
1072 **out = **in
1073 }
1074 if in.NetworkLoss != nil {
1075 in, out := &in.NetworkLoss, &out.NetworkLoss
1076 *out = new(NetworkLossSpec)
1077 **out = **in
1078 }
1079 if in.NetworkDelay != nil {
1080 in, out := &in.NetworkDelay, &out.NetworkDelay
1081 *out = new(NetworkDelaySpec)
1082 **out = **in
1083 }
1084 if in.NetworkPartition != nil {
1085 in, out := &in.NetworkPartition, &out.NetworkPartition
1086 *out = new(NetworkPartitionSpec)
1087 **out = **in
1088 }
1089 if in.NetworkDNS != nil {
1090 in, out := &in.NetworkDNS, &out.NetworkDNS
1091 *out = new(NetworkDNSSpec)
1092 **out = **in
1093 }
1094 if in.NetworkBandwidth != nil {
1095 in, out := &in.NetworkBandwidth, &out.NetworkBandwidth
1096 *out = new(NetworkBandwidthSpec)
1097 (*in).DeepCopyInto(*out)
1098 }
1099 if in.NetworkFlood != nil {
1100 in, out := &in.NetworkFlood, &out.NetworkFlood
1101 *out = new(NetworkFloodSpec)
1102 **out = **in
1103 }
1104 if in.NetworkDown != nil {
1105 in, out := &in.NetworkDown, &out.NetworkDown
1106 *out = new(NetworkDownSpec)
1107 **out = **in
1108 }
1109 if in.Process != nil {
1110 in, out := &in.Process, &out.Process
1111 *out = new(ProcessSpec)
1112 **out = **in
1113 }
1114 if in.JVMException != nil {
1115 in, out := &in.JVMException, &out.JVMException
1116 *out = new(JVMExceptionSpec)
1117 **out = **in
1118 }
1119 if in.JVMGC != nil {
1120 in, out := &in.JVMGC, &out.JVMGC
1121 *out = new(JVMGCSpec)
1122 **out = **in
1123 }
1124 if in.JVMLatency != nil {
1125 in, out := &in.JVMLatency, &out.JVMLatency
1126 *out = new(JVMLatencySpec)
1127 **out = **in
1128 }
1129 if in.JVMReturn != nil {
1130 in, out := &in.JVMReturn, &out.JVMReturn
1131 *out = new(JVMReturnSpec)
1132 **out = **in
1133 }
1134 if in.JVMStress != nil {
1135 in, out := &in.JVMStress, &out.JVMStress
1136 *out = new(JVMStressSpec)
1137 **out = **in
1138 }
1139 if in.JVMRuleData != nil {
1140 in, out := &in.JVMRuleData, &out.JVMRuleData
1141 *out = new(JVMRuleDataSpec)
1142 **out = **in
1143 }
1144 if in.JVMMySQL != nil {
1145 in, out := &in.JVMMySQL, &out.JVMMySQL
1146 *out = new(PMJVMMySQLSpec)
1147 **out = **in
1148 }
1149 if in.Clock != nil {
1150 in, out := &in.Clock, &out.Clock
1151 *out = new(ClockSpec)
1152 **out = **in
1153 }
1154 if in.RedisExpiration != nil {
1155 in, out := &in.RedisExpiration, &out.RedisExpiration
1156 *out = new(RedisExpirationSpec)
1157 **out = **in
1158 }
1159 if in.RedisPenetration != nil {
1160 in, out := &in.RedisPenetration, &out.RedisPenetration
1161 *out = new(RedisPenetrationSpec)
1162 **out = **in
1163 }
1164 if in.RedisCacheLimit != nil {
1165 in, out := &in.RedisCacheLimit, &out.RedisCacheLimit
1166 *out = new(RedisCacheLimitSpec)
1167 **out = **in
1168 }
1169 if in.RedisSentinelRestart != nil {
1170 in, out := &in.RedisSentinelRestart, &out.RedisSentinelRestart
1171 *out = new(RedisSentinelRestartSpec)
1172 **out = **in
1173 }
1174 if in.RedisSentinelStop != nil {
1175 in, out := &in.RedisSentinelStop, &out.RedisSentinelStop
1176 *out = new(RedisSentinelStopSpec)
1177 **out = **in
1178 }
1179 if in.KafkaFill != nil {
1180 in, out := &in.KafkaFill, &out.KafkaFill
1181 *out = new(KafkaFillSpec)
1182 **out = **in
1183 }
1184 if in.KafkaFlood != nil {
1185 in, out := &in.KafkaFlood, &out.KafkaFlood
1186 *out = new(KafkaFloodSpec)
1187 **out = **in
1188 }
1189 if in.KafkaIO != nil {
1190 in, out := &in.KafkaIO, &out.KafkaIO
1191 *out = new(KafkaIOSpec)
1192 **out = **in
1193 }
1194 if in.HTTPAbort != nil {
1195 in, out := &in.HTTPAbort, &out.HTTPAbort
1196 *out = new(HTTPAbortSpec)
1197 (*in).DeepCopyInto(*out)
1198 }
1199 if in.HTTPDelay != nil {
1200 in, out := &in.HTTPDelay, &out.HTTPDelay
1201 *out = new(HTTPDelaySpec)
1202 (*in).DeepCopyInto(*out)
1203 }
1204 if in.HTTPConfig != nil {
1205 in, out := &in.HTTPConfig, &out.HTTPConfig
1206 *out = new(HTTPConfigSpec)
1207 **out = **in
1208 }
1209 if in.HTTPRequest != nil {
1210 in, out := &in.HTTPRequest, &out.HTTPRequest
1211 *out = new(HTTPRequestSpec)
1212 **out = **in
1213 }
1214 if in.FileCreate != nil {
1215 in, out := &in.FileCreate, &out.FileCreate
1216 *out = new(FileCreateSpec)
1217 **out = **in
1218 }
1219 if in.FileModifyPrivilege != nil {
1220 in, out := &in.FileModifyPrivilege, &out.FileModifyPrivilege
1221 *out = new(FileModifyPrivilegeSpec)
1222 **out = **in
1223 }
1224 if in.FileDelete != nil {
1225 in, out := &in.FileDelete, &out.FileDelete
1226 *out = new(FileDeleteSpec)
1227 **out = **in
1228 }
1229 if in.FileRename != nil {
1230 in, out := &in.FileRename, &out.FileRename
1231 *out = new(FileRenameSpec)
1232 **out = **in
1233 }
1234 if in.FileAppend != nil {
1235 in, out := &in.FileAppend, &out.FileAppend
1236 *out = new(FileAppendSpec)
1237 **out = **in
1238 }
1239 if in.FileReplace != nil {
1240 in, out := &in.FileReplace, &out.FileReplace
1241 *out = new(FileReplaceSpec)
1242 **out = **in
1243 }
1244 if in.VM != nil {
1245 in, out := &in.VM, &out.VM
1246 *out = new(VMSpec)
1247 **out = **in
1248 }
1249 if in.UserDefined != nil {
1250 in, out := &in.UserDefined, &out.UserDefined
1251 *out = new(UserDefinedSpec)
1252 **out = **in
1253 }
1254 }
1255
1256
1257 func (in *ExpInfo) DeepCopy() *ExpInfo {
1258 if in == nil {
1259 return nil
1260 }
1261 out := new(ExpInfo)
1262 in.DeepCopyInto(out)
1263 return out
1264 }
1265
1266
1267 func (in *ExperimentStatus) DeepCopyInto(out *ExperimentStatus) {
1268 *out = *in
1269 if in.Records != nil {
1270 in, out := &in.Records, &out.Records
1271 *out = make([]*Record, len(*in))
1272 for i := range *in {
1273 if (*in)[i] != nil {
1274 in, out := &(*in)[i], &(*out)[i]
1275 *out = new(Record)
1276 (*in).DeepCopyInto(*out)
1277 }
1278 }
1279 }
1280 }
1281
1282
1283 func (in *ExperimentStatus) DeepCopy() *ExperimentStatus {
1284 if in == nil {
1285 return nil
1286 }
1287 out := new(ExperimentStatus)
1288 in.DeepCopyInto(out)
1289 return out
1290 }
1291
1292
1293 func (in *FailKernRequest) DeepCopyInto(out *FailKernRequest) {
1294 *out = *in
1295 if in.Headers != nil {
1296 in, out := &in.Headers, &out.Headers
1297 *out = make([]string, len(*in))
1298 copy(*out, *in)
1299 }
1300 if in.Callchain != nil {
1301 in, out := &in.Callchain, &out.Callchain
1302 *out = make([]Frame, len(*in))
1303 copy(*out, *in)
1304 }
1305 }
1306
1307
1308 func (in *FailKernRequest) DeepCopy() *FailKernRequest {
1309 if in == nil {
1310 return nil
1311 }
1312 out := new(FailKernRequest)
1313 in.DeepCopyInto(out)
1314 return out
1315 }
1316
1317
1318 func (in *FileAppendSpec) DeepCopyInto(out *FileAppendSpec) {
1319 *out = *in
1320 }
1321
1322
1323 func (in *FileAppendSpec) DeepCopy() *FileAppendSpec {
1324 if in == nil {
1325 return nil
1326 }
1327 out := new(FileAppendSpec)
1328 in.DeepCopyInto(out)
1329 return out
1330 }
1331
1332
1333 func (in *FileCreateSpec) DeepCopyInto(out *FileCreateSpec) {
1334 *out = *in
1335 }
1336
1337
1338 func (in *FileCreateSpec) DeepCopy() *FileCreateSpec {
1339 if in == nil {
1340 return nil
1341 }
1342 out := new(FileCreateSpec)
1343 in.DeepCopyInto(out)
1344 return out
1345 }
1346
1347
1348 func (in *FileDeleteSpec) DeepCopyInto(out *FileDeleteSpec) {
1349 *out = *in
1350 }
1351
1352
1353 func (in *FileDeleteSpec) DeepCopy() *FileDeleteSpec {
1354 if in == nil {
1355 return nil
1356 }
1357 out := new(FileDeleteSpec)
1358 in.DeepCopyInto(out)
1359 return out
1360 }
1361
1362
1363 func (in *FileModifyPrivilegeSpec) DeepCopyInto(out *FileModifyPrivilegeSpec) {
1364 *out = *in
1365 }
1366
1367
1368 func (in *FileModifyPrivilegeSpec) DeepCopy() *FileModifyPrivilegeSpec {
1369 if in == nil {
1370 return nil
1371 }
1372 out := new(FileModifyPrivilegeSpec)
1373 in.DeepCopyInto(out)
1374 return out
1375 }
1376
1377
1378 func (in *FileRenameSpec) DeepCopyInto(out *FileRenameSpec) {
1379 *out = *in
1380 }
1381
1382
1383 func (in *FileRenameSpec) DeepCopy() *FileRenameSpec {
1384 if in == nil {
1385 return nil
1386 }
1387 out := new(FileRenameSpec)
1388 in.DeepCopyInto(out)
1389 return out
1390 }
1391
1392
1393 func (in *FileReplaceSpec) DeepCopyInto(out *FileReplaceSpec) {
1394 *out = *in
1395 }
1396
1397
1398 func (in *FileReplaceSpec) DeepCopy() *FileReplaceSpec {
1399 if in == nil {
1400 return nil
1401 }
1402 out := new(FileReplaceSpec)
1403 in.DeepCopyInto(out)
1404 return out
1405 }
1406
1407
1408 func (in *Filter) DeepCopyInto(out *Filter) {
1409 *out = *in
1410 if in.Methods != nil {
1411 in, out := &in.Methods, &out.Methods
1412 *out = make([]IoMethod, len(*in))
1413 copy(*out, *in)
1414 }
1415 }
1416
1417
1418 func (in *Filter) DeepCopy() *Filter {
1419 if in == nil {
1420 return nil
1421 }
1422 out := new(Filter)
1423 in.DeepCopyInto(out)
1424 return out
1425 }
1426
1427
1428 func (in *Frame) DeepCopyInto(out *Frame) {
1429 *out = *in
1430 }
1431
1432
1433 func (in *Frame) DeepCopy() *Frame {
1434 if in == nil {
1435 return nil
1436 }
1437 out := new(Frame)
1438 in.DeepCopyInto(out)
1439 return out
1440 }
1441
1442
1443 func (in *GCPChaos) DeepCopyInto(out *GCPChaos) {
1444 *out = *in
1445 out.TypeMeta = in.TypeMeta
1446 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
1447 in.Spec.DeepCopyInto(&out.Spec)
1448 in.Status.DeepCopyInto(&out.Status)
1449 }
1450
1451
1452 func (in *GCPChaos) DeepCopy() *GCPChaos {
1453 if in == nil {
1454 return nil
1455 }
1456 out := new(GCPChaos)
1457 in.DeepCopyInto(out)
1458 return out
1459 }
1460
1461
1462 func (in *GCPChaos) DeepCopyObject() runtime.Object {
1463 if c := in.DeepCopy(); c != nil {
1464 return c
1465 }
1466 return nil
1467 }
1468
1469
1470 func (in *GCPChaosList) DeepCopyInto(out *GCPChaosList) {
1471 *out = *in
1472 out.TypeMeta = in.TypeMeta
1473 in.ListMeta.DeepCopyInto(&out.ListMeta)
1474 if in.Items != nil {
1475 in, out := &in.Items, &out.Items
1476 *out = make([]GCPChaos, len(*in))
1477 for i := range *in {
1478 (*in)[i].DeepCopyInto(&(*out)[i])
1479 }
1480 }
1481 }
1482
1483
1484 func (in *GCPChaosList) DeepCopy() *GCPChaosList {
1485 if in == nil {
1486 return nil
1487 }
1488 out := new(GCPChaosList)
1489 in.DeepCopyInto(out)
1490 return out
1491 }
1492
1493
1494 func (in *GCPChaosList) DeepCopyObject() runtime.Object {
1495 if c := in.DeepCopy(); c != nil {
1496 return c
1497 }
1498 return nil
1499 }
1500
1501
1502 func (in *GCPChaosSpec) DeepCopyInto(out *GCPChaosSpec) {
1503 *out = *in
1504 if in.Duration != nil {
1505 in, out := &in.Duration, &out.Duration
1506 *out = new(string)
1507 **out = **in
1508 }
1509 if in.SecretName != nil {
1510 in, out := &in.SecretName, &out.SecretName
1511 *out = new(string)
1512 **out = **in
1513 }
1514 in.GCPSelector.DeepCopyInto(&out.GCPSelector)
1515 }
1516
1517
1518 func (in *GCPChaosSpec) DeepCopy() *GCPChaosSpec {
1519 if in == nil {
1520 return nil
1521 }
1522 out := new(GCPChaosSpec)
1523 in.DeepCopyInto(out)
1524 return out
1525 }
1526
1527
1528 func (in *GCPChaosStatus) DeepCopyInto(out *GCPChaosStatus) {
1529 *out = *in
1530 in.ChaosStatus.DeepCopyInto(&out.ChaosStatus)
1531 if in.AttachedDisksStrings != nil {
1532 in, out := &in.AttachedDisksStrings, &out.AttachedDisksStrings
1533 *out = make([]string, len(*in))
1534 copy(*out, *in)
1535 }
1536 }
1537
1538
1539 func (in *GCPChaosStatus) DeepCopy() *GCPChaosStatus {
1540 if in == nil {
1541 return nil
1542 }
1543 out := new(GCPChaosStatus)
1544 in.DeepCopyInto(out)
1545 return out
1546 }
1547
1548
1549 func (in GCPDeviceNames) DeepCopyInto(out *GCPDeviceNames) {
1550 {
1551 in := &in
1552 *out = make(GCPDeviceNames, len(*in))
1553 copy(*out, *in)
1554 }
1555 }
1556
1557
1558 func (in GCPDeviceNames) DeepCopy() GCPDeviceNames {
1559 if in == nil {
1560 return nil
1561 }
1562 out := new(GCPDeviceNames)
1563 in.DeepCopyInto(out)
1564 return *out
1565 }
1566
1567
1568 func (in *GCPSelector) DeepCopyInto(out *GCPSelector) {
1569 *out = *in
1570 if in.DeviceNames != nil {
1571 in, out := &in.DeviceNames, &out.DeviceNames
1572 *out = make([]string, len(*in))
1573 copy(*out, *in)
1574 }
1575 }
1576
1577
1578 func (in *GCPSelector) DeepCopy() *GCPSelector {
1579 if in == nil {
1580 return nil
1581 }
1582 out := new(GCPSelector)
1583 in.DeepCopyInto(out)
1584 return out
1585 }
1586
1587
1588 func (in *GenericSelectorSpec) DeepCopyInto(out *GenericSelectorSpec) {
1589 *out = *in
1590 if in.Namespaces != nil {
1591 in, out := &in.Namespaces, &out.Namespaces
1592 *out = make([]string, len(*in))
1593 copy(*out, *in)
1594 }
1595 if in.FieldSelectors != nil {
1596 in, out := &in.FieldSelectors, &out.FieldSelectors
1597 *out = make(map[string]string, len(*in))
1598 for key, val := range *in {
1599 (*out)[key] = val
1600 }
1601 }
1602 if in.LabelSelectors != nil {
1603 in, out := &in.LabelSelectors, &out.LabelSelectors
1604 *out = make(map[string]string, len(*in))
1605 for key, val := range *in {
1606 (*out)[key] = val
1607 }
1608 }
1609 if in.ExpressionSelectors != nil {
1610 in, out := &in.ExpressionSelectors, &out.ExpressionSelectors
1611 *out = make(LabelSelectorRequirements, len(*in))
1612 for i := range *in {
1613 (*in)[i].DeepCopyInto(&(*out)[i])
1614 }
1615 }
1616 if in.AnnotationSelectors != nil {
1617 in, out := &in.AnnotationSelectors, &out.AnnotationSelectors
1618 *out = make(map[string]string, len(*in))
1619 for key, val := range *in {
1620 (*out)[key] = val
1621 }
1622 }
1623 }
1624
1625
1626 func (in *GenericSelectorSpec) DeepCopy() *GenericSelectorSpec {
1627 if in == nil {
1628 return nil
1629 }
1630 out := new(GenericSelectorSpec)
1631 in.DeepCopyInto(out)
1632 return out
1633 }
1634
1635
1636 func (in *HTTPAbortSpec) DeepCopyInto(out *HTTPAbortSpec) {
1637 *out = *in
1638 in.HTTPCommonSpec.DeepCopyInto(&out.HTTPCommonSpec)
1639 }
1640
1641
1642 func (in *HTTPAbortSpec) DeepCopy() *HTTPAbortSpec {
1643 if in == nil {
1644 return nil
1645 }
1646 out := new(HTTPAbortSpec)
1647 in.DeepCopyInto(out)
1648 return out
1649 }
1650
1651
1652 func (in *HTTPChaos) DeepCopyInto(out *HTTPChaos) {
1653 *out = *in
1654 out.TypeMeta = in.TypeMeta
1655 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
1656 in.Spec.DeepCopyInto(&out.Spec)
1657 in.Status.DeepCopyInto(&out.Status)
1658 }
1659
1660
1661 func (in *HTTPChaos) DeepCopy() *HTTPChaos {
1662 if in == nil {
1663 return nil
1664 }
1665 out := new(HTTPChaos)
1666 in.DeepCopyInto(out)
1667 return out
1668 }
1669
1670
1671 func (in *HTTPChaos) DeepCopyObject() runtime.Object {
1672 if c := in.DeepCopy(); c != nil {
1673 return c
1674 }
1675 return nil
1676 }
1677
1678
1679 func (in *HTTPChaosList) DeepCopyInto(out *HTTPChaosList) {
1680 *out = *in
1681 out.TypeMeta = in.TypeMeta
1682 in.ListMeta.DeepCopyInto(&out.ListMeta)
1683 if in.Items != nil {
1684 in, out := &in.Items, &out.Items
1685 *out = make([]HTTPChaos, len(*in))
1686 for i := range *in {
1687 (*in)[i].DeepCopyInto(&(*out)[i])
1688 }
1689 }
1690 }
1691
1692
1693 func (in *HTTPChaosList) DeepCopy() *HTTPChaosList {
1694 if in == nil {
1695 return nil
1696 }
1697 out := new(HTTPChaosList)
1698 in.DeepCopyInto(out)
1699 return out
1700 }
1701
1702
1703 func (in *HTTPChaosList) DeepCopyObject() runtime.Object {
1704 if c := in.DeepCopy(); c != nil {
1705 return c
1706 }
1707 return nil
1708 }
1709
1710
1711 func (in *HTTPChaosSpec) DeepCopyInto(out *HTTPChaosSpec) {
1712 *out = *in
1713 in.PodSelector.DeepCopyInto(&out.PodSelector)
1714 in.PodHttpChaosActions.DeepCopyInto(&out.PodHttpChaosActions)
1715 if in.Path != nil {
1716 in, out := &in.Path, &out.Path
1717 *out = new(string)
1718 **out = **in
1719 }
1720 if in.Method != nil {
1721 in, out := &in.Method, &out.Method
1722 *out = new(string)
1723 **out = **in
1724 }
1725 if in.Code != nil {
1726 in, out := &in.Code, &out.Code
1727 *out = new(int32)
1728 **out = **in
1729 }
1730 if in.RequestHeaders != nil {
1731 in, out := &in.RequestHeaders, &out.RequestHeaders
1732 *out = make(map[string]string, len(*in))
1733 for key, val := range *in {
1734 (*out)[key] = val
1735 }
1736 }
1737 if in.ResponseHeaders != nil {
1738 in, out := &in.ResponseHeaders, &out.ResponseHeaders
1739 *out = make(map[string]string, len(*in))
1740 for key, val := range *in {
1741 (*out)[key] = val
1742 }
1743 }
1744 if in.TLS != nil {
1745 in, out := &in.TLS, &out.TLS
1746 *out = new(PodHttpChaosTLS)
1747 (*in).DeepCopyInto(*out)
1748 }
1749 if in.Duration != nil {
1750 in, out := &in.Duration, &out.Duration
1751 *out = new(string)
1752 **out = **in
1753 }
1754 }
1755
1756
1757 func (in *HTTPChaosSpec) DeepCopy() *HTTPChaosSpec {
1758 if in == nil {
1759 return nil
1760 }
1761 out := new(HTTPChaosSpec)
1762 in.DeepCopyInto(out)
1763 return out
1764 }
1765
1766
1767 func (in *HTTPChaosStatus) DeepCopyInto(out *HTTPChaosStatus) {
1768 *out = *in
1769 in.ChaosStatus.DeepCopyInto(&out.ChaosStatus)
1770 if in.Instances != nil {
1771 in, out := &in.Instances, &out.Instances
1772 *out = make(map[string]int64, len(*in))
1773 for key, val := range *in {
1774 (*out)[key] = val
1775 }
1776 }
1777 }
1778
1779
1780 func (in *HTTPChaosStatus) DeepCopy() *HTTPChaosStatus {
1781 if in == nil {
1782 return nil
1783 }
1784 out := new(HTTPChaosStatus)
1785 in.DeepCopyInto(out)
1786 return out
1787 }
1788
1789
1790 func (in *HTTPCommonSpec) DeepCopyInto(out *HTTPCommonSpec) {
1791 *out = *in
1792 if in.ProxyPorts != nil {
1793 in, out := &in.ProxyPorts, &out.ProxyPorts
1794 *out = make([]uint, len(*in))
1795 copy(*out, *in)
1796 }
1797 }
1798
1799
1800 func (in *HTTPCommonSpec) DeepCopy() *HTTPCommonSpec {
1801 if in == nil {
1802 return nil
1803 }
1804 out := new(HTTPCommonSpec)
1805 in.DeepCopyInto(out)
1806 return out
1807 }
1808
1809
1810 func (in *HTTPConfigSpec) DeepCopyInto(out *HTTPConfigSpec) {
1811 *out = *in
1812 }
1813
1814
1815 func (in *HTTPConfigSpec) DeepCopy() *HTTPConfigSpec {
1816 if in == nil {
1817 return nil
1818 }
1819 out := new(HTTPConfigSpec)
1820 in.DeepCopyInto(out)
1821 return out
1822 }
1823
1824
1825 func (in *HTTPCriteria) DeepCopyInto(out *HTTPCriteria) {
1826 *out = *in
1827 }
1828
1829
1830 func (in *HTTPCriteria) DeepCopy() *HTTPCriteria {
1831 if in == nil {
1832 return nil
1833 }
1834 out := new(HTTPCriteria)
1835 in.DeepCopyInto(out)
1836 return out
1837 }
1838
1839
1840 func (in *HTTPDelaySpec) DeepCopyInto(out *HTTPDelaySpec) {
1841 *out = *in
1842 in.HTTPCommonSpec.DeepCopyInto(&out.HTTPCommonSpec)
1843 }
1844
1845
1846 func (in *HTTPDelaySpec) DeepCopy() *HTTPDelaySpec {
1847 if in == nil {
1848 return nil
1849 }
1850 out := new(HTTPDelaySpec)
1851 in.DeepCopyInto(out)
1852 return out
1853 }
1854
1855
1856 func (in *HTTPRequestSpec) DeepCopyInto(out *HTTPRequestSpec) {
1857 *out = *in
1858 }
1859
1860
1861 func (in *HTTPRequestSpec) DeepCopy() *HTTPRequestSpec {
1862 if in == nil {
1863 return nil
1864 }
1865 out := new(HTTPRequestSpec)
1866 in.DeepCopyInto(out)
1867 return out
1868 }
1869
1870
1871 func (in *HTTPStatusCheck) DeepCopyInto(out *HTTPStatusCheck) {
1872 *out = *in
1873 if in.RequestHeaders != nil {
1874 in, out := &in.RequestHeaders, &out.RequestHeaders
1875 *out = make(http.Header, len(*in))
1876 for key, val := range *in {
1877 var outVal []string
1878 if val == nil {
1879 (*out)[key] = nil
1880 } else {
1881 inVal := (*in)[key]
1882 in, out := &inVal, &outVal
1883 *out = make([]string, len(*in))
1884 copy(*out, *in)
1885 }
1886 (*out)[key] = outVal
1887 }
1888 }
1889 out.Criteria = in.Criteria
1890 }
1891
1892
1893 func (in *HTTPStatusCheck) DeepCopy() *HTTPStatusCheck {
1894 if in == nil {
1895 return nil
1896 }
1897 out := new(HTTPStatusCheck)
1898 in.DeepCopyInto(out)
1899 return out
1900 }
1901
1902
1903 func (in *IOChaos) DeepCopyInto(out *IOChaos) {
1904 *out = *in
1905 out.TypeMeta = in.TypeMeta
1906 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
1907 in.Spec.DeepCopyInto(&out.Spec)
1908 in.Status.DeepCopyInto(&out.Status)
1909 }
1910
1911
1912 func (in *IOChaos) DeepCopy() *IOChaos {
1913 if in == nil {
1914 return nil
1915 }
1916 out := new(IOChaos)
1917 in.DeepCopyInto(out)
1918 return out
1919 }
1920
1921
1922 func (in *IOChaos) DeepCopyObject() runtime.Object {
1923 if c := in.DeepCopy(); c != nil {
1924 return c
1925 }
1926 return nil
1927 }
1928
1929
1930 func (in *IOChaosAction) DeepCopyInto(out *IOChaosAction) {
1931 *out = *in
1932 in.Filter.DeepCopyInto(&out.Filter)
1933 if in.Faults != nil {
1934 in, out := &in.Faults, &out.Faults
1935 *out = make([]IoFault, len(*in))
1936 copy(*out, *in)
1937 }
1938 if in.AttrOverrideSpec != nil {
1939 in, out := &in.AttrOverrideSpec, &out.AttrOverrideSpec
1940 *out = new(AttrOverrideSpec)
1941 (*in).DeepCopyInto(*out)
1942 }
1943 if in.MistakeSpec != nil {
1944 in, out := &in.MistakeSpec, &out.MistakeSpec
1945 *out = new(MistakeSpec)
1946 **out = **in
1947 }
1948 }
1949
1950
1951 func (in *IOChaosAction) DeepCopy() *IOChaosAction {
1952 if in == nil {
1953 return nil
1954 }
1955 out := new(IOChaosAction)
1956 in.DeepCopyInto(out)
1957 return out
1958 }
1959
1960
1961 func (in *IOChaosList) DeepCopyInto(out *IOChaosList) {
1962 *out = *in
1963 out.TypeMeta = in.TypeMeta
1964 in.ListMeta.DeepCopyInto(&out.ListMeta)
1965 if in.Items != nil {
1966 in, out := &in.Items, &out.Items
1967 *out = make([]IOChaos, len(*in))
1968 for i := range *in {
1969 (*in)[i].DeepCopyInto(&(*out)[i])
1970 }
1971 }
1972 }
1973
1974
1975 func (in *IOChaosList) DeepCopy() *IOChaosList {
1976 if in == nil {
1977 return nil
1978 }
1979 out := new(IOChaosList)
1980 in.DeepCopyInto(out)
1981 return out
1982 }
1983
1984
1985 func (in *IOChaosList) DeepCopyObject() runtime.Object {
1986 if c := in.DeepCopy(); c != nil {
1987 return c
1988 }
1989 return nil
1990 }
1991
1992
1993 func (in *IOChaosSpec) DeepCopyInto(out *IOChaosSpec) {
1994 *out = *in
1995 in.ContainerSelector.DeepCopyInto(&out.ContainerSelector)
1996 if in.Attr != nil {
1997 in, out := &in.Attr, &out.Attr
1998 *out = new(AttrOverrideSpec)
1999 (*in).DeepCopyInto(*out)
2000 }
2001 if in.Mistake != nil {
2002 in, out := &in.Mistake, &out.Mistake
2003 *out = new(MistakeSpec)
2004 **out = **in
2005 }
2006 if in.Methods != nil {
2007 in, out := &in.Methods, &out.Methods
2008 *out = make([]IoMethod, len(*in))
2009 copy(*out, *in)
2010 }
2011 if in.Duration != nil {
2012 in, out := &in.Duration, &out.Duration
2013 *out = new(string)
2014 **out = **in
2015 }
2016 }
2017
2018
2019 func (in *IOChaosSpec) DeepCopy() *IOChaosSpec {
2020 if in == nil {
2021 return nil
2022 }
2023 out := new(IOChaosSpec)
2024 in.DeepCopyInto(out)
2025 return out
2026 }
2027
2028
2029 func (in *IOChaosStatus) DeepCopyInto(out *IOChaosStatus) {
2030 *out = *in
2031 in.ChaosStatus.DeepCopyInto(&out.ChaosStatus)
2032 if in.Instances != nil {
2033 in, out := &in.Instances, &out.Instances
2034 *out = make(map[string]int64, len(*in))
2035 for key, val := range *in {
2036 (*out)[key] = val
2037 }
2038 }
2039 }
2040
2041
2042 func (in *IOChaosStatus) DeepCopy() *IOChaosStatus {
2043 if in == nil {
2044 return nil
2045 }
2046 out := new(IOChaosStatus)
2047 in.DeepCopyInto(out)
2048 return out
2049 }
2050
2051
2052 func (in *IoFault) DeepCopyInto(out *IoFault) {
2053 *out = *in
2054 }
2055
2056
2057 func (in *IoFault) DeepCopy() *IoFault {
2058 if in == nil {
2059 return nil
2060 }
2061 out := new(IoFault)
2062 in.DeepCopyInto(out)
2063 return out
2064 }
2065
2066
2067 func (in *JVMChaos) DeepCopyInto(out *JVMChaos) {
2068 *out = *in
2069 out.TypeMeta = in.TypeMeta
2070 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
2071 in.Spec.DeepCopyInto(&out.Spec)
2072 in.Status.DeepCopyInto(&out.Status)
2073 }
2074
2075
2076 func (in *JVMChaos) DeepCopy() *JVMChaos {
2077 if in == nil {
2078 return nil
2079 }
2080 out := new(JVMChaos)
2081 in.DeepCopyInto(out)
2082 return out
2083 }
2084
2085
2086 func (in *JVMChaos) DeepCopyObject() runtime.Object {
2087 if c := in.DeepCopy(); c != nil {
2088 return c
2089 }
2090 return nil
2091 }
2092
2093
2094 func (in *JVMChaosList) DeepCopyInto(out *JVMChaosList) {
2095 *out = *in
2096 out.TypeMeta = in.TypeMeta
2097 in.ListMeta.DeepCopyInto(&out.ListMeta)
2098 if in.Items != nil {
2099 in, out := &in.Items, &out.Items
2100 *out = make([]JVMChaos, len(*in))
2101 for i := range *in {
2102 (*in)[i].DeepCopyInto(&(*out)[i])
2103 }
2104 }
2105 }
2106
2107
2108 func (in *JVMChaosList) DeepCopy() *JVMChaosList {
2109 if in == nil {
2110 return nil
2111 }
2112 out := new(JVMChaosList)
2113 in.DeepCopyInto(out)
2114 return out
2115 }
2116
2117
2118 func (in *JVMChaosList) DeepCopyObject() runtime.Object {
2119 if c := in.DeepCopy(); c != nil {
2120 return c
2121 }
2122 return nil
2123 }
2124
2125
2126 func (in *JVMChaosSpec) DeepCopyInto(out *JVMChaosSpec) {
2127 *out = *in
2128 in.ContainerSelector.DeepCopyInto(&out.ContainerSelector)
2129 if in.Duration != nil {
2130 in, out := &in.Duration, &out.Duration
2131 *out = new(string)
2132 **out = **in
2133 }
2134 out.JVMParameter = in.JVMParameter
2135 }
2136
2137
2138 func (in *JVMChaosSpec) DeepCopy() *JVMChaosSpec {
2139 if in == nil {
2140 return nil
2141 }
2142 out := new(JVMChaosSpec)
2143 in.DeepCopyInto(out)
2144 return out
2145 }
2146
2147
2148 func (in *JVMChaosStatus) DeepCopyInto(out *JVMChaosStatus) {
2149 *out = *in
2150 in.ChaosStatus.DeepCopyInto(&out.ChaosStatus)
2151 }
2152
2153
2154 func (in *JVMChaosStatus) DeepCopy() *JVMChaosStatus {
2155 if in == nil {
2156 return nil
2157 }
2158 out := new(JVMChaosStatus)
2159 in.DeepCopyInto(out)
2160 return out
2161 }
2162
2163
2164 func (in *JVMClassMethodSpec) DeepCopyInto(out *JVMClassMethodSpec) {
2165 *out = *in
2166 }
2167
2168
2169 func (in *JVMClassMethodSpec) DeepCopy() *JVMClassMethodSpec {
2170 if in == nil {
2171 return nil
2172 }
2173 out := new(JVMClassMethodSpec)
2174 in.DeepCopyInto(out)
2175 return out
2176 }
2177
2178
2179 func (in *JVMCommonSpec) DeepCopyInto(out *JVMCommonSpec) {
2180 *out = *in
2181 }
2182
2183
2184 func (in *JVMCommonSpec) DeepCopy() *JVMCommonSpec {
2185 if in == nil {
2186 return nil
2187 }
2188 out := new(JVMCommonSpec)
2189 in.DeepCopyInto(out)
2190 return out
2191 }
2192
2193
2194 func (in *JVMExceptionSpec) DeepCopyInto(out *JVMExceptionSpec) {
2195 *out = *in
2196 out.JVMCommonSpec = in.JVMCommonSpec
2197 out.JVMClassMethodSpec = in.JVMClassMethodSpec
2198 }
2199
2200
2201 func (in *JVMExceptionSpec) DeepCopy() *JVMExceptionSpec {
2202 if in == nil {
2203 return nil
2204 }
2205 out := new(JVMExceptionSpec)
2206 in.DeepCopyInto(out)
2207 return out
2208 }
2209
2210
2211 func (in *JVMGCSpec) DeepCopyInto(out *JVMGCSpec) {
2212 *out = *in
2213 out.JVMCommonSpec = in.JVMCommonSpec
2214 }
2215
2216
2217 func (in *JVMGCSpec) DeepCopy() *JVMGCSpec {
2218 if in == nil {
2219 return nil
2220 }
2221 out := new(JVMGCSpec)
2222 in.DeepCopyInto(out)
2223 return out
2224 }
2225
2226
2227 func (in *JVMLatencySpec) DeepCopyInto(out *JVMLatencySpec) {
2228 *out = *in
2229 out.JVMCommonSpec = in.JVMCommonSpec
2230 out.JVMClassMethodSpec = in.JVMClassMethodSpec
2231 }
2232
2233
2234 func (in *JVMLatencySpec) DeepCopy() *JVMLatencySpec {
2235 if in == nil {
2236 return nil
2237 }
2238 out := new(JVMLatencySpec)
2239 in.DeepCopyInto(out)
2240 return out
2241 }
2242
2243
2244 func (in *JVMMySQLSpec) DeepCopyInto(out *JVMMySQLSpec) {
2245 *out = *in
2246 }
2247
2248
2249 func (in *JVMMySQLSpec) DeepCopy() *JVMMySQLSpec {
2250 if in == nil {
2251 return nil
2252 }
2253 out := new(JVMMySQLSpec)
2254 in.DeepCopyInto(out)
2255 return out
2256 }
2257
2258
2259 func (in *JVMParameter) DeepCopyInto(out *JVMParameter) {
2260 *out = *in
2261 out.JVMCommonSpec = in.JVMCommonSpec
2262 out.JVMClassMethodSpec = in.JVMClassMethodSpec
2263 out.JVMStressCfgSpec = in.JVMStressCfgSpec
2264 out.JVMMySQLSpec = in.JVMMySQLSpec
2265 }
2266
2267
2268 func (in *JVMParameter) DeepCopy() *JVMParameter {
2269 if in == nil {
2270 return nil
2271 }
2272 out := new(JVMParameter)
2273 in.DeepCopyInto(out)
2274 return out
2275 }
2276
2277
2278 func (in *JVMReturnSpec) DeepCopyInto(out *JVMReturnSpec) {
2279 *out = *in
2280 out.JVMCommonSpec = in.JVMCommonSpec
2281 out.JVMClassMethodSpec = in.JVMClassMethodSpec
2282 }
2283
2284
2285 func (in *JVMReturnSpec) DeepCopy() *JVMReturnSpec {
2286 if in == nil {
2287 return nil
2288 }
2289 out := new(JVMReturnSpec)
2290 in.DeepCopyInto(out)
2291 return out
2292 }
2293
2294
2295 func (in *JVMRuleDataSpec) DeepCopyInto(out *JVMRuleDataSpec) {
2296 *out = *in
2297 out.JVMCommonSpec = in.JVMCommonSpec
2298 }
2299
2300
2301 func (in *JVMRuleDataSpec) DeepCopy() *JVMRuleDataSpec {
2302 if in == nil {
2303 return nil
2304 }
2305 out := new(JVMRuleDataSpec)
2306 in.DeepCopyInto(out)
2307 return out
2308 }
2309
2310
2311 func (in *JVMStressCfgSpec) DeepCopyInto(out *JVMStressCfgSpec) {
2312 *out = *in
2313 }
2314
2315
2316 func (in *JVMStressCfgSpec) DeepCopy() *JVMStressCfgSpec {
2317 if in == nil {
2318 return nil
2319 }
2320 out := new(JVMStressCfgSpec)
2321 in.DeepCopyInto(out)
2322 return out
2323 }
2324
2325
2326 func (in *JVMStressSpec) DeepCopyInto(out *JVMStressSpec) {
2327 *out = *in
2328 out.JVMCommonSpec = in.JVMCommonSpec
2329 }
2330
2331
2332 func (in *JVMStressSpec) DeepCopy() *JVMStressSpec {
2333 if in == nil {
2334 return nil
2335 }
2336 out := new(JVMStressSpec)
2337 in.DeepCopyInto(out)
2338 return out
2339 }
2340
2341
2342 func (in *KafkaCommonSpec) DeepCopyInto(out *KafkaCommonSpec) {
2343 *out = *in
2344 }
2345
2346
2347 func (in *KafkaCommonSpec) DeepCopy() *KafkaCommonSpec {
2348 if in == nil {
2349 return nil
2350 }
2351 out := new(KafkaCommonSpec)
2352 in.DeepCopyInto(out)
2353 return out
2354 }
2355
2356
2357 func (in *KafkaFillSpec) DeepCopyInto(out *KafkaFillSpec) {
2358 *out = *in
2359 out.KafkaCommonSpec = in.KafkaCommonSpec
2360 }
2361
2362
2363 func (in *KafkaFillSpec) DeepCopy() *KafkaFillSpec {
2364 if in == nil {
2365 return nil
2366 }
2367 out := new(KafkaFillSpec)
2368 in.DeepCopyInto(out)
2369 return out
2370 }
2371
2372
2373 func (in *KafkaFloodSpec) DeepCopyInto(out *KafkaFloodSpec) {
2374 *out = *in
2375 out.KafkaCommonSpec = in.KafkaCommonSpec
2376 }
2377
2378
2379 func (in *KafkaFloodSpec) DeepCopy() *KafkaFloodSpec {
2380 if in == nil {
2381 return nil
2382 }
2383 out := new(KafkaFloodSpec)
2384 in.DeepCopyInto(out)
2385 return out
2386 }
2387
2388
2389 func (in *KafkaIOSpec) DeepCopyInto(out *KafkaIOSpec) {
2390 *out = *in
2391 }
2392
2393
2394 func (in *KafkaIOSpec) DeepCopy() *KafkaIOSpec {
2395 if in == nil {
2396 return nil
2397 }
2398 out := new(KafkaIOSpec)
2399 in.DeepCopyInto(out)
2400 return out
2401 }
2402
2403
2404 func (in *KernelChaos) DeepCopyInto(out *KernelChaos) {
2405 *out = *in
2406 out.TypeMeta = in.TypeMeta
2407 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
2408 in.Spec.DeepCopyInto(&out.Spec)
2409 in.Status.DeepCopyInto(&out.Status)
2410 }
2411
2412
2413 func (in *KernelChaos) DeepCopy() *KernelChaos {
2414 if in == nil {
2415 return nil
2416 }
2417 out := new(KernelChaos)
2418 in.DeepCopyInto(out)
2419 return out
2420 }
2421
2422
2423 func (in *KernelChaos) DeepCopyObject() runtime.Object {
2424 if c := in.DeepCopy(); c != nil {
2425 return c
2426 }
2427 return nil
2428 }
2429
2430
2431 func (in *KernelChaosList) DeepCopyInto(out *KernelChaosList) {
2432 *out = *in
2433 out.TypeMeta = in.TypeMeta
2434 in.ListMeta.DeepCopyInto(&out.ListMeta)
2435 if in.Items != nil {
2436 in, out := &in.Items, &out.Items
2437 *out = make([]KernelChaos, len(*in))
2438 for i := range *in {
2439 (*in)[i].DeepCopyInto(&(*out)[i])
2440 }
2441 }
2442 }
2443
2444
2445 func (in *KernelChaosList) DeepCopy() *KernelChaosList {
2446 if in == nil {
2447 return nil
2448 }
2449 out := new(KernelChaosList)
2450 in.DeepCopyInto(out)
2451 return out
2452 }
2453
2454
2455 func (in *KernelChaosList) DeepCopyObject() runtime.Object {
2456 if c := in.DeepCopy(); c != nil {
2457 return c
2458 }
2459 return nil
2460 }
2461
2462
2463 func (in *KernelChaosSpec) DeepCopyInto(out *KernelChaosSpec) {
2464 *out = *in
2465 in.ContainerSelector.DeepCopyInto(&out.ContainerSelector)
2466 in.FailKernRequest.DeepCopyInto(&out.FailKernRequest)
2467 if in.Duration != nil {
2468 in, out := &in.Duration, &out.Duration
2469 *out = new(string)
2470 **out = **in
2471 }
2472 }
2473
2474
2475 func (in *KernelChaosSpec) DeepCopy() *KernelChaosSpec {
2476 if in == nil {
2477 return nil
2478 }
2479 out := new(KernelChaosSpec)
2480 in.DeepCopyInto(out)
2481 return out
2482 }
2483
2484
2485 func (in *KernelChaosStatus) DeepCopyInto(out *KernelChaosStatus) {
2486 *out = *in
2487 in.ChaosStatus.DeepCopyInto(&out.ChaosStatus)
2488 }
2489
2490
2491 func (in *KernelChaosStatus) DeepCopy() *KernelChaosStatus {
2492 if in == nil {
2493 return nil
2494 }
2495 out := new(KernelChaosStatus)
2496 in.DeepCopyInto(out)
2497 return out
2498 }
2499
2500
2501 func (in LabelSelectorRequirements) DeepCopyInto(out *LabelSelectorRequirements) {
2502 {
2503 in := &in
2504 *out = make(LabelSelectorRequirements, len(*in))
2505 for i := range *in {
2506 (*in)[i].DeepCopyInto(&(*out)[i])
2507 }
2508 }
2509 }
2510
2511
2512 func (in LabelSelectorRequirements) DeepCopy() LabelSelectorRequirements {
2513 if in == nil {
2514 return nil
2515 }
2516 out := new(LabelSelectorRequirements)
2517 in.DeepCopyInto(out)
2518 return *out
2519 }
2520
2521
2522 func (in *LossSpec) DeepCopyInto(out *LossSpec) {
2523 *out = *in
2524 }
2525
2526
2527 func (in *LossSpec) DeepCopy() *LossSpec {
2528 if in == nil {
2529 return nil
2530 }
2531 out := new(LossSpec)
2532 in.DeepCopyInto(out)
2533 return out
2534 }
2535
2536
2537 func (in *MemoryStressor) DeepCopyInto(out *MemoryStressor) {
2538 *out = *in
2539 out.Stressor = in.Stressor
2540 if in.Options != nil {
2541 in, out := &in.Options, &out.Options
2542 *out = make([]string, len(*in))
2543 copy(*out, *in)
2544 }
2545 }
2546
2547
2548 func (in *MemoryStressor) DeepCopy() *MemoryStressor {
2549 if in == nil {
2550 return nil
2551 }
2552 out := new(MemoryStressor)
2553 in.DeepCopyInto(out)
2554 return out
2555 }
2556
2557
2558 func (in *MistakeSpec) DeepCopyInto(out *MistakeSpec) {
2559 *out = *in
2560 }
2561
2562
2563 func (in *MistakeSpec) DeepCopy() *MistakeSpec {
2564 if in == nil {
2565 return nil
2566 }
2567 out := new(MistakeSpec)
2568 in.DeepCopyInto(out)
2569 return out
2570 }
2571
2572
2573 func (in *NetworkBandwidthSpec) DeepCopyInto(out *NetworkBandwidthSpec) {
2574 *out = *in
2575 if in.Peakrate != nil {
2576 in, out := &in.Peakrate, &out.Peakrate
2577 *out = new(uint64)
2578 **out = **in
2579 }
2580 if in.Minburst != nil {
2581 in, out := &in.Minburst, &out.Minburst
2582 *out = new(uint32)
2583 **out = **in
2584 }
2585 }
2586
2587
2588 func (in *NetworkBandwidthSpec) DeepCopy() *NetworkBandwidthSpec {
2589 if in == nil {
2590 return nil
2591 }
2592 out := new(NetworkBandwidthSpec)
2593 in.DeepCopyInto(out)
2594 return out
2595 }
2596
2597
2598 func (in *NetworkChaos) DeepCopyInto(out *NetworkChaos) {
2599 *out = *in
2600 out.TypeMeta = in.TypeMeta
2601 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
2602 in.Spec.DeepCopyInto(&out.Spec)
2603 in.Status.DeepCopyInto(&out.Status)
2604 }
2605
2606
2607 func (in *NetworkChaos) DeepCopy() *NetworkChaos {
2608 if in == nil {
2609 return nil
2610 }
2611 out := new(NetworkChaos)
2612 in.DeepCopyInto(out)
2613 return out
2614 }
2615
2616
2617 func (in *NetworkChaos) DeepCopyObject() runtime.Object {
2618 if c := in.DeepCopy(); c != nil {
2619 return c
2620 }
2621 return nil
2622 }
2623
2624
2625 func (in *NetworkChaosList) DeepCopyInto(out *NetworkChaosList) {
2626 *out = *in
2627 out.TypeMeta = in.TypeMeta
2628 in.ListMeta.DeepCopyInto(&out.ListMeta)
2629 if in.Items != nil {
2630 in, out := &in.Items, &out.Items
2631 *out = make([]NetworkChaos, len(*in))
2632 for i := range *in {
2633 (*in)[i].DeepCopyInto(&(*out)[i])
2634 }
2635 }
2636 }
2637
2638
2639 func (in *NetworkChaosList) DeepCopy() *NetworkChaosList {
2640 if in == nil {
2641 return nil
2642 }
2643 out := new(NetworkChaosList)
2644 in.DeepCopyInto(out)
2645 return out
2646 }
2647
2648
2649 func (in *NetworkChaosList) DeepCopyObject() runtime.Object {
2650 if c := in.DeepCopy(); c != nil {
2651 return c
2652 }
2653 return nil
2654 }
2655
2656
2657 func (in *NetworkChaosSpec) DeepCopyInto(out *NetworkChaosSpec) {
2658 *out = *in
2659 in.PodSelector.DeepCopyInto(&out.PodSelector)
2660 if in.Duration != nil {
2661 in, out := &in.Duration, &out.Duration
2662 *out = new(string)
2663 **out = **in
2664 }
2665 in.TcParameter.DeepCopyInto(&out.TcParameter)
2666 if in.Target != nil {
2667 in, out := &in.Target, &out.Target
2668 *out = new(PodSelector)
2669 (*in).DeepCopyInto(*out)
2670 }
2671 if in.ExternalTargets != nil {
2672 in, out := &in.ExternalTargets, &out.ExternalTargets
2673 *out = make([]string, len(*in))
2674 copy(*out, *in)
2675 }
2676 }
2677
2678
2679 func (in *NetworkChaosSpec) DeepCopy() *NetworkChaosSpec {
2680 if in == nil {
2681 return nil
2682 }
2683 out := new(NetworkChaosSpec)
2684 in.DeepCopyInto(out)
2685 return out
2686 }
2687
2688
2689 func (in *NetworkChaosStatus) DeepCopyInto(out *NetworkChaosStatus) {
2690 *out = *in
2691 in.ChaosStatus.DeepCopyInto(&out.ChaosStatus)
2692 if in.Instances != nil {
2693 in, out := &in.Instances, &out.Instances
2694 *out = make(map[string]int64, len(*in))
2695 for key, val := range *in {
2696 (*out)[key] = val
2697 }
2698 }
2699 }
2700
2701
2702 func (in *NetworkChaosStatus) DeepCopy() *NetworkChaosStatus {
2703 if in == nil {
2704 return nil
2705 }
2706 out := new(NetworkChaosStatus)
2707 in.DeepCopyInto(out)
2708 return out
2709 }
2710
2711
2712 func (in *NetworkCommonSpec) DeepCopyInto(out *NetworkCommonSpec) {
2713 *out = *in
2714 }
2715
2716
2717 func (in *NetworkCommonSpec) DeepCopy() *NetworkCommonSpec {
2718 if in == nil {
2719 return nil
2720 }
2721 out := new(NetworkCommonSpec)
2722 in.DeepCopyInto(out)
2723 return out
2724 }
2725
2726
2727 func (in *NetworkCorruptSpec) DeepCopyInto(out *NetworkCorruptSpec) {
2728 *out = *in
2729 out.NetworkCommonSpec = in.NetworkCommonSpec
2730 }
2731
2732
2733 func (in *NetworkCorruptSpec) DeepCopy() *NetworkCorruptSpec {
2734 if in == nil {
2735 return nil
2736 }
2737 out := new(NetworkCorruptSpec)
2738 in.DeepCopyInto(out)
2739 return out
2740 }
2741
2742
2743 func (in *NetworkDNSSpec) DeepCopyInto(out *NetworkDNSSpec) {
2744 *out = *in
2745 }
2746
2747
2748 func (in *NetworkDNSSpec) DeepCopy() *NetworkDNSSpec {
2749 if in == nil {
2750 return nil
2751 }
2752 out := new(NetworkDNSSpec)
2753 in.DeepCopyInto(out)
2754 return out
2755 }
2756
2757
2758 func (in *NetworkDelaySpec) DeepCopyInto(out *NetworkDelaySpec) {
2759 *out = *in
2760 out.NetworkCommonSpec = in.NetworkCommonSpec
2761 }
2762
2763
2764 func (in *NetworkDelaySpec) DeepCopy() *NetworkDelaySpec {
2765 if in == nil {
2766 return nil
2767 }
2768 out := new(NetworkDelaySpec)
2769 in.DeepCopyInto(out)
2770 return out
2771 }
2772
2773
2774 func (in *NetworkDownSpec) DeepCopyInto(out *NetworkDownSpec) {
2775 *out = *in
2776 }
2777
2778
2779 func (in *NetworkDownSpec) DeepCopy() *NetworkDownSpec {
2780 if in == nil {
2781 return nil
2782 }
2783 out := new(NetworkDownSpec)
2784 in.DeepCopyInto(out)
2785 return out
2786 }
2787
2788
2789 func (in *NetworkDuplicateSpec) DeepCopyInto(out *NetworkDuplicateSpec) {
2790 *out = *in
2791 out.NetworkCommonSpec = in.NetworkCommonSpec
2792 }
2793
2794
2795 func (in *NetworkDuplicateSpec) DeepCopy() *NetworkDuplicateSpec {
2796 if in == nil {
2797 return nil
2798 }
2799 out := new(NetworkDuplicateSpec)
2800 in.DeepCopyInto(out)
2801 return out
2802 }
2803
2804
2805 func (in *NetworkFloodSpec) DeepCopyInto(out *NetworkFloodSpec) {
2806 *out = *in
2807 }
2808
2809
2810 func (in *NetworkFloodSpec) DeepCopy() *NetworkFloodSpec {
2811 if in == nil {
2812 return nil
2813 }
2814 out := new(NetworkFloodSpec)
2815 in.DeepCopyInto(out)
2816 return out
2817 }
2818
2819
2820 func (in *NetworkLossSpec) DeepCopyInto(out *NetworkLossSpec) {
2821 *out = *in
2822 out.NetworkCommonSpec = in.NetworkCommonSpec
2823 }
2824
2825
2826 func (in *NetworkLossSpec) DeepCopy() *NetworkLossSpec {
2827 if in == nil {
2828 return nil
2829 }
2830 out := new(NetworkLossSpec)
2831 in.DeepCopyInto(out)
2832 return out
2833 }
2834
2835
2836 func (in *NetworkPartitionSpec) DeepCopyInto(out *NetworkPartitionSpec) {
2837 *out = *in
2838 }
2839
2840
2841 func (in *NetworkPartitionSpec) DeepCopy() *NetworkPartitionSpec {
2842 if in == nil {
2843 return nil
2844 }
2845 out := new(NetworkPartitionSpec)
2846 in.DeepCopyInto(out)
2847 return out
2848 }
2849
2850
2851 func (in *PMJVMMySQLSpec) DeepCopyInto(out *PMJVMMySQLSpec) {
2852 *out = *in
2853 out.JVMCommonSpec = in.JVMCommonSpec
2854 out.JVMMySQLSpec = in.JVMMySQLSpec
2855 }
2856
2857
2858 func (in *PMJVMMySQLSpec) DeepCopy() *PMJVMMySQLSpec {
2859 if in == nil {
2860 return nil
2861 }
2862 out := new(PMJVMMySQLSpec)
2863 in.DeepCopyInto(out)
2864 return out
2865 }
2866
2867
2868 func (in *PhysicalMachine) DeepCopyInto(out *PhysicalMachine) {
2869 *out = *in
2870 out.TypeMeta = in.TypeMeta
2871 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
2872 out.Spec = in.Spec
2873 }
2874
2875
2876 func (in *PhysicalMachine) DeepCopy() *PhysicalMachine {
2877 if in == nil {
2878 return nil
2879 }
2880 out := new(PhysicalMachine)
2881 in.DeepCopyInto(out)
2882 return out
2883 }
2884
2885
2886 func (in *PhysicalMachine) DeepCopyObject() runtime.Object {
2887 if c := in.DeepCopy(); c != nil {
2888 return c
2889 }
2890 return nil
2891 }
2892
2893
2894 func (in *PhysicalMachineChaos) DeepCopyInto(out *PhysicalMachineChaos) {
2895 *out = *in
2896 out.TypeMeta = in.TypeMeta
2897 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
2898 in.Spec.DeepCopyInto(&out.Spec)
2899 in.Status.DeepCopyInto(&out.Status)
2900 }
2901
2902
2903 func (in *PhysicalMachineChaos) DeepCopy() *PhysicalMachineChaos {
2904 if in == nil {
2905 return nil
2906 }
2907 out := new(PhysicalMachineChaos)
2908 in.DeepCopyInto(out)
2909 return out
2910 }
2911
2912
2913 func (in *PhysicalMachineChaos) DeepCopyObject() runtime.Object {
2914 if c := in.DeepCopy(); c != nil {
2915 return c
2916 }
2917 return nil
2918 }
2919
2920
2921 func (in *PhysicalMachineChaosList) DeepCopyInto(out *PhysicalMachineChaosList) {
2922 *out = *in
2923 out.TypeMeta = in.TypeMeta
2924 in.ListMeta.DeepCopyInto(&out.ListMeta)
2925 if in.Items != nil {
2926 in, out := &in.Items, &out.Items
2927 *out = make([]PhysicalMachineChaos, len(*in))
2928 for i := range *in {
2929 (*in)[i].DeepCopyInto(&(*out)[i])
2930 }
2931 }
2932 }
2933
2934
2935 func (in *PhysicalMachineChaosList) DeepCopy() *PhysicalMachineChaosList {
2936 if in == nil {
2937 return nil
2938 }
2939 out := new(PhysicalMachineChaosList)
2940 in.DeepCopyInto(out)
2941 return out
2942 }
2943
2944
2945 func (in *PhysicalMachineChaosList) DeepCopyObject() runtime.Object {
2946 if c := in.DeepCopy(); c != nil {
2947 return c
2948 }
2949 return nil
2950 }
2951
2952
2953 func (in *PhysicalMachineChaosSpec) DeepCopyInto(out *PhysicalMachineChaosSpec) {
2954 *out = *in
2955 in.PhysicalMachineSelector.DeepCopyInto(&out.PhysicalMachineSelector)
2956 in.ExpInfo.DeepCopyInto(&out.ExpInfo)
2957 if in.Duration != nil {
2958 in, out := &in.Duration, &out.Duration
2959 *out = new(string)
2960 **out = **in
2961 }
2962 }
2963
2964
2965 func (in *PhysicalMachineChaosSpec) DeepCopy() *PhysicalMachineChaosSpec {
2966 if in == nil {
2967 return nil
2968 }
2969 out := new(PhysicalMachineChaosSpec)
2970 in.DeepCopyInto(out)
2971 return out
2972 }
2973
2974
2975 func (in *PhysicalMachineChaosStatus) DeepCopyInto(out *PhysicalMachineChaosStatus) {
2976 *out = *in
2977 in.ChaosStatus.DeepCopyInto(&out.ChaosStatus)
2978 }
2979
2980
2981 func (in *PhysicalMachineChaosStatus) DeepCopy() *PhysicalMachineChaosStatus {
2982 if in == nil {
2983 return nil
2984 }
2985 out := new(PhysicalMachineChaosStatus)
2986 in.DeepCopyInto(out)
2987 return out
2988 }
2989
2990
2991 func (in *PhysicalMachineList) DeepCopyInto(out *PhysicalMachineList) {
2992 *out = *in
2993 out.TypeMeta = in.TypeMeta
2994 in.ListMeta.DeepCopyInto(&out.ListMeta)
2995 if in.Items != nil {
2996 in, out := &in.Items, &out.Items
2997 *out = make([]PhysicalMachine, len(*in))
2998 for i := range *in {
2999 (*in)[i].DeepCopyInto(&(*out)[i])
3000 }
3001 }
3002 }
3003
3004
3005 func (in *PhysicalMachineList) DeepCopy() *PhysicalMachineList {
3006 if in == nil {
3007 return nil
3008 }
3009 out := new(PhysicalMachineList)
3010 in.DeepCopyInto(out)
3011 return out
3012 }
3013
3014
3015 func (in *PhysicalMachineList) DeepCopyObject() runtime.Object {
3016 if c := in.DeepCopy(); c != nil {
3017 return c
3018 }
3019 return nil
3020 }
3021
3022
3023 func (in *PhysicalMachineSelector) DeepCopyInto(out *PhysicalMachineSelector) {
3024 *out = *in
3025 if in.Address != nil {
3026 in, out := &in.Address, &out.Address
3027 *out = make([]string, len(*in))
3028 copy(*out, *in)
3029 }
3030 in.Selector.DeepCopyInto(&out.Selector)
3031 }
3032
3033
3034 func (in *PhysicalMachineSelector) DeepCopy() *PhysicalMachineSelector {
3035 if in == nil {
3036 return nil
3037 }
3038 out := new(PhysicalMachineSelector)
3039 in.DeepCopyInto(out)
3040 return out
3041 }
3042
3043
3044 func (in *PhysicalMachineSelectorSpec) DeepCopyInto(out *PhysicalMachineSelectorSpec) {
3045 *out = *in
3046 in.GenericSelectorSpec.DeepCopyInto(&out.GenericSelectorSpec)
3047 if in.PhysicalMachines != nil {
3048 in, out := &in.PhysicalMachines, &out.PhysicalMachines
3049 *out = make(map[string][]string, len(*in))
3050 for key, val := range *in {
3051 var outVal []string
3052 if val == nil {
3053 (*out)[key] = nil
3054 } else {
3055 inVal := (*in)[key]
3056 in, out := &inVal, &outVal
3057 *out = make([]string, len(*in))
3058 copy(*out, *in)
3059 }
3060 (*out)[key] = outVal
3061 }
3062 }
3063 }
3064
3065
3066 func (in *PhysicalMachineSelectorSpec) DeepCopy() *PhysicalMachineSelectorSpec {
3067 if in == nil {
3068 return nil
3069 }
3070 out := new(PhysicalMachineSelectorSpec)
3071 in.DeepCopyInto(out)
3072 return out
3073 }
3074
3075
3076 func (in *PhysicalMachineSpec) DeepCopyInto(out *PhysicalMachineSpec) {
3077 *out = *in
3078 }
3079
3080
3081 func (in *PhysicalMachineSpec) DeepCopy() *PhysicalMachineSpec {
3082 if in == nil {
3083 return nil
3084 }
3085 out := new(PhysicalMachineSpec)
3086 in.DeepCopyInto(out)
3087 return out
3088 }
3089
3090
3091 func (in *PodChaos) DeepCopyInto(out *PodChaos) {
3092 *out = *in
3093 out.TypeMeta = in.TypeMeta
3094 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
3095 in.Spec.DeepCopyInto(&out.Spec)
3096 in.Status.DeepCopyInto(&out.Status)
3097 }
3098
3099
3100 func (in *PodChaos) DeepCopy() *PodChaos {
3101 if in == nil {
3102 return nil
3103 }
3104 out := new(PodChaos)
3105 in.DeepCopyInto(out)
3106 return out
3107 }
3108
3109
3110 func (in *PodChaos) DeepCopyObject() runtime.Object {
3111 if c := in.DeepCopy(); c != nil {
3112 return c
3113 }
3114 return nil
3115 }
3116
3117
3118 func (in *PodChaosList) DeepCopyInto(out *PodChaosList) {
3119 *out = *in
3120 out.TypeMeta = in.TypeMeta
3121 in.ListMeta.DeepCopyInto(&out.ListMeta)
3122 if in.Items != nil {
3123 in, out := &in.Items, &out.Items
3124 *out = make([]PodChaos, len(*in))
3125 for i := range *in {
3126 (*in)[i].DeepCopyInto(&(*out)[i])
3127 }
3128 }
3129 }
3130
3131
3132 func (in *PodChaosList) DeepCopy() *PodChaosList {
3133 if in == nil {
3134 return nil
3135 }
3136 out := new(PodChaosList)
3137 in.DeepCopyInto(out)
3138 return out
3139 }
3140
3141
3142 func (in *PodChaosList) DeepCopyObject() runtime.Object {
3143 if c := in.DeepCopy(); c != nil {
3144 return c
3145 }
3146 return nil
3147 }
3148
3149
3150 func (in *PodChaosSpec) DeepCopyInto(out *PodChaosSpec) {
3151 *out = *in
3152 in.ContainerSelector.DeepCopyInto(&out.ContainerSelector)
3153 if in.Duration != nil {
3154 in, out := &in.Duration, &out.Duration
3155 *out = new(string)
3156 **out = **in
3157 }
3158 }
3159
3160
3161 func (in *PodChaosSpec) DeepCopy() *PodChaosSpec {
3162 if in == nil {
3163 return nil
3164 }
3165 out := new(PodChaosSpec)
3166 in.DeepCopyInto(out)
3167 return out
3168 }
3169
3170
3171 func (in *PodChaosStatus) DeepCopyInto(out *PodChaosStatus) {
3172 *out = *in
3173 in.ChaosStatus.DeepCopyInto(&out.ChaosStatus)
3174 }
3175
3176
3177 func (in *PodChaosStatus) DeepCopy() *PodChaosStatus {
3178 if in == nil {
3179 return nil
3180 }
3181 out := new(PodChaosStatus)
3182 in.DeepCopyInto(out)
3183 return out
3184 }
3185
3186
3187 func (in *PodHttpChaos) DeepCopyInto(out *PodHttpChaos) {
3188 *out = *in
3189 out.TypeMeta = in.TypeMeta
3190 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
3191 in.Spec.DeepCopyInto(&out.Spec)
3192 out.Status = in.Status
3193 }
3194
3195
3196 func (in *PodHttpChaos) DeepCopy() *PodHttpChaos {
3197 if in == nil {
3198 return nil
3199 }
3200 out := new(PodHttpChaos)
3201 in.DeepCopyInto(out)
3202 return out
3203 }
3204
3205
3206 func (in *PodHttpChaos) DeepCopyObject() runtime.Object {
3207 if c := in.DeepCopy(); c != nil {
3208 return c
3209 }
3210 return nil
3211 }
3212
3213
3214 func (in *PodHttpChaosActions) DeepCopyInto(out *PodHttpChaosActions) {
3215 *out = *in
3216 if in.Abort != nil {
3217 in, out := &in.Abort, &out.Abort
3218 *out = new(bool)
3219 **out = **in
3220 }
3221 if in.Delay != nil {
3222 in, out := &in.Delay, &out.Delay
3223 *out = new(string)
3224 **out = **in
3225 }
3226 if in.Replace != nil {
3227 in, out := &in.Replace, &out.Replace
3228 *out = new(PodHttpChaosReplaceActions)
3229 (*in).DeepCopyInto(*out)
3230 }
3231 if in.Patch != nil {
3232 in, out := &in.Patch, &out.Patch
3233 *out = new(PodHttpChaosPatchActions)
3234 (*in).DeepCopyInto(*out)
3235 }
3236 }
3237
3238
3239 func (in *PodHttpChaosActions) DeepCopy() *PodHttpChaosActions {
3240 if in == nil {
3241 return nil
3242 }
3243 out := new(PodHttpChaosActions)
3244 in.DeepCopyInto(out)
3245 return out
3246 }
3247
3248
3249 func (in *PodHttpChaosBaseRule) DeepCopyInto(out *PodHttpChaosBaseRule) {
3250 *out = *in
3251 in.Selector.DeepCopyInto(&out.Selector)
3252 in.Actions.DeepCopyInto(&out.Actions)
3253 }
3254
3255
3256 func (in *PodHttpChaosBaseRule) DeepCopy() *PodHttpChaosBaseRule {
3257 if in == nil {
3258 return nil
3259 }
3260 out := new(PodHttpChaosBaseRule)
3261 in.DeepCopyInto(out)
3262 return out
3263 }
3264
3265
3266 func (in *PodHttpChaosList) DeepCopyInto(out *PodHttpChaosList) {
3267 *out = *in
3268 out.TypeMeta = in.TypeMeta
3269 in.ListMeta.DeepCopyInto(&out.ListMeta)
3270 if in.Items != nil {
3271 in, out := &in.Items, &out.Items
3272 *out = make([]PodHttpChaos, len(*in))
3273 for i := range *in {
3274 (*in)[i].DeepCopyInto(&(*out)[i])
3275 }
3276 }
3277 }
3278
3279
3280 func (in *PodHttpChaosList) DeepCopy() *PodHttpChaosList {
3281 if in == nil {
3282 return nil
3283 }
3284 out := new(PodHttpChaosList)
3285 in.DeepCopyInto(out)
3286 return out
3287 }
3288
3289
3290 func (in *PodHttpChaosList) DeepCopyObject() runtime.Object {
3291 if c := in.DeepCopy(); c != nil {
3292 return c
3293 }
3294 return nil
3295 }
3296
3297
3298 func (in *PodHttpChaosPatchActions) DeepCopyInto(out *PodHttpChaosPatchActions) {
3299 *out = *in
3300 if in.Body != nil {
3301 in, out := &in.Body, &out.Body
3302 *out = new(PodHttpChaosPatchBodyAction)
3303 **out = **in
3304 }
3305 if in.Queries != nil {
3306 in, out := &in.Queries, &out.Queries
3307 *out = make([][]string, len(*in))
3308 for i := range *in {
3309 if (*in)[i] != nil {
3310 in, out := &(*in)[i], &(*out)[i]
3311 *out = make([]string, len(*in))
3312 copy(*out, *in)
3313 }
3314 }
3315 }
3316 if in.Headers != nil {
3317 in, out := &in.Headers, &out.Headers
3318 *out = make([][]string, len(*in))
3319 for i := range *in {
3320 if (*in)[i] != nil {
3321 in, out := &(*in)[i], &(*out)[i]
3322 *out = make([]string, len(*in))
3323 copy(*out, *in)
3324 }
3325 }
3326 }
3327 }
3328
3329
3330 func (in *PodHttpChaosPatchActions) DeepCopy() *PodHttpChaosPatchActions {
3331 if in == nil {
3332 return nil
3333 }
3334 out := new(PodHttpChaosPatchActions)
3335 in.DeepCopyInto(out)
3336 return out
3337 }
3338
3339
3340 func (in *PodHttpChaosPatchBodyAction) DeepCopyInto(out *PodHttpChaosPatchBodyAction) {
3341 *out = *in
3342 }
3343
3344
3345 func (in *PodHttpChaosPatchBodyAction) DeepCopy() *PodHttpChaosPatchBodyAction {
3346 if in == nil {
3347 return nil
3348 }
3349 out := new(PodHttpChaosPatchBodyAction)
3350 in.DeepCopyInto(out)
3351 return out
3352 }
3353
3354
3355 func (in *PodHttpChaosReplaceActions) DeepCopyInto(out *PodHttpChaosReplaceActions) {
3356 *out = *in
3357 if in.Path != nil {
3358 in, out := &in.Path, &out.Path
3359 *out = new(string)
3360 **out = **in
3361 }
3362 if in.Method != nil {
3363 in, out := &in.Method, &out.Method
3364 *out = new(string)
3365 **out = **in
3366 }
3367 if in.Code != nil {
3368 in, out := &in.Code, &out.Code
3369 *out = new(int32)
3370 **out = **in
3371 }
3372 if in.Body != nil {
3373 in, out := &in.Body, &out.Body
3374 *out = make([]byte, len(*in))
3375 copy(*out, *in)
3376 }
3377 if in.Queries != nil {
3378 in, out := &in.Queries, &out.Queries
3379 *out = make(map[string]string, len(*in))
3380 for key, val := range *in {
3381 (*out)[key] = val
3382 }
3383 }
3384 if in.Headers != nil {
3385 in, out := &in.Headers, &out.Headers
3386 *out = make(map[string]string, len(*in))
3387 for key, val := range *in {
3388 (*out)[key] = val
3389 }
3390 }
3391 }
3392
3393
3394 func (in *PodHttpChaosReplaceActions) DeepCopy() *PodHttpChaosReplaceActions {
3395 if in == nil {
3396 return nil
3397 }
3398 out := new(PodHttpChaosReplaceActions)
3399 in.DeepCopyInto(out)
3400 return out
3401 }
3402
3403
3404 func (in *PodHttpChaosRule) DeepCopyInto(out *PodHttpChaosRule) {
3405 *out = *in
3406 in.PodHttpChaosBaseRule.DeepCopyInto(&out.PodHttpChaosBaseRule)
3407 }
3408
3409
3410 func (in *PodHttpChaosRule) DeepCopy() *PodHttpChaosRule {
3411 if in == nil {
3412 return nil
3413 }
3414 out := new(PodHttpChaosRule)
3415 in.DeepCopyInto(out)
3416 return out
3417 }
3418
3419
3420 func (in *PodHttpChaosSelector) DeepCopyInto(out *PodHttpChaosSelector) {
3421 *out = *in
3422 if in.Port != nil {
3423 in, out := &in.Port, &out.Port
3424 *out = new(int32)
3425 **out = **in
3426 }
3427 if in.Path != nil {
3428 in, out := &in.Path, &out.Path
3429 *out = new(string)
3430 **out = **in
3431 }
3432 if in.Method != nil {
3433 in, out := &in.Method, &out.Method
3434 *out = new(string)
3435 **out = **in
3436 }
3437 if in.Code != nil {
3438 in, out := &in.Code, &out.Code
3439 *out = new(int32)
3440 **out = **in
3441 }
3442 if in.RequestHeaders != nil {
3443 in, out := &in.RequestHeaders, &out.RequestHeaders
3444 *out = make(map[string]string, len(*in))
3445 for key, val := range *in {
3446 (*out)[key] = val
3447 }
3448 }
3449 if in.ResponseHeaders != nil {
3450 in, out := &in.ResponseHeaders, &out.ResponseHeaders
3451 *out = make(map[string]string, len(*in))
3452 for key, val := range *in {
3453 (*out)[key] = val
3454 }
3455 }
3456 }
3457
3458
3459 func (in *PodHttpChaosSelector) DeepCopy() *PodHttpChaosSelector {
3460 if in == nil {
3461 return nil
3462 }
3463 out := new(PodHttpChaosSelector)
3464 in.DeepCopyInto(out)
3465 return out
3466 }
3467
3468
3469 func (in *PodHttpChaosSpec) DeepCopyInto(out *PodHttpChaosSpec) {
3470 *out = *in
3471 if in.Rules != nil {
3472 in, out := &in.Rules, &out.Rules
3473 *out = make([]PodHttpChaosRule, len(*in))
3474 for i := range *in {
3475 (*in)[i].DeepCopyInto(&(*out)[i])
3476 }
3477 }
3478 if in.TLS != nil {
3479 in, out := &in.TLS, &out.TLS
3480 *out = new(PodHttpChaosTLS)
3481 (*in).DeepCopyInto(*out)
3482 }
3483 }
3484
3485
3486 func (in *PodHttpChaosSpec) DeepCopy() *PodHttpChaosSpec {
3487 if in == nil {
3488 return nil
3489 }
3490 out := new(PodHttpChaosSpec)
3491 in.DeepCopyInto(out)
3492 return out
3493 }
3494
3495
3496 func (in *PodHttpChaosStatus) DeepCopyInto(out *PodHttpChaosStatus) {
3497 *out = *in
3498 }
3499
3500
3501 func (in *PodHttpChaosStatus) DeepCopy() *PodHttpChaosStatus {
3502 if in == nil {
3503 return nil
3504 }
3505 out := new(PodHttpChaosStatus)
3506 in.DeepCopyInto(out)
3507 return out
3508 }
3509
3510
3511 func (in *PodHttpChaosTLS) DeepCopyInto(out *PodHttpChaosTLS) {
3512 *out = *in
3513 if in.CAName != nil {
3514 in, out := &in.CAName, &out.CAName
3515 *out = new(string)
3516 **out = **in
3517 }
3518 }
3519
3520
3521 func (in *PodHttpChaosTLS) DeepCopy() *PodHttpChaosTLS {
3522 if in == nil {
3523 return nil
3524 }
3525 out := new(PodHttpChaosTLS)
3526 in.DeepCopyInto(out)
3527 return out
3528 }
3529
3530
3531 func (in *PodIOChaos) DeepCopyInto(out *PodIOChaos) {
3532 *out = *in
3533 out.TypeMeta = in.TypeMeta
3534 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
3535 in.Spec.DeepCopyInto(&out.Spec)
3536 out.Status = in.Status
3537 }
3538
3539
3540 func (in *PodIOChaos) DeepCopy() *PodIOChaos {
3541 if in == nil {
3542 return nil
3543 }
3544 out := new(PodIOChaos)
3545 in.DeepCopyInto(out)
3546 return out
3547 }
3548
3549
3550 func (in *PodIOChaos) DeepCopyObject() runtime.Object {
3551 if c := in.DeepCopy(); c != nil {
3552 return c
3553 }
3554 return nil
3555 }
3556
3557
3558 func (in *PodIOChaosList) DeepCopyInto(out *PodIOChaosList) {
3559 *out = *in
3560 out.TypeMeta = in.TypeMeta
3561 in.ListMeta.DeepCopyInto(&out.ListMeta)
3562 if in.Items != nil {
3563 in, out := &in.Items, &out.Items
3564 *out = make([]PodIOChaos, len(*in))
3565 for i := range *in {
3566 (*in)[i].DeepCopyInto(&(*out)[i])
3567 }
3568 }
3569 }
3570
3571
3572 func (in *PodIOChaosList) DeepCopy() *PodIOChaosList {
3573 if in == nil {
3574 return nil
3575 }
3576 out := new(PodIOChaosList)
3577 in.DeepCopyInto(out)
3578 return out
3579 }
3580
3581
3582 func (in *PodIOChaosList) DeepCopyObject() runtime.Object {
3583 if c := in.DeepCopy(); c != nil {
3584 return c
3585 }
3586 return nil
3587 }
3588
3589
3590 func (in *PodIOChaosSpec) DeepCopyInto(out *PodIOChaosSpec) {
3591 *out = *in
3592 if in.Container != nil {
3593 in, out := &in.Container, &out.Container
3594 *out = new(string)
3595 **out = **in
3596 }
3597 if in.Actions != nil {
3598 in, out := &in.Actions, &out.Actions
3599 *out = make([]IOChaosAction, len(*in))
3600 for i := range *in {
3601 (*in)[i].DeepCopyInto(&(*out)[i])
3602 }
3603 }
3604 }
3605
3606
3607 func (in *PodIOChaosSpec) DeepCopy() *PodIOChaosSpec {
3608 if in == nil {
3609 return nil
3610 }
3611 out := new(PodIOChaosSpec)
3612 in.DeepCopyInto(out)
3613 return out
3614 }
3615
3616
3617 func (in *PodIOChaosStatus) DeepCopyInto(out *PodIOChaosStatus) {
3618 *out = *in
3619 }
3620
3621
3622 func (in *PodIOChaosStatus) DeepCopy() *PodIOChaosStatus {
3623 if in == nil {
3624 return nil
3625 }
3626 out := new(PodIOChaosStatus)
3627 in.DeepCopyInto(out)
3628 return out
3629 }
3630
3631
3632 func (in *PodNetworkChaos) DeepCopyInto(out *PodNetworkChaos) {
3633 *out = *in
3634 out.TypeMeta = in.TypeMeta
3635 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
3636 in.Spec.DeepCopyInto(&out.Spec)
3637 out.Status = in.Status
3638 }
3639
3640
3641 func (in *PodNetworkChaos) DeepCopy() *PodNetworkChaos {
3642 if in == nil {
3643 return nil
3644 }
3645 out := new(PodNetworkChaos)
3646 in.DeepCopyInto(out)
3647 return out
3648 }
3649
3650
3651 func (in *PodNetworkChaos) DeepCopyObject() runtime.Object {
3652 if c := in.DeepCopy(); c != nil {
3653 return c
3654 }
3655 return nil
3656 }
3657
3658
3659 func (in *PodNetworkChaosList) DeepCopyInto(out *PodNetworkChaosList) {
3660 *out = *in
3661 out.TypeMeta = in.TypeMeta
3662 in.ListMeta.DeepCopyInto(&out.ListMeta)
3663 if in.Items != nil {
3664 in, out := &in.Items, &out.Items
3665 *out = make([]PodNetworkChaos, len(*in))
3666 for i := range *in {
3667 (*in)[i].DeepCopyInto(&(*out)[i])
3668 }
3669 }
3670 }
3671
3672
3673 func (in *PodNetworkChaosList) DeepCopy() *PodNetworkChaosList {
3674 if in == nil {
3675 return nil
3676 }
3677 out := new(PodNetworkChaosList)
3678 in.DeepCopyInto(out)
3679 return out
3680 }
3681
3682
3683 func (in *PodNetworkChaosList) DeepCopyObject() runtime.Object {
3684 if c := in.DeepCopy(); c != nil {
3685 return c
3686 }
3687 return nil
3688 }
3689
3690
3691 func (in *PodNetworkChaosSpec) DeepCopyInto(out *PodNetworkChaosSpec) {
3692 *out = *in
3693 if in.IPSets != nil {
3694 in, out := &in.IPSets, &out.IPSets
3695 *out = make([]RawIPSet, len(*in))
3696 for i := range *in {
3697 (*in)[i].DeepCopyInto(&(*out)[i])
3698 }
3699 }
3700 if in.Iptables != nil {
3701 in, out := &in.Iptables, &out.Iptables
3702 *out = make([]RawIptables, len(*in))
3703 for i := range *in {
3704 (*in)[i].DeepCopyInto(&(*out)[i])
3705 }
3706 }
3707 if in.TrafficControls != nil {
3708 in, out := &in.TrafficControls, &out.TrafficControls
3709 *out = make([]RawTrafficControl, len(*in))
3710 for i := range *in {
3711 (*in)[i].DeepCopyInto(&(*out)[i])
3712 }
3713 }
3714 }
3715
3716
3717 func (in *PodNetworkChaosSpec) DeepCopy() *PodNetworkChaosSpec {
3718 if in == nil {
3719 return nil
3720 }
3721 out := new(PodNetworkChaosSpec)
3722 in.DeepCopyInto(out)
3723 return out
3724 }
3725
3726
3727 func (in *PodNetworkChaosStatus) DeepCopyInto(out *PodNetworkChaosStatus) {
3728 *out = *in
3729 }
3730
3731
3732 func (in *PodNetworkChaosStatus) DeepCopy() *PodNetworkChaosStatus {
3733 if in == nil {
3734 return nil
3735 }
3736 out := new(PodNetworkChaosStatus)
3737 in.DeepCopyInto(out)
3738 return out
3739 }
3740
3741
3742 func (in *PodSelector) DeepCopyInto(out *PodSelector) {
3743 *out = *in
3744 in.Selector.DeepCopyInto(&out.Selector)
3745 }
3746
3747
3748 func (in *PodSelector) DeepCopy() *PodSelector {
3749 if in == nil {
3750 return nil
3751 }
3752 out := new(PodSelector)
3753 in.DeepCopyInto(out)
3754 return out
3755 }
3756
3757
3758 func (in *PodSelectorSpec) DeepCopyInto(out *PodSelectorSpec) {
3759 *out = *in
3760 in.GenericSelectorSpec.DeepCopyInto(&out.GenericSelectorSpec)
3761 if in.Nodes != nil {
3762 in, out := &in.Nodes, &out.Nodes
3763 *out = make([]string, len(*in))
3764 copy(*out, *in)
3765 }
3766 if in.Pods != nil {
3767 in, out := &in.Pods, &out.Pods
3768 *out = make(map[string][]string, len(*in))
3769 for key, val := range *in {
3770 var outVal []string
3771 if val == nil {
3772 (*out)[key] = nil
3773 } else {
3774 inVal := (*in)[key]
3775 in, out := &inVal, &outVal
3776 *out = make([]string, len(*in))
3777 copy(*out, *in)
3778 }
3779 (*out)[key] = outVal
3780 }
3781 }
3782 if in.NodeSelectors != nil {
3783 in, out := &in.NodeSelectors, &out.NodeSelectors
3784 *out = make(map[string]string, len(*in))
3785 for key, val := range *in {
3786 (*out)[key] = val
3787 }
3788 }
3789 if in.PodPhaseSelectors != nil {
3790 in, out := &in.PodPhaseSelectors, &out.PodPhaseSelectors
3791 *out = make([]string, len(*in))
3792 copy(*out, *in)
3793 }
3794 }
3795
3796
3797 func (in *PodSelectorSpec) DeepCopy() *PodSelectorSpec {
3798 if in == nil {
3799 return nil
3800 }
3801 out := new(PodSelectorSpec)
3802 in.DeepCopyInto(out)
3803 return out
3804 }
3805
3806
3807 func (in *ProcessSpec) DeepCopyInto(out *ProcessSpec) {
3808 *out = *in
3809 }
3810
3811
3812 func (in *ProcessSpec) DeepCopy() *ProcessSpec {
3813 if in == nil {
3814 return nil
3815 }
3816 out := new(ProcessSpec)
3817 in.DeepCopyInto(out)
3818 return out
3819 }
3820
3821
3822 func (in *RateSpec) DeepCopyInto(out *RateSpec) {
3823 *out = *in
3824 }
3825
3826
3827 func (in *RateSpec) DeepCopy() *RateSpec {
3828 if in == nil {
3829 return nil
3830 }
3831 out := new(RateSpec)
3832 in.DeepCopyInto(out)
3833 return out
3834 }
3835
3836
3837 func (in *RawIPSet) DeepCopyInto(out *RawIPSet) {
3838 *out = *in
3839 if in.Cidrs != nil {
3840 in, out := &in.Cidrs, &out.Cidrs
3841 *out = make([]string, len(*in))
3842 copy(*out, *in)
3843 }
3844 if in.CidrAndPorts != nil {
3845 in, out := &in.CidrAndPorts, &out.CidrAndPorts
3846 *out = make([]CidrAndPort, len(*in))
3847 copy(*out, *in)
3848 }
3849 if in.SetNames != nil {
3850 in, out := &in.SetNames, &out.SetNames
3851 *out = make([]string, len(*in))
3852 copy(*out, *in)
3853 }
3854 out.RawRuleSource = in.RawRuleSource
3855 }
3856
3857
3858 func (in *RawIPSet) DeepCopy() *RawIPSet {
3859 if in == nil {
3860 return nil
3861 }
3862 out := new(RawIPSet)
3863 in.DeepCopyInto(out)
3864 return out
3865 }
3866
3867
3868 func (in *RawIptables) DeepCopyInto(out *RawIptables) {
3869 *out = *in
3870 if in.IPSets != nil {
3871 in, out := &in.IPSets, &out.IPSets
3872 *out = make([]string, len(*in))
3873 copy(*out, *in)
3874 }
3875 out.RawRuleSource = in.RawRuleSource
3876 }
3877
3878
3879 func (in *RawIptables) DeepCopy() *RawIptables {
3880 if in == nil {
3881 return nil
3882 }
3883 out := new(RawIptables)
3884 in.DeepCopyInto(out)
3885 return out
3886 }
3887
3888
3889 func (in *RawRuleSource) DeepCopyInto(out *RawRuleSource) {
3890 *out = *in
3891 }
3892
3893
3894 func (in *RawRuleSource) DeepCopy() *RawRuleSource {
3895 if in == nil {
3896 return nil
3897 }
3898 out := new(RawRuleSource)
3899 in.DeepCopyInto(out)
3900 return out
3901 }
3902
3903
3904 func (in *RawTrafficControl) DeepCopyInto(out *RawTrafficControl) {
3905 *out = *in
3906 in.TcParameter.DeepCopyInto(&out.TcParameter)
3907 }
3908
3909
3910 func (in *RawTrafficControl) DeepCopy() *RawTrafficControl {
3911 if in == nil {
3912 return nil
3913 }
3914 out := new(RawTrafficControl)
3915 in.DeepCopyInto(out)
3916 return out
3917 }
3918
3919
3920 func (in *Record) DeepCopyInto(out *Record) {
3921 *out = *in
3922 if in.Events != nil {
3923 in, out := &in.Events, &out.Events
3924 *out = make([]RecordEvent, len(*in))
3925 for i := range *in {
3926 (*in)[i].DeepCopyInto(&(*out)[i])
3927 }
3928 }
3929 }
3930
3931
3932 func (in *Record) DeepCopy() *Record {
3933 if in == nil {
3934 return nil
3935 }
3936 out := new(Record)
3937 in.DeepCopyInto(out)
3938 return out
3939 }
3940
3941
3942 func (in *RecordEvent) DeepCopyInto(out *RecordEvent) {
3943 *out = *in
3944 if in.Timestamp != nil {
3945 in, out := &in.Timestamp, &out.Timestamp
3946 *out = (*in).DeepCopy()
3947 }
3948 }
3949
3950
3951 func (in *RecordEvent) DeepCopy() *RecordEvent {
3952 if in == nil {
3953 return nil
3954 }
3955 out := new(RecordEvent)
3956 in.DeepCopyInto(out)
3957 return out
3958 }
3959
3960
3961 func (in *RedisCacheLimitSpec) DeepCopyInto(out *RedisCacheLimitSpec) {
3962 *out = *in
3963 out.RedisCommonSpec = in.RedisCommonSpec
3964 }
3965
3966
3967 func (in *RedisCacheLimitSpec) DeepCopy() *RedisCacheLimitSpec {
3968 if in == nil {
3969 return nil
3970 }
3971 out := new(RedisCacheLimitSpec)
3972 in.DeepCopyInto(out)
3973 return out
3974 }
3975
3976
3977 func (in *RedisCommonSpec) DeepCopyInto(out *RedisCommonSpec) {
3978 *out = *in
3979 }
3980
3981
3982 func (in *RedisCommonSpec) DeepCopy() *RedisCommonSpec {
3983 if in == nil {
3984 return nil
3985 }
3986 out := new(RedisCommonSpec)
3987 in.DeepCopyInto(out)
3988 return out
3989 }
3990
3991
3992 func (in *RedisExpirationSpec) DeepCopyInto(out *RedisExpirationSpec) {
3993 *out = *in
3994 out.RedisCommonSpec = in.RedisCommonSpec
3995 }
3996
3997
3998 func (in *RedisExpirationSpec) DeepCopy() *RedisExpirationSpec {
3999 if in == nil {
4000 return nil
4001 }
4002 out := new(RedisExpirationSpec)
4003 in.DeepCopyInto(out)
4004 return out
4005 }
4006
4007
4008 func (in *RedisPenetrationSpec) DeepCopyInto(out *RedisPenetrationSpec) {
4009 *out = *in
4010 out.RedisCommonSpec = in.RedisCommonSpec
4011 }
4012
4013
4014 func (in *RedisPenetrationSpec) DeepCopy() *RedisPenetrationSpec {
4015 if in == nil {
4016 return nil
4017 }
4018 out := new(RedisPenetrationSpec)
4019 in.DeepCopyInto(out)
4020 return out
4021 }
4022
4023
4024 func (in *RedisSentinelRestartSpec) DeepCopyInto(out *RedisSentinelRestartSpec) {
4025 *out = *in
4026 out.RedisCommonSpec = in.RedisCommonSpec
4027 }
4028
4029
4030 func (in *RedisSentinelRestartSpec) DeepCopy() *RedisSentinelRestartSpec {
4031 if in == nil {
4032 return nil
4033 }
4034 out := new(RedisSentinelRestartSpec)
4035 in.DeepCopyInto(out)
4036 return out
4037 }
4038
4039
4040 func (in *RedisSentinelStopSpec) DeepCopyInto(out *RedisSentinelStopSpec) {
4041 *out = *in
4042 out.RedisCommonSpec = in.RedisCommonSpec
4043 }
4044
4045
4046 func (in *RedisSentinelStopSpec) DeepCopy() *RedisSentinelStopSpec {
4047 if in == nil {
4048 return nil
4049 }
4050 out := new(RedisSentinelStopSpec)
4051 in.DeepCopyInto(out)
4052 return out
4053 }
4054
4055
4056 func (in *RemoteCluster) DeepCopyInto(out *RemoteCluster) {
4057 *out = *in
4058 out.TypeMeta = in.TypeMeta
4059 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
4060 in.Spec.DeepCopyInto(&out.Spec)
4061 in.Status.DeepCopyInto(&out.Status)
4062 }
4063
4064
4065 func (in *RemoteCluster) DeepCopy() *RemoteCluster {
4066 if in == nil {
4067 return nil
4068 }
4069 out := new(RemoteCluster)
4070 in.DeepCopyInto(out)
4071 return out
4072 }
4073
4074
4075 func (in *RemoteCluster) DeepCopyObject() runtime.Object {
4076 if c := in.DeepCopy(); c != nil {
4077 return c
4078 }
4079 return nil
4080 }
4081
4082
4083 func (in *RemoteClusterCondition) DeepCopyInto(out *RemoteClusterCondition) {
4084 *out = *in
4085 }
4086
4087
4088 func (in *RemoteClusterCondition) DeepCopy() *RemoteClusterCondition {
4089 if in == nil {
4090 return nil
4091 }
4092 out := new(RemoteClusterCondition)
4093 in.DeepCopyInto(out)
4094 return out
4095 }
4096
4097
4098 func (in *RemoteClusterKubeConfig) DeepCopyInto(out *RemoteClusterKubeConfig) {
4099 *out = *in
4100 out.SecretRef = in.SecretRef
4101 }
4102
4103
4104 func (in *RemoteClusterKubeConfig) DeepCopy() *RemoteClusterKubeConfig {
4105 if in == nil {
4106 return nil
4107 }
4108 out := new(RemoteClusterKubeConfig)
4109 in.DeepCopyInto(out)
4110 return out
4111 }
4112
4113
4114 func (in *RemoteClusterList) DeepCopyInto(out *RemoteClusterList) {
4115 *out = *in
4116 out.TypeMeta = in.TypeMeta
4117 in.ListMeta.DeepCopyInto(&out.ListMeta)
4118 if in.Items != nil {
4119 in, out := &in.Items, &out.Items
4120 *out = make([]RemoteCluster, len(*in))
4121 for i := range *in {
4122 (*in)[i].DeepCopyInto(&(*out)[i])
4123 }
4124 }
4125 }
4126
4127
4128 func (in *RemoteClusterList) DeepCopy() *RemoteClusterList {
4129 if in == nil {
4130 return nil
4131 }
4132 out := new(RemoteClusterList)
4133 in.DeepCopyInto(out)
4134 return out
4135 }
4136
4137
4138 func (in *RemoteClusterList) DeepCopyObject() runtime.Object {
4139 if c := in.DeepCopy(); c != nil {
4140 return c
4141 }
4142 return nil
4143 }
4144
4145
4146 func (in *RemoteClusterSecretRef) DeepCopyInto(out *RemoteClusterSecretRef) {
4147 *out = *in
4148 }
4149
4150
4151 func (in *RemoteClusterSecretRef) DeepCopy() *RemoteClusterSecretRef {
4152 if in == nil {
4153 return nil
4154 }
4155 out := new(RemoteClusterSecretRef)
4156 in.DeepCopyInto(out)
4157 return out
4158 }
4159
4160
4161 func (in *RemoteClusterSpec) DeepCopyInto(out *RemoteClusterSpec) {
4162 *out = *in
4163 out.KubeConfig = in.KubeConfig
4164 if in.ConfigOverride != nil {
4165 in, out := &in.ConfigOverride, &out.ConfigOverride
4166 *out = make(json.RawMessage, len(*in))
4167 copy(*out, *in)
4168 }
4169 }
4170
4171
4172 func (in *RemoteClusterSpec) DeepCopy() *RemoteClusterSpec {
4173 if in == nil {
4174 return nil
4175 }
4176 out := new(RemoteClusterSpec)
4177 in.DeepCopyInto(out)
4178 return out
4179 }
4180
4181
4182 func (in *RemoteClusterStatus) DeepCopyInto(out *RemoteClusterStatus) {
4183 *out = *in
4184 if in.Conditions != nil {
4185 in, out := &in.Conditions, &out.Conditions
4186 *out = make([]RemoteClusterCondition, len(*in))
4187 copy(*out, *in)
4188 }
4189 }
4190
4191
4192 func (in *RemoteClusterStatus) DeepCopy() *RemoteClusterStatus {
4193 if in == nil {
4194 return nil
4195 }
4196 out := new(RemoteClusterStatus)
4197 in.DeepCopyInto(out)
4198 return out
4199 }
4200
4201
4202 func (in *ReorderSpec) DeepCopyInto(out *ReorderSpec) {
4203 *out = *in
4204 }
4205
4206
4207 func (in *ReorderSpec) DeepCopy() *ReorderSpec {
4208 if in == nil {
4209 return nil
4210 }
4211 out := new(ReorderSpec)
4212 in.DeepCopyInto(out)
4213 return out
4214 }
4215
4216
4217 func (in *Schedule) DeepCopyInto(out *Schedule) {
4218 *out = *in
4219 out.TypeMeta = in.TypeMeta
4220 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
4221 in.Spec.DeepCopyInto(&out.Spec)
4222 in.Status.DeepCopyInto(&out.Status)
4223 }
4224
4225
4226 func (in *Schedule) DeepCopy() *Schedule {
4227 if in == nil {
4228 return nil
4229 }
4230 out := new(Schedule)
4231 in.DeepCopyInto(out)
4232 return out
4233 }
4234
4235
4236 func (in *Schedule) DeepCopyObject() runtime.Object {
4237 if c := in.DeepCopy(); c != nil {
4238 return c
4239 }
4240 return nil
4241 }
4242
4243
4244 func (in *ScheduleItem) DeepCopyInto(out *ScheduleItem) {
4245 *out = *in
4246 in.EmbedChaos.DeepCopyInto(&out.EmbedChaos)
4247 if in.Workflow != nil {
4248 in, out := &in.Workflow, &out.Workflow
4249 *out = new(WorkflowSpec)
4250 (*in).DeepCopyInto(*out)
4251 }
4252 }
4253
4254
4255 func (in *ScheduleItem) DeepCopy() *ScheduleItem {
4256 if in == nil {
4257 return nil
4258 }
4259 out := new(ScheduleItem)
4260 in.DeepCopyInto(out)
4261 return out
4262 }
4263
4264
4265 func (in *ScheduleList) DeepCopyInto(out *ScheduleList) {
4266 *out = *in
4267 out.TypeMeta = in.TypeMeta
4268 in.ListMeta.DeepCopyInto(&out.ListMeta)
4269 if in.Items != nil {
4270 in, out := &in.Items, &out.Items
4271 *out = make([]Schedule, len(*in))
4272 for i := range *in {
4273 (*in)[i].DeepCopyInto(&(*out)[i])
4274 }
4275 }
4276 }
4277
4278
4279 func (in *ScheduleList) DeepCopy() *ScheduleList {
4280 if in == nil {
4281 return nil
4282 }
4283 out := new(ScheduleList)
4284 in.DeepCopyInto(out)
4285 return out
4286 }
4287
4288
4289 func (in *ScheduleList) DeepCopyObject() runtime.Object {
4290 if c := in.DeepCopy(); c != nil {
4291 return c
4292 }
4293 return nil
4294 }
4295
4296
4297 func (in *ScheduleSpec) DeepCopyInto(out *ScheduleSpec) {
4298 *out = *in
4299 if in.StartingDeadlineSeconds != nil {
4300 in, out := &in.StartingDeadlineSeconds, &out.StartingDeadlineSeconds
4301 *out = new(int64)
4302 **out = **in
4303 }
4304 in.ScheduleItem.DeepCopyInto(&out.ScheduleItem)
4305 }
4306
4307
4308 func (in *ScheduleSpec) DeepCopy() *ScheduleSpec {
4309 if in == nil {
4310 return nil
4311 }
4312 out := new(ScheduleSpec)
4313 in.DeepCopyInto(out)
4314 return out
4315 }
4316
4317
4318 func (in *ScheduleStatus) DeepCopyInto(out *ScheduleStatus) {
4319 *out = *in
4320 if in.Active != nil {
4321 in, out := &in.Active, &out.Active
4322 *out = make([]v1.ObjectReference, len(*in))
4323 copy(*out, *in)
4324 }
4325 in.LastScheduleTime.DeepCopyInto(&out.LastScheduleTime)
4326 }
4327
4328
4329 func (in *ScheduleStatus) DeepCopy() *ScheduleStatus {
4330 if in == nil {
4331 return nil
4332 }
4333 out := new(ScheduleStatus)
4334 in.DeepCopyInto(out)
4335 return out
4336 }
4337
4338
4339 func (in *StatusCheck) DeepCopyInto(out *StatusCheck) {
4340 *out = *in
4341 out.TypeMeta = in.TypeMeta
4342 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
4343 in.Spec.DeepCopyInto(&out.Spec)
4344 in.Status.DeepCopyInto(&out.Status)
4345 }
4346
4347
4348 func (in *StatusCheck) DeepCopy() *StatusCheck {
4349 if in == nil {
4350 return nil
4351 }
4352 out := new(StatusCheck)
4353 in.DeepCopyInto(out)
4354 return out
4355 }
4356
4357
4358 func (in *StatusCheck) DeepCopyObject() runtime.Object {
4359 if c := in.DeepCopy(); c != nil {
4360 return c
4361 }
4362 return nil
4363 }
4364
4365
4366 func (in *StatusCheckCondition) DeepCopyInto(out *StatusCheckCondition) {
4367 *out = *in
4368 if in.LastProbeTime != nil {
4369 in, out := &in.LastProbeTime, &out.LastProbeTime
4370 *out = (*in).DeepCopy()
4371 }
4372 if in.LastTransitionTime != nil {
4373 in, out := &in.LastTransitionTime, &out.LastTransitionTime
4374 *out = (*in).DeepCopy()
4375 }
4376 }
4377
4378
4379 func (in *StatusCheckCondition) DeepCopy() *StatusCheckCondition {
4380 if in == nil {
4381 return nil
4382 }
4383 out := new(StatusCheckCondition)
4384 in.DeepCopyInto(out)
4385 return out
4386 }
4387
4388
4389 func (in *StatusCheckList) DeepCopyInto(out *StatusCheckList) {
4390 *out = *in
4391 out.TypeMeta = in.TypeMeta
4392 in.ListMeta.DeepCopyInto(&out.ListMeta)
4393 if in.Items != nil {
4394 in, out := &in.Items, &out.Items
4395 *out = make([]StatusCheck, len(*in))
4396 for i := range *in {
4397 (*in)[i].DeepCopyInto(&(*out)[i])
4398 }
4399 }
4400 }
4401
4402
4403 func (in *StatusCheckList) DeepCopy() *StatusCheckList {
4404 if in == nil {
4405 return nil
4406 }
4407 out := new(StatusCheckList)
4408 in.DeepCopyInto(out)
4409 return out
4410 }
4411
4412
4413 func (in *StatusCheckList) DeepCopyObject() runtime.Object {
4414 if c := in.DeepCopy(); c != nil {
4415 return c
4416 }
4417 return nil
4418 }
4419
4420
4421 func (in *StatusCheckRecord) DeepCopyInto(out *StatusCheckRecord) {
4422 *out = *in
4423 if in.StartTime != nil {
4424 in, out := &in.StartTime, &out.StartTime
4425 *out = (*in).DeepCopy()
4426 }
4427 }
4428
4429
4430 func (in *StatusCheckRecord) DeepCopy() *StatusCheckRecord {
4431 if in == nil {
4432 return nil
4433 }
4434 out := new(StatusCheckRecord)
4435 in.DeepCopyInto(out)
4436 return out
4437 }
4438
4439
4440 func (in *StatusCheckSpec) DeepCopyInto(out *StatusCheckSpec) {
4441 *out = *in
4442 if in.Duration != nil {
4443 in, out := &in.Duration, &out.Duration
4444 *out = new(string)
4445 **out = **in
4446 }
4447 if in.EmbedStatusCheck != nil {
4448 in, out := &in.EmbedStatusCheck, &out.EmbedStatusCheck
4449 *out = new(EmbedStatusCheck)
4450 (*in).DeepCopyInto(*out)
4451 }
4452 }
4453
4454
4455 func (in *StatusCheckSpec) DeepCopy() *StatusCheckSpec {
4456 if in == nil {
4457 return nil
4458 }
4459 out := new(StatusCheckSpec)
4460 in.DeepCopyInto(out)
4461 return out
4462 }
4463
4464
4465 func (in *StatusCheckStatus) DeepCopyInto(out *StatusCheckStatus) {
4466 *out = *in
4467 if in.StartTime != nil {
4468 in, out := &in.StartTime, &out.StartTime
4469 *out = (*in).DeepCopy()
4470 }
4471 if in.CompletionTime != nil {
4472 in, out := &in.CompletionTime, &out.CompletionTime
4473 *out = (*in).DeepCopy()
4474 }
4475 if in.Conditions != nil {
4476 in, out := &in.Conditions, &out.Conditions
4477 *out = make([]StatusCheckCondition, len(*in))
4478 for i := range *in {
4479 (*in)[i].DeepCopyInto(&(*out)[i])
4480 }
4481 }
4482 if in.Records != nil {
4483 in, out := &in.Records, &out.Records
4484 *out = make([]StatusCheckRecord, len(*in))
4485 for i := range *in {
4486 (*in)[i].DeepCopyInto(&(*out)[i])
4487 }
4488 }
4489 }
4490
4491
4492 func (in *StatusCheckStatus) DeepCopy() *StatusCheckStatus {
4493 if in == nil {
4494 return nil
4495 }
4496 out := new(StatusCheckStatus)
4497 in.DeepCopyInto(out)
4498 return out
4499 }
4500
4501
4502 func (in *StressCPUSpec) DeepCopyInto(out *StressCPUSpec) {
4503 *out = *in
4504 if in.Options != nil {
4505 in, out := &in.Options, &out.Options
4506 *out = make([]string, len(*in))
4507 copy(*out, *in)
4508 }
4509 }
4510
4511
4512 func (in *StressCPUSpec) DeepCopy() *StressCPUSpec {
4513 if in == nil {
4514 return nil
4515 }
4516 out := new(StressCPUSpec)
4517 in.DeepCopyInto(out)
4518 return out
4519 }
4520
4521
4522 func (in *StressChaos) DeepCopyInto(out *StressChaos) {
4523 *out = *in
4524 out.TypeMeta = in.TypeMeta
4525 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
4526 in.Spec.DeepCopyInto(&out.Spec)
4527 in.Status.DeepCopyInto(&out.Status)
4528 }
4529
4530
4531 func (in *StressChaos) DeepCopy() *StressChaos {
4532 if in == nil {
4533 return nil
4534 }
4535 out := new(StressChaos)
4536 in.DeepCopyInto(out)
4537 return out
4538 }
4539
4540
4541 func (in *StressChaos) DeepCopyObject() runtime.Object {
4542 if c := in.DeepCopy(); c != nil {
4543 return c
4544 }
4545 return nil
4546 }
4547
4548
4549 func (in *StressChaosList) DeepCopyInto(out *StressChaosList) {
4550 *out = *in
4551 out.TypeMeta = in.TypeMeta
4552 in.ListMeta.DeepCopyInto(&out.ListMeta)
4553 if in.Items != nil {
4554 in, out := &in.Items, &out.Items
4555 *out = make([]StressChaos, len(*in))
4556 for i := range *in {
4557 (*in)[i].DeepCopyInto(&(*out)[i])
4558 }
4559 }
4560 }
4561
4562
4563 func (in *StressChaosList) DeepCopy() *StressChaosList {
4564 if in == nil {
4565 return nil
4566 }
4567 out := new(StressChaosList)
4568 in.DeepCopyInto(out)
4569 return out
4570 }
4571
4572
4573 func (in *StressChaosList) DeepCopyObject() runtime.Object {
4574 if c := in.DeepCopy(); c != nil {
4575 return c
4576 }
4577 return nil
4578 }
4579
4580
4581 func (in *StressChaosSpec) DeepCopyInto(out *StressChaosSpec) {
4582 *out = *in
4583 in.ContainerSelector.DeepCopyInto(&out.ContainerSelector)
4584 if in.Stressors != nil {
4585 in, out := &in.Stressors, &out.Stressors
4586 *out = new(Stressors)
4587 (*in).DeepCopyInto(*out)
4588 }
4589 if in.Duration != nil {
4590 in, out := &in.Duration, &out.Duration
4591 *out = new(string)
4592 **out = **in
4593 }
4594 }
4595
4596
4597 func (in *StressChaosSpec) DeepCopy() *StressChaosSpec {
4598 if in == nil {
4599 return nil
4600 }
4601 out := new(StressChaosSpec)
4602 in.DeepCopyInto(out)
4603 return out
4604 }
4605
4606
4607 func (in *StressChaosStatus) DeepCopyInto(out *StressChaosStatus) {
4608 *out = *in
4609 in.ChaosStatus.DeepCopyInto(&out.ChaosStatus)
4610 if in.Instances != nil {
4611 in, out := &in.Instances, &out.Instances
4612 *out = make(map[string]StressInstance, len(*in))
4613 for key, val := range *in {
4614 (*out)[key] = *val.DeepCopy()
4615 }
4616 }
4617 }
4618
4619
4620 func (in *StressChaosStatus) DeepCopy() *StressChaosStatus {
4621 if in == nil {
4622 return nil
4623 }
4624 out := new(StressChaosStatus)
4625 in.DeepCopyInto(out)
4626 return out
4627 }
4628
4629
4630 func (in *StressInstance) DeepCopyInto(out *StressInstance) {
4631 *out = *in
4632 if in.StartTime != nil {
4633 in, out := &in.StartTime, &out.StartTime
4634 *out = (*in).DeepCopy()
4635 }
4636 if in.MemoryStartTime != nil {
4637 in, out := &in.MemoryStartTime, &out.MemoryStartTime
4638 *out = (*in).DeepCopy()
4639 }
4640 }
4641
4642
4643 func (in *StressInstance) DeepCopy() *StressInstance {
4644 if in == nil {
4645 return nil
4646 }
4647 out := new(StressInstance)
4648 in.DeepCopyInto(out)
4649 return out
4650 }
4651
4652
4653 func (in *StressMemorySpec) DeepCopyInto(out *StressMemorySpec) {
4654 *out = *in
4655 if in.Options != nil {
4656 in, out := &in.Options, &out.Options
4657 *out = make([]string, len(*in))
4658 copy(*out, *in)
4659 }
4660 }
4661
4662
4663 func (in *StressMemorySpec) DeepCopy() *StressMemorySpec {
4664 if in == nil {
4665 return nil
4666 }
4667 out := new(StressMemorySpec)
4668 in.DeepCopyInto(out)
4669 return out
4670 }
4671
4672
4673 func (in *Stressor) DeepCopyInto(out *Stressor) {
4674 *out = *in
4675 }
4676
4677
4678 func (in *Stressor) DeepCopy() *Stressor {
4679 if in == nil {
4680 return nil
4681 }
4682 out := new(Stressor)
4683 in.DeepCopyInto(out)
4684 return out
4685 }
4686
4687
4688 func (in *Stressors) DeepCopyInto(out *Stressors) {
4689 *out = *in
4690 if in.MemoryStressor != nil {
4691 in, out := &in.MemoryStressor, &out.MemoryStressor
4692 *out = new(MemoryStressor)
4693 (*in).DeepCopyInto(*out)
4694 }
4695 if in.CPUStressor != nil {
4696 in, out := &in.CPUStressor, &out.CPUStressor
4697 *out = new(CPUStressor)
4698 (*in).DeepCopyInto(*out)
4699 }
4700 }
4701
4702
4703 func (in *Stressors) DeepCopy() *Stressors {
4704 if in == nil {
4705 return nil
4706 }
4707 out := new(Stressors)
4708 in.DeepCopyInto(out)
4709 return out
4710 }
4711
4712
4713 func (in *Task) DeepCopyInto(out *Task) {
4714 *out = *in
4715 if in.Container != nil {
4716 in, out := &in.Container, &out.Container
4717 *out = new(v1.Container)
4718 (*in).DeepCopyInto(*out)
4719 }
4720 if in.Volumes != nil {
4721 in, out := &in.Volumes, &out.Volumes
4722 *out = make([]v1.Volume, len(*in))
4723 for i := range *in {
4724 (*in)[i].DeepCopyInto(&(*out)[i])
4725 }
4726 }
4727 }
4728
4729
4730 func (in *Task) DeepCopy() *Task {
4731 if in == nil {
4732 return nil
4733 }
4734 out := new(Task)
4735 in.DeepCopyInto(out)
4736 return out
4737 }
4738
4739
4740 func (in *TcParameter) DeepCopyInto(out *TcParameter) {
4741 *out = *in
4742 if in.Delay != nil {
4743 in, out := &in.Delay, &out.Delay
4744 *out = new(DelaySpec)
4745 (*in).DeepCopyInto(*out)
4746 }
4747 if in.Loss != nil {
4748 in, out := &in.Loss, &out.Loss
4749 *out = new(LossSpec)
4750 **out = **in
4751 }
4752 if in.Duplicate != nil {
4753 in, out := &in.Duplicate, &out.Duplicate
4754 *out = new(DuplicateSpec)
4755 **out = **in
4756 }
4757 if in.Corrupt != nil {
4758 in, out := &in.Corrupt, &out.Corrupt
4759 *out = new(CorruptSpec)
4760 **out = **in
4761 }
4762 if in.Bandwidth != nil {
4763 in, out := &in.Bandwidth, &out.Bandwidth
4764 *out = new(BandwidthSpec)
4765 (*in).DeepCopyInto(*out)
4766 }
4767 if in.Rate != nil {
4768 in, out := &in.Rate, &out.Rate
4769 *out = new(RateSpec)
4770 **out = **in
4771 }
4772 }
4773
4774
4775 func (in *TcParameter) DeepCopy() *TcParameter {
4776 if in == nil {
4777 return nil
4778 }
4779 out := new(TcParameter)
4780 in.DeepCopyInto(out)
4781 return out
4782 }
4783
4784
4785 func (in *Template) DeepCopyInto(out *Template) {
4786 *out = *in
4787 if in.Deadline != nil {
4788 in, out := &in.Deadline, &out.Deadline
4789 *out = new(string)
4790 **out = **in
4791 }
4792 if in.Task != nil {
4793 in, out := &in.Task, &out.Task
4794 *out = new(Task)
4795 (*in).DeepCopyInto(*out)
4796 }
4797 if in.Children != nil {
4798 in, out := &in.Children, &out.Children
4799 *out = make([]string, len(*in))
4800 copy(*out, *in)
4801 }
4802 if in.ConditionalBranches != nil {
4803 in, out := &in.ConditionalBranches, &out.ConditionalBranches
4804 *out = make([]ConditionalBranch, len(*in))
4805 copy(*out, *in)
4806 }
4807 if in.EmbedChaos != nil {
4808 in, out := &in.EmbedChaos, &out.EmbedChaos
4809 *out = new(EmbedChaos)
4810 (*in).DeepCopyInto(*out)
4811 }
4812 if in.Schedule != nil {
4813 in, out := &in.Schedule, &out.Schedule
4814 *out = new(ChaosOnlyScheduleSpec)
4815 (*in).DeepCopyInto(*out)
4816 }
4817 if in.StatusCheck != nil {
4818 in, out := &in.StatusCheck, &out.StatusCheck
4819 *out = new(StatusCheckSpec)
4820 (*in).DeepCopyInto(*out)
4821 }
4822 }
4823
4824
4825 func (in *Template) DeepCopy() *Template {
4826 if in == nil {
4827 return nil
4828 }
4829 out := new(Template)
4830 in.DeepCopyInto(out)
4831 return out
4832 }
4833
4834
4835 func (in *TimeChaos) DeepCopyInto(out *TimeChaos) {
4836 *out = *in
4837 out.TypeMeta = in.TypeMeta
4838 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
4839 in.Spec.DeepCopyInto(&out.Spec)
4840 in.Status.DeepCopyInto(&out.Status)
4841 }
4842
4843
4844 func (in *TimeChaos) DeepCopy() *TimeChaos {
4845 if in == nil {
4846 return nil
4847 }
4848 out := new(TimeChaos)
4849 in.DeepCopyInto(out)
4850 return out
4851 }
4852
4853
4854 func (in *TimeChaos) DeepCopyObject() runtime.Object {
4855 if c := in.DeepCopy(); c != nil {
4856 return c
4857 }
4858 return nil
4859 }
4860
4861
4862 func (in *TimeChaosList) DeepCopyInto(out *TimeChaosList) {
4863 *out = *in
4864 out.TypeMeta = in.TypeMeta
4865 in.ListMeta.DeepCopyInto(&out.ListMeta)
4866 if in.Items != nil {
4867 in, out := &in.Items, &out.Items
4868 *out = make([]TimeChaos, len(*in))
4869 for i := range *in {
4870 (*in)[i].DeepCopyInto(&(*out)[i])
4871 }
4872 }
4873 }
4874
4875
4876 func (in *TimeChaosList) DeepCopy() *TimeChaosList {
4877 if in == nil {
4878 return nil
4879 }
4880 out := new(TimeChaosList)
4881 in.DeepCopyInto(out)
4882 return out
4883 }
4884
4885
4886 func (in *TimeChaosList) DeepCopyObject() runtime.Object {
4887 if c := in.DeepCopy(); c != nil {
4888 return c
4889 }
4890 return nil
4891 }
4892
4893
4894 func (in *TimeChaosSpec) DeepCopyInto(out *TimeChaosSpec) {
4895 *out = *in
4896 in.ContainerSelector.DeepCopyInto(&out.ContainerSelector)
4897 if in.ClockIds != nil {
4898 in, out := &in.ClockIds, &out.ClockIds
4899 *out = make([]string, len(*in))
4900 copy(*out, *in)
4901 }
4902 if in.Duration != nil {
4903 in, out := &in.Duration, &out.Duration
4904 *out = new(string)
4905 **out = **in
4906 }
4907 }
4908
4909
4910 func (in *TimeChaosSpec) DeepCopy() *TimeChaosSpec {
4911 if in == nil {
4912 return nil
4913 }
4914 out := new(TimeChaosSpec)
4915 in.DeepCopyInto(out)
4916 return out
4917 }
4918
4919
4920 func (in *TimeChaosStatus) DeepCopyInto(out *TimeChaosStatus) {
4921 *out = *in
4922 in.ChaosStatus.DeepCopyInto(&out.ChaosStatus)
4923 }
4924
4925
4926 func (in *TimeChaosStatus) DeepCopy() *TimeChaosStatus {
4927 if in == nil {
4928 return nil
4929 }
4930 out := new(TimeChaosStatus)
4931 in.DeepCopyInto(out)
4932 return out
4933 }
4934
4935
4936 func (in *Timespec) DeepCopyInto(out *Timespec) {
4937 *out = *in
4938 }
4939
4940
4941 func (in *Timespec) DeepCopy() *Timespec {
4942 if in == nil {
4943 return nil
4944 }
4945 out := new(Timespec)
4946 in.DeepCopyInto(out)
4947 return out
4948 }
4949
4950
4951 func (in *UserDefinedSpec) DeepCopyInto(out *UserDefinedSpec) {
4952 *out = *in
4953 }
4954
4955
4956 func (in *UserDefinedSpec) DeepCopy() *UserDefinedSpec {
4957 if in == nil {
4958 return nil
4959 }
4960 out := new(UserDefinedSpec)
4961 in.DeepCopyInto(out)
4962 return out
4963 }
4964
4965
4966 func (in *VMSpec) DeepCopyInto(out *VMSpec) {
4967 *out = *in
4968 }
4969
4970
4971 func (in *VMSpec) DeepCopy() *VMSpec {
4972 if in == nil {
4973 return nil
4974 }
4975 out := new(VMSpec)
4976 in.DeepCopyInto(out)
4977 return out
4978 }
4979
4980
4981 func (in *Workflow) DeepCopyInto(out *Workflow) {
4982 *out = *in
4983 out.TypeMeta = in.TypeMeta
4984 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
4985 in.Spec.DeepCopyInto(&out.Spec)
4986 in.Status.DeepCopyInto(&out.Status)
4987 }
4988
4989
4990 func (in *Workflow) DeepCopy() *Workflow {
4991 if in == nil {
4992 return nil
4993 }
4994 out := new(Workflow)
4995 in.DeepCopyInto(out)
4996 return out
4997 }
4998
4999
5000 func (in *Workflow) DeepCopyObject() runtime.Object {
5001 if c := in.DeepCopy(); c != nil {
5002 return c
5003 }
5004 return nil
5005 }
5006
5007
5008 func (in *WorkflowCondition) DeepCopyInto(out *WorkflowCondition) {
5009 *out = *in
5010 if in.StartTime != nil {
5011 in, out := &in.StartTime, &out.StartTime
5012 *out = (*in).DeepCopy()
5013 }
5014 }
5015
5016
5017 func (in *WorkflowCondition) DeepCopy() *WorkflowCondition {
5018 if in == nil {
5019 return nil
5020 }
5021 out := new(WorkflowCondition)
5022 in.DeepCopyInto(out)
5023 return out
5024 }
5025
5026
5027 func (in *WorkflowList) DeepCopyInto(out *WorkflowList) {
5028 *out = *in
5029 out.TypeMeta = in.TypeMeta
5030 in.ListMeta.DeepCopyInto(&out.ListMeta)
5031 if in.Items != nil {
5032 in, out := &in.Items, &out.Items
5033 *out = make([]Workflow, len(*in))
5034 for i := range *in {
5035 (*in)[i].DeepCopyInto(&(*out)[i])
5036 }
5037 }
5038 }
5039
5040
5041 func (in *WorkflowList) DeepCopy() *WorkflowList {
5042 if in == nil {
5043 return nil
5044 }
5045 out := new(WorkflowList)
5046 in.DeepCopyInto(out)
5047 return out
5048 }
5049
5050
5051 func (in *WorkflowList) DeepCopyObject() runtime.Object {
5052 if c := in.DeepCopy(); c != nil {
5053 return c
5054 }
5055 return nil
5056 }
5057
5058
5059 func (in *WorkflowNode) DeepCopyInto(out *WorkflowNode) {
5060 *out = *in
5061 out.TypeMeta = in.TypeMeta
5062 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
5063 in.Spec.DeepCopyInto(&out.Spec)
5064 in.Status.DeepCopyInto(&out.Status)
5065 }
5066
5067
5068 func (in *WorkflowNode) DeepCopy() *WorkflowNode {
5069 if in == nil {
5070 return nil
5071 }
5072 out := new(WorkflowNode)
5073 in.DeepCopyInto(out)
5074 return out
5075 }
5076
5077
5078 func (in *WorkflowNode) DeepCopyObject() runtime.Object {
5079 if c := in.DeepCopy(); c != nil {
5080 return c
5081 }
5082 return nil
5083 }
5084
5085
5086 func (in *WorkflowNodeCondition) DeepCopyInto(out *WorkflowNodeCondition) {
5087 *out = *in
5088 }
5089
5090
5091 func (in *WorkflowNodeCondition) DeepCopy() *WorkflowNodeCondition {
5092 if in == nil {
5093 return nil
5094 }
5095 out := new(WorkflowNodeCondition)
5096 in.DeepCopyInto(out)
5097 return out
5098 }
5099
5100
5101 func (in *WorkflowNodeList) DeepCopyInto(out *WorkflowNodeList) {
5102 *out = *in
5103 out.TypeMeta = in.TypeMeta
5104 in.ListMeta.DeepCopyInto(&out.ListMeta)
5105 if in.Items != nil {
5106 in, out := &in.Items, &out.Items
5107 *out = make([]WorkflowNode, len(*in))
5108 for i := range *in {
5109 (*in)[i].DeepCopyInto(&(*out)[i])
5110 }
5111 }
5112 }
5113
5114
5115 func (in *WorkflowNodeList) DeepCopy() *WorkflowNodeList {
5116 if in == nil {
5117 return nil
5118 }
5119 out := new(WorkflowNodeList)
5120 in.DeepCopyInto(out)
5121 return out
5122 }
5123
5124
5125 func (in *WorkflowNodeList) DeepCopyObject() runtime.Object {
5126 if c := in.DeepCopy(); c != nil {
5127 return c
5128 }
5129 return nil
5130 }
5131
5132
5133 func (in *WorkflowNodeSpec) DeepCopyInto(out *WorkflowNodeSpec) {
5134 *out = *in
5135 if in.StartTime != nil {
5136 in, out := &in.StartTime, &out.StartTime
5137 *out = (*in).DeepCopy()
5138 }
5139 if in.Deadline != nil {
5140 in, out := &in.Deadline, &out.Deadline
5141 *out = (*in).DeepCopy()
5142 }
5143 if in.Task != nil {
5144 in, out := &in.Task, &out.Task
5145 *out = new(Task)
5146 (*in).DeepCopyInto(*out)
5147 }
5148 if in.Children != nil {
5149 in, out := &in.Children, &out.Children
5150 *out = make([]string, len(*in))
5151 copy(*out, *in)
5152 }
5153 if in.ConditionalBranches != nil {
5154 in, out := &in.ConditionalBranches, &out.ConditionalBranches
5155 *out = make([]ConditionalBranch, len(*in))
5156 copy(*out, *in)
5157 }
5158 if in.EmbedChaos != nil {
5159 in, out := &in.EmbedChaos, &out.EmbedChaos
5160 *out = new(EmbedChaos)
5161 (*in).DeepCopyInto(*out)
5162 }
5163 if in.Schedule != nil {
5164 in, out := &in.Schedule, &out.Schedule
5165 *out = new(ScheduleSpec)
5166 (*in).DeepCopyInto(*out)
5167 }
5168 if in.StatusCheck != nil {
5169 in, out := &in.StatusCheck, &out.StatusCheck
5170 *out = new(StatusCheckSpec)
5171 (*in).DeepCopyInto(*out)
5172 }
5173 }
5174
5175
5176 func (in *WorkflowNodeSpec) DeepCopy() *WorkflowNodeSpec {
5177 if in == nil {
5178 return nil
5179 }
5180 out := new(WorkflowNodeSpec)
5181 in.DeepCopyInto(out)
5182 return out
5183 }
5184
5185
5186 func (in *WorkflowNodeStatus) DeepCopyInto(out *WorkflowNodeStatus) {
5187 *out = *in
5188 if in.ChaosResource != nil {
5189 in, out := &in.ChaosResource, &out.ChaosResource
5190 *out = new(v1.TypedLocalObjectReference)
5191 (*in).DeepCopyInto(*out)
5192 }
5193 if in.ConditionalBranchesStatus != nil {
5194 in, out := &in.ConditionalBranchesStatus, &out.ConditionalBranchesStatus
5195 *out = new(ConditionalBranchesStatus)
5196 (*in).DeepCopyInto(*out)
5197 }
5198 if in.ActiveChildren != nil {
5199 in, out := &in.ActiveChildren, &out.ActiveChildren
5200 *out = make([]v1.LocalObjectReference, len(*in))
5201 copy(*out, *in)
5202 }
5203 if in.FinishedChildren != nil {
5204 in, out := &in.FinishedChildren, &out.FinishedChildren
5205 *out = make([]v1.LocalObjectReference, len(*in))
5206 copy(*out, *in)
5207 }
5208 if in.Conditions != nil {
5209 in, out := &in.Conditions, &out.Conditions
5210 *out = make([]WorkflowNodeCondition, len(*in))
5211 copy(*out, *in)
5212 }
5213 }
5214
5215
5216 func (in *WorkflowNodeStatus) DeepCopy() *WorkflowNodeStatus {
5217 if in == nil {
5218 return nil
5219 }
5220 out := new(WorkflowNodeStatus)
5221 in.DeepCopyInto(out)
5222 return out
5223 }
5224
5225
5226 func (in *WorkflowSpec) DeepCopyInto(out *WorkflowSpec) {
5227 *out = *in
5228 if in.Templates != nil {
5229 in, out := &in.Templates, &out.Templates
5230 *out = make([]Template, len(*in))
5231 for i := range *in {
5232 (*in)[i].DeepCopyInto(&(*out)[i])
5233 }
5234 }
5235 }
5236
5237
5238 func (in *WorkflowSpec) DeepCopy() *WorkflowSpec {
5239 if in == nil {
5240 return nil
5241 }
5242 out := new(WorkflowSpec)
5243 in.DeepCopyInto(out)
5244 return out
5245 }
5246
5247
5248 func (in *WorkflowStatus) DeepCopyInto(out *WorkflowStatus) {
5249 *out = *in
5250 if in.EntryNode != nil {
5251 in, out := &in.EntryNode, &out.EntryNode
5252 *out = new(string)
5253 **out = **in
5254 }
5255 if in.StartTime != nil {
5256 in, out := &in.StartTime, &out.StartTime
5257 *out = (*in).DeepCopy()
5258 }
5259 if in.EndTime != nil {
5260 in, out := &in.EndTime, &out.EndTime
5261 *out = (*in).DeepCopy()
5262 }
5263 if in.Conditions != nil {
5264 in, out := &in.Conditions, &out.Conditions
5265 *out = make([]WorkflowCondition, len(*in))
5266 for i := range *in {
5267 (*in)[i].DeepCopyInto(&(*out)[i])
5268 }
5269 }
5270 }
5271
5272
5273 func (in *WorkflowStatus) DeepCopy() *WorkflowStatus {
5274 if in == nil {
5275 return nil
5276 }
5277 out := new(WorkflowStatus)
5278 in.DeepCopyInto(out)
5279 return out
5280 }
5281