...
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 v1alpha1
26
27 import (
28 k8sv1alpha1 "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 *NodeNetworkEndpointsStatus) DeepCopyInto(out *NodeNetworkEndpointsStatus) {
34 *out = *in
35 if in.IpAddress != nil {
36 in, out := &in.IpAddress, &out.IpAddress
37 *out = new(string)
38 **out = **in
39 }
40 if in.Port != nil {
41 in, out := &in.Port, &out.Port
42 *out = new(int)
43 **out = **in
44 }
45 return
46 }
47
48
49 func (in *NodeNetworkEndpointsStatus) DeepCopy() *NodeNetworkEndpointsStatus {
50 if in == nil {
51 return nil
52 }
53 out := new(NodeNetworkEndpointsStatus)
54 in.DeepCopyInto(out)
55 return out
56 }
57
58
59 func (in *NodeSchedulingConfig) DeepCopyInto(out *NodeSchedulingConfig) {
60 *out = *in
61 return
62 }
63
64
65 func (in *NodeSchedulingConfig) DeepCopy() *NodeSchedulingConfig {
66 if in == nil {
67 return nil
68 }
69 out := new(NodeSchedulingConfig)
70 in.DeepCopyInto(out)
71 return out
72 }
73
74
75 func (in *TPUNode) DeepCopyInto(out *TPUNode) {
76 *out = *in
77 out.TypeMeta = in.TypeMeta
78 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
79 in.Spec.DeepCopyInto(&out.Spec)
80 in.Status.DeepCopyInto(&out.Status)
81 return
82 }
83
84
85 func (in *TPUNode) DeepCopy() *TPUNode {
86 if in == nil {
87 return nil
88 }
89 out := new(TPUNode)
90 in.DeepCopyInto(out)
91 return out
92 }
93
94
95 func (in *TPUNode) DeepCopyObject() runtime.Object {
96 if c := in.DeepCopy(); c != nil {
97 return c
98 }
99 return nil
100 }
101
102
103 func (in *TPUNodeList) DeepCopyInto(out *TPUNodeList) {
104 *out = *in
105 out.TypeMeta = in.TypeMeta
106 in.ListMeta.DeepCopyInto(&out.ListMeta)
107 if in.Items != nil {
108 in, out := &in.Items, &out.Items
109 *out = make([]TPUNode, len(*in))
110 for i := range *in {
111 (*in)[i].DeepCopyInto(&(*out)[i])
112 }
113 }
114 return
115 }
116
117
118 func (in *TPUNodeList) DeepCopy() *TPUNodeList {
119 if in == nil {
120 return nil
121 }
122 out := new(TPUNodeList)
123 in.DeepCopyInto(out)
124 return out
125 }
126
127
128 func (in *TPUNodeList) DeepCopyObject() runtime.Object {
129 if c := in.DeepCopy(); c != nil {
130 return c
131 }
132 return nil
133 }
134
135
136 func (in *TPUNodeSpec) DeepCopyInto(out *TPUNodeSpec) {
137 *out = *in
138 if in.CidrBlock != nil {
139 in, out := &in.CidrBlock, &out.CidrBlock
140 *out = new(string)
141 **out = **in
142 }
143 if in.Description != nil {
144 in, out := &in.Description, &out.Description
145 *out = new(string)
146 **out = **in
147 }
148 if in.Network != nil {
149 in, out := &in.Network, &out.Network
150 *out = new(string)
151 **out = **in
152 }
153 out.ProjectRef = in.ProjectRef
154 if in.ResourceID != nil {
155 in, out := &in.ResourceID, &out.ResourceID
156 *out = new(string)
157 **out = **in
158 }
159 if in.SchedulingConfig != nil {
160 in, out := &in.SchedulingConfig, &out.SchedulingConfig
161 *out = new(NodeSchedulingConfig)
162 **out = **in
163 }
164 if in.UseServiceNetworking != nil {
165 in, out := &in.UseServiceNetworking, &out.UseServiceNetworking
166 *out = new(bool)
167 **out = **in
168 }
169 return
170 }
171
172
173 func (in *TPUNodeSpec) DeepCopy() *TPUNodeSpec {
174 if in == nil {
175 return nil
176 }
177 out := new(TPUNodeSpec)
178 in.DeepCopyInto(out)
179 return out
180 }
181
182
183 func (in *TPUNodeStatus) DeepCopyInto(out *TPUNodeStatus) {
184 *out = *in
185 if in.Conditions != nil {
186 in, out := &in.Conditions, &out.Conditions
187 *out = make([]k8sv1alpha1.Condition, len(*in))
188 copy(*out, *in)
189 }
190 if in.NetworkEndpoints != nil {
191 in, out := &in.NetworkEndpoints, &out.NetworkEndpoints
192 *out = make([]NodeNetworkEndpointsStatus, len(*in))
193 for i := range *in {
194 (*in)[i].DeepCopyInto(&(*out)[i])
195 }
196 }
197 if in.ObservedGeneration != nil {
198 in, out := &in.ObservedGeneration, &out.ObservedGeneration
199 *out = new(int)
200 **out = **in
201 }
202 if in.ServiceAccount != nil {
203 in, out := &in.ServiceAccount, &out.ServiceAccount
204 *out = new(string)
205 **out = **in
206 }
207 return
208 }
209
210
211 func (in *TPUNodeStatus) DeepCopy() *TPUNodeStatus {
212 if in == nil {
213 return nil
214 }
215 out := new(TPUNodeStatus)
216 in.DeepCopyInto(out)
217 return out
218 }
219
View as plain text