1
2
3
4
5
6 package v1
7
8 import (
9 corev1 "k8s.io/api/core/v1"
10 runtime "k8s.io/apimachinery/pkg/runtime"
11 )
12
13
14 func (in *BrokerTemplateInstance) DeepCopyInto(out *BrokerTemplateInstance) {
15 *out = *in
16 out.TypeMeta = in.TypeMeta
17 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
18 in.Spec.DeepCopyInto(&out.Spec)
19 return
20 }
21
22
23 func (in *BrokerTemplateInstance) DeepCopy() *BrokerTemplateInstance {
24 if in == nil {
25 return nil
26 }
27 out := new(BrokerTemplateInstance)
28 in.DeepCopyInto(out)
29 return out
30 }
31
32
33 func (in *BrokerTemplateInstance) DeepCopyObject() runtime.Object {
34 if c := in.DeepCopy(); c != nil {
35 return c
36 }
37 return nil
38 }
39
40
41 func (in *BrokerTemplateInstanceList) DeepCopyInto(out *BrokerTemplateInstanceList) {
42 *out = *in
43 out.TypeMeta = in.TypeMeta
44 in.ListMeta.DeepCopyInto(&out.ListMeta)
45 if in.Items != nil {
46 in, out := &in.Items, &out.Items
47 *out = make([]BrokerTemplateInstance, len(*in))
48 for i := range *in {
49 (*in)[i].DeepCopyInto(&(*out)[i])
50 }
51 }
52 return
53 }
54
55
56 func (in *BrokerTemplateInstanceList) DeepCopy() *BrokerTemplateInstanceList {
57 if in == nil {
58 return nil
59 }
60 out := new(BrokerTemplateInstanceList)
61 in.DeepCopyInto(out)
62 return out
63 }
64
65
66 func (in *BrokerTemplateInstanceList) DeepCopyObject() runtime.Object {
67 if c := in.DeepCopy(); c != nil {
68 return c
69 }
70 return nil
71 }
72
73
74 func (in *BrokerTemplateInstanceSpec) DeepCopyInto(out *BrokerTemplateInstanceSpec) {
75 *out = *in
76 out.TemplateInstance = in.TemplateInstance
77 out.Secret = in.Secret
78 if in.BindingIDs != nil {
79 in, out := &in.BindingIDs, &out.BindingIDs
80 *out = make([]string, len(*in))
81 copy(*out, *in)
82 }
83 return
84 }
85
86
87 func (in *BrokerTemplateInstanceSpec) DeepCopy() *BrokerTemplateInstanceSpec {
88 if in == nil {
89 return nil
90 }
91 out := new(BrokerTemplateInstanceSpec)
92 in.DeepCopyInto(out)
93 return out
94 }
95
96
97 func (in ExtraValue) DeepCopyInto(out *ExtraValue) {
98 {
99 in := &in
100 *out = make(ExtraValue, len(*in))
101 copy(*out, *in)
102 return
103 }
104 }
105
106
107 func (in ExtraValue) DeepCopy() ExtraValue {
108 if in == nil {
109 return nil
110 }
111 out := new(ExtraValue)
112 in.DeepCopyInto(out)
113 return *out
114 }
115
116
117 func (in *Parameter) DeepCopyInto(out *Parameter) {
118 *out = *in
119 return
120 }
121
122
123 func (in *Parameter) DeepCopy() *Parameter {
124 if in == nil {
125 return nil
126 }
127 out := new(Parameter)
128 in.DeepCopyInto(out)
129 return out
130 }
131
132
133 func (in *Template) DeepCopyInto(out *Template) {
134 *out = *in
135 out.TypeMeta = in.TypeMeta
136 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
137 if in.Objects != nil {
138 in, out := &in.Objects, &out.Objects
139 *out = make([]runtime.RawExtension, len(*in))
140 for i := range *in {
141 (*in)[i].DeepCopyInto(&(*out)[i])
142 }
143 }
144 if in.Parameters != nil {
145 in, out := &in.Parameters, &out.Parameters
146 *out = make([]Parameter, len(*in))
147 copy(*out, *in)
148 }
149 if in.ObjectLabels != nil {
150 in, out := &in.ObjectLabels, &out.ObjectLabels
151 *out = make(map[string]string, len(*in))
152 for key, val := range *in {
153 (*out)[key] = val
154 }
155 }
156 return
157 }
158
159
160 func (in *Template) DeepCopy() *Template {
161 if in == nil {
162 return nil
163 }
164 out := new(Template)
165 in.DeepCopyInto(out)
166 return out
167 }
168
169
170 func (in *Template) DeepCopyObject() runtime.Object {
171 if c := in.DeepCopy(); c != nil {
172 return c
173 }
174 return nil
175 }
176
177
178 func (in *TemplateInstance) DeepCopyInto(out *TemplateInstance) {
179 *out = *in
180 out.TypeMeta = in.TypeMeta
181 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
182 in.Spec.DeepCopyInto(&out.Spec)
183 in.Status.DeepCopyInto(&out.Status)
184 return
185 }
186
187
188 func (in *TemplateInstance) DeepCopy() *TemplateInstance {
189 if in == nil {
190 return nil
191 }
192 out := new(TemplateInstance)
193 in.DeepCopyInto(out)
194 return out
195 }
196
197
198 func (in *TemplateInstance) DeepCopyObject() runtime.Object {
199 if c := in.DeepCopy(); c != nil {
200 return c
201 }
202 return nil
203 }
204
205
206 func (in *TemplateInstanceCondition) DeepCopyInto(out *TemplateInstanceCondition) {
207 *out = *in
208 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
209 return
210 }
211
212
213 func (in *TemplateInstanceCondition) DeepCopy() *TemplateInstanceCondition {
214 if in == nil {
215 return nil
216 }
217 out := new(TemplateInstanceCondition)
218 in.DeepCopyInto(out)
219 return out
220 }
221
222
223 func (in *TemplateInstanceList) DeepCopyInto(out *TemplateInstanceList) {
224 *out = *in
225 out.TypeMeta = in.TypeMeta
226 in.ListMeta.DeepCopyInto(&out.ListMeta)
227 if in.Items != nil {
228 in, out := &in.Items, &out.Items
229 *out = make([]TemplateInstance, len(*in))
230 for i := range *in {
231 (*in)[i].DeepCopyInto(&(*out)[i])
232 }
233 }
234 return
235 }
236
237
238 func (in *TemplateInstanceList) DeepCopy() *TemplateInstanceList {
239 if in == nil {
240 return nil
241 }
242 out := new(TemplateInstanceList)
243 in.DeepCopyInto(out)
244 return out
245 }
246
247
248 func (in *TemplateInstanceList) DeepCopyObject() runtime.Object {
249 if c := in.DeepCopy(); c != nil {
250 return c
251 }
252 return nil
253 }
254
255
256 func (in *TemplateInstanceObject) DeepCopyInto(out *TemplateInstanceObject) {
257 *out = *in
258 out.Ref = in.Ref
259 return
260 }
261
262
263 func (in *TemplateInstanceObject) DeepCopy() *TemplateInstanceObject {
264 if in == nil {
265 return nil
266 }
267 out := new(TemplateInstanceObject)
268 in.DeepCopyInto(out)
269 return out
270 }
271
272
273 func (in *TemplateInstanceRequester) DeepCopyInto(out *TemplateInstanceRequester) {
274 *out = *in
275 if in.Groups != nil {
276 in, out := &in.Groups, &out.Groups
277 *out = make([]string, len(*in))
278 copy(*out, *in)
279 }
280 if in.Extra != nil {
281 in, out := &in.Extra, &out.Extra
282 *out = make(map[string]ExtraValue, len(*in))
283 for key, val := range *in {
284 var outVal []string
285 if val == nil {
286 (*out)[key] = nil
287 } else {
288 in, out := &val, &outVal
289 *out = make(ExtraValue, len(*in))
290 copy(*out, *in)
291 }
292 (*out)[key] = outVal
293 }
294 }
295 return
296 }
297
298
299 func (in *TemplateInstanceRequester) DeepCopy() *TemplateInstanceRequester {
300 if in == nil {
301 return nil
302 }
303 out := new(TemplateInstanceRequester)
304 in.DeepCopyInto(out)
305 return out
306 }
307
308
309 func (in *TemplateInstanceSpec) DeepCopyInto(out *TemplateInstanceSpec) {
310 *out = *in
311 in.Template.DeepCopyInto(&out.Template)
312 if in.Secret != nil {
313 in, out := &in.Secret, &out.Secret
314 *out = new(corev1.LocalObjectReference)
315 **out = **in
316 }
317 if in.Requester != nil {
318 in, out := &in.Requester, &out.Requester
319 *out = new(TemplateInstanceRequester)
320 (*in).DeepCopyInto(*out)
321 }
322 return
323 }
324
325
326 func (in *TemplateInstanceSpec) DeepCopy() *TemplateInstanceSpec {
327 if in == nil {
328 return nil
329 }
330 out := new(TemplateInstanceSpec)
331 in.DeepCopyInto(out)
332 return out
333 }
334
335
336 func (in *TemplateInstanceStatus) DeepCopyInto(out *TemplateInstanceStatus) {
337 *out = *in
338 if in.Conditions != nil {
339 in, out := &in.Conditions, &out.Conditions
340 *out = make([]TemplateInstanceCondition, len(*in))
341 for i := range *in {
342 (*in)[i].DeepCopyInto(&(*out)[i])
343 }
344 }
345 if in.Objects != nil {
346 in, out := &in.Objects, &out.Objects
347 *out = make([]TemplateInstanceObject, len(*in))
348 copy(*out, *in)
349 }
350 return
351 }
352
353
354 func (in *TemplateInstanceStatus) DeepCopy() *TemplateInstanceStatus {
355 if in == nil {
356 return nil
357 }
358 out := new(TemplateInstanceStatus)
359 in.DeepCopyInto(out)
360 return out
361 }
362
363
364 func (in *TemplateList) DeepCopyInto(out *TemplateList) {
365 *out = *in
366 out.TypeMeta = in.TypeMeta
367 in.ListMeta.DeepCopyInto(&out.ListMeta)
368 if in.Items != nil {
369 in, out := &in.Items, &out.Items
370 *out = make([]Template, len(*in))
371 for i := range *in {
372 (*in)[i].DeepCopyInto(&(*out)[i])
373 }
374 }
375 return
376 }
377
378
379 func (in *TemplateList) DeepCopy() *TemplateList {
380 if in == nil {
381 return nil
382 }
383 out := new(TemplateList)
384 in.DeepCopyInto(out)
385 return out
386 }
387
388
389 func (in *TemplateList) DeepCopyObject() runtime.Object {
390 if c := in.DeepCopy(); c != nil {
391 return c
392 }
393 return nil
394 }
395
View as plain text