...
1
2
3
4
5
6 package v1alpha1
7
8 import (
9 v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
10 runtime "k8s.io/apimachinery/pkg/runtime"
11 )
12
13
14 func (in *DataGather) DeepCopyInto(out *DataGather) {
15 *out = *in
16 out.TypeMeta = in.TypeMeta
17 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
18 in.Spec.DeepCopyInto(&out.Spec)
19 in.Status.DeepCopyInto(&out.Status)
20 return
21 }
22
23
24 func (in *DataGather) DeepCopy() *DataGather {
25 if in == nil {
26 return nil
27 }
28 out := new(DataGather)
29 in.DeepCopyInto(out)
30 return out
31 }
32
33
34 func (in *DataGather) DeepCopyObject() runtime.Object {
35 if c := in.DeepCopy(); c != nil {
36 return c
37 }
38 return nil
39 }
40
41
42 func (in *DataGatherList) DeepCopyInto(out *DataGatherList) {
43 *out = *in
44 out.TypeMeta = in.TypeMeta
45 in.ListMeta.DeepCopyInto(&out.ListMeta)
46 if in.Items != nil {
47 in, out := &in.Items, &out.Items
48 *out = make([]DataGather, len(*in))
49 for i := range *in {
50 (*in)[i].DeepCopyInto(&(*out)[i])
51 }
52 }
53 return
54 }
55
56
57 func (in *DataGatherList) DeepCopy() *DataGatherList {
58 if in == nil {
59 return nil
60 }
61 out := new(DataGatherList)
62 in.DeepCopyInto(out)
63 return out
64 }
65
66
67 func (in *DataGatherList) DeepCopyObject() runtime.Object {
68 if c := in.DeepCopy(); c != nil {
69 return c
70 }
71 return nil
72 }
73
74
75 func (in *DataGatherSpec) DeepCopyInto(out *DataGatherSpec) {
76 *out = *in
77 if in.Gatherers != nil {
78 in, out := &in.Gatherers, &out.Gatherers
79 *out = make([]GathererConfig, len(*in))
80 copy(*out, *in)
81 }
82 return
83 }
84
85
86 func (in *DataGatherSpec) DeepCopy() *DataGatherSpec {
87 if in == nil {
88 return nil
89 }
90 out := new(DataGatherSpec)
91 in.DeepCopyInto(out)
92 return out
93 }
94
95
96 func (in *DataGatherStatus) DeepCopyInto(out *DataGatherStatus) {
97 *out = *in
98 if in.Conditions != nil {
99 in, out := &in.Conditions, &out.Conditions
100 *out = make([]v1.Condition, len(*in))
101 for i := range *in {
102 (*in)[i].DeepCopyInto(&(*out)[i])
103 }
104 }
105 if in.Gatherers != nil {
106 in, out := &in.Gatherers, &out.Gatherers
107 *out = make([]GathererStatus, len(*in))
108 for i := range *in {
109 (*in)[i].DeepCopyInto(&(*out)[i])
110 }
111 }
112 in.StartTime.DeepCopyInto(&out.StartTime)
113 in.FinishTime.DeepCopyInto(&out.FinishTime)
114 if in.RelatedObjects != nil {
115 in, out := &in.RelatedObjects, &out.RelatedObjects
116 *out = make([]ObjectReference, len(*in))
117 copy(*out, *in)
118 }
119 in.InsightsReport.DeepCopyInto(&out.InsightsReport)
120 return
121 }
122
123
124 func (in *DataGatherStatus) DeepCopy() *DataGatherStatus {
125 if in == nil {
126 return nil
127 }
128 out := new(DataGatherStatus)
129 in.DeepCopyInto(out)
130 return out
131 }
132
133
134 func (in *GathererConfig) DeepCopyInto(out *GathererConfig) {
135 *out = *in
136 return
137 }
138
139
140 func (in *GathererConfig) DeepCopy() *GathererConfig {
141 if in == nil {
142 return nil
143 }
144 out := new(GathererConfig)
145 in.DeepCopyInto(out)
146 return out
147 }
148
149
150 func (in *GathererStatus) DeepCopyInto(out *GathererStatus) {
151 *out = *in
152 if in.Conditions != nil {
153 in, out := &in.Conditions, &out.Conditions
154 *out = make([]v1.Condition, len(*in))
155 for i := range *in {
156 (*in)[i].DeepCopyInto(&(*out)[i])
157 }
158 }
159 out.LastGatherDuration = in.LastGatherDuration
160 return
161 }
162
163
164 func (in *GathererStatus) DeepCopy() *GathererStatus {
165 if in == nil {
166 return nil
167 }
168 out := new(GathererStatus)
169 in.DeepCopyInto(out)
170 return out
171 }
172
173
174 func (in *HealthCheck) DeepCopyInto(out *HealthCheck) {
175 *out = *in
176 return
177 }
178
179
180 func (in *HealthCheck) DeepCopy() *HealthCheck {
181 if in == nil {
182 return nil
183 }
184 out := new(HealthCheck)
185 in.DeepCopyInto(out)
186 return out
187 }
188
189
190 func (in *InsightsReport) DeepCopyInto(out *InsightsReport) {
191 *out = *in
192 in.DownloadedAt.DeepCopyInto(&out.DownloadedAt)
193 if in.HealthChecks != nil {
194 in, out := &in.HealthChecks, &out.HealthChecks
195 *out = make([]HealthCheck, len(*in))
196 copy(*out, *in)
197 }
198 return
199 }
200
201
202 func (in *InsightsReport) DeepCopy() *InsightsReport {
203 if in == nil {
204 return nil
205 }
206 out := new(InsightsReport)
207 in.DeepCopyInto(out)
208 return out
209 }
210
211
212 func (in *ObjectReference) DeepCopyInto(out *ObjectReference) {
213 *out = *in
214 return
215 }
216
217
218 func (in *ObjectReference) DeepCopy() *ObjectReference {
219 if in == nil {
220 return nil
221 }
222 out := new(ObjectReference)
223 in.DeepCopyInto(out)
224 return out
225 }
226
View as plain text