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 *BillingBudgetsBudget) DeepCopyInto(out *BillingBudgetsBudget) {
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 *BillingBudgetsBudget) DeepCopy() *BillingBudgetsBudget {
44 if in == nil {
45 return nil
46 }
47 out := new(BillingBudgetsBudget)
48 in.DeepCopyInto(out)
49 return out
50 }
51
52
53 func (in *BillingBudgetsBudget) DeepCopyObject() runtime.Object {
54 if c := in.DeepCopy(); c != nil {
55 return c
56 }
57 return nil
58 }
59
60
61 func (in *BillingBudgetsBudgetList) DeepCopyInto(out *BillingBudgetsBudgetList) {
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([]BillingBudgetsBudget, len(*in))
68 for i := range *in {
69 (*in)[i].DeepCopyInto(&(*out)[i])
70 }
71 }
72 return
73 }
74
75
76 func (in *BillingBudgetsBudgetList) DeepCopy() *BillingBudgetsBudgetList {
77 if in == nil {
78 return nil
79 }
80 out := new(BillingBudgetsBudgetList)
81 in.DeepCopyInto(out)
82 return out
83 }
84
85
86 func (in *BillingBudgetsBudgetList) DeepCopyObject() runtime.Object {
87 if c := in.DeepCopy(); c != nil {
88 return c
89 }
90 return nil
91 }
92
93
94 func (in *BillingBudgetsBudgetSpec) DeepCopyInto(out *BillingBudgetsBudgetSpec) {
95 *out = *in
96 if in.AllUpdatesRule != nil {
97 in, out := &in.AllUpdatesRule, &out.AllUpdatesRule
98 *out = new(BudgetAllUpdatesRule)
99 (*in).DeepCopyInto(*out)
100 }
101 in.Amount.DeepCopyInto(&out.Amount)
102 out.BillingAccountRef = in.BillingAccountRef
103 if in.BudgetFilter != nil {
104 in, out := &in.BudgetFilter, &out.BudgetFilter
105 *out = new(BudgetBudgetFilter)
106 (*in).DeepCopyInto(*out)
107 }
108 if in.DisplayName != nil {
109 in, out := &in.DisplayName, &out.DisplayName
110 *out = new(string)
111 **out = **in
112 }
113 if in.ResourceID != nil {
114 in, out := &in.ResourceID, &out.ResourceID
115 *out = new(string)
116 **out = **in
117 }
118 if in.ThresholdRules != nil {
119 in, out := &in.ThresholdRules, &out.ThresholdRules
120 *out = make([]BudgetThresholdRules, len(*in))
121 for i := range *in {
122 (*in)[i].DeepCopyInto(&(*out)[i])
123 }
124 }
125 return
126 }
127
128
129 func (in *BillingBudgetsBudgetSpec) DeepCopy() *BillingBudgetsBudgetSpec {
130 if in == nil {
131 return nil
132 }
133 out := new(BillingBudgetsBudgetSpec)
134 in.DeepCopyInto(out)
135 return out
136 }
137
138
139 func (in *BillingBudgetsBudgetStatus) DeepCopyInto(out *BillingBudgetsBudgetStatus) {
140 *out = *in
141 if in.Conditions != nil {
142 in, out := &in.Conditions, &out.Conditions
143 *out = make([]v1alpha1.Condition, len(*in))
144 copy(*out, *in)
145 }
146 if in.Etag != nil {
147 in, out := &in.Etag, &out.Etag
148 *out = new(string)
149 **out = **in
150 }
151 if in.ObservedGeneration != nil {
152 in, out := &in.ObservedGeneration, &out.ObservedGeneration
153 *out = new(int)
154 **out = **in
155 }
156 return
157 }
158
159
160 func (in *BillingBudgetsBudgetStatus) DeepCopy() *BillingBudgetsBudgetStatus {
161 if in == nil {
162 return nil
163 }
164 out := new(BillingBudgetsBudgetStatus)
165 in.DeepCopyInto(out)
166 return out
167 }
168
169
170 func (in *BudgetAllUpdatesRule) DeepCopyInto(out *BudgetAllUpdatesRule) {
171 *out = *in
172 if in.DisableDefaultIamRecipients != nil {
173 in, out := &in.DisableDefaultIamRecipients, &out.DisableDefaultIamRecipients
174 *out = new(bool)
175 **out = **in
176 }
177 if in.MonitoringNotificationChannels != nil {
178 in, out := &in.MonitoringNotificationChannels, &out.MonitoringNotificationChannels
179 *out = make([]v1alpha1.ResourceRef, len(*in))
180 copy(*out, *in)
181 }
182 if in.PubsubTopicRef != nil {
183 in, out := &in.PubsubTopicRef, &out.PubsubTopicRef
184 *out = new(v1alpha1.ResourceRef)
185 **out = **in
186 }
187 if in.SchemaVersion != nil {
188 in, out := &in.SchemaVersion, &out.SchemaVersion
189 *out = new(string)
190 **out = **in
191 }
192 return
193 }
194
195
196 func (in *BudgetAllUpdatesRule) DeepCopy() *BudgetAllUpdatesRule {
197 if in == nil {
198 return nil
199 }
200 out := new(BudgetAllUpdatesRule)
201 in.DeepCopyInto(out)
202 return out
203 }
204
205
206 func (in *BudgetAmount) DeepCopyInto(out *BudgetAmount) {
207 *out = *in
208 if in.LastPeriodAmount != nil {
209 in, out := &in.LastPeriodAmount, &out.LastPeriodAmount
210 *out = new(BudgetLastPeriodAmount)
211 **out = **in
212 }
213 if in.SpecifiedAmount != nil {
214 in, out := &in.SpecifiedAmount, &out.SpecifiedAmount
215 *out = new(BudgetSpecifiedAmount)
216 (*in).DeepCopyInto(*out)
217 }
218 return
219 }
220
221
222 func (in *BudgetAmount) DeepCopy() *BudgetAmount {
223 if in == nil {
224 return nil
225 }
226 out := new(BudgetAmount)
227 in.DeepCopyInto(out)
228 return out
229 }
230
231
232 func (in *BudgetBudgetFilter) DeepCopyInto(out *BudgetBudgetFilter) {
233 *out = *in
234 if in.CalendarPeriod != nil {
235 in, out := &in.CalendarPeriod, &out.CalendarPeriod
236 *out = new(string)
237 **out = **in
238 }
239 if in.CreditTypes != nil {
240 in, out := &in.CreditTypes, &out.CreditTypes
241 *out = make([]string, len(*in))
242 copy(*out, *in)
243 }
244 if in.CreditTypesTreatment != nil {
245 in, out := &in.CreditTypesTreatment, &out.CreditTypesTreatment
246 *out = new(string)
247 **out = **in
248 }
249 if in.CustomPeriod != nil {
250 in, out := &in.CustomPeriod, &out.CustomPeriod
251 *out = new(BudgetCustomPeriod)
252 (*in).DeepCopyInto(*out)
253 }
254 if in.Labels != nil {
255 in, out := &in.Labels, &out.Labels
256 *out = make(map[string]BudgetLabels, len(*in))
257 for key, val := range *in {
258 (*out)[key] = *val.DeepCopy()
259 }
260 }
261 if in.Projects != nil {
262 in, out := &in.Projects, &out.Projects
263 *out = make([]v1alpha1.ResourceRef, len(*in))
264 copy(*out, *in)
265 }
266 if in.Services != nil {
267 in, out := &in.Services, &out.Services
268 *out = make([]string, len(*in))
269 copy(*out, *in)
270 }
271 if in.Subaccounts != nil {
272 in, out := &in.Subaccounts, &out.Subaccounts
273 *out = make([]v1alpha1.ResourceRef, len(*in))
274 copy(*out, *in)
275 }
276 return
277 }
278
279
280 func (in *BudgetBudgetFilter) DeepCopy() *BudgetBudgetFilter {
281 if in == nil {
282 return nil
283 }
284 out := new(BudgetBudgetFilter)
285 in.DeepCopyInto(out)
286 return out
287 }
288
289
290 func (in *BudgetCustomPeriod) DeepCopyInto(out *BudgetCustomPeriod) {
291 *out = *in
292 if in.EndDate != nil {
293 in, out := &in.EndDate, &out.EndDate
294 *out = new(BudgetEndDate)
295 (*in).DeepCopyInto(*out)
296 }
297 in.StartDate.DeepCopyInto(&out.StartDate)
298 return
299 }
300
301
302 func (in *BudgetCustomPeriod) DeepCopy() *BudgetCustomPeriod {
303 if in == nil {
304 return nil
305 }
306 out := new(BudgetCustomPeriod)
307 in.DeepCopyInto(out)
308 return out
309 }
310
311
312 func (in *BudgetEndDate) DeepCopyInto(out *BudgetEndDate) {
313 *out = *in
314 if in.Day != nil {
315 in, out := &in.Day, &out.Day
316 *out = new(int)
317 **out = **in
318 }
319 if in.Month != nil {
320 in, out := &in.Month, &out.Month
321 *out = new(int)
322 **out = **in
323 }
324 if in.Year != nil {
325 in, out := &in.Year, &out.Year
326 *out = new(int)
327 **out = **in
328 }
329 return
330 }
331
332
333 func (in *BudgetEndDate) DeepCopy() *BudgetEndDate {
334 if in == nil {
335 return nil
336 }
337 out := new(BudgetEndDate)
338 in.DeepCopyInto(out)
339 return out
340 }
341
342
343 func (in *BudgetLabels) DeepCopyInto(out *BudgetLabels) {
344 *out = *in
345 if in.Values != nil {
346 in, out := &in.Values, &out.Values
347 *out = make([]string, len(*in))
348 copy(*out, *in)
349 }
350 return
351 }
352
353
354 func (in *BudgetLabels) DeepCopy() *BudgetLabels {
355 if in == nil {
356 return nil
357 }
358 out := new(BudgetLabels)
359 in.DeepCopyInto(out)
360 return out
361 }
362
363
364 func (in *BudgetLastPeriodAmount) DeepCopyInto(out *BudgetLastPeriodAmount) {
365 *out = *in
366 return
367 }
368
369
370 func (in *BudgetLastPeriodAmount) DeepCopy() *BudgetLastPeriodAmount {
371 if in == nil {
372 return nil
373 }
374 out := new(BudgetLastPeriodAmount)
375 in.DeepCopyInto(out)
376 return out
377 }
378
379
380 func (in *BudgetSpecifiedAmount) DeepCopyInto(out *BudgetSpecifiedAmount) {
381 *out = *in
382 if in.CurrencyCode != nil {
383 in, out := &in.CurrencyCode, &out.CurrencyCode
384 *out = new(string)
385 **out = **in
386 }
387 if in.Nanos != nil {
388 in, out := &in.Nanos, &out.Nanos
389 *out = new(int)
390 **out = **in
391 }
392 if in.Units != nil {
393 in, out := &in.Units, &out.Units
394 *out = new(int)
395 **out = **in
396 }
397 return
398 }
399
400
401 func (in *BudgetSpecifiedAmount) DeepCopy() *BudgetSpecifiedAmount {
402 if in == nil {
403 return nil
404 }
405 out := new(BudgetSpecifiedAmount)
406 in.DeepCopyInto(out)
407 return out
408 }
409
410
411 func (in *BudgetStartDate) DeepCopyInto(out *BudgetStartDate) {
412 *out = *in
413 if in.Day != nil {
414 in, out := &in.Day, &out.Day
415 *out = new(int)
416 **out = **in
417 }
418 if in.Month != nil {
419 in, out := &in.Month, &out.Month
420 *out = new(int)
421 **out = **in
422 }
423 if in.Year != nil {
424 in, out := &in.Year, &out.Year
425 *out = new(int)
426 **out = **in
427 }
428 return
429 }
430
431
432 func (in *BudgetStartDate) DeepCopy() *BudgetStartDate {
433 if in == nil {
434 return nil
435 }
436 out := new(BudgetStartDate)
437 in.DeepCopyInto(out)
438 return out
439 }
440
441
442 func (in *BudgetThresholdRules) DeepCopyInto(out *BudgetThresholdRules) {
443 *out = *in
444 if in.SpendBasis != nil {
445 in, out := &in.SpendBasis, &out.SpendBasis
446 *out = new(string)
447 **out = **in
448 }
449 return
450 }
451
452
453 func (in *BudgetThresholdRules) DeepCopy() *BudgetThresholdRules {
454 if in == nil {
455 return nil
456 }
457 out := new(BudgetThresholdRules)
458 in.DeepCopyInto(out)
459 return out
460 }
461
View as plain text