1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25 package v1beta1
26
27 import (
28 v1alpha1 "github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/apis/k8s/v1alpha1"
29 runtime "k8s.io/apimachinery/pkg/runtime"
30 )
31
32
33 func (in *SecretCustomerManagedEncryption) DeepCopyInto(out *SecretCustomerManagedEncryption) {
34 *out = *in
35 out.KmsKeyRef = in.KmsKeyRef
36 return
37 }
38
39
40 func (in *SecretCustomerManagedEncryption) DeepCopy() *SecretCustomerManagedEncryption {
41 if in == nil {
42 return nil
43 }
44 out := new(SecretCustomerManagedEncryption)
45 in.DeepCopyInto(out)
46 return out
47 }
48
49
50 func (in *SecretManagerSecret) DeepCopyInto(out *SecretManagerSecret) {
51 *out = *in
52 out.TypeMeta = in.TypeMeta
53 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
54 in.Spec.DeepCopyInto(&out.Spec)
55 in.Status.DeepCopyInto(&out.Status)
56 return
57 }
58
59
60 func (in *SecretManagerSecret) DeepCopy() *SecretManagerSecret {
61 if in == nil {
62 return nil
63 }
64 out := new(SecretManagerSecret)
65 in.DeepCopyInto(out)
66 return out
67 }
68
69
70 func (in *SecretManagerSecret) DeepCopyObject() runtime.Object {
71 if c := in.DeepCopy(); c != nil {
72 return c
73 }
74 return nil
75 }
76
77
78 func (in *SecretManagerSecretList) DeepCopyInto(out *SecretManagerSecretList) {
79 *out = *in
80 out.TypeMeta = in.TypeMeta
81 in.ListMeta.DeepCopyInto(&out.ListMeta)
82 if in.Items != nil {
83 in, out := &in.Items, &out.Items
84 *out = make([]SecretManagerSecret, len(*in))
85 for i := range *in {
86 (*in)[i].DeepCopyInto(&(*out)[i])
87 }
88 }
89 return
90 }
91
92
93 func (in *SecretManagerSecretList) DeepCopy() *SecretManagerSecretList {
94 if in == nil {
95 return nil
96 }
97 out := new(SecretManagerSecretList)
98 in.DeepCopyInto(out)
99 return out
100 }
101
102
103 func (in *SecretManagerSecretList) DeepCopyObject() runtime.Object {
104 if c := in.DeepCopy(); c != nil {
105 return c
106 }
107 return nil
108 }
109
110
111 func (in *SecretManagerSecretSpec) DeepCopyInto(out *SecretManagerSecretSpec) {
112 *out = *in
113 if in.ExpireTime != nil {
114 in, out := &in.ExpireTime, &out.ExpireTime
115 *out = new(string)
116 **out = **in
117 }
118 in.Replication.DeepCopyInto(&out.Replication)
119 if in.ResourceID != nil {
120 in, out := &in.ResourceID, &out.ResourceID
121 *out = new(string)
122 **out = **in
123 }
124 if in.Rotation != nil {
125 in, out := &in.Rotation, &out.Rotation
126 *out = new(SecretRotation)
127 (*in).DeepCopyInto(*out)
128 }
129 if in.Topics != nil {
130 in, out := &in.Topics, &out.Topics
131 *out = make([]SecretTopics, len(*in))
132 copy(*out, *in)
133 }
134 if in.Ttl != nil {
135 in, out := &in.Ttl, &out.Ttl
136 *out = new(string)
137 **out = **in
138 }
139 return
140 }
141
142
143 func (in *SecretManagerSecretSpec) DeepCopy() *SecretManagerSecretSpec {
144 if in == nil {
145 return nil
146 }
147 out := new(SecretManagerSecretSpec)
148 in.DeepCopyInto(out)
149 return out
150 }
151
152
153 func (in *SecretManagerSecretStatus) DeepCopyInto(out *SecretManagerSecretStatus) {
154 *out = *in
155 if in.Conditions != nil {
156 in, out := &in.Conditions, &out.Conditions
157 *out = make([]v1alpha1.Condition, len(*in))
158 copy(*out, *in)
159 }
160 if in.CreateTime != nil {
161 in, out := &in.CreateTime, &out.CreateTime
162 *out = new(string)
163 **out = **in
164 }
165 if in.Name != nil {
166 in, out := &in.Name, &out.Name
167 *out = new(string)
168 **out = **in
169 }
170 if in.ObservedGeneration != nil {
171 in, out := &in.ObservedGeneration, &out.ObservedGeneration
172 *out = new(int)
173 **out = **in
174 }
175 return
176 }
177
178
179 func (in *SecretManagerSecretStatus) DeepCopy() *SecretManagerSecretStatus {
180 if in == nil {
181 return nil
182 }
183 out := new(SecretManagerSecretStatus)
184 in.DeepCopyInto(out)
185 return out
186 }
187
188
189 func (in *SecretManagerSecretVersion) DeepCopyInto(out *SecretManagerSecretVersion) {
190 *out = *in
191 out.TypeMeta = in.TypeMeta
192 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
193 in.Spec.DeepCopyInto(&out.Spec)
194 in.Status.DeepCopyInto(&out.Status)
195 return
196 }
197
198
199 func (in *SecretManagerSecretVersion) DeepCopy() *SecretManagerSecretVersion {
200 if in == nil {
201 return nil
202 }
203 out := new(SecretManagerSecretVersion)
204 in.DeepCopyInto(out)
205 return out
206 }
207
208
209 func (in *SecretManagerSecretVersion) DeepCopyObject() runtime.Object {
210 if c := in.DeepCopy(); c != nil {
211 return c
212 }
213 return nil
214 }
215
216
217 func (in *SecretManagerSecretVersionList) DeepCopyInto(out *SecretManagerSecretVersionList) {
218 *out = *in
219 out.TypeMeta = in.TypeMeta
220 in.ListMeta.DeepCopyInto(&out.ListMeta)
221 if in.Items != nil {
222 in, out := &in.Items, &out.Items
223 *out = make([]SecretManagerSecretVersion, len(*in))
224 for i := range *in {
225 (*in)[i].DeepCopyInto(&(*out)[i])
226 }
227 }
228 return
229 }
230
231
232 func (in *SecretManagerSecretVersionList) DeepCopy() *SecretManagerSecretVersionList {
233 if in == nil {
234 return nil
235 }
236 out := new(SecretManagerSecretVersionList)
237 in.DeepCopyInto(out)
238 return out
239 }
240
241
242 func (in *SecretManagerSecretVersionList) DeepCopyObject() runtime.Object {
243 if c := in.DeepCopy(); c != nil {
244 return c
245 }
246 return nil
247 }
248
249
250 func (in *SecretManagerSecretVersionSpec) DeepCopyInto(out *SecretManagerSecretVersionSpec) {
251 *out = *in
252 if in.Enabled != nil {
253 in, out := &in.Enabled, &out.Enabled
254 *out = new(bool)
255 **out = **in
256 }
257 if in.ResourceID != nil {
258 in, out := &in.ResourceID, &out.ResourceID
259 *out = new(string)
260 **out = **in
261 }
262 in.SecretData.DeepCopyInto(&out.SecretData)
263 out.SecretRef = in.SecretRef
264 return
265 }
266
267
268 func (in *SecretManagerSecretVersionSpec) DeepCopy() *SecretManagerSecretVersionSpec {
269 if in == nil {
270 return nil
271 }
272 out := new(SecretManagerSecretVersionSpec)
273 in.DeepCopyInto(out)
274 return out
275 }
276
277
278 func (in *SecretManagerSecretVersionStatus) DeepCopyInto(out *SecretManagerSecretVersionStatus) {
279 *out = *in
280 if in.Conditions != nil {
281 in, out := &in.Conditions, &out.Conditions
282 *out = make([]v1alpha1.Condition, len(*in))
283 copy(*out, *in)
284 }
285 if in.CreateTime != nil {
286 in, out := &in.CreateTime, &out.CreateTime
287 *out = new(string)
288 **out = **in
289 }
290 if in.DestroyTime != nil {
291 in, out := &in.DestroyTime, &out.DestroyTime
292 *out = new(string)
293 **out = **in
294 }
295 if in.Name != nil {
296 in, out := &in.Name, &out.Name
297 *out = new(string)
298 **out = **in
299 }
300 if in.ObservedGeneration != nil {
301 in, out := &in.ObservedGeneration, &out.ObservedGeneration
302 *out = new(int)
303 **out = **in
304 }
305 if in.Version != nil {
306 in, out := &in.Version, &out.Version
307 *out = new(string)
308 **out = **in
309 }
310 return
311 }
312
313
314 func (in *SecretManagerSecretVersionStatus) DeepCopy() *SecretManagerSecretVersionStatus {
315 if in == nil {
316 return nil
317 }
318 out := new(SecretManagerSecretVersionStatus)
319 in.DeepCopyInto(out)
320 return out
321 }
322
323
324 func (in *SecretReplicas) DeepCopyInto(out *SecretReplicas) {
325 *out = *in
326 if in.CustomerManagedEncryption != nil {
327 in, out := &in.CustomerManagedEncryption, &out.CustomerManagedEncryption
328 *out = new(SecretCustomerManagedEncryption)
329 **out = **in
330 }
331 return
332 }
333
334
335 func (in *SecretReplicas) DeepCopy() *SecretReplicas {
336 if in == nil {
337 return nil
338 }
339 out := new(SecretReplicas)
340 in.DeepCopyInto(out)
341 return out
342 }
343
344
345 func (in *SecretReplication) DeepCopyInto(out *SecretReplication) {
346 *out = *in
347 if in.Automatic != nil {
348 in, out := &in.Automatic, &out.Automatic
349 *out = new(bool)
350 **out = **in
351 }
352 if in.UserManaged != nil {
353 in, out := &in.UserManaged, &out.UserManaged
354 *out = new(SecretUserManaged)
355 (*in).DeepCopyInto(*out)
356 }
357 return
358 }
359
360
361 func (in *SecretReplication) DeepCopy() *SecretReplication {
362 if in == nil {
363 return nil
364 }
365 out := new(SecretReplication)
366 in.DeepCopyInto(out)
367 return out
368 }
369
370
371 func (in *SecretRotation) DeepCopyInto(out *SecretRotation) {
372 *out = *in
373 if in.NextRotationTime != nil {
374 in, out := &in.NextRotationTime, &out.NextRotationTime
375 *out = new(string)
376 **out = **in
377 }
378 if in.RotationPeriod != nil {
379 in, out := &in.RotationPeriod, &out.RotationPeriod
380 *out = new(string)
381 **out = **in
382 }
383 return
384 }
385
386
387 func (in *SecretRotation) DeepCopy() *SecretRotation {
388 if in == nil {
389 return nil
390 }
391 out := new(SecretRotation)
392 in.DeepCopyInto(out)
393 return out
394 }
395
396
397 func (in *SecretTopics) DeepCopyInto(out *SecretTopics) {
398 *out = *in
399 out.TopicRef = in.TopicRef
400 return
401 }
402
403
404 func (in *SecretTopics) DeepCopy() *SecretTopics {
405 if in == nil {
406 return nil
407 }
408 out := new(SecretTopics)
409 in.DeepCopyInto(out)
410 return out
411 }
412
413
414 func (in *SecretUserManaged) DeepCopyInto(out *SecretUserManaged) {
415 *out = *in
416 if in.Replicas != nil {
417 in, out := &in.Replicas, &out.Replicas
418 *out = make([]SecretReplicas, len(*in))
419 for i := range *in {
420 (*in)[i].DeepCopyInto(&(*out)[i])
421 }
422 }
423 return
424 }
425
426
427 func (in *SecretUserManaged) DeepCopy() *SecretUserManaged {
428 if in == nil {
429 return nil
430 }
431 out := new(SecretUserManaged)
432 in.DeepCopyInto(out)
433 return out
434 }
435
436
437 func (in *SecretversionSecretData) DeepCopyInto(out *SecretversionSecretData) {
438 *out = *in
439 if in.Value != nil {
440 in, out := &in.Value, &out.Value
441 *out = new(string)
442 **out = **in
443 }
444 if in.ValueFrom != nil {
445 in, out := &in.ValueFrom, &out.ValueFrom
446 *out = new(SecretversionValueFrom)
447 (*in).DeepCopyInto(*out)
448 }
449 return
450 }
451
452
453 func (in *SecretversionSecretData) DeepCopy() *SecretversionSecretData {
454 if in == nil {
455 return nil
456 }
457 out := new(SecretversionSecretData)
458 in.DeepCopyInto(out)
459 return out
460 }
461
462
463 func (in *SecretversionValueFrom) DeepCopyInto(out *SecretversionValueFrom) {
464 *out = *in
465 if in.SecretKeyRef != nil {
466 in, out := &in.SecretKeyRef, &out.SecretKeyRef
467 *out = new(v1alpha1.ResourceRef)
468 **out = **in
469 }
470 return
471 }
472
473
474 func (in *SecretversionValueFrom) DeepCopy() *SecretversionValueFrom {
475 if in == nil {
476 return nil
477 }
478 out := new(SecretversionValueFrom)
479 in.DeepCopyInto(out)
480 return out
481 }
482
View as plain text