...
1
2
3
4
5 package v1alpha1
6
7 import (
8 "edge-infra.dev/pkg/k8s/runtime/inventory"
9 "k8s.io/apimachinery/pkg/apis/meta/v1"
10 runtime "k8s.io/apimachinery/pkg/runtime"
11 )
12
13
14 func (in *GKECluster) DeepCopyInto(out *GKECluster) {
15 *out = *in
16 out.TypeMeta = in.TypeMeta
17 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
18 out.Spec = in.Spec
19 in.Status.DeepCopyInto(&out.Status)
20 }
21
22
23 func (in *GKECluster) DeepCopy() *GKECluster {
24 if in == nil {
25 return nil
26 }
27 out := new(GKECluster)
28 in.DeepCopyInto(out)
29 return out
30 }
31
32
33 func (in *GKECluster) DeepCopyObject() runtime.Object {
34 if c := in.DeepCopy(); c != nil {
35 return c
36 }
37 return nil
38 }
39
40
41 func (in *GKEClusterList) DeepCopyInto(out *GKEClusterList) {
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([]GKECluster, len(*in))
48 for i := range *in {
49 (*in)[i].DeepCopyInto(&(*out)[i])
50 }
51 }
52 }
53
54
55 func (in *GKEClusterList) DeepCopy() *GKEClusterList {
56 if in == nil {
57 return nil
58 }
59 out := new(GKEClusterList)
60 in.DeepCopyInto(out)
61 return out
62 }
63
64
65 func (in *GKEClusterList) DeepCopyObject() runtime.Object {
66 if c := in.DeepCopy(); c != nil {
67 return c
68 }
69 return nil
70 }
71
72
73 func (in *GKEClusterSpec) DeepCopyInto(out *GKEClusterSpec) {
74 *out = *in
75 }
76
77
78 func (in *GKEClusterSpec) DeepCopy() *GKEClusterSpec {
79 if in == nil {
80 return nil
81 }
82 out := new(GKEClusterSpec)
83 in.DeepCopyInto(out)
84 return out
85 }
86
87
88 func (in *GKEClusterStatus) DeepCopyInto(out *GKEClusterStatus) {
89 *out = *in
90 if in.Conditions != nil {
91 in, out := &in.Conditions, &out.Conditions
92 *out = make([]v1.Condition, len(*in))
93 for i := range *in {
94 (*in)[i].DeepCopyInto(&(*out)[i])
95 }
96 }
97 if in.Inventory != nil {
98 in, out := &in.Inventory, &out.Inventory
99 *out = new(inventory.ResourceInventory)
100 (*in).DeepCopyInto(*out)
101 }
102 }
103
104
105 func (in *GKEClusterStatus) DeepCopy() *GKEClusterStatus {
106 if in == nil {
107 return nil
108 }
109 out := new(GKEClusterStatus)
110 in.DeepCopyInto(out)
111 return out
112 }
113
View as plain text