1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package v1alpha1
19
20 import (
21 "k8s.io/api/core/v1"
22 "k8s.io/apimachinery/pkg/runtime"
23 )
24
25
26 func (in *AWSChaos) DeepCopyInto(out *AWSChaos) {
27 *out = *in
28 out.TypeMeta = in.TypeMeta
29 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
30 in.Spec.DeepCopyInto(&out.Spec)
31 in.Status.DeepCopyInto(&out.Status)
32 }
33
34
35 func (in *AWSChaos) DeepCopy() *AWSChaos {
36 if in == nil {
37 return nil
38 }
39 out := new(AWSChaos)
40 in.DeepCopyInto(out)
41 return out
42 }
43
44
45 func (in *AWSChaos) DeepCopyObject() runtime.Object {
46 if c := in.DeepCopy(); c != nil {
47 return c
48 }
49 return nil
50 }
51
52
53 func (in *AWSChaosList) DeepCopyInto(out *AWSChaosList) {
54 *out = *in
55 out.TypeMeta = in.TypeMeta
56 in.ListMeta.DeepCopyInto(&out.ListMeta)
57 if in.Items != nil {
58 in, out := &in.Items, &out.Items
59 *out = make([]AWSChaos, len(*in))
60 for i := range *in {
61 (*in)[i].DeepCopyInto(&(*out)[i])
62 }
63 }
64 }
65
66
67 func (in *AWSChaosList) DeepCopy() *AWSChaosList {
68 if in == nil {
69 return nil
70 }
71 out := new(AWSChaosList)
72 in.DeepCopyInto(out)
73 return out
74 }
75
76
77 func (in *AWSChaosList) DeepCopyObject() runtime.Object {
78 if c := in.DeepCopy(); c != nil {
79 return c
80 }
81 return nil
82 }
83
84
85 func (in *AWSChaosSpec) DeepCopyInto(out *AWSChaosSpec) {
86 *out = *in
87 if in.Duration != nil {
88 in, out := &in.Duration, &out.Duration
89 *out = new(string)
90 **out = **in
91 }
92 if in.SecretName != nil {
93 in, out := &in.SecretName, &out.SecretName
94 *out = new(string)
95 **out = **in
96 }
97 in.AWSSelector.DeepCopyInto(&out.AWSSelector)
98 }
99
100
101 func (in *AWSChaosSpec) DeepCopy() *AWSChaosSpec {
102 if in == nil {
103 return nil
104 }
105 out := new(AWSChaosSpec)
106 in.DeepCopyInto(out)
107 return out
108 }
109
110
111 func (in *AWSChaosStatus) DeepCopyInto(out *AWSChaosStatus) {
112 *out = *in
113 in.ChaosStatus.DeepCopyInto(&out.ChaosStatus)
114 }
115
116
117 func (in *AWSChaosStatus) DeepCopy() *AWSChaosStatus {
118 if in == nil {
119 return nil
120 }
121 out := new(AWSChaosStatus)
122 in.DeepCopyInto(out)
123 return out
124 }
125
126
127 func (in *AWSSelector) DeepCopyInto(out *AWSSelector) {
128 *out = *in
129 if in.Endpoint != nil {
130 in, out := &in.Endpoint, &out.Endpoint
131 *out = new(string)
132 **out = **in
133 }
134 if in.EbsVolume != nil {
135 in, out := &in.EbsVolume, &out.EbsVolume
136 *out = new(string)
137 **out = **in
138 }
139 if in.DeviceName != nil {
140 in, out := &in.DeviceName, &out.DeviceName
141 *out = new(string)
142 **out = **in
143 }
144 }
145
146
147 func (in *AWSSelector) DeepCopy() *AWSSelector {
148 if in == nil {
149 return nil
150 }
151 out := new(AWSSelector)
152 in.DeepCopyInto(out)
153 return out
154 }
155
156
157 func (in *ActionParameterRules) DeepCopyInto(out *ActionParameterRules) {
158 *out = *in
159 if in.Flags != nil {
160 in, out := &in.Flags, &out.Flags
161 *out = make([]ParameterRules, len(*in))
162 copy(*out, *in)
163 }
164 if in.Matchers != nil {
165 in, out := &in.Matchers, &out.Matchers
166 *out = make([]ParameterRules, len(*in))
167 copy(*out, *in)
168 }
169 }
170
171
172 func (in *ActionParameterRules) DeepCopy() *ActionParameterRules {
173 if in == nil {
174 return nil
175 }
176 out := new(ActionParameterRules)
177 in.DeepCopyInto(out)
178 return out
179 }
180
181
182 func (in *AttrOverrideSpec) DeepCopyInto(out *AttrOverrideSpec) {
183 *out = *in
184 if in.Ino != nil {
185 in, out := &in.Ino, &out.Ino
186 *out = new(uint64)
187 **out = **in
188 }
189 if in.Size != nil {
190 in, out := &in.Size, &out.Size
191 *out = new(uint64)
192 **out = **in
193 }
194 if in.Blocks != nil {
195 in, out := &in.Blocks, &out.Blocks
196 *out = new(uint64)
197 **out = **in
198 }
199 if in.Atime != nil {
200 in, out := &in.Atime, &out.Atime
201 *out = new(Timespec)
202 **out = **in
203 }
204 if in.Mtime != nil {
205 in, out := &in.Mtime, &out.Mtime
206 *out = new(Timespec)
207 **out = **in
208 }
209 if in.Ctime != nil {
210 in, out := &in.Ctime, &out.Ctime
211 *out = new(Timespec)
212 **out = **in
213 }
214 if in.Kind != nil {
215 in, out := &in.Kind, &out.Kind
216 *out = new(FileType)
217 **out = **in
218 }
219 if in.Perm != nil {
220 in, out := &in.Perm, &out.Perm
221 *out = new(uint16)
222 **out = **in
223 }
224 if in.Nlink != nil {
225 in, out := &in.Nlink, &out.Nlink
226 *out = new(uint32)
227 **out = **in
228 }
229 if in.UID != nil {
230 in, out := &in.UID, &out.UID
231 *out = new(uint32)
232 **out = **in
233 }
234 if in.GID != nil {
235 in, out := &in.GID, &out.GID
236 *out = new(uint32)
237 **out = **in
238 }
239 if in.Rdev != nil {
240 in, out := &in.Rdev, &out.Rdev
241 *out = new(uint32)
242 **out = **in
243 }
244 }
245
246
247 func (in *AttrOverrideSpec) DeepCopy() *AttrOverrideSpec {
248 if in == nil {
249 return nil
250 }
251 out := new(AttrOverrideSpec)
252 in.DeepCopyInto(out)
253 return out
254 }
255
256
257 func (in *BandwidthSpec) DeepCopyInto(out *BandwidthSpec) {
258 *out = *in
259 if in.Peakrate != nil {
260 in, out := &in.Peakrate, &out.Peakrate
261 *out = new(uint64)
262 **out = **in
263 }
264 if in.Minburst != nil {
265 in, out := &in.Minburst, &out.Minburst
266 *out = new(uint32)
267 **out = **in
268 }
269 }
270
271
272 func (in *BandwidthSpec) DeepCopy() *BandwidthSpec {
273 if in == nil {
274 return nil
275 }
276 out := new(BandwidthSpec)
277 in.DeepCopyInto(out)
278 return out
279 }
280
281
282 func (in *CPUStressor) DeepCopyInto(out *CPUStressor) {
283 *out = *in
284 out.Stressor = in.Stressor
285 if in.Load != nil {
286 in, out := &in.Load, &out.Load
287 *out = new(int)
288 **out = **in
289 }
290 if in.Options != nil {
291 in, out := &in.Options, &out.Options
292 *out = make([]string, len(*in))
293 copy(*out, *in)
294 }
295 }
296
297
298 func (in *CPUStressor) DeepCopy() *CPUStressor {
299 if in == nil {
300 return nil
301 }
302 out := new(CPUStressor)
303 in.DeepCopyInto(out)
304 return out
305 }
306
307
308 func (in *ChaosCondition) DeepCopyInto(out *ChaosCondition) {
309 *out = *in
310 }
311
312
313 func (in *ChaosCondition) DeepCopy() *ChaosCondition {
314 if in == nil {
315 return nil
316 }
317 out := new(ChaosCondition)
318 in.DeepCopyInto(out)
319 return out
320 }
321
322
323 func (in *ChaosOnlyScheduleSpec) DeepCopyInto(out *ChaosOnlyScheduleSpec) {
324 *out = *in
325 if in.StartingDeadlineSeconds != nil {
326 in, out := &in.StartingDeadlineSeconds, &out.StartingDeadlineSeconds
327 *out = new(int64)
328 **out = **in
329 }
330 in.EmbedChaos.DeepCopyInto(&out.EmbedChaos)
331 }
332
333
334 func (in *ChaosOnlyScheduleSpec) DeepCopy() *ChaosOnlyScheduleSpec {
335 if in == nil {
336 return nil
337 }
338 out := new(ChaosOnlyScheduleSpec)
339 in.DeepCopyInto(out)
340 return out
341 }
342
343
344 func (in *ChaosStatus) DeepCopyInto(out *ChaosStatus) {
345 *out = *in
346 if in.Conditions != nil {
347 in, out := &in.Conditions, &out.Conditions
348 *out = make([]ChaosCondition, len(*in))
349 copy(*out, *in)
350 }
351 in.Experiment.DeepCopyInto(&out.Experiment)
352 }
353
354
355 func (in *ChaosStatus) DeepCopy() *ChaosStatus {
356 if in == nil {
357 return nil
358 }
359 out := new(ChaosStatus)
360 in.DeepCopyInto(out)
361 return out
362 }
363
364
365 func (in *ConditionalBranch) DeepCopyInto(out *ConditionalBranch) {
366 *out = *in
367 }
368
369
370 func (in *ConditionalBranch) DeepCopy() *ConditionalBranch {
371 if in == nil {
372 return nil
373 }
374 out := new(ConditionalBranch)
375 in.DeepCopyInto(out)
376 return out
377 }
378
379
380 func (in *ConditionalBranchStatus) DeepCopyInto(out *ConditionalBranchStatus) {
381 *out = *in
382 }
383
384
385 func (in *ConditionalBranchStatus) DeepCopy() *ConditionalBranchStatus {
386 if in == nil {
387 return nil
388 }
389 out := new(ConditionalBranchStatus)
390 in.DeepCopyInto(out)
391 return out
392 }
393
394
395 func (in *ConditionalBranchesStatus) DeepCopyInto(out *ConditionalBranchesStatus) {
396 *out = *in
397 if in.Branches != nil {
398 in, out := &in.Branches, &out.Branches
399 *out = make([]ConditionalBranchStatus, len(*in))
400 copy(*out, *in)
401 }
402 if in.Context != nil {
403 in, out := &in.Context, &out.Context
404 *out = make([]string, len(*in))
405 copy(*out, *in)
406 }
407 }
408
409
410 func (in *ConditionalBranchesStatus) DeepCopy() *ConditionalBranchesStatus {
411 if in == nil {
412 return nil
413 }
414 out := new(ConditionalBranchesStatus)
415 in.DeepCopyInto(out)
416 return out
417 }
418
419
420 func (in *ContainerSelector) DeepCopyInto(out *ContainerSelector) {
421 *out = *in
422 in.PodSelector.DeepCopyInto(&out.PodSelector)
423 if in.ContainerNames != nil {
424 in, out := &in.ContainerNames, &out.ContainerNames
425 *out = make([]string, len(*in))
426 copy(*out, *in)
427 }
428 }
429
430
431 func (in *ContainerSelector) DeepCopy() *ContainerSelector {
432 if in == nil {
433 return nil
434 }
435 out := new(ContainerSelector)
436 in.DeepCopyInto(out)
437 return out
438 }
439
440
441 func (in *CorruptSpec) DeepCopyInto(out *CorruptSpec) {
442 *out = *in
443 }
444
445
446 func (in *CorruptSpec) DeepCopy() *CorruptSpec {
447 if in == nil {
448 return nil
449 }
450 out := new(CorruptSpec)
451 in.DeepCopyInto(out)
452 return out
453 }
454
455
456 func (in *DNSChaos) DeepCopyInto(out *DNSChaos) {
457 *out = *in
458 out.TypeMeta = in.TypeMeta
459 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
460 in.Spec.DeepCopyInto(&out.Spec)
461 in.Status.DeepCopyInto(&out.Status)
462 }
463
464
465 func (in *DNSChaos) DeepCopy() *DNSChaos {
466 if in == nil {
467 return nil
468 }
469 out := new(DNSChaos)
470 in.DeepCopyInto(out)
471 return out
472 }
473
474
475 func (in *DNSChaos) DeepCopyObject() runtime.Object {
476 if c := in.DeepCopy(); c != nil {
477 return c
478 }
479 return nil
480 }
481
482
483 func (in *DNSChaosList) DeepCopyInto(out *DNSChaosList) {
484 *out = *in
485 out.TypeMeta = in.TypeMeta
486 in.ListMeta.DeepCopyInto(&out.ListMeta)
487 if in.Items != nil {
488 in, out := &in.Items, &out.Items
489 *out = make([]DNSChaos, len(*in))
490 for i := range *in {
491 (*in)[i].DeepCopyInto(&(*out)[i])
492 }
493 }
494 }
495
496
497 func (in *DNSChaosList) DeepCopy() *DNSChaosList {
498 if in == nil {
499 return nil
500 }
501 out := new(DNSChaosList)
502 in.DeepCopyInto(out)
503 return out
504 }
505
506
507 func (in *DNSChaosList) DeepCopyObject() runtime.Object {
508 if c := in.DeepCopy(); c != nil {
509 return c
510 }
511 return nil
512 }
513
514
515 func (in *DNSChaosSpec) DeepCopyInto(out *DNSChaosSpec) {
516 *out = *in
517 in.ContainerSelector.DeepCopyInto(&out.ContainerSelector)
518 if in.Duration != nil {
519 in, out := &in.Duration, &out.Duration
520 *out = new(string)
521 **out = **in
522 }
523 if in.DomainNamePatterns != nil {
524 in, out := &in.DomainNamePatterns, &out.DomainNamePatterns
525 *out = make([]string, len(*in))
526 copy(*out, *in)
527 }
528 }
529
530
531 func (in *DNSChaosSpec) DeepCopy() *DNSChaosSpec {
532 if in == nil {
533 return nil
534 }
535 out := new(DNSChaosSpec)
536 in.DeepCopyInto(out)
537 return out
538 }
539
540
541 func (in *DNSChaosStatus) DeepCopyInto(out *DNSChaosStatus) {
542 *out = *in
543 in.ChaosStatus.DeepCopyInto(&out.ChaosStatus)
544 }
545
546
547 func (in *DNSChaosStatus) DeepCopy() *DNSChaosStatus {
548 if in == nil {
549 return nil
550 }
551 out := new(DNSChaosStatus)
552 in.DeepCopyInto(out)
553 return out
554 }
555
556
557 func (in *DelaySpec) DeepCopyInto(out *DelaySpec) {
558 *out = *in
559 if in.Reorder != nil {
560 in, out := &in.Reorder, &out.Reorder
561 *out = new(ReorderSpec)
562 **out = **in
563 }
564 }
565
566
567 func (in *DelaySpec) DeepCopy() *DelaySpec {
568 if in == nil {
569 return nil
570 }
571 out := new(DelaySpec)
572 in.DeepCopyInto(out)
573 return out
574 }
575
576
577 func (in *DuplicateSpec) DeepCopyInto(out *DuplicateSpec) {
578 *out = *in
579 }
580
581
582 func (in *DuplicateSpec) DeepCopy() *DuplicateSpec {
583 if in == nil {
584 return nil
585 }
586 out := new(DuplicateSpec)
587 in.DeepCopyInto(out)
588 return out
589 }
590
591
592 func (in *EmbedChaos) DeepCopyInto(out *EmbedChaos) {
593 *out = *in
594 if in.AWSChaos != nil {
595 in, out := &in.AWSChaos, &out.AWSChaos
596 *out = new(AWSChaosSpec)
597 (*in).DeepCopyInto(*out)
598 }
599 if in.DNSChaos != nil {
600 in, out := &in.DNSChaos, &out.DNSChaos
601 *out = new(DNSChaosSpec)
602 (*in).DeepCopyInto(*out)
603 }
604 if in.GCPChaos != nil {
605 in, out := &in.GCPChaos, &out.GCPChaos
606 *out = new(GCPChaosSpec)
607 (*in).DeepCopyInto(*out)
608 }
609 if in.HTTPChaos != nil {
610 in, out := &in.HTTPChaos, &out.HTTPChaos
611 *out = new(HTTPChaosSpec)
612 (*in).DeepCopyInto(*out)
613 }
614 if in.IOChaos != nil {
615 in, out := &in.IOChaos, &out.IOChaos
616 *out = new(IOChaosSpec)
617 (*in).DeepCopyInto(*out)
618 }
619 if in.JVMChaos != nil {
620 in, out := &in.JVMChaos, &out.JVMChaos
621 *out = new(JVMChaosSpec)
622 (*in).DeepCopyInto(*out)
623 }
624 if in.KernelChaos != nil {
625 in, out := &in.KernelChaos, &out.KernelChaos
626 *out = new(KernelChaosSpec)
627 (*in).DeepCopyInto(*out)
628 }
629 if in.NetworkChaos != nil {
630 in, out := &in.NetworkChaos, &out.NetworkChaos
631 *out = new(NetworkChaosSpec)
632 (*in).DeepCopyInto(*out)
633 }
634 if in.PodChaos != nil {
635 in, out := &in.PodChaos, &out.PodChaos
636 *out = new(PodChaosSpec)
637 (*in).DeepCopyInto(*out)
638 }
639 if in.StressChaos != nil {
640 in, out := &in.StressChaos, &out.StressChaos
641 *out = new(StressChaosSpec)
642 (*in).DeepCopyInto(*out)
643 }
644 if in.TimeChaos != nil {
645 in, out := &in.TimeChaos, &out.TimeChaos
646 *out = new(TimeChaosSpec)
647 (*in).DeepCopyInto(*out)
648 }
649 }
650
651
652 func (in *EmbedChaos) DeepCopy() *EmbedChaos {
653 if in == nil {
654 return nil
655 }
656 out := new(EmbedChaos)
657 in.DeepCopyInto(out)
658 return out
659 }
660
661
662 func (in *ExperimentStatus) DeepCopyInto(out *ExperimentStatus) {
663 *out = *in
664 if in.Records != nil {
665 in, out := &in.Records, &out.Records
666 *out = make([]*Record, len(*in))
667 for i := range *in {
668 if (*in)[i] != nil {
669 in, out := &(*in)[i], &(*out)[i]
670 *out = new(Record)
671 **out = **in
672 }
673 }
674 }
675 }
676
677
678 func (in *ExperimentStatus) DeepCopy() *ExperimentStatus {
679 if in == nil {
680 return nil
681 }
682 out := new(ExperimentStatus)
683 in.DeepCopyInto(out)
684 return out
685 }
686
687
688 func (in *FailKernRequest) DeepCopyInto(out *FailKernRequest) {
689 *out = *in
690 if in.Headers != nil {
691 in, out := &in.Headers, &out.Headers
692 *out = make([]string, len(*in))
693 copy(*out, *in)
694 }
695 if in.Callchain != nil {
696 in, out := &in.Callchain, &out.Callchain
697 *out = make([]Frame, len(*in))
698 copy(*out, *in)
699 }
700 }
701
702
703 func (in *FailKernRequest) DeepCopy() *FailKernRequest {
704 if in == nil {
705 return nil
706 }
707 out := new(FailKernRequest)
708 in.DeepCopyInto(out)
709 return out
710 }
711
712
713 func (in *Filter) DeepCopyInto(out *Filter) {
714 *out = *in
715 if in.Methods != nil {
716 in, out := &in.Methods, &out.Methods
717 *out = make([]IoMethod, len(*in))
718 copy(*out, *in)
719 }
720 }
721
722
723 func (in *Filter) DeepCopy() *Filter {
724 if in == nil {
725 return nil
726 }
727 out := new(Filter)
728 in.DeepCopyInto(out)
729 return out
730 }
731
732
733 func (in *Frame) DeepCopyInto(out *Frame) {
734 *out = *in
735 }
736
737
738 func (in *Frame) DeepCopy() *Frame {
739 if in == nil {
740 return nil
741 }
742 out := new(Frame)
743 in.DeepCopyInto(out)
744 return out
745 }
746
747
748 func (in *GCPChaos) DeepCopyInto(out *GCPChaos) {
749 *out = *in
750 out.TypeMeta = in.TypeMeta
751 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
752 in.Spec.DeepCopyInto(&out.Spec)
753 in.Status.DeepCopyInto(&out.Status)
754 }
755
756
757 func (in *GCPChaos) DeepCopy() *GCPChaos {
758 if in == nil {
759 return nil
760 }
761 out := new(GCPChaos)
762 in.DeepCopyInto(out)
763 return out
764 }
765
766
767 func (in *GCPChaos) DeepCopyObject() runtime.Object {
768 if c := in.DeepCopy(); c != nil {
769 return c
770 }
771 return nil
772 }
773
774
775 func (in *GCPChaosList) DeepCopyInto(out *GCPChaosList) {
776 *out = *in
777 out.TypeMeta = in.TypeMeta
778 in.ListMeta.DeepCopyInto(&out.ListMeta)
779 if in.Items != nil {
780 in, out := &in.Items, &out.Items
781 *out = make([]GCPChaos, len(*in))
782 for i := range *in {
783 (*in)[i].DeepCopyInto(&(*out)[i])
784 }
785 }
786 }
787
788
789 func (in *GCPChaosList) DeepCopy() *GCPChaosList {
790 if in == nil {
791 return nil
792 }
793 out := new(GCPChaosList)
794 in.DeepCopyInto(out)
795 return out
796 }
797
798
799 func (in *GCPChaosList) DeepCopyObject() runtime.Object {
800 if c := in.DeepCopy(); c != nil {
801 return c
802 }
803 return nil
804 }
805
806
807 func (in *GCPChaosSpec) DeepCopyInto(out *GCPChaosSpec) {
808 *out = *in
809 if in.Duration != nil {
810 in, out := &in.Duration, &out.Duration
811 *out = new(string)
812 **out = **in
813 }
814 if in.SecretName != nil {
815 in, out := &in.SecretName, &out.SecretName
816 *out = new(string)
817 **out = **in
818 }
819 in.GCPSelector.DeepCopyInto(&out.GCPSelector)
820 }
821
822
823 func (in *GCPChaosSpec) DeepCopy() *GCPChaosSpec {
824 if in == nil {
825 return nil
826 }
827 out := new(GCPChaosSpec)
828 in.DeepCopyInto(out)
829 return out
830 }
831
832
833 func (in *GCPChaosStatus) DeepCopyInto(out *GCPChaosStatus) {
834 *out = *in
835 in.ChaosStatus.DeepCopyInto(&out.ChaosStatus)
836 if in.AttachedDisksStrings != nil {
837 in, out := &in.AttachedDisksStrings, &out.AttachedDisksStrings
838 *out = make([]string, len(*in))
839 copy(*out, *in)
840 }
841 }
842
843
844 func (in *GCPChaosStatus) DeepCopy() *GCPChaosStatus {
845 if in == nil {
846 return nil
847 }
848 out := new(GCPChaosStatus)
849 in.DeepCopyInto(out)
850 return out
851 }
852
853
854 func (in *GCPSelector) DeepCopyInto(out *GCPSelector) {
855 *out = *in
856 if in.DeviceNames != nil {
857 in, out := &in.DeviceNames, &out.DeviceNames
858 *out = new([]string)
859 if **in != nil {
860 in, out := *in, *out
861 *out = make([]string, len(*in))
862 copy(*out, *in)
863 }
864 }
865 }
866
867
868 func (in *GCPSelector) DeepCopy() *GCPSelector {
869 if in == nil {
870 return nil
871 }
872 out := new(GCPSelector)
873 in.DeepCopyInto(out)
874 return out
875 }
876
877
878 func (in *HTTPChaos) DeepCopyInto(out *HTTPChaos) {
879 *out = *in
880 out.TypeMeta = in.TypeMeta
881 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
882 in.Spec.DeepCopyInto(&out.Spec)
883 in.Status.DeepCopyInto(&out.Status)
884 }
885
886
887 func (in *HTTPChaos) DeepCopy() *HTTPChaos {
888 if in == nil {
889 return nil
890 }
891 out := new(HTTPChaos)
892 in.DeepCopyInto(out)
893 return out
894 }
895
896
897 func (in *HTTPChaos) DeepCopyObject() runtime.Object {
898 if c := in.DeepCopy(); c != nil {
899 return c
900 }
901 return nil
902 }
903
904
905 func (in *HTTPChaosList) DeepCopyInto(out *HTTPChaosList) {
906 *out = *in
907 out.TypeMeta = in.TypeMeta
908 in.ListMeta.DeepCopyInto(&out.ListMeta)
909 if in.Items != nil {
910 in, out := &in.Items, &out.Items
911 *out = make([]HTTPChaos, len(*in))
912 for i := range *in {
913 (*in)[i].DeepCopyInto(&(*out)[i])
914 }
915 }
916 }
917
918
919 func (in *HTTPChaosList) DeepCopy() *HTTPChaosList {
920 if in == nil {
921 return nil
922 }
923 out := new(HTTPChaosList)
924 in.DeepCopyInto(out)
925 return out
926 }
927
928
929 func (in *HTTPChaosList) DeepCopyObject() runtime.Object {
930 if c := in.DeepCopy(); c != nil {
931 return c
932 }
933 return nil
934 }
935
936
937 func (in *HTTPChaosSpec) DeepCopyInto(out *HTTPChaosSpec) {
938 *out = *in
939 in.PodSelector.DeepCopyInto(&out.PodSelector)
940 in.PodHttpChaosActions.DeepCopyInto(&out.PodHttpChaosActions)
941 if in.Path != nil {
942 in, out := &in.Path, &out.Path
943 *out = new(string)
944 **out = **in
945 }
946 if in.Method != nil {
947 in, out := &in.Method, &out.Method
948 *out = new(string)
949 **out = **in
950 }
951 if in.Code != nil {
952 in, out := &in.Code, &out.Code
953 *out = new(int32)
954 **out = **in
955 }
956 if in.RequestHeaders != nil {
957 in, out := &in.RequestHeaders, &out.RequestHeaders
958 *out = make(map[string]string, len(*in))
959 for key, val := range *in {
960 (*out)[key] = val
961 }
962 }
963 if in.ResponseHeaders != nil {
964 in, out := &in.ResponseHeaders, &out.ResponseHeaders
965 *out = make(map[string]string, len(*in))
966 for key, val := range *in {
967 (*out)[key] = val
968 }
969 }
970 if in.Duration != nil {
971 in, out := &in.Duration, &out.Duration
972 *out = new(string)
973 **out = **in
974 }
975 }
976
977
978 func (in *HTTPChaosSpec) DeepCopy() *HTTPChaosSpec {
979 if in == nil {
980 return nil
981 }
982 out := new(HTTPChaosSpec)
983 in.DeepCopyInto(out)
984 return out
985 }
986
987
988 func (in *HTTPChaosStatus) DeepCopyInto(out *HTTPChaosStatus) {
989 *out = *in
990 in.ChaosStatus.DeepCopyInto(&out.ChaosStatus)
991 if in.Instances != nil {
992 in, out := &in.Instances, &out.Instances
993 *out = make(map[string]int64, len(*in))
994 for key, val := range *in {
995 (*out)[key] = val
996 }
997 }
998 }
999
1000
1001 func (in *HTTPChaosStatus) DeepCopy() *HTTPChaosStatus {
1002 if in == nil {
1003 return nil
1004 }
1005 out := new(HTTPChaosStatus)
1006 in.DeepCopyInto(out)
1007 return out
1008 }
1009
1010
1011 func (in *IOChaos) DeepCopyInto(out *IOChaos) {
1012 *out = *in
1013 out.TypeMeta = in.TypeMeta
1014 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
1015 in.Spec.DeepCopyInto(&out.Spec)
1016 in.Status.DeepCopyInto(&out.Status)
1017 }
1018
1019
1020 func (in *IOChaos) DeepCopy() *IOChaos {
1021 if in == nil {
1022 return nil
1023 }
1024 out := new(IOChaos)
1025 in.DeepCopyInto(out)
1026 return out
1027 }
1028
1029
1030 func (in *IOChaos) DeepCopyObject() runtime.Object {
1031 if c := in.DeepCopy(); c != nil {
1032 return c
1033 }
1034 return nil
1035 }
1036
1037
1038 func (in *IOChaosAction) DeepCopyInto(out *IOChaosAction) {
1039 *out = *in
1040 in.Filter.DeepCopyInto(&out.Filter)
1041 if in.Faults != nil {
1042 in, out := &in.Faults, &out.Faults
1043 *out = make([]IoFault, len(*in))
1044 copy(*out, *in)
1045 }
1046 if in.AttrOverrideSpec != nil {
1047 in, out := &in.AttrOverrideSpec, &out.AttrOverrideSpec
1048 *out = new(AttrOverrideSpec)
1049 (*in).DeepCopyInto(*out)
1050 }
1051 if in.MistakeSpec != nil {
1052 in, out := &in.MistakeSpec, &out.MistakeSpec
1053 *out = new(MistakeSpec)
1054 **out = **in
1055 }
1056 }
1057
1058
1059 func (in *IOChaosAction) DeepCopy() *IOChaosAction {
1060 if in == nil {
1061 return nil
1062 }
1063 out := new(IOChaosAction)
1064 in.DeepCopyInto(out)
1065 return out
1066 }
1067
1068
1069 func (in *IOChaosList) DeepCopyInto(out *IOChaosList) {
1070 *out = *in
1071 out.TypeMeta = in.TypeMeta
1072 in.ListMeta.DeepCopyInto(&out.ListMeta)
1073 if in.Items != nil {
1074 in, out := &in.Items, &out.Items
1075 *out = make([]IOChaos, len(*in))
1076 for i := range *in {
1077 (*in)[i].DeepCopyInto(&(*out)[i])
1078 }
1079 }
1080 }
1081
1082
1083 func (in *IOChaosList) DeepCopy() *IOChaosList {
1084 if in == nil {
1085 return nil
1086 }
1087 out := new(IOChaosList)
1088 in.DeepCopyInto(out)
1089 return out
1090 }
1091
1092
1093 func (in *IOChaosList) DeepCopyObject() runtime.Object {
1094 if c := in.DeepCopy(); c != nil {
1095 return c
1096 }
1097 return nil
1098 }
1099
1100
1101 func (in *IOChaosSpec) DeepCopyInto(out *IOChaosSpec) {
1102 *out = *in
1103 in.ContainerSelector.DeepCopyInto(&out.ContainerSelector)
1104 if in.Attr != nil {
1105 in, out := &in.Attr, &out.Attr
1106 *out = new(AttrOverrideSpec)
1107 (*in).DeepCopyInto(*out)
1108 }
1109 if in.Mistake != nil {
1110 in, out := &in.Mistake, &out.Mistake
1111 *out = new(MistakeSpec)
1112 **out = **in
1113 }
1114 if in.Methods != nil {
1115 in, out := &in.Methods, &out.Methods
1116 *out = make([]IoMethod, len(*in))
1117 copy(*out, *in)
1118 }
1119 if in.Duration != nil {
1120 in, out := &in.Duration, &out.Duration
1121 *out = new(string)
1122 **out = **in
1123 }
1124 }
1125
1126
1127 func (in *IOChaosSpec) DeepCopy() *IOChaosSpec {
1128 if in == nil {
1129 return nil
1130 }
1131 out := new(IOChaosSpec)
1132 in.DeepCopyInto(out)
1133 return out
1134 }
1135
1136
1137 func (in *IOChaosStatus) DeepCopyInto(out *IOChaosStatus) {
1138 *out = *in
1139 in.ChaosStatus.DeepCopyInto(&out.ChaosStatus)
1140 if in.Instances != nil {
1141 in, out := &in.Instances, &out.Instances
1142 *out = make(map[string]int64, len(*in))
1143 for key, val := range *in {
1144 (*out)[key] = val
1145 }
1146 }
1147 }
1148
1149
1150 func (in *IOChaosStatus) DeepCopy() *IOChaosStatus {
1151 if in == nil {
1152 return nil
1153 }
1154 out := new(IOChaosStatus)
1155 in.DeepCopyInto(out)
1156 return out
1157 }
1158
1159
1160 func (in *IoFault) DeepCopyInto(out *IoFault) {
1161 *out = *in
1162 }
1163
1164
1165 func (in *IoFault) DeepCopy() *IoFault {
1166 if in == nil {
1167 return nil
1168 }
1169 out := new(IoFault)
1170 in.DeepCopyInto(out)
1171 return out
1172 }
1173
1174
1175 func (in *JVMChaos) DeepCopyInto(out *JVMChaos) {
1176 *out = *in
1177 out.TypeMeta = in.TypeMeta
1178 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
1179 in.Spec.DeepCopyInto(&out.Spec)
1180 in.Status.DeepCopyInto(&out.Status)
1181 }
1182
1183
1184 func (in *JVMChaos) DeepCopy() *JVMChaos {
1185 if in == nil {
1186 return nil
1187 }
1188 out := new(JVMChaos)
1189 in.DeepCopyInto(out)
1190 return out
1191 }
1192
1193
1194 func (in *JVMChaos) DeepCopyObject() runtime.Object {
1195 if c := in.DeepCopy(); c != nil {
1196 return c
1197 }
1198 return nil
1199 }
1200
1201
1202 func (in *JVMChaosList) DeepCopyInto(out *JVMChaosList) {
1203 *out = *in
1204 out.TypeMeta = in.TypeMeta
1205 in.ListMeta.DeepCopyInto(&out.ListMeta)
1206 if in.Items != nil {
1207 in, out := &in.Items, &out.Items
1208 *out = make([]JVMChaos, len(*in))
1209 for i := range *in {
1210 (*in)[i].DeepCopyInto(&(*out)[i])
1211 }
1212 }
1213 }
1214
1215
1216 func (in *JVMChaosList) DeepCopy() *JVMChaosList {
1217 if in == nil {
1218 return nil
1219 }
1220 out := new(JVMChaosList)
1221 in.DeepCopyInto(out)
1222 return out
1223 }
1224
1225
1226 func (in *JVMChaosList) DeepCopyObject() runtime.Object {
1227 if c := in.DeepCopy(); c != nil {
1228 return c
1229 }
1230 return nil
1231 }
1232
1233
1234 func (in *JVMChaosSpec) DeepCopyInto(out *JVMChaosSpec) {
1235 *out = *in
1236 in.ContainerSelector.DeepCopyInto(&out.ContainerSelector)
1237 if in.Duration != nil {
1238 in, out := &in.Duration, &out.Duration
1239 *out = new(string)
1240 **out = **in
1241 }
1242 in.JVMParameter.DeepCopyInto(&out.JVMParameter)
1243 }
1244
1245
1246 func (in *JVMChaosSpec) DeepCopy() *JVMChaosSpec {
1247 if in == nil {
1248 return nil
1249 }
1250 out := new(JVMChaosSpec)
1251 in.DeepCopyInto(out)
1252 return out
1253 }
1254
1255
1256 func (in *JVMChaosStatus) DeepCopyInto(out *JVMChaosStatus) {
1257 *out = *in
1258 in.ChaosStatus.DeepCopyInto(&out.ChaosStatus)
1259 }
1260
1261
1262 func (in *JVMChaosStatus) DeepCopy() *JVMChaosStatus {
1263 if in == nil {
1264 return nil
1265 }
1266 out := new(JVMChaosStatus)
1267 in.DeepCopyInto(out)
1268 return out
1269 }
1270
1271
1272 func (in *JVMParameter) DeepCopyInto(out *JVMParameter) {
1273 *out = *in
1274 if in.Flags != nil {
1275 in, out := &in.Flags, &out.Flags
1276 *out = make(map[string]string, len(*in))
1277 for key, val := range *in {
1278 (*out)[key] = val
1279 }
1280 }
1281 if in.Matchers != nil {
1282 in, out := &in.Matchers, &out.Matchers
1283 *out = make(map[string]string, len(*in))
1284 for key, val := range *in {
1285 (*out)[key] = val
1286 }
1287 }
1288 }
1289
1290
1291 func (in *JVMParameter) DeepCopy() *JVMParameter {
1292 if in == nil {
1293 return nil
1294 }
1295 out := new(JVMParameter)
1296 in.DeepCopyInto(out)
1297 return out
1298 }
1299
1300
1301 func (in *KernelChaos) DeepCopyInto(out *KernelChaos) {
1302 *out = *in
1303 out.TypeMeta = in.TypeMeta
1304 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
1305 in.Spec.DeepCopyInto(&out.Spec)
1306 in.Status.DeepCopyInto(&out.Status)
1307 }
1308
1309
1310 func (in *KernelChaos) DeepCopy() *KernelChaos {
1311 if in == nil {
1312 return nil
1313 }
1314 out := new(KernelChaos)
1315 in.DeepCopyInto(out)
1316 return out
1317 }
1318
1319
1320 func (in *KernelChaos) DeepCopyObject() runtime.Object {
1321 if c := in.DeepCopy(); c != nil {
1322 return c
1323 }
1324 return nil
1325 }
1326
1327
1328 func (in *KernelChaosList) DeepCopyInto(out *KernelChaosList) {
1329 *out = *in
1330 out.TypeMeta = in.TypeMeta
1331 in.ListMeta.DeepCopyInto(&out.ListMeta)
1332 if in.Items != nil {
1333 in, out := &in.Items, &out.Items
1334 *out = make([]KernelChaos, len(*in))
1335 for i := range *in {
1336 (*in)[i].DeepCopyInto(&(*out)[i])
1337 }
1338 }
1339 }
1340
1341
1342 func (in *KernelChaosList) DeepCopy() *KernelChaosList {
1343 if in == nil {
1344 return nil
1345 }
1346 out := new(KernelChaosList)
1347 in.DeepCopyInto(out)
1348 return out
1349 }
1350
1351
1352 func (in *KernelChaosList) DeepCopyObject() runtime.Object {
1353 if c := in.DeepCopy(); c != nil {
1354 return c
1355 }
1356 return nil
1357 }
1358
1359
1360 func (in *KernelChaosSpec) DeepCopyInto(out *KernelChaosSpec) {
1361 *out = *in
1362 in.PodSelector.DeepCopyInto(&out.PodSelector)
1363 in.FailKernRequest.DeepCopyInto(&out.FailKernRequest)
1364 if in.Duration != nil {
1365 in, out := &in.Duration, &out.Duration
1366 *out = new(string)
1367 **out = **in
1368 }
1369 }
1370
1371
1372 func (in *KernelChaosSpec) DeepCopy() *KernelChaosSpec {
1373 if in == nil {
1374 return nil
1375 }
1376 out := new(KernelChaosSpec)
1377 in.DeepCopyInto(out)
1378 return out
1379 }
1380
1381
1382 func (in *KernelChaosStatus) DeepCopyInto(out *KernelChaosStatus) {
1383 *out = *in
1384 in.ChaosStatus.DeepCopyInto(&out.ChaosStatus)
1385 }
1386
1387
1388 func (in *KernelChaosStatus) DeepCopy() *KernelChaosStatus {
1389 if in == nil {
1390 return nil
1391 }
1392 out := new(KernelChaosStatus)
1393 in.DeepCopyInto(out)
1394 return out
1395 }
1396
1397
1398 func (in LabelSelectorRequirements) DeepCopyInto(out *LabelSelectorRequirements) {
1399 {
1400 in := &in
1401 *out = make(LabelSelectorRequirements, len(*in))
1402 for i := range *in {
1403 (*in)[i].DeepCopyInto(&(*out)[i])
1404 }
1405 }
1406 }
1407
1408
1409 func (in LabelSelectorRequirements) DeepCopy() LabelSelectorRequirements {
1410 if in == nil {
1411 return nil
1412 }
1413 out := new(LabelSelectorRequirements)
1414 in.DeepCopyInto(out)
1415 return *out
1416 }
1417
1418
1419 func (in *LossSpec) DeepCopyInto(out *LossSpec) {
1420 *out = *in
1421 }
1422
1423
1424 func (in *LossSpec) DeepCopy() *LossSpec {
1425 if in == nil {
1426 return nil
1427 }
1428 out := new(LossSpec)
1429 in.DeepCopyInto(out)
1430 return out
1431 }
1432
1433
1434 func (in *MemoryStressor) DeepCopyInto(out *MemoryStressor) {
1435 *out = *in
1436 out.Stressor = in.Stressor
1437 if in.Options != nil {
1438 in, out := &in.Options, &out.Options
1439 *out = make([]string, len(*in))
1440 copy(*out, *in)
1441 }
1442 }
1443
1444
1445 func (in *MemoryStressor) DeepCopy() *MemoryStressor {
1446 if in == nil {
1447 return nil
1448 }
1449 out := new(MemoryStressor)
1450 in.DeepCopyInto(out)
1451 return out
1452 }
1453
1454
1455 func (in *MistakeSpec) DeepCopyInto(out *MistakeSpec) {
1456 *out = *in
1457 }
1458
1459
1460 func (in *MistakeSpec) DeepCopy() *MistakeSpec {
1461 if in == nil {
1462 return nil
1463 }
1464 out := new(MistakeSpec)
1465 in.DeepCopyInto(out)
1466 return out
1467 }
1468
1469
1470 func (in *NetworkChaos) DeepCopyInto(out *NetworkChaos) {
1471 *out = *in
1472 out.TypeMeta = in.TypeMeta
1473 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
1474 in.Spec.DeepCopyInto(&out.Spec)
1475 in.Status.DeepCopyInto(&out.Status)
1476 }
1477
1478
1479 func (in *NetworkChaos) DeepCopy() *NetworkChaos {
1480 if in == nil {
1481 return nil
1482 }
1483 out := new(NetworkChaos)
1484 in.DeepCopyInto(out)
1485 return out
1486 }
1487
1488
1489 func (in *NetworkChaos) DeepCopyObject() runtime.Object {
1490 if c := in.DeepCopy(); c != nil {
1491 return c
1492 }
1493 return nil
1494 }
1495
1496
1497 func (in *NetworkChaosList) DeepCopyInto(out *NetworkChaosList) {
1498 *out = *in
1499 out.TypeMeta = in.TypeMeta
1500 in.ListMeta.DeepCopyInto(&out.ListMeta)
1501 if in.Items != nil {
1502 in, out := &in.Items, &out.Items
1503 *out = make([]NetworkChaos, len(*in))
1504 for i := range *in {
1505 (*in)[i].DeepCopyInto(&(*out)[i])
1506 }
1507 }
1508 }
1509
1510
1511 func (in *NetworkChaosList) DeepCopy() *NetworkChaosList {
1512 if in == nil {
1513 return nil
1514 }
1515 out := new(NetworkChaosList)
1516 in.DeepCopyInto(out)
1517 return out
1518 }
1519
1520
1521 func (in *NetworkChaosList) DeepCopyObject() runtime.Object {
1522 if c := in.DeepCopy(); c != nil {
1523 return c
1524 }
1525 return nil
1526 }
1527
1528
1529 func (in *NetworkChaosSpec) DeepCopyInto(out *NetworkChaosSpec) {
1530 *out = *in
1531 in.PodSelector.DeepCopyInto(&out.PodSelector)
1532 if in.Duration != nil {
1533 in, out := &in.Duration, &out.Duration
1534 *out = new(string)
1535 **out = **in
1536 }
1537 in.TcParameter.DeepCopyInto(&out.TcParameter)
1538 if in.Target != nil {
1539 in, out := &in.Target, &out.Target
1540 *out = new(PodSelector)
1541 (*in).DeepCopyInto(*out)
1542 }
1543 if in.ExternalTargets != nil {
1544 in, out := &in.ExternalTargets, &out.ExternalTargets
1545 *out = make([]string, len(*in))
1546 copy(*out, *in)
1547 }
1548 }
1549
1550
1551 func (in *NetworkChaosSpec) DeepCopy() *NetworkChaosSpec {
1552 if in == nil {
1553 return nil
1554 }
1555 out := new(NetworkChaosSpec)
1556 in.DeepCopyInto(out)
1557 return out
1558 }
1559
1560
1561 func (in *NetworkChaosStatus) DeepCopyInto(out *NetworkChaosStatus) {
1562 *out = *in
1563 in.ChaosStatus.DeepCopyInto(&out.ChaosStatus)
1564 if in.Instances != nil {
1565 in, out := &in.Instances, &out.Instances
1566 *out = make(map[string]int64, len(*in))
1567 for key, val := range *in {
1568 (*out)[key] = val
1569 }
1570 }
1571 }
1572
1573
1574 func (in *NetworkChaosStatus) DeepCopy() *NetworkChaosStatus {
1575 if in == nil {
1576 return nil
1577 }
1578 out := new(NetworkChaosStatus)
1579 in.DeepCopyInto(out)
1580 return out
1581 }
1582
1583
1584 func (in *ParameterRules) DeepCopyInto(out *ParameterRules) {
1585 *out = *in
1586 }
1587
1588
1589 func (in *ParameterRules) DeepCopy() *ParameterRules {
1590 if in == nil {
1591 return nil
1592 }
1593 out := new(ParameterRules)
1594 in.DeepCopyInto(out)
1595 return out
1596 }
1597
1598
1599 func (in *PodChaos) DeepCopyInto(out *PodChaos) {
1600 *out = *in
1601 out.TypeMeta = in.TypeMeta
1602 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
1603 in.Spec.DeepCopyInto(&out.Spec)
1604 in.Status.DeepCopyInto(&out.Status)
1605 }
1606
1607
1608 func (in *PodChaos) DeepCopy() *PodChaos {
1609 if in == nil {
1610 return nil
1611 }
1612 out := new(PodChaos)
1613 in.DeepCopyInto(out)
1614 return out
1615 }
1616
1617
1618 func (in *PodChaos) DeepCopyObject() runtime.Object {
1619 if c := in.DeepCopy(); c != nil {
1620 return c
1621 }
1622 return nil
1623 }
1624
1625
1626 func (in *PodChaosList) DeepCopyInto(out *PodChaosList) {
1627 *out = *in
1628 out.TypeMeta = in.TypeMeta
1629 in.ListMeta.DeepCopyInto(&out.ListMeta)
1630 if in.Items != nil {
1631 in, out := &in.Items, &out.Items
1632 *out = make([]PodChaos, len(*in))
1633 for i := range *in {
1634 (*in)[i].DeepCopyInto(&(*out)[i])
1635 }
1636 }
1637 }
1638
1639
1640 func (in *PodChaosList) DeepCopy() *PodChaosList {
1641 if in == nil {
1642 return nil
1643 }
1644 out := new(PodChaosList)
1645 in.DeepCopyInto(out)
1646 return out
1647 }
1648
1649
1650 func (in *PodChaosList) DeepCopyObject() runtime.Object {
1651 if c := in.DeepCopy(); c != nil {
1652 return c
1653 }
1654 return nil
1655 }
1656
1657
1658 func (in *PodChaosSpec) DeepCopyInto(out *PodChaosSpec) {
1659 *out = *in
1660 in.ContainerSelector.DeepCopyInto(&out.ContainerSelector)
1661 if in.Duration != nil {
1662 in, out := &in.Duration, &out.Duration
1663 *out = new(string)
1664 **out = **in
1665 }
1666 }
1667
1668
1669 func (in *PodChaosSpec) DeepCopy() *PodChaosSpec {
1670 if in == nil {
1671 return nil
1672 }
1673 out := new(PodChaosSpec)
1674 in.DeepCopyInto(out)
1675 return out
1676 }
1677
1678
1679 func (in *PodChaosStatus) DeepCopyInto(out *PodChaosStatus) {
1680 *out = *in
1681 in.ChaosStatus.DeepCopyInto(&out.ChaosStatus)
1682 }
1683
1684
1685 func (in *PodChaosStatus) DeepCopy() *PodChaosStatus {
1686 if in == nil {
1687 return nil
1688 }
1689 out := new(PodChaosStatus)
1690 in.DeepCopyInto(out)
1691 return out
1692 }
1693
1694
1695 func (in *PodHttpChaos) DeepCopyInto(out *PodHttpChaos) {
1696 *out = *in
1697 out.TypeMeta = in.TypeMeta
1698 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
1699 in.Spec.DeepCopyInto(&out.Spec)
1700 out.Status = in.Status
1701 }
1702
1703
1704 func (in *PodHttpChaos) DeepCopy() *PodHttpChaos {
1705 if in == nil {
1706 return nil
1707 }
1708 out := new(PodHttpChaos)
1709 in.DeepCopyInto(out)
1710 return out
1711 }
1712
1713
1714 func (in *PodHttpChaos) DeepCopyObject() runtime.Object {
1715 if c := in.DeepCopy(); c != nil {
1716 return c
1717 }
1718 return nil
1719 }
1720
1721
1722 func (in *PodHttpChaosActions) DeepCopyInto(out *PodHttpChaosActions) {
1723 *out = *in
1724 if in.Abort != nil {
1725 in, out := &in.Abort, &out.Abort
1726 *out = new(bool)
1727 **out = **in
1728 }
1729 if in.Delay != nil {
1730 in, out := &in.Delay, &out.Delay
1731 *out = new(string)
1732 **out = **in
1733 }
1734 if in.Replace != nil {
1735 in, out := &in.Replace, &out.Replace
1736 *out = new(PodHttpChaosReplaceActions)
1737 (*in).DeepCopyInto(*out)
1738 }
1739 if in.Patch != nil {
1740 in, out := &in.Patch, &out.Patch
1741 *out = new(PodHttpChaosPatchActions)
1742 (*in).DeepCopyInto(*out)
1743 }
1744 }
1745
1746
1747 func (in *PodHttpChaosActions) DeepCopy() *PodHttpChaosActions {
1748 if in == nil {
1749 return nil
1750 }
1751 out := new(PodHttpChaosActions)
1752 in.DeepCopyInto(out)
1753 return out
1754 }
1755
1756
1757 func (in *PodHttpChaosBaseRule) DeepCopyInto(out *PodHttpChaosBaseRule) {
1758 *out = *in
1759 in.Selector.DeepCopyInto(&out.Selector)
1760 in.Actions.DeepCopyInto(&out.Actions)
1761 }
1762
1763
1764 func (in *PodHttpChaosBaseRule) DeepCopy() *PodHttpChaosBaseRule {
1765 if in == nil {
1766 return nil
1767 }
1768 out := new(PodHttpChaosBaseRule)
1769 in.DeepCopyInto(out)
1770 return out
1771 }
1772
1773
1774 func (in *PodHttpChaosList) DeepCopyInto(out *PodHttpChaosList) {
1775 *out = *in
1776 out.TypeMeta = in.TypeMeta
1777 in.ListMeta.DeepCopyInto(&out.ListMeta)
1778 if in.Items != nil {
1779 in, out := &in.Items, &out.Items
1780 *out = make([]PodHttpChaos, len(*in))
1781 for i := range *in {
1782 (*in)[i].DeepCopyInto(&(*out)[i])
1783 }
1784 }
1785 }
1786
1787
1788 func (in *PodHttpChaosList) DeepCopy() *PodHttpChaosList {
1789 if in == nil {
1790 return nil
1791 }
1792 out := new(PodHttpChaosList)
1793 in.DeepCopyInto(out)
1794 return out
1795 }
1796
1797
1798 func (in *PodHttpChaosList) DeepCopyObject() runtime.Object {
1799 if c := in.DeepCopy(); c != nil {
1800 return c
1801 }
1802 return nil
1803 }
1804
1805
1806 func (in *PodHttpChaosPatchActions) DeepCopyInto(out *PodHttpChaosPatchActions) {
1807 *out = *in
1808 if in.Body != nil {
1809 in, out := &in.Body, &out.Body
1810 *out = new(PodHttpChaosPatchBodyAction)
1811 **out = **in
1812 }
1813 if in.Queries != nil {
1814 in, out := &in.Queries, &out.Queries
1815 *out = make([][]string, len(*in))
1816 for i := range *in {
1817 if (*in)[i] != nil {
1818 in, out := &(*in)[i], &(*out)[i]
1819 *out = make([]string, len(*in))
1820 copy(*out, *in)
1821 }
1822 }
1823 }
1824 if in.Headers != nil {
1825 in, out := &in.Headers, &out.Headers
1826 *out = make([][]string, len(*in))
1827 for i := range *in {
1828 if (*in)[i] != nil {
1829 in, out := &(*in)[i], &(*out)[i]
1830 *out = make([]string, len(*in))
1831 copy(*out, *in)
1832 }
1833 }
1834 }
1835 }
1836
1837
1838 func (in *PodHttpChaosPatchActions) DeepCopy() *PodHttpChaosPatchActions {
1839 if in == nil {
1840 return nil
1841 }
1842 out := new(PodHttpChaosPatchActions)
1843 in.DeepCopyInto(out)
1844 return out
1845 }
1846
1847
1848 func (in *PodHttpChaosPatchBodyAction) DeepCopyInto(out *PodHttpChaosPatchBodyAction) {
1849 *out = *in
1850 }
1851
1852
1853 func (in *PodHttpChaosPatchBodyAction) DeepCopy() *PodHttpChaosPatchBodyAction {
1854 if in == nil {
1855 return nil
1856 }
1857 out := new(PodHttpChaosPatchBodyAction)
1858 in.DeepCopyInto(out)
1859 return out
1860 }
1861
1862
1863 func (in *PodHttpChaosReplaceActions) DeepCopyInto(out *PodHttpChaosReplaceActions) {
1864 *out = *in
1865 if in.Path != nil {
1866 in, out := &in.Path, &out.Path
1867 *out = new(string)
1868 **out = **in
1869 }
1870 if in.Method != nil {
1871 in, out := &in.Method, &out.Method
1872 *out = new(string)
1873 **out = **in
1874 }
1875 if in.Code != nil {
1876 in, out := &in.Code, &out.Code
1877 *out = new(int32)
1878 **out = **in
1879 }
1880 if in.Body != nil {
1881 in, out := &in.Body, &out.Body
1882 *out = make([]byte, len(*in))
1883 copy(*out, *in)
1884 }
1885 if in.Queries != nil {
1886 in, out := &in.Queries, &out.Queries
1887 *out = make(map[string]string, len(*in))
1888 for key, val := range *in {
1889 (*out)[key] = val
1890 }
1891 }
1892 if in.Headers != nil {
1893 in, out := &in.Headers, &out.Headers
1894 *out = make(map[string]string, len(*in))
1895 for key, val := range *in {
1896 (*out)[key] = val
1897 }
1898 }
1899 }
1900
1901
1902 func (in *PodHttpChaosReplaceActions) DeepCopy() *PodHttpChaosReplaceActions {
1903 if in == nil {
1904 return nil
1905 }
1906 out := new(PodHttpChaosReplaceActions)
1907 in.DeepCopyInto(out)
1908 return out
1909 }
1910
1911
1912 func (in *PodHttpChaosRule) DeepCopyInto(out *PodHttpChaosRule) {
1913 *out = *in
1914 in.PodHttpChaosBaseRule.DeepCopyInto(&out.PodHttpChaosBaseRule)
1915 }
1916
1917
1918 func (in *PodHttpChaosRule) DeepCopy() *PodHttpChaosRule {
1919 if in == nil {
1920 return nil
1921 }
1922 out := new(PodHttpChaosRule)
1923 in.DeepCopyInto(out)
1924 return out
1925 }
1926
1927
1928 func (in *PodHttpChaosSelector) DeepCopyInto(out *PodHttpChaosSelector) {
1929 *out = *in
1930 if in.Port != nil {
1931 in, out := &in.Port, &out.Port
1932 *out = new(int32)
1933 **out = **in
1934 }
1935 if in.Path != nil {
1936 in, out := &in.Path, &out.Path
1937 *out = new(string)
1938 **out = **in
1939 }
1940 if in.Method != nil {
1941 in, out := &in.Method, &out.Method
1942 *out = new(string)
1943 **out = **in
1944 }
1945 if in.Code != nil {
1946 in, out := &in.Code, &out.Code
1947 *out = new(int32)
1948 **out = **in
1949 }
1950 if in.RequestHeaders != nil {
1951 in, out := &in.RequestHeaders, &out.RequestHeaders
1952 *out = make(map[string]string, len(*in))
1953 for key, val := range *in {
1954 (*out)[key] = val
1955 }
1956 }
1957 if in.ResponseHeaders != nil {
1958 in, out := &in.ResponseHeaders, &out.ResponseHeaders
1959 *out = make(map[string]string, len(*in))
1960 for key, val := range *in {
1961 (*out)[key] = val
1962 }
1963 }
1964 }
1965
1966
1967 func (in *PodHttpChaosSelector) DeepCopy() *PodHttpChaosSelector {
1968 if in == nil {
1969 return nil
1970 }
1971 out := new(PodHttpChaosSelector)
1972 in.DeepCopyInto(out)
1973 return out
1974 }
1975
1976
1977 func (in *PodHttpChaosSpec) DeepCopyInto(out *PodHttpChaosSpec) {
1978 *out = *in
1979 if in.Rules != nil {
1980 in, out := &in.Rules, &out.Rules
1981 *out = make([]PodHttpChaosRule, len(*in))
1982 for i := range *in {
1983 (*in)[i].DeepCopyInto(&(*out)[i])
1984 }
1985 }
1986 }
1987
1988
1989 func (in *PodHttpChaosSpec) DeepCopy() *PodHttpChaosSpec {
1990 if in == nil {
1991 return nil
1992 }
1993 out := new(PodHttpChaosSpec)
1994 in.DeepCopyInto(out)
1995 return out
1996 }
1997
1998
1999 func (in *PodHttpChaosStatus) DeepCopyInto(out *PodHttpChaosStatus) {
2000 *out = *in
2001 }
2002
2003
2004 func (in *PodHttpChaosStatus) DeepCopy() *PodHttpChaosStatus {
2005 if in == nil {
2006 return nil
2007 }
2008 out := new(PodHttpChaosStatus)
2009 in.DeepCopyInto(out)
2010 return out
2011 }
2012
2013
2014 func (in *PodIOChaos) DeepCopyInto(out *PodIOChaos) {
2015 *out = *in
2016 out.TypeMeta = in.TypeMeta
2017 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
2018 in.Spec.DeepCopyInto(&out.Spec)
2019 out.Status = in.Status
2020 }
2021
2022
2023 func (in *PodIOChaos) DeepCopy() *PodIOChaos {
2024 if in == nil {
2025 return nil
2026 }
2027 out := new(PodIOChaos)
2028 in.DeepCopyInto(out)
2029 return out
2030 }
2031
2032
2033 func (in *PodIOChaos) DeepCopyObject() runtime.Object {
2034 if c := in.DeepCopy(); c != nil {
2035 return c
2036 }
2037 return nil
2038 }
2039
2040
2041 func (in *PodIOChaosList) DeepCopyInto(out *PodIOChaosList) {
2042 *out = *in
2043 out.TypeMeta = in.TypeMeta
2044 in.ListMeta.DeepCopyInto(&out.ListMeta)
2045 if in.Items != nil {
2046 in, out := &in.Items, &out.Items
2047 *out = make([]PodIOChaos, len(*in))
2048 for i := range *in {
2049 (*in)[i].DeepCopyInto(&(*out)[i])
2050 }
2051 }
2052 }
2053
2054
2055 func (in *PodIOChaosList) DeepCopy() *PodIOChaosList {
2056 if in == nil {
2057 return nil
2058 }
2059 out := new(PodIOChaosList)
2060 in.DeepCopyInto(out)
2061 return out
2062 }
2063
2064
2065 func (in *PodIOChaosList) DeepCopyObject() runtime.Object {
2066 if c := in.DeepCopy(); c != nil {
2067 return c
2068 }
2069 return nil
2070 }
2071
2072
2073 func (in *PodIOChaosSpec) DeepCopyInto(out *PodIOChaosSpec) {
2074 *out = *in
2075 if in.Container != nil {
2076 in, out := &in.Container, &out.Container
2077 *out = new(string)
2078 **out = **in
2079 }
2080 if in.Actions != nil {
2081 in, out := &in.Actions, &out.Actions
2082 *out = make([]IOChaosAction, len(*in))
2083 for i := range *in {
2084 (*in)[i].DeepCopyInto(&(*out)[i])
2085 }
2086 }
2087 }
2088
2089
2090 func (in *PodIOChaosSpec) DeepCopy() *PodIOChaosSpec {
2091 if in == nil {
2092 return nil
2093 }
2094 out := new(PodIOChaosSpec)
2095 in.DeepCopyInto(out)
2096 return out
2097 }
2098
2099
2100 func (in *PodIOChaosStatus) DeepCopyInto(out *PodIOChaosStatus) {
2101 *out = *in
2102 }
2103
2104
2105 func (in *PodIOChaosStatus) DeepCopy() *PodIOChaosStatus {
2106 if in == nil {
2107 return nil
2108 }
2109 out := new(PodIOChaosStatus)
2110 in.DeepCopyInto(out)
2111 return out
2112 }
2113
2114
2115 func (in *PodNetworkChaos) DeepCopyInto(out *PodNetworkChaos) {
2116 *out = *in
2117 out.TypeMeta = in.TypeMeta
2118 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
2119 in.Spec.DeepCopyInto(&out.Spec)
2120 out.Status = in.Status
2121 }
2122
2123
2124 func (in *PodNetworkChaos) DeepCopy() *PodNetworkChaos {
2125 if in == nil {
2126 return nil
2127 }
2128 out := new(PodNetworkChaos)
2129 in.DeepCopyInto(out)
2130 return out
2131 }
2132
2133
2134 func (in *PodNetworkChaos) DeepCopyObject() runtime.Object {
2135 if c := in.DeepCopy(); c != nil {
2136 return c
2137 }
2138 return nil
2139 }
2140
2141
2142 func (in *PodNetworkChaosList) DeepCopyInto(out *PodNetworkChaosList) {
2143 *out = *in
2144 out.TypeMeta = in.TypeMeta
2145 in.ListMeta.DeepCopyInto(&out.ListMeta)
2146 if in.Items != nil {
2147 in, out := &in.Items, &out.Items
2148 *out = make([]PodNetworkChaos, len(*in))
2149 for i := range *in {
2150 (*in)[i].DeepCopyInto(&(*out)[i])
2151 }
2152 }
2153 }
2154
2155
2156 func (in *PodNetworkChaosList) DeepCopy() *PodNetworkChaosList {
2157 if in == nil {
2158 return nil
2159 }
2160 out := new(PodNetworkChaosList)
2161 in.DeepCopyInto(out)
2162 return out
2163 }
2164
2165
2166 func (in *PodNetworkChaosList) DeepCopyObject() runtime.Object {
2167 if c := in.DeepCopy(); c != nil {
2168 return c
2169 }
2170 return nil
2171 }
2172
2173
2174 func (in *PodNetworkChaosSpec) DeepCopyInto(out *PodNetworkChaosSpec) {
2175 *out = *in
2176 if in.IPSets != nil {
2177 in, out := &in.IPSets, &out.IPSets
2178 *out = make([]RawIPSet, len(*in))
2179 for i := range *in {
2180 (*in)[i].DeepCopyInto(&(*out)[i])
2181 }
2182 }
2183 if in.Iptables != nil {
2184 in, out := &in.Iptables, &out.Iptables
2185 *out = make([]RawIptables, len(*in))
2186 for i := range *in {
2187 (*in)[i].DeepCopyInto(&(*out)[i])
2188 }
2189 }
2190 if in.TrafficControls != nil {
2191 in, out := &in.TrafficControls, &out.TrafficControls
2192 *out = make([]RawTrafficControl, len(*in))
2193 for i := range *in {
2194 (*in)[i].DeepCopyInto(&(*out)[i])
2195 }
2196 }
2197 }
2198
2199
2200 func (in *PodNetworkChaosSpec) DeepCopy() *PodNetworkChaosSpec {
2201 if in == nil {
2202 return nil
2203 }
2204 out := new(PodNetworkChaosSpec)
2205 in.DeepCopyInto(out)
2206 return out
2207 }
2208
2209
2210 func (in *PodNetworkChaosStatus) DeepCopyInto(out *PodNetworkChaosStatus) {
2211 *out = *in
2212 }
2213
2214
2215 func (in *PodNetworkChaosStatus) DeepCopy() *PodNetworkChaosStatus {
2216 if in == nil {
2217 return nil
2218 }
2219 out := new(PodNetworkChaosStatus)
2220 in.DeepCopyInto(out)
2221 return out
2222 }
2223
2224
2225 func (in *PodSelector) DeepCopyInto(out *PodSelector) {
2226 *out = *in
2227 in.Selector.DeepCopyInto(&out.Selector)
2228 }
2229
2230
2231 func (in *PodSelector) DeepCopy() *PodSelector {
2232 if in == nil {
2233 return nil
2234 }
2235 out := new(PodSelector)
2236 in.DeepCopyInto(out)
2237 return out
2238 }
2239
2240
2241 func (in *PodSelectorSpec) DeepCopyInto(out *PodSelectorSpec) {
2242 *out = *in
2243 if in.Namespaces != nil {
2244 in, out := &in.Namespaces, &out.Namespaces
2245 *out = make([]string, len(*in))
2246 copy(*out, *in)
2247 }
2248 if in.Nodes != nil {
2249 in, out := &in.Nodes, &out.Nodes
2250 *out = make([]string, len(*in))
2251 copy(*out, *in)
2252 }
2253 if in.Pods != nil {
2254 in, out := &in.Pods, &out.Pods
2255 *out = make(map[string][]string, len(*in))
2256 for key, val := range *in {
2257 var outVal []string
2258 if val == nil {
2259 (*out)[key] = nil
2260 } else {
2261 in, out := &val, &outVal
2262 *out = make([]string, len(*in))
2263 copy(*out, *in)
2264 }
2265 (*out)[key] = outVal
2266 }
2267 }
2268 if in.NodeSelectors != nil {
2269 in, out := &in.NodeSelectors, &out.NodeSelectors
2270 *out = make(map[string]string, len(*in))
2271 for key, val := range *in {
2272 (*out)[key] = val
2273 }
2274 }
2275 if in.FieldSelectors != nil {
2276 in, out := &in.FieldSelectors, &out.FieldSelectors
2277 *out = make(map[string]string, len(*in))
2278 for key, val := range *in {
2279 (*out)[key] = val
2280 }
2281 }
2282 if in.LabelSelectors != nil {
2283 in, out := &in.LabelSelectors, &out.LabelSelectors
2284 *out = make(map[string]string, len(*in))
2285 for key, val := range *in {
2286 (*out)[key] = val
2287 }
2288 }
2289 if in.ExpressionSelectors != nil {
2290 in, out := &in.ExpressionSelectors, &out.ExpressionSelectors
2291 *out = make(LabelSelectorRequirements, len(*in))
2292 for i := range *in {
2293 (*in)[i].DeepCopyInto(&(*out)[i])
2294 }
2295 }
2296 if in.AnnotationSelectors != nil {
2297 in, out := &in.AnnotationSelectors, &out.AnnotationSelectors
2298 *out = make(map[string]string, len(*in))
2299 for key, val := range *in {
2300 (*out)[key] = val
2301 }
2302 }
2303 if in.PodPhaseSelectors != nil {
2304 in, out := &in.PodPhaseSelectors, &out.PodPhaseSelectors
2305 *out = make([]string, len(*in))
2306 copy(*out, *in)
2307 }
2308 }
2309
2310
2311 func (in *PodSelectorSpec) DeepCopy() *PodSelectorSpec {
2312 if in == nil {
2313 return nil
2314 }
2315 out := new(PodSelectorSpec)
2316 in.DeepCopyInto(out)
2317 return out
2318 }
2319
2320
2321 func (in *RawIPSet) DeepCopyInto(out *RawIPSet) {
2322 *out = *in
2323 if in.Cidrs != nil {
2324 in, out := &in.Cidrs, &out.Cidrs
2325 *out = make([]string, len(*in))
2326 copy(*out, *in)
2327 }
2328 out.RawRuleSource = in.RawRuleSource
2329 }
2330
2331
2332 func (in *RawIPSet) DeepCopy() *RawIPSet {
2333 if in == nil {
2334 return nil
2335 }
2336 out := new(RawIPSet)
2337 in.DeepCopyInto(out)
2338 return out
2339 }
2340
2341
2342 func (in *RawIptables) DeepCopyInto(out *RawIptables) {
2343 *out = *in
2344 if in.IPSets != nil {
2345 in, out := &in.IPSets, &out.IPSets
2346 *out = make([]string, len(*in))
2347 copy(*out, *in)
2348 }
2349 out.RawRuleSource = in.RawRuleSource
2350 }
2351
2352
2353 func (in *RawIptables) DeepCopy() *RawIptables {
2354 if in == nil {
2355 return nil
2356 }
2357 out := new(RawIptables)
2358 in.DeepCopyInto(out)
2359 return out
2360 }
2361
2362
2363 func (in *RawRuleSource) DeepCopyInto(out *RawRuleSource) {
2364 *out = *in
2365 }
2366
2367
2368 func (in *RawRuleSource) DeepCopy() *RawRuleSource {
2369 if in == nil {
2370 return nil
2371 }
2372 out := new(RawRuleSource)
2373 in.DeepCopyInto(out)
2374 return out
2375 }
2376
2377
2378 func (in *RawTrafficControl) DeepCopyInto(out *RawTrafficControl) {
2379 *out = *in
2380 in.TcParameter.DeepCopyInto(&out.TcParameter)
2381 }
2382
2383
2384 func (in *RawTrafficControl) DeepCopy() *RawTrafficControl {
2385 if in == nil {
2386 return nil
2387 }
2388 out := new(RawTrafficControl)
2389 in.DeepCopyInto(out)
2390 return out
2391 }
2392
2393
2394 func (in *Record) DeepCopyInto(out *Record) {
2395 *out = *in
2396 }
2397
2398
2399 func (in *Record) DeepCopy() *Record {
2400 if in == nil {
2401 return nil
2402 }
2403 out := new(Record)
2404 in.DeepCopyInto(out)
2405 return out
2406 }
2407
2408
2409 func (in *ReorderSpec) DeepCopyInto(out *ReorderSpec) {
2410 *out = *in
2411 }
2412
2413
2414 func (in *ReorderSpec) DeepCopy() *ReorderSpec {
2415 if in == nil {
2416 return nil
2417 }
2418 out := new(ReorderSpec)
2419 in.DeepCopyInto(out)
2420 return out
2421 }
2422
2423
2424 func (in *Schedule) DeepCopyInto(out *Schedule) {
2425 *out = *in
2426 out.TypeMeta = in.TypeMeta
2427 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
2428 in.Spec.DeepCopyInto(&out.Spec)
2429 in.Status.DeepCopyInto(&out.Status)
2430 }
2431
2432
2433 func (in *Schedule) DeepCopy() *Schedule {
2434 if in == nil {
2435 return nil
2436 }
2437 out := new(Schedule)
2438 in.DeepCopyInto(out)
2439 return out
2440 }
2441
2442
2443 func (in *Schedule) DeepCopyObject() runtime.Object {
2444 if c := in.DeepCopy(); c != nil {
2445 return c
2446 }
2447 return nil
2448 }
2449
2450
2451 func (in *ScheduleItem) DeepCopyInto(out *ScheduleItem) {
2452 *out = *in
2453 in.EmbedChaos.DeepCopyInto(&out.EmbedChaos)
2454 if in.Workflow != nil {
2455 in, out := &in.Workflow, &out.Workflow
2456 *out = new(WorkflowSpec)
2457 (*in).DeepCopyInto(*out)
2458 }
2459 }
2460
2461
2462 func (in *ScheduleItem) DeepCopy() *ScheduleItem {
2463 if in == nil {
2464 return nil
2465 }
2466 out := new(ScheduleItem)
2467 in.DeepCopyInto(out)
2468 return out
2469 }
2470
2471
2472 func (in *ScheduleList) DeepCopyInto(out *ScheduleList) {
2473 *out = *in
2474 out.TypeMeta = in.TypeMeta
2475 in.ListMeta.DeepCopyInto(&out.ListMeta)
2476 if in.Items != nil {
2477 in, out := &in.Items, &out.Items
2478 *out = make([]Schedule, len(*in))
2479 for i := range *in {
2480 (*in)[i].DeepCopyInto(&(*out)[i])
2481 }
2482 }
2483 }
2484
2485
2486 func (in *ScheduleList) DeepCopy() *ScheduleList {
2487 if in == nil {
2488 return nil
2489 }
2490 out := new(ScheduleList)
2491 in.DeepCopyInto(out)
2492 return out
2493 }
2494
2495
2496 func (in *ScheduleList) DeepCopyObject() runtime.Object {
2497 if c := in.DeepCopy(); c != nil {
2498 return c
2499 }
2500 return nil
2501 }
2502
2503
2504 func (in *ScheduleSpec) DeepCopyInto(out *ScheduleSpec) {
2505 *out = *in
2506 if in.StartingDeadlineSeconds != nil {
2507 in, out := &in.StartingDeadlineSeconds, &out.StartingDeadlineSeconds
2508 *out = new(int64)
2509 **out = **in
2510 }
2511 in.ScheduleItem.DeepCopyInto(&out.ScheduleItem)
2512 }
2513
2514
2515 func (in *ScheduleSpec) DeepCopy() *ScheduleSpec {
2516 if in == nil {
2517 return nil
2518 }
2519 out := new(ScheduleSpec)
2520 in.DeepCopyInto(out)
2521 return out
2522 }
2523
2524
2525 func (in *ScheduleStatus) DeepCopyInto(out *ScheduleStatus) {
2526 *out = *in
2527 if in.Active != nil {
2528 in, out := &in.Active, &out.Active
2529 *out = make([]v1.ObjectReference, len(*in))
2530 copy(*out, *in)
2531 }
2532 in.LastScheduleTime.DeepCopyInto(&out.LastScheduleTime)
2533 }
2534
2535
2536 func (in *ScheduleStatus) DeepCopy() *ScheduleStatus {
2537 if in == nil {
2538 return nil
2539 }
2540 out := new(ScheduleStatus)
2541 in.DeepCopyInto(out)
2542 return out
2543 }
2544
2545
2546 func (in *StressChaos) DeepCopyInto(out *StressChaos) {
2547 *out = *in
2548 out.TypeMeta = in.TypeMeta
2549 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
2550 in.Spec.DeepCopyInto(&out.Spec)
2551 in.Status.DeepCopyInto(&out.Status)
2552 }
2553
2554
2555 func (in *StressChaos) DeepCopy() *StressChaos {
2556 if in == nil {
2557 return nil
2558 }
2559 out := new(StressChaos)
2560 in.DeepCopyInto(out)
2561 return out
2562 }
2563
2564
2565 func (in *StressChaos) DeepCopyObject() runtime.Object {
2566 if c := in.DeepCopy(); c != nil {
2567 return c
2568 }
2569 return nil
2570 }
2571
2572
2573 func (in *StressChaosList) DeepCopyInto(out *StressChaosList) {
2574 *out = *in
2575 out.TypeMeta = in.TypeMeta
2576 in.ListMeta.DeepCopyInto(&out.ListMeta)
2577 if in.Items != nil {
2578 in, out := &in.Items, &out.Items
2579 *out = make([]StressChaos, len(*in))
2580 for i := range *in {
2581 (*in)[i].DeepCopyInto(&(*out)[i])
2582 }
2583 }
2584 }
2585
2586
2587 func (in *StressChaosList) DeepCopy() *StressChaosList {
2588 if in == nil {
2589 return nil
2590 }
2591 out := new(StressChaosList)
2592 in.DeepCopyInto(out)
2593 return out
2594 }
2595
2596
2597 func (in *StressChaosList) DeepCopyObject() runtime.Object {
2598 if c := in.DeepCopy(); c != nil {
2599 return c
2600 }
2601 return nil
2602 }
2603
2604
2605 func (in *StressChaosSpec) DeepCopyInto(out *StressChaosSpec) {
2606 *out = *in
2607 in.ContainerSelector.DeepCopyInto(&out.ContainerSelector)
2608 if in.Stressors != nil {
2609 in, out := &in.Stressors, &out.Stressors
2610 *out = new(Stressors)
2611 (*in).DeepCopyInto(*out)
2612 }
2613 if in.Duration != nil {
2614 in, out := &in.Duration, &out.Duration
2615 *out = new(string)
2616 **out = **in
2617 }
2618 }
2619
2620
2621 func (in *StressChaosSpec) DeepCopy() *StressChaosSpec {
2622 if in == nil {
2623 return nil
2624 }
2625 out := new(StressChaosSpec)
2626 in.DeepCopyInto(out)
2627 return out
2628 }
2629
2630
2631 func (in *StressChaosStatus) DeepCopyInto(out *StressChaosStatus) {
2632 *out = *in
2633 in.ChaosStatus.DeepCopyInto(&out.ChaosStatus)
2634 if in.Instances != nil {
2635 in, out := &in.Instances, &out.Instances
2636 *out = make(map[string]StressInstance, len(*in))
2637 for key, val := range *in {
2638 (*out)[key] = *val.DeepCopy()
2639 }
2640 }
2641 }
2642
2643
2644 func (in *StressChaosStatus) DeepCopy() *StressChaosStatus {
2645 if in == nil {
2646 return nil
2647 }
2648 out := new(StressChaosStatus)
2649 in.DeepCopyInto(out)
2650 return out
2651 }
2652
2653
2654 func (in *StressInstance) DeepCopyInto(out *StressInstance) {
2655 *out = *in
2656 if in.StartTime != nil {
2657 in, out := &in.StartTime, &out.StartTime
2658 *out = (*in).DeepCopy()
2659 }
2660 }
2661
2662
2663 func (in *StressInstance) DeepCopy() *StressInstance {
2664 if in == nil {
2665 return nil
2666 }
2667 out := new(StressInstance)
2668 in.DeepCopyInto(out)
2669 return out
2670 }
2671
2672
2673 func (in *Stressor) DeepCopyInto(out *Stressor) {
2674 *out = *in
2675 }
2676
2677
2678 func (in *Stressor) DeepCopy() *Stressor {
2679 if in == nil {
2680 return nil
2681 }
2682 out := new(Stressor)
2683 in.DeepCopyInto(out)
2684 return out
2685 }
2686
2687
2688 func (in *Stressors) DeepCopyInto(out *Stressors) {
2689 *out = *in
2690 if in.MemoryStressor != nil {
2691 in, out := &in.MemoryStressor, &out.MemoryStressor
2692 *out = new(MemoryStressor)
2693 (*in).DeepCopyInto(*out)
2694 }
2695 if in.CPUStressor != nil {
2696 in, out := &in.CPUStressor, &out.CPUStressor
2697 *out = new(CPUStressor)
2698 (*in).DeepCopyInto(*out)
2699 }
2700 }
2701
2702
2703 func (in *Stressors) DeepCopy() *Stressors {
2704 if in == nil {
2705 return nil
2706 }
2707 out := new(Stressors)
2708 in.DeepCopyInto(out)
2709 return out
2710 }
2711
2712
2713 func (in *Task) DeepCopyInto(out *Task) {
2714 *out = *in
2715 if in.Container != nil {
2716 in, out := &in.Container, &out.Container
2717 *out = new(v1.Container)
2718 (*in).DeepCopyInto(*out)
2719 }
2720 if in.Volumes != nil {
2721 in, out := &in.Volumes, &out.Volumes
2722 *out = make([]v1.Volume, len(*in))
2723 for i := range *in {
2724 (*in)[i].DeepCopyInto(&(*out)[i])
2725 }
2726 }
2727 }
2728
2729
2730 func (in *Task) DeepCopy() *Task {
2731 if in == nil {
2732 return nil
2733 }
2734 out := new(Task)
2735 in.DeepCopyInto(out)
2736 return out
2737 }
2738
2739
2740 func (in *TcParameter) DeepCopyInto(out *TcParameter) {
2741 *out = *in
2742 if in.Delay != nil {
2743 in, out := &in.Delay, &out.Delay
2744 *out = new(DelaySpec)
2745 (*in).DeepCopyInto(*out)
2746 }
2747 if in.Loss != nil {
2748 in, out := &in.Loss, &out.Loss
2749 *out = new(LossSpec)
2750 **out = **in
2751 }
2752 if in.Duplicate != nil {
2753 in, out := &in.Duplicate, &out.Duplicate
2754 *out = new(DuplicateSpec)
2755 **out = **in
2756 }
2757 if in.Corrupt != nil {
2758 in, out := &in.Corrupt, &out.Corrupt
2759 *out = new(CorruptSpec)
2760 **out = **in
2761 }
2762 if in.Bandwidth != nil {
2763 in, out := &in.Bandwidth, &out.Bandwidth
2764 *out = new(BandwidthSpec)
2765 (*in).DeepCopyInto(*out)
2766 }
2767 }
2768
2769
2770 func (in *TcParameter) DeepCopy() *TcParameter {
2771 if in == nil {
2772 return nil
2773 }
2774 out := new(TcParameter)
2775 in.DeepCopyInto(out)
2776 return out
2777 }
2778
2779
2780 func (in *Template) DeepCopyInto(out *Template) {
2781 *out = *in
2782 if in.Deadline != nil {
2783 in, out := &in.Deadline, &out.Deadline
2784 *out = new(string)
2785 **out = **in
2786 }
2787 if in.Task != nil {
2788 in, out := &in.Task, &out.Task
2789 *out = new(Task)
2790 (*in).DeepCopyInto(*out)
2791 }
2792 if in.Children != nil {
2793 in, out := &in.Children, &out.Children
2794 *out = make([]string, len(*in))
2795 copy(*out, *in)
2796 }
2797 if in.ConditionalBranches != nil {
2798 in, out := &in.ConditionalBranches, &out.ConditionalBranches
2799 *out = make([]ConditionalBranch, len(*in))
2800 copy(*out, *in)
2801 }
2802 if in.EmbedChaos != nil {
2803 in, out := &in.EmbedChaos, &out.EmbedChaos
2804 *out = new(EmbedChaos)
2805 (*in).DeepCopyInto(*out)
2806 }
2807 if in.Schedule != nil {
2808 in, out := &in.Schedule, &out.Schedule
2809 *out = new(ChaosOnlyScheduleSpec)
2810 (*in).DeepCopyInto(*out)
2811 }
2812 }
2813
2814
2815 func (in *Template) DeepCopy() *Template {
2816 if in == nil {
2817 return nil
2818 }
2819 out := new(Template)
2820 in.DeepCopyInto(out)
2821 return out
2822 }
2823
2824
2825 func (in *TimeChaos) DeepCopyInto(out *TimeChaos) {
2826 *out = *in
2827 out.TypeMeta = in.TypeMeta
2828 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
2829 in.Spec.DeepCopyInto(&out.Spec)
2830 in.Status.DeepCopyInto(&out.Status)
2831 }
2832
2833
2834 func (in *TimeChaos) DeepCopy() *TimeChaos {
2835 if in == nil {
2836 return nil
2837 }
2838 out := new(TimeChaos)
2839 in.DeepCopyInto(out)
2840 return out
2841 }
2842
2843
2844 func (in *TimeChaos) DeepCopyObject() runtime.Object {
2845 if c := in.DeepCopy(); c != nil {
2846 return c
2847 }
2848 return nil
2849 }
2850
2851
2852 func (in *TimeChaosList) DeepCopyInto(out *TimeChaosList) {
2853 *out = *in
2854 out.TypeMeta = in.TypeMeta
2855 in.ListMeta.DeepCopyInto(&out.ListMeta)
2856 if in.Items != nil {
2857 in, out := &in.Items, &out.Items
2858 *out = make([]TimeChaos, len(*in))
2859 for i := range *in {
2860 (*in)[i].DeepCopyInto(&(*out)[i])
2861 }
2862 }
2863 }
2864
2865
2866 func (in *TimeChaosList) DeepCopy() *TimeChaosList {
2867 if in == nil {
2868 return nil
2869 }
2870 out := new(TimeChaosList)
2871 in.DeepCopyInto(out)
2872 return out
2873 }
2874
2875
2876 func (in *TimeChaosList) DeepCopyObject() runtime.Object {
2877 if c := in.DeepCopy(); c != nil {
2878 return c
2879 }
2880 return nil
2881 }
2882
2883
2884 func (in *TimeChaosSpec) DeepCopyInto(out *TimeChaosSpec) {
2885 *out = *in
2886 in.ContainerSelector.DeepCopyInto(&out.ContainerSelector)
2887 if in.ClockIds != nil {
2888 in, out := &in.ClockIds, &out.ClockIds
2889 *out = make([]string, len(*in))
2890 copy(*out, *in)
2891 }
2892 if in.Duration != nil {
2893 in, out := &in.Duration, &out.Duration
2894 *out = new(string)
2895 **out = **in
2896 }
2897 }
2898
2899
2900 func (in *TimeChaosSpec) DeepCopy() *TimeChaosSpec {
2901 if in == nil {
2902 return nil
2903 }
2904 out := new(TimeChaosSpec)
2905 in.DeepCopyInto(out)
2906 return out
2907 }
2908
2909
2910 func (in *TimeChaosStatus) DeepCopyInto(out *TimeChaosStatus) {
2911 *out = *in
2912 in.ChaosStatus.DeepCopyInto(&out.ChaosStatus)
2913 }
2914
2915
2916 func (in *TimeChaosStatus) DeepCopy() *TimeChaosStatus {
2917 if in == nil {
2918 return nil
2919 }
2920 out := new(TimeChaosStatus)
2921 in.DeepCopyInto(out)
2922 return out
2923 }
2924
2925
2926 func (in *Timespec) DeepCopyInto(out *Timespec) {
2927 *out = *in
2928 }
2929
2930
2931 func (in *Timespec) DeepCopy() *Timespec {
2932 if in == nil {
2933 return nil
2934 }
2935 out := new(Timespec)
2936 in.DeepCopyInto(out)
2937 return out
2938 }
2939
2940
2941 func (in *Workflow) DeepCopyInto(out *Workflow) {
2942 *out = *in
2943 out.TypeMeta = in.TypeMeta
2944 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
2945 in.Spec.DeepCopyInto(&out.Spec)
2946 in.Status.DeepCopyInto(&out.Status)
2947 }
2948
2949
2950 func (in *Workflow) DeepCopy() *Workflow {
2951 if in == nil {
2952 return nil
2953 }
2954 out := new(Workflow)
2955 in.DeepCopyInto(out)
2956 return out
2957 }
2958
2959
2960 func (in *Workflow) DeepCopyObject() runtime.Object {
2961 if c := in.DeepCopy(); c != nil {
2962 return c
2963 }
2964 return nil
2965 }
2966
2967
2968 func (in *WorkflowCondition) DeepCopyInto(out *WorkflowCondition) {
2969 *out = *in
2970 if in.StartTime != nil {
2971 in, out := &in.StartTime, &out.StartTime
2972 *out = (*in).DeepCopy()
2973 }
2974 }
2975
2976
2977 func (in *WorkflowCondition) DeepCopy() *WorkflowCondition {
2978 if in == nil {
2979 return nil
2980 }
2981 out := new(WorkflowCondition)
2982 in.DeepCopyInto(out)
2983 return out
2984 }
2985
2986
2987 func (in *WorkflowList) DeepCopyInto(out *WorkflowList) {
2988 *out = *in
2989 out.TypeMeta = in.TypeMeta
2990 in.ListMeta.DeepCopyInto(&out.ListMeta)
2991 if in.Items != nil {
2992 in, out := &in.Items, &out.Items
2993 *out = make([]Workflow, len(*in))
2994 for i := range *in {
2995 (*in)[i].DeepCopyInto(&(*out)[i])
2996 }
2997 }
2998 }
2999
3000
3001 func (in *WorkflowList) DeepCopy() *WorkflowList {
3002 if in == nil {
3003 return nil
3004 }
3005 out := new(WorkflowList)
3006 in.DeepCopyInto(out)
3007 return out
3008 }
3009
3010
3011 func (in *WorkflowList) DeepCopyObject() runtime.Object {
3012 if c := in.DeepCopy(); c != nil {
3013 return c
3014 }
3015 return nil
3016 }
3017
3018
3019 func (in *WorkflowNode) DeepCopyInto(out *WorkflowNode) {
3020 *out = *in
3021 out.TypeMeta = in.TypeMeta
3022 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
3023 in.Spec.DeepCopyInto(&out.Spec)
3024 in.Status.DeepCopyInto(&out.Status)
3025 }
3026
3027
3028 func (in *WorkflowNode) DeepCopy() *WorkflowNode {
3029 if in == nil {
3030 return nil
3031 }
3032 out := new(WorkflowNode)
3033 in.DeepCopyInto(out)
3034 return out
3035 }
3036
3037
3038 func (in *WorkflowNode) DeepCopyObject() runtime.Object {
3039 if c := in.DeepCopy(); c != nil {
3040 return c
3041 }
3042 return nil
3043 }
3044
3045
3046 func (in *WorkflowNodeCondition) DeepCopyInto(out *WorkflowNodeCondition) {
3047 *out = *in
3048 }
3049
3050
3051 func (in *WorkflowNodeCondition) DeepCopy() *WorkflowNodeCondition {
3052 if in == nil {
3053 return nil
3054 }
3055 out := new(WorkflowNodeCondition)
3056 in.DeepCopyInto(out)
3057 return out
3058 }
3059
3060
3061 func (in *WorkflowNodeList) DeepCopyInto(out *WorkflowNodeList) {
3062 *out = *in
3063 out.TypeMeta = in.TypeMeta
3064 in.ListMeta.DeepCopyInto(&out.ListMeta)
3065 if in.Items != nil {
3066 in, out := &in.Items, &out.Items
3067 *out = make([]WorkflowNode, len(*in))
3068 for i := range *in {
3069 (*in)[i].DeepCopyInto(&(*out)[i])
3070 }
3071 }
3072 }
3073
3074
3075 func (in *WorkflowNodeList) DeepCopy() *WorkflowNodeList {
3076 if in == nil {
3077 return nil
3078 }
3079 out := new(WorkflowNodeList)
3080 in.DeepCopyInto(out)
3081 return out
3082 }
3083
3084
3085 func (in *WorkflowNodeList) DeepCopyObject() runtime.Object {
3086 if c := in.DeepCopy(); c != nil {
3087 return c
3088 }
3089 return nil
3090 }
3091
3092
3093 func (in *WorkflowNodeSpec) DeepCopyInto(out *WorkflowNodeSpec) {
3094 *out = *in
3095 if in.StartTime != nil {
3096 in, out := &in.StartTime, &out.StartTime
3097 *out = (*in).DeepCopy()
3098 }
3099 if in.Deadline != nil {
3100 in, out := &in.Deadline, &out.Deadline
3101 *out = (*in).DeepCopy()
3102 }
3103 if in.Task != nil {
3104 in, out := &in.Task, &out.Task
3105 *out = new(Task)
3106 (*in).DeepCopyInto(*out)
3107 }
3108 if in.Children != nil {
3109 in, out := &in.Children, &out.Children
3110 *out = make([]string, len(*in))
3111 copy(*out, *in)
3112 }
3113 if in.ConditionalBranches != nil {
3114 in, out := &in.ConditionalBranches, &out.ConditionalBranches
3115 *out = make([]ConditionalBranch, len(*in))
3116 copy(*out, *in)
3117 }
3118 if in.EmbedChaos != nil {
3119 in, out := &in.EmbedChaos, &out.EmbedChaos
3120 *out = new(EmbedChaos)
3121 (*in).DeepCopyInto(*out)
3122 }
3123 if in.Schedule != nil {
3124 in, out := &in.Schedule, &out.Schedule
3125 *out = new(ScheduleSpec)
3126 (*in).DeepCopyInto(*out)
3127 }
3128 }
3129
3130
3131 func (in *WorkflowNodeSpec) DeepCopy() *WorkflowNodeSpec {
3132 if in == nil {
3133 return nil
3134 }
3135 out := new(WorkflowNodeSpec)
3136 in.DeepCopyInto(out)
3137 return out
3138 }
3139
3140
3141 func (in *WorkflowNodeStatus) DeepCopyInto(out *WorkflowNodeStatus) {
3142 *out = *in
3143 if in.ChaosResource != nil {
3144 in, out := &in.ChaosResource, &out.ChaosResource
3145 *out = new(v1.TypedLocalObjectReference)
3146 (*in).DeepCopyInto(*out)
3147 }
3148 if in.ConditionalBranchesStatus != nil {
3149 in, out := &in.ConditionalBranchesStatus, &out.ConditionalBranchesStatus
3150 *out = new(ConditionalBranchesStatus)
3151 (*in).DeepCopyInto(*out)
3152 }
3153 if in.ActiveChildren != nil {
3154 in, out := &in.ActiveChildren, &out.ActiveChildren
3155 *out = make([]v1.LocalObjectReference, len(*in))
3156 copy(*out, *in)
3157 }
3158 if in.FinishedChildren != nil {
3159 in, out := &in.FinishedChildren, &out.FinishedChildren
3160 *out = make([]v1.LocalObjectReference, len(*in))
3161 copy(*out, *in)
3162 }
3163 if in.Conditions != nil {
3164 in, out := &in.Conditions, &out.Conditions
3165 *out = make([]WorkflowNodeCondition, len(*in))
3166 copy(*out, *in)
3167 }
3168 }
3169
3170
3171 func (in *WorkflowNodeStatus) DeepCopy() *WorkflowNodeStatus {
3172 if in == nil {
3173 return nil
3174 }
3175 out := new(WorkflowNodeStatus)
3176 in.DeepCopyInto(out)
3177 return out
3178 }
3179
3180
3181 func (in *WorkflowSpec) DeepCopyInto(out *WorkflowSpec) {
3182 *out = *in
3183 if in.Templates != nil {
3184 in, out := &in.Templates, &out.Templates
3185 *out = make([]Template, len(*in))
3186 for i := range *in {
3187 (*in)[i].DeepCopyInto(&(*out)[i])
3188 }
3189 }
3190 }
3191
3192
3193 func (in *WorkflowSpec) DeepCopy() *WorkflowSpec {
3194 if in == nil {
3195 return nil
3196 }
3197 out := new(WorkflowSpec)
3198 in.DeepCopyInto(out)
3199 return out
3200 }
3201
3202
3203 func (in *WorkflowStatus) DeepCopyInto(out *WorkflowStatus) {
3204 *out = *in
3205 if in.EntryNode != nil {
3206 in, out := &in.EntryNode, &out.EntryNode
3207 *out = new(string)
3208 **out = **in
3209 }
3210 if in.StartTime != nil {
3211 in, out := &in.StartTime, &out.StartTime
3212 *out = (*in).DeepCopy()
3213 }
3214 if in.EndTime != nil {
3215 in, out := &in.EndTime, &out.EndTime
3216 *out = (*in).DeepCopy()
3217 }
3218 if in.Conditions != nil {
3219 in, out := &in.Conditions, &out.Conditions
3220 *out = make([]WorkflowCondition, len(*in))
3221 for i := range *in {
3222 (*in)[i].DeepCopyInto(&(*out)[i])
3223 }
3224 }
3225 }
3226
3227
3228 func (in *WorkflowStatus) DeepCopy() *WorkflowStatus {
3229 if in == nil {
3230 return nil
3231 }
3232 out := new(WorkflowStatus)
3233 in.DeepCopyInto(out)
3234 return out
3235 }
3236