...
1
2
3
18
19
20
21 package pkg
22
23 import (
24 runtime "k8s.io/apimachinery/pkg/runtime"
25 )
26
27
28 func (c *ChaosPod) DeepCopyInto(out *ChaosPod) {
29 *out = *c
30 out.TypeMeta = c.TypeMeta
31 c.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
32 c.Spec.DeepCopyInto(&out.Spec)
33 c.Status.DeepCopyInto(&out.Status)
34 return
35 }
36
37
38 func (c *ChaosPod) DeepCopy() *ChaosPod {
39 if c == nil {
40 return nil
41 }
42 out := new(ChaosPod)
43 c.DeepCopyInto(out)
44 return out
45 }
46
47
48 func (c *ChaosPod) DeepCopyObject() runtime.Object {
49 if c := c.DeepCopy(); c != nil {
50 return c
51 }
52 return nil
53 }
54
55
56 func (in *ChaosPodList) DeepCopyInto(out *ChaosPodList) {
57 *out = *in
58 out.TypeMeta = in.TypeMeta
59 out.ListMeta = in.ListMeta
60 if in.Items != nil {
61 in, out := &in.Items, &out.Items
62 *out = make([]ChaosPod, len(*in))
63 for i := range *in {
64 (*in)[i].DeepCopyInto(&(*out)[i])
65 }
66 }
67 return
68 }
69
70
71 func (in *ChaosPodList) DeepCopy() *ChaosPodList {
72 if in == nil {
73 return nil
74 }
75 out := new(ChaosPodList)
76 in.DeepCopyInto(out)
77 return out
78 }
79
80
81 func (in *ChaosPodList) DeepCopyObject() runtime.Object {
82 if c := in.DeepCopy(); c != nil {
83 return c
84 }
85 return nil
86 }
87
88
89 func (in *ChaosPodSpec) DeepCopyInto(out *ChaosPodSpec) {
90 *out = *in
91 in.Template.DeepCopyInto(&out.Template)
92 in.NextStop.DeepCopyInto(&out.NextStop)
93 return
94 }
95
96
97 func (in *ChaosPodSpec) DeepCopy() *ChaosPodSpec {
98 if in == nil {
99 return nil
100 }
101 out := new(ChaosPodSpec)
102 in.DeepCopyInto(out)
103 return out
104 }
105
106
107 func (in *ChaosPodStatus) DeepCopyInto(out *ChaosPodStatus) {
108 *out = *in
109 in.LastRun.DeepCopyInto(&out.LastRun)
110 return
111 }
112
113
114 func (in *ChaosPodStatus) DeepCopy() *ChaosPodStatus {
115 if in == nil {
116 return nil
117 }
118 out := new(ChaosPodStatus)
119 in.DeepCopyInto(out)
120 return out
121 }
122
View as plain text