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 *DNSResponsePolicy) DeepCopyInto(out *DNSResponsePolicy) {
34 *out = *in
35 out.TypeMeta = in.TypeMeta
36 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
37 in.Spec.DeepCopyInto(&out.Spec)
38 in.Status.DeepCopyInto(&out.Status)
39 return
40 }
41
42
43 func (in *DNSResponsePolicy) DeepCopy() *DNSResponsePolicy {
44 if in == nil {
45 return nil
46 }
47 out := new(DNSResponsePolicy)
48 in.DeepCopyInto(out)
49 return out
50 }
51
52
53 func (in *DNSResponsePolicy) DeepCopyObject() runtime.Object {
54 if c := in.DeepCopy(); c != nil {
55 return c
56 }
57 return nil
58 }
59
60
61 func (in *DNSResponsePolicyList) DeepCopyInto(out *DNSResponsePolicyList) {
62 *out = *in
63 out.TypeMeta = in.TypeMeta
64 in.ListMeta.DeepCopyInto(&out.ListMeta)
65 if in.Items != nil {
66 in, out := &in.Items, &out.Items
67 *out = make([]DNSResponsePolicy, len(*in))
68 for i := range *in {
69 (*in)[i].DeepCopyInto(&(*out)[i])
70 }
71 }
72 return
73 }
74
75
76 func (in *DNSResponsePolicyList) DeepCopy() *DNSResponsePolicyList {
77 if in == nil {
78 return nil
79 }
80 out := new(DNSResponsePolicyList)
81 in.DeepCopyInto(out)
82 return out
83 }
84
85
86 func (in *DNSResponsePolicyList) DeepCopyObject() runtime.Object {
87 if c := in.DeepCopy(); c != nil {
88 return c
89 }
90 return nil
91 }
92
93
94 func (in *DNSResponsePolicyRule) DeepCopyInto(out *DNSResponsePolicyRule) {
95 *out = *in
96 out.TypeMeta = in.TypeMeta
97 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
98 in.Spec.DeepCopyInto(&out.Spec)
99 in.Status.DeepCopyInto(&out.Status)
100 return
101 }
102
103
104 func (in *DNSResponsePolicyRule) DeepCopy() *DNSResponsePolicyRule {
105 if in == nil {
106 return nil
107 }
108 out := new(DNSResponsePolicyRule)
109 in.DeepCopyInto(out)
110 return out
111 }
112
113
114 func (in *DNSResponsePolicyRule) DeepCopyObject() runtime.Object {
115 if c := in.DeepCopy(); c != nil {
116 return c
117 }
118 return nil
119 }
120
121
122 func (in *DNSResponsePolicyRuleList) DeepCopyInto(out *DNSResponsePolicyRuleList) {
123 *out = *in
124 out.TypeMeta = in.TypeMeta
125 in.ListMeta.DeepCopyInto(&out.ListMeta)
126 if in.Items != nil {
127 in, out := &in.Items, &out.Items
128 *out = make([]DNSResponsePolicyRule, len(*in))
129 for i := range *in {
130 (*in)[i].DeepCopyInto(&(*out)[i])
131 }
132 }
133 return
134 }
135
136
137 func (in *DNSResponsePolicyRuleList) DeepCopy() *DNSResponsePolicyRuleList {
138 if in == nil {
139 return nil
140 }
141 out := new(DNSResponsePolicyRuleList)
142 in.DeepCopyInto(out)
143 return out
144 }
145
146
147 func (in *DNSResponsePolicyRuleList) DeepCopyObject() runtime.Object {
148 if c := in.DeepCopy(); c != nil {
149 return c
150 }
151 return nil
152 }
153
154
155 func (in *DNSResponsePolicyRuleSpec) DeepCopyInto(out *DNSResponsePolicyRuleSpec) {
156 *out = *in
157 if in.Behavior != nil {
158 in, out := &in.Behavior, &out.Behavior
159 *out = new(string)
160 **out = **in
161 }
162 if in.LocalData != nil {
163 in, out := &in.LocalData, &out.LocalData
164 *out = new(ResponsepolicyruleLocalData)
165 (*in).DeepCopyInto(*out)
166 }
167 out.ProjectRef = in.ProjectRef
168 if in.ResourceID != nil {
169 in, out := &in.ResourceID, &out.ResourceID
170 *out = new(string)
171 **out = **in
172 }
173 return
174 }
175
176
177 func (in *DNSResponsePolicyRuleSpec) DeepCopy() *DNSResponsePolicyRuleSpec {
178 if in == nil {
179 return nil
180 }
181 out := new(DNSResponsePolicyRuleSpec)
182 in.DeepCopyInto(out)
183 return out
184 }
185
186
187 func (in *DNSResponsePolicyRuleStatus) DeepCopyInto(out *DNSResponsePolicyRuleStatus) {
188 *out = *in
189 if in.Conditions != nil {
190 in, out := &in.Conditions, &out.Conditions
191 *out = make([]k8sv1alpha1.Condition, len(*in))
192 copy(*out, *in)
193 }
194 if in.ObservedGeneration != nil {
195 in, out := &in.ObservedGeneration, &out.ObservedGeneration
196 *out = new(int)
197 **out = **in
198 }
199 return
200 }
201
202
203 func (in *DNSResponsePolicyRuleStatus) DeepCopy() *DNSResponsePolicyRuleStatus {
204 if in == nil {
205 return nil
206 }
207 out := new(DNSResponsePolicyRuleStatus)
208 in.DeepCopyInto(out)
209 return out
210 }
211
212
213 func (in *DNSResponsePolicySpec) DeepCopyInto(out *DNSResponsePolicySpec) {
214 *out = *in
215 if in.Description != nil {
216 in, out := &in.Description, &out.Description
217 *out = new(string)
218 **out = **in
219 }
220 if in.GkeClusters != nil {
221 in, out := &in.GkeClusters, &out.GkeClusters
222 *out = make([]ResponsepolicyGkeClusters, len(*in))
223 copy(*out, *in)
224 }
225 if in.Networks != nil {
226 in, out := &in.Networks, &out.Networks
227 *out = make([]ResponsepolicyNetworks, len(*in))
228 copy(*out, *in)
229 }
230 out.ProjectRef = in.ProjectRef
231 if in.ResourceID != nil {
232 in, out := &in.ResourceID, &out.ResourceID
233 *out = new(string)
234 **out = **in
235 }
236 return
237 }
238
239
240 func (in *DNSResponsePolicySpec) DeepCopy() *DNSResponsePolicySpec {
241 if in == nil {
242 return nil
243 }
244 out := new(DNSResponsePolicySpec)
245 in.DeepCopyInto(out)
246 return out
247 }
248
249
250 func (in *DNSResponsePolicyStatus) DeepCopyInto(out *DNSResponsePolicyStatus) {
251 *out = *in
252 if in.Conditions != nil {
253 in, out := &in.Conditions, &out.Conditions
254 *out = make([]k8sv1alpha1.Condition, len(*in))
255 copy(*out, *in)
256 }
257 if in.ObservedGeneration != nil {
258 in, out := &in.ObservedGeneration, &out.ObservedGeneration
259 *out = new(int)
260 **out = **in
261 }
262 return
263 }
264
265
266 func (in *DNSResponsePolicyStatus) DeepCopy() *DNSResponsePolicyStatus {
267 if in == nil {
268 return nil
269 }
270 out := new(DNSResponsePolicyStatus)
271 in.DeepCopyInto(out)
272 return out
273 }
274
275
276 func (in *ResponsepolicyGkeClusters) DeepCopyInto(out *ResponsepolicyGkeClusters) {
277 *out = *in
278 return
279 }
280
281
282 func (in *ResponsepolicyGkeClusters) DeepCopy() *ResponsepolicyGkeClusters {
283 if in == nil {
284 return nil
285 }
286 out := new(ResponsepolicyGkeClusters)
287 in.DeepCopyInto(out)
288 return out
289 }
290
291
292 func (in *ResponsepolicyNetworks) DeepCopyInto(out *ResponsepolicyNetworks) {
293 *out = *in
294 return
295 }
296
297
298 func (in *ResponsepolicyNetworks) DeepCopy() *ResponsepolicyNetworks {
299 if in == nil {
300 return nil
301 }
302 out := new(ResponsepolicyNetworks)
303 in.DeepCopyInto(out)
304 return out
305 }
306
307
308 func (in *ResponsepolicyruleLocalData) DeepCopyInto(out *ResponsepolicyruleLocalData) {
309 *out = *in
310 if in.LocalDatas != nil {
311 in, out := &in.LocalDatas, &out.LocalDatas
312 *out = make([]ResponsepolicyruleLocalDatas, len(*in))
313 for i := range *in {
314 (*in)[i].DeepCopyInto(&(*out)[i])
315 }
316 }
317 return
318 }
319
320
321 func (in *ResponsepolicyruleLocalData) DeepCopy() *ResponsepolicyruleLocalData {
322 if in == nil {
323 return nil
324 }
325 out := new(ResponsepolicyruleLocalData)
326 in.DeepCopyInto(out)
327 return out
328 }
329
330
331 func (in *ResponsepolicyruleLocalDatas) DeepCopyInto(out *ResponsepolicyruleLocalDatas) {
332 *out = *in
333 if in.Rrdatas != nil {
334 in, out := &in.Rrdatas, &out.Rrdatas
335 *out = make([]string, len(*in))
336 copy(*out, *in)
337 }
338 if in.Ttl != nil {
339 in, out := &in.Ttl, &out.Ttl
340 *out = new(int)
341 **out = **in
342 }
343 return
344 }
345
346
347 func (in *ResponsepolicyruleLocalDatas) DeepCopy() *ResponsepolicyruleLocalDatas {
348 if in == nil {
349 return nil
350 }
351 out := new(ResponsepolicyruleLocalDatas)
352 in.DeepCopyInto(out)
353 return out
354 }
355
View as plain text