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