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 *AppprofileSingleClusterRouting) DeepCopyInto(out *AppprofileSingleClusterRouting) {
34 *out = *in
35 if in.AllowTransactionalWrites != nil {
36 in, out := &in.AllowTransactionalWrites, &out.AllowTransactionalWrites
37 *out = new(bool)
38 **out = **in
39 }
40 return
41 }
42
43
44 func (in *AppprofileSingleClusterRouting) DeepCopy() *AppprofileSingleClusterRouting {
45 if in == nil {
46 return nil
47 }
48 out := new(AppprofileSingleClusterRouting)
49 in.DeepCopyInto(out)
50 return out
51 }
52
53
54 func (in *BigtableAppProfile) DeepCopyInto(out *BigtableAppProfile) {
55 *out = *in
56 out.TypeMeta = in.TypeMeta
57 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
58 in.Spec.DeepCopyInto(&out.Spec)
59 in.Status.DeepCopyInto(&out.Status)
60 return
61 }
62
63
64 func (in *BigtableAppProfile) DeepCopy() *BigtableAppProfile {
65 if in == nil {
66 return nil
67 }
68 out := new(BigtableAppProfile)
69 in.DeepCopyInto(out)
70 return out
71 }
72
73
74 func (in *BigtableAppProfile) DeepCopyObject() runtime.Object {
75 if c := in.DeepCopy(); c != nil {
76 return c
77 }
78 return nil
79 }
80
81
82 func (in *BigtableAppProfileList) DeepCopyInto(out *BigtableAppProfileList) {
83 *out = *in
84 out.TypeMeta = in.TypeMeta
85 in.ListMeta.DeepCopyInto(&out.ListMeta)
86 if in.Items != nil {
87 in, out := &in.Items, &out.Items
88 *out = make([]BigtableAppProfile, len(*in))
89 for i := range *in {
90 (*in)[i].DeepCopyInto(&(*out)[i])
91 }
92 }
93 return
94 }
95
96
97 func (in *BigtableAppProfileList) DeepCopy() *BigtableAppProfileList {
98 if in == nil {
99 return nil
100 }
101 out := new(BigtableAppProfileList)
102 in.DeepCopyInto(out)
103 return out
104 }
105
106
107 func (in *BigtableAppProfileList) DeepCopyObject() runtime.Object {
108 if c := in.DeepCopy(); c != nil {
109 return c
110 }
111 return nil
112 }
113
114
115 func (in *BigtableAppProfileSpec) DeepCopyInto(out *BigtableAppProfileSpec) {
116 *out = *in
117 if in.Description != nil {
118 in, out := &in.Description, &out.Description
119 *out = new(string)
120 **out = **in
121 }
122 if in.InstanceRef != nil {
123 in, out := &in.InstanceRef, &out.InstanceRef
124 *out = new(v1alpha1.ResourceRef)
125 **out = **in
126 }
127 if in.MultiClusterRoutingClusterIds != nil {
128 in, out := &in.MultiClusterRoutingClusterIds, &out.MultiClusterRoutingClusterIds
129 *out = make([]string, len(*in))
130 copy(*out, *in)
131 }
132 if in.MultiClusterRoutingUseAny != nil {
133 in, out := &in.MultiClusterRoutingUseAny, &out.MultiClusterRoutingUseAny
134 *out = new(bool)
135 **out = **in
136 }
137 if in.ResourceID != nil {
138 in, out := &in.ResourceID, &out.ResourceID
139 *out = new(string)
140 **out = **in
141 }
142 if in.SingleClusterRouting != nil {
143 in, out := &in.SingleClusterRouting, &out.SingleClusterRouting
144 *out = new(AppprofileSingleClusterRouting)
145 (*in).DeepCopyInto(*out)
146 }
147 return
148 }
149
150
151 func (in *BigtableAppProfileSpec) DeepCopy() *BigtableAppProfileSpec {
152 if in == nil {
153 return nil
154 }
155 out := new(BigtableAppProfileSpec)
156 in.DeepCopyInto(out)
157 return out
158 }
159
160
161 func (in *BigtableAppProfileStatus) DeepCopyInto(out *BigtableAppProfileStatus) {
162 *out = *in
163 if in.Conditions != nil {
164 in, out := &in.Conditions, &out.Conditions
165 *out = make([]v1alpha1.Condition, len(*in))
166 copy(*out, *in)
167 }
168 if in.Name != nil {
169 in, out := &in.Name, &out.Name
170 *out = new(string)
171 **out = **in
172 }
173 if in.ObservedGeneration != nil {
174 in, out := &in.ObservedGeneration, &out.ObservedGeneration
175 *out = new(int)
176 **out = **in
177 }
178 return
179 }
180
181
182 func (in *BigtableAppProfileStatus) DeepCopy() *BigtableAppProfileStatus {
183 if in == nil {
184 return nil
185 }
186 out := new(BigtableAppProfileStatus)
187 in.DeepCopyInto(out)
188 return out
189 }
190
191
192 func (in *BigtableGCPolicy) DeepCopyInto(out *BigtableGCPolicy) {
193 *out = *in
194 out.TypeMeta = in.TypeMeta
195 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
196 in.Spec.DeepCopyInto(&out.Spec)
197 in.Status.DeepCopyInto(&out.Status)
198 return
199 }
200
201
202 func (in *BigtableGCPolicy) DeepCopy() *BigtableGCPolicy {
203 if in == nil {
204 return nil
205 }
206 out := new(BigtableGCPolicy)
207 in.DeepCopyInto(out)
208 return out
209 }
210
211
212 func (in *BigtableGCPolicy) DeepCopyObject() runtime.Object {
213 if c := in.DeepCopy(); c != nil {
214 return c
215 }
216 return nil
217 }
218
219
220 func (in *BigtableGCPolicyList) DeepCopyInto(out *BigtableGCPolicyList) {
221 *out = *in
222 out.TypeMeta = in.TypeMeta
223 in.ListMeta.DeepCopyInto(&out.ListMeta)
224 if in.Items != nil {
225 in, out := &in.Items, &out.Items
226 *out = make([]BigtableGCPolicy, len(*in))
227 for i := range *in {
228 (*in)[i].DeepCopyInto(&(*out)[i])
229 }
230 }
231 return
232 }
233
234
235 func (in *BigtableGCPolicyList) DeepCopy() *BigtableGCPolicyList {
236 if in == nil {
237 return nil
238 }
239 out := new(BigtableGCPolicyList)
240 in.DeepCopyInto(out)
241 return out
242 }
243
244
245 func (in *BigtableGCPolicyList) DeepCopyObject() runtime.Object {
246 if c := in.DeepCopy(); c != nil {
247 return c
248 }
249 return nil
250 }
251
252
253 func (in *BigtableGCPolicySpec) DeepCopyInto(out *BigtableGCPolicySpec) {
254 *out = *in
255 if in.DeletionPolicy != nil {
256 in, out := &in.DeletionPolicy, &out.DeletionPolicy
257 *out = new(string)
258 **out = **in
259 }
260 if in.GcRules != nil {
261 in, out := &in.GcRules, &out.GcRules
262 *out = new(string)
263 **out = **in
264 }
265 out.InstanceRef = in.InstanceRef
266 if in.MaxAge != nil {
267 in, out := &in.MaxAge, &out.MaxAge
268 *out = make([]GcpolicyMaxAge, len(*in))
269 for i := range *in {
270 (*in)[i].DeepCopyInto(&(*out)[i])
271 }
272 }
273 if in.MaxVersion != nil {
274 in, out := &in.MaxVersion, &out.MaxVersion
275 *out = make([]GcpolicyMaxVersion, len(*in))
276 copy(*out, *in)
277 }
278 if in.Mode != nil {
279 in, out := &in.Mode, &out.Mode
280 *out = new(string)
281 **out = **in
282 }
283 out.TableRef = in.TableRef
284 return
285 }
286
287
288 func (in *BigtableGCPolicySpec) DeepCopy() *BigtableGCPolicySpec {
289 if in == nil {
290 return nil
291 }
292 out := new(BigtableGCPolicySpec)
293 in.DeepCopyInto(out)
294 return out
295 }
296
297
298 func (in *BigtableGCPolicyStatus) DeepCopyInto(out *BigtableGCPolicyStatus) {
299 *out = *in
300 if in.Conditions != nil {
301 in, out := &in.Conditions, &out.Conditions
302 *out = make([]v1alpha1.Condition, len(*in))
303 copy(*out, *in)
304 }
305 if in.ObservedGeneration != nil {
306 in, out := &in.ObservedGeneration, &out.ObservedGeneration
307 *out = new(int)
308 **out = **in
309 }
310 return
311 }
312
313
314 func (in *BigtableGCPolicyStatus) DeepCopy() *BigtableGCPolicyStatus {
315 if in == nil {
316 return nil
317 }
318 out := new(BigtableGCPolicyStatus)
319 in.DeepCopyInto(out)
320 return out
321 }
322
323
324 func (in *BigtableInstance) DeepCopyInto(out *BigtableInstance) {
325 *out = *in
326 out.TypeMeta = in.TypeMeta
327 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
328 in.Spec.DeepCopyInto(&out.Spec)
329 in.Status.DeepCopyInto(&out.Status)
330 return
331 }
332
333
334 func (in *BigtableInstance) DeepCopy() *BigtableInstance {
335 if in == nil {
336 return nil
337 }
338 out := new(BigtableInstance)
339 in.DeepCopyInto(out)
340 return out
341 }
342
343
344 func (in *BigtableInstance) DeepCopyObject() runtime.Object {
345 if c := in.DeepCopy(); c != nil {
346 return c
347 }
348 return nil
349 }
350
351
352 func (in *BigtableInstanceList) DeepCopyInto(out *BigtableInstanceList) {
353 *out = *in
354 out.TypeMeta = in.TypeMeta
355 in.ListMeta.DeepCopyInto(&out.ListMeta)
356 if in.Items != nil {
357 in, out := &in.Items, &out.Items
358 *out = make([]BigtableInstance, len(*in))
359 for i := range *in {
360 (*in)[i].DeepCopyInto(&(*out)[i])
361 }
362 }
363 return
364 }
365
366
367 func (in *BigtableInstanceList) DeepCopy() *BigtableInstanceList {
368 if in == nil {
369 return nil
370 }
371 out := new(BigtableInstanceList)
372 in.DeepCopyInto(out)
373 return out
374 }
375
376
377 func (in *BigtableInstanceList) DeepCopyObject() runtime.Object {
378 if c := in.DeepCopy(); c != nil {
379 return c
380 }
381 return nil
382 }
383
384
385 func (in *BigtableInstanceSpec) DeepCopyInto(out *BigtableInstanceSpec) {
386 *out = *in
387 if in.Cluster != nil {
388 in, out := &in.Cluster, &out.Cluster
389 *out = make([]InstanceCluster, len(*in))
390 for i := range *in {
391 (*in)[i].DeepCopyInto(&(*out)[i])
392 }
393 }
394 if in.DeletionProtection != nil {
395 in, out := &in.DeletionProtection, &out.DeletionProtection
396 *out = new(bool)
397 **out = **in
398 }
399 if in.DisplayName != nil {
400 in, out := &in.DisplayName, &out.DisplayName
401 *out = new(string)
402 **out = **in
403 }
404 if in.InstanceType != nil {
405 in, out := &in.InstanceType, &out.InstanceType
406 *out = new(string)
407 **out = **in
408 }
409 if in.ResourceID != nil {
410 in, out := &in.ResourceID, &out.ResourceID
411 *out = new(string)
412 **out = **in
413 }
414 return
415 }
416
417
418 func (in *BigtableInstanceSpec) DeepCopy() *BigtableInstanceSpec {
419 if in == nil {
420 return nil
421 }
422 out := new(BigtableInstanceSpec)
423 in.DeepCopyInto(out)
424 return out
425 }
426
427
428 func (in *BigtableInstanceStatus) DeepCopyInto(out *BigtableInstanceStatus) {
429 *out = *in
430 if in.Conditions != nil {
431 in, out := &in.Conditions, &out.Conditions
432 *out = make([]v1alpha1.Condition, len(*in))
433 copy(*out, *in)
434 }
435 if in.ObservedGeneration != nil {
436 in, out := &in.ObservedGeneration, &out.ObservedGeneration
437 *out = new(int)
438 **out = **in
439 }
440 return
441 }
442
443
444 func (in *BigtableInstanceStatus) DeepCopy() *BigtableInstanceStatus {
445 if in == nil {
446 return nil
447 }
448 out := new(BigtableInstanceStatus)
449 in.DeepCopyInto(out)
450 return out
451 }
452
453
454 func (in *BigtableTable) DeepCopyInto(out *BigtableTable) {
455 *out = *in
456 out.TypeMeta = in.TypeMeta
457 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
458 in.Spec.DeepCopyInto(&out.Spec)
459 in.Status.DeepCopyInto(&out.Status)
460 return
461 }
462
463
464 func (in *BigtableTable) DeepCopy() *BigtableTable {
465 if in == nil {
466 return nil
467 }
468 out := new(BigtableTable)
469 in.DeepCopyInto(out)
470 return out
471 }
472
473
474 func (in *BigtableTable) DeepCopyObject() runtime.Object {
475 if c := in.DeepCopy(); c != nil {
476 return c
477 }
478 return nil
479 }
480
481
482 func (in *BigtableTableList) DeepCopyInto(out *BigtableTableList) {
483 *out = *in
484 out.TypeMeta = in.TypeMeta
485 in.ListMeta.DeepCopyInto(&out.ListMeta)
486 if in.Items != nil {
487 in, out := &in.Items, &out.Items
488 *out = make([]BigtableTable, len(*in))
489 for i := range *in {
490 (*in)[i].DeepCopyInto(&(*out)[i])
491 }
492 }
493 return
494 }
495
496
497 func (in *BigtableTableList) DeepCopy() *BigtableTableList {
498 if in == nil {
499 return nil
500 }
501 out := new(BigtableTableList)
502 in.DeepCopyInto(out)
503 return out
504 }
505
506
507 func (in *BigtableTableList) DeepCopyObject() runtime.Object {
508 if c := in.DeepCopy(); c != nil {
509 return c
510 }
511 return nil
512 }
513
514
515 func (in *BigtableTableSpec) DeepCopyInto(out *BigtableTableSpec) {
516 *out = *in
517 if in.ColumnFamily != nil {
518 in, out := &in.ColumnFamily, &out.ColumnFamily
519 *out = make([]TableColumnFamily, len(*in))
520 copy(*out, *in)
521 }
522 if in.DeletionProtection != nil {
523 in, out := &in.DeletionProtection, &out.DeletionProtection
524 *out = new(string)
525 **out = **in
526 }
527 out.InstanceRef = in.InstanceRef
528 if in.ResourceID != nil {
529 in, out := &in.ResourceID, &out.ResourceID
530 *out = new(string)
531 **out = **in
532 }
533 if in.SplitKeys != nil {
534 in, out := &in.SplitKeys, &out.SplitKeys
535 *out = make([]string, len(*in))
536 copy(*out, *in)
537 }
538 return
539 }
540
541
542 func (in *BigtableTableSpec) DeepCopy() *BigtableTableSpec {
543 if in == nil {
544 return nil
545 }
546 out := new(BigtableTableSpec)
547 in.DeepCopyInto(out)
548 return out
549 }
550
551
552 func (in *BigtableTableStatus) DeepCopyInto(out *BigtableTableStatus) {
553 *out = *in
554 if in.Conditions != nil {
555 in, out := &in.Conditions, &out.Conditions
556 *out = make([]v1alpha1.Condition, len(*in))
557 copy(*out, *in)
558 }
559 if in.ObservedGeneration != nil {
560 in, out := &in.ObservedGeneration, &out.ObservedGeneration
561 *out = new(int)
562 **out = **in
563 }
564 return
565 }
566
567
568 func (in *BigtableTableStatus) DeepCopy() *BigtableTableStatus {
569 if in == nil {
570 return nil
571 }
572 out := new(BigtableTableStatus)
573 in.DeepCopyInto(out)
574 return out
575 }
576
577
578 func (in *GcpolicyMaxAge) DeepCopyInto(out *GcpolicyMaxAge) {
579 *out = *in
580 if in.Days != nil {
581 in, out := &in.Days, &out.Days
582 *out = new(int)
583 **out = **in
584 }
585 if in.Duration != nil {
586 in, out := &in.Duration, &out.Duration
587 *out = new(string)
588 **out = **in
589 }
590 return
591 }
592
593
594 func (in *GcpolicyMaxAge) DeepCopy() *GcpolicyMaxAge {
595 if in == nil {
596 return nil
597 }
598 out := new(GcpolicyMaxAge)
599 in.DeepCopyInto(out)
600 return out
601 }
602
603
604 func (in *GcpolicyMaxVersion) DeepCopyInto(out *GcpolicyMaxVersion) {
605 *out = *in
606 return
607 }
608
609
610 func (in *GcpolicyMaxVersion) DeepCopy() *GcpolicyMaxVersion {
611 if in == nil {
612 return nil
613 }
614 out := new(GcpolicyMaxVersion)
615 in.DeepCopyInto(out)
616 return out
617 }
618
619
620 func (in *InstanceAutoscalingConfig) DeepCopyInto(out *InstanceAutoscalingConfig) {
621 *out = *in
622 if in.StorageTarget != nil {
623 in, out := &in.StorageTarget, &out.StorageTarget
624 *out = new(int)
625 **out = **in
626 }
627 return
628 }
629
630
631 func (in *InstanceAutoscalingConfig) DeepCopy() *InstanceAutoscalingConfig {
632 if in == nil {
633 return nil
634 }
635 out := new(InstanceAutoscalingConfig)
636 in.DeepCopyInto(out)
637 return out
638 }
639
640
641 func (in *InstanceCluster) DeepCopyInto(out *InstanceCluster) {
642 *out = *in
643 if in.AutoscalingConfig != nil {
644 in, out := &in.AutoscalingConfig, &out.AutoscalingConfig
645 *out = new(InstanceAutoscalingConfig)
646 (*in).DeepCopyInto(*out)
647 }
648 if in.KmsKeyRef != nil {
649 in, out := &in.KmsKeyRef, &out.KmsKeyRef
650 *out = new(v1alpha1.ResourceRef)
651 **out = **in
652 }
653 if in.NumNodes != nil {
654 in, out := &in.NumNodes, &out.NumNodes
655 *out = new(int)
656 **out = **in
657 }
658 if in.StorageType != nil {
659 in, out := &in.StorageType, &out.StorageType
660 *out = new(string)
661 **out = **in
662 }
663 return
664 }
665
666
667 func (in *InstanceCluster) DeepCopy() *InstanceCluster {
668 if in == nil {
669 return nil
670 }
671 out := new(InstanceCluster)
672 in.DeepCopyInto(out)
673 return out
674 }
675
676
677 func (in *TableColumnFamily) DeepCopyInto(out *TableColumnFamily) {
678 *out = *in
679 return
680 }
681
682
683 func (in *TableColumnFamily) DeepCopy() *TableColumnFamily {
684 if in == nil {
685 return nil
686 }
687 out := new(TableColumnFamily)
688 in.DeepCopyInto(out)
689 return out
690 }
691
View as plain text