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 *LoggingLogBucket) DeepCopyInto(out *LoggingLogBucket) {
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 *LoggingLogBucket) DeepCopy() *LoggingLogBucket {
44 if in == nil {
45 return nil
46 }
47 out := new(LoggingLogBucket)
48 in.DeepCopyInto(out)
49 return out
50 }
51
52
53 func (in *LoggingLogBucket) DeepCopyObject() runtime.Object {
54 if c := in.DeepCopy(); c != nil {
55 return c
56 }
57 return nil
58 }
59
60
61 func (in *LoggingLogBucketList) DeepCopyInto(out *LoggingLogBucketList) {
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([]LoggingLogBucket, len(*in))
68 for i := range *in {
69 (*in)[i].DeepCopyInto(&(*out)[i])
70 }
71 }
72 return
73 }
74
75
76 func (in *LoggingLogBucketList) DeepCopy() *LoggingLogBucketList {
77 if in == nil {
78 return nil
79 }
80 out := new(LoggingLogBucketList)
81 in.DeepCopyInto(out)
82 return out
83 }
84
85
86 func (in *LoggingLogBucketList) DeepCopyObject() runtime.Object {
87 if c := in.DeepCopy(); c != nil {
88 return c
89 }
90 return nil
91 }
92
93
94 func (in *LoggingLogBucketSpec) DeepCopyInto(out *LoggingLogBucketSpec) {
95 *out = *in
96 if in.BillingAccountRef != nil {
97 in, out := &in.BillingAccountRef, &out.BillingAccountRef
98 *out = new(v1alpha1.ResourceRef)
99 **out = **in
100 }
101 if in.Description != nil {
102 in, out := &in.Description, &out.Description
103 *out = new(string)
104 **out = **in
105 }
106 if in.FolderRef != nil {
107 in, out := &in.FolderRef, &out.FolderRef
108 *out = new(v1alpha1.ResourceRef)
109 **out = **in
110 }
111 if in.Locked != nil {
112 in, out := &in.Locked, &out.Locked
113 *out = new(bool)
114 **out = **in
115 }
116 if in.OrganizationRef != nil {
117 in, out := &in.OrganizationRef, &out.OrganizationRef
118 *out = new(v1alpha1.ResourceRef)
119 **out = **in
120 }
121 if in.ProjectRef != nil {
122 in, out := &in.ProjectRef, &out.ProjectRef
123 *out = new(v1alpha1.ResourceRef)
124 **out = **in
125 }
126 if in.ResourceID != nil {
127 in, out := &in.ResourceID, &out.ResourceID
128 *out = new(string)
129 **out = **in
130 }
131 if in.RetentionDays != nil {
132 in, out := &in.RetentionDays, &out.RetentionDays
133 *out = new(int)
134 **out = **in
135 }
136 return
137 }
138
139
140 func (in *LoggingLogBucketSpec) DeepCopy() *LoggingLogBucketSpec {
141 if in == nil {
142 return nil
143 }
144 out := new(LoggingLogBucketSpec)
145 in.DeepCopyInto(out)
146 return out
147 }
148
149
150 func (in *LoggingLogBucketStatus) DeepCopyInto(out *LoggingLogBucketStatus) {
151 *out = *in
152 if in.Conditions != nil {
153 in, out := &in.Conditions, &out.Conditions
154 *out = make([]v1alpha1.Condition, len(*in))
155 copy(*out, *in)
156 }
157 if in.CreateTime != nil {
158 in, out := &in.CreateTime, &out.CreateTime
159 *out = new(string)
160 **out = **in
161 }
162 if in.LifecycleState != nil {
163 in, out := &in.LifecycleState, &out.LifecycleState
164 *out = new(string)
165 **out = **in
166 }
167 if in.ObservedGeneration != nil {
168 in, out := &in.ObservedGeneration, &out.ObservedGeneration
169 *out = new(int)
170 **out = **in
171 }
172 if in.UpdateTime != nil {
173 in, out := &in.UpdateTime, &out.UpdateTime
174 *out = new(string)
175 **out = **in
176 }
177 return
178 }
179
180
181 func (in *LoggingLogBucketStatus) DeepCopy() *LoggingLogBucketStatus {
182 if in == nil {
183 return nil
184 }
185 out := new(LoggingLogBucketStatus)
186 in.DeepCopyInto(out)
187 return out
188 }
189
190
191 func (in *LoggingLogExclusion) DeepCopyInto(out *LoggingLogExclusion) {
192 *out = *in
193 out.TypeMeta = in.TypeMeta
194 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
195 in.Spec.DeepCopyInto(&out.Spec)
196 in.Status.DeepCopyInto(&out.Status)
197 return
198 }
199
200
201 func (in *LoggingLogExclusion) DeepCopy() *LoggingLogExclusion {
202 if in == nil {
203 return nil
204 }
205 out := new(LoggingLogExclusion)
206 in.DeepCopyInto(out)
207 return out
208 }
209
210
211 func (in *LoggingLogExclusion) DeepCopyObject() runtime.Object {
212 if c := in.DeepCopy(); c != nil {
213 return c
214 }
215 return nil
216 }
217
218
219 func (in *LoggingLogExclusionList) DeepCopyInto(out *LoggingLogExclusionList) {
220 *out = *in
221 out.TypeMeta = in.TypeMeta
222 in.ListMeta.DeepCopyInto(&out.ListMeta)
223 if in.Items != nil {
224 in, out := &in.Items, &out.Items
225 *out = make([]LoggingLogExclusion, len(*in))
226 for i := range *in {
227 (*in)[i].DeepCopyInto(&(*out)[i])
228 }
229 }
230 return
231 }
232
233
234 func (in *LoggingLogExclusionList) DeepCopy() *LoggingLogExclusionList {
235 if in == nil {
236 return nil
237 }
238 out := new(LoggingLogExclusionList)
239 in.DeepCopyInto(out)
240 return out
241 }
242
243
244 func (in *LoggingLogExclusionList) DeepCopyObject() runtime.Object {
245 if c := in.DeepCopy(); c != nil {
246 return c
247 }
248 return nil
249 }
250
251
252 func (in *LoggingLogExclusionSpec) DeepCopyInto(out *LoggingLogExclusionSpec) {
253 *out = *in
254 if in.BillingAccountRef != nil {
255 in, out := &in.BillingAccountRef, &out.BillingAccountRef
256 *out = new(v1alpha1.ResourceRef)
257 **out = **in
258 }
259 if in.Description != nil {
260 in, out := &in.Description, &out.Description
261 *out = new(string)
262 **out = **in
263 }
264 if in.Disabled != nil {
265 in, out := &in.Disabled, &out.Disabled
266 *out = new(bool)
267 **out = **in
268 }
269 if in.FolderRef != nil {
270 in, out := &in.FolderRef, &out.FolderRef
271 *out = new(v1alpha1.ResourceRef)
272 **out = **in
273 }
274 if in.OrganizationRef != nil {
275 in, out := &in.OrganizationRef, &out.OrganizationRef
276 *out = new(v1alpha1.ResourceRef)
277 **out = **in
278 }
279 if in.ProjectRef != nil {
280 in, out := &in.ProjectRef, &out.ProjectRef
281 *out = new(v1alpha1.ResourceRef)
282 **out = **in
283 }
284 if in.ResourceID != nil {
285 in, out := &in.ResourceID, &out.ResourceID
286 *out = new(string)
287 **out = **in
288 }
289 return
290 }
291
292
293 func (in *LoggingLogExclusionSpec) DeepCopy() *LoggingLogExclusionSpec {
294 if in == nil {
295 return nil
296 }
297 out := new(LoggingLogExclusionSpec)
298 in.DeepCopyInto(out)
299 return out
300 }
301
302
303 func (in *LoggingLogExclusionStatus) DeepCopyInto(out *LoggingLogExclusionStatus) {
304 *out = *in
305 if in.Conditions != nil {
306 in, out := &in.Conditions, &out.Conditions
307 *out = make([]v1alpha1.Condition, len(*in))
308 copy(*out, *in)
309 }
310 if in.CreateTime != nil {
311 in, out := &in.CreateTime, &out.CreateTime
312 *out = new(string)
313 **out = **in
314 }
315 if in.ObservedGeneration != nil {
316 in, out := &in.ObservedGeneration, &out.ObservedGeneration
317 *out = new(int)
318 **out = **in
319 }
320 if in.UpdateTime != nil {
321 in, out := &in.UpdateTime, &out.UpdateTime
322 *out = new(string)
323 **out = **in
324 }
325 return
326 }
327
328
329 func (in *LoggingLogExclusionStatus) DeepCopy() *LoggingLogExclusionStatus {
330 if in == nil {
331 return nil
332 }
333 out := new(LoggingLogExclusionStatus)
334 in.DeepCopyInto(out)
335 return out
336 }
337
338
339 func (in *LoggingLogMetric) DeepCopyInto(out *LoggingLogMetric) {
340 *out = *in
341 out.TypeMeta = in.TypeMeta
342 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
343 in.Spec.DeepCopyInto(&out.Spec)
344 in.Status.DeepCopyInto(&out.Status)
345 return
346 }
347
348
349 func (in *LoggingLogMetric) DeepCopy() *LoggingLogMetric {
350 if in == nil {
351 return nil
352 }
353 out := new(LoggingLogMetric)
354 in.DeepCopyInto(out)
355 return out
356 }
357
358
359 func (in *LoggingLogMetric) DeepCopyObject() runtime.Object {
360 if c := in.DeepCopy(); c != nil {
361 return c
362 }
363 return nil
364 }
365
366
367 func (in *LoggingLogMetricList) DeepCopyInto(out *LoggingLogMetricList) {
368 *out = *in
369 out.TypeMeta = in.TypeMeta
370 in.ListMeta.DeepCopyInto(&out.ListMeta)
371 if in.Items != nil {
372 in, out := &in.Items, &out.Items
373 *out = make([]LoggingLogMetric, len(*in))
374 for i := range *in {
375 (*in)[i].DeepCopyInto(&(*out)[i])
376 }
377 }
378 return
379 }
380
381
382 func (in *LoggingLogMetricList) DeepCopy() *LoggingLogMetricList {
383 if in == nil {
384 return nil
385 }
386 out := new(LoggingLogMetricList)
387 in.DeepCopyInto(out)
388 return out
389 }
390
391
392 func (in *LoggingLogMetricList) DeepCopyObject() runtime.Object {
393 if c := in.DeepCopy(); c != nil {
394 return c
395 }
396 return nil
397 }
398
399
400 func (in *LoggingLogMetricSpec) DeepCopyInto(out *LoggingLogMetricSpec) {
401 *out = *in
402 if in.BucketOptions != nil {
403 in, out := &in.BucketOptions, &out.BucketOptions
404 *out = new(LogmetricBucketOptions)
405 (*in).DeepCopyInto(*out)
406 }
407 if in.Description != nil {
408 in, out := &in.Description, &out.Description
409 *out = new(string)
410 **out = **in
411 }
412 if in.Disabled != nil {
413 in, out := &in.Disabled, &out.Disabled
414 *out = new(bool)
415 **out = **in
416 }
417 if in.LabelExtractors != nil {
418 in, out := &in.LabelExtractors, &out.LabelExtractors
419 *out = make(map[string]string, len(*in))
420 for key, val := range *in {
421 (*out)[key] = val
422 }
423 }
424 if in.MetricDescriptor != nil {
425 in, out := &in.MetricDescriptor, &out.MetricDescriptor
426 *out = new(LogmetricMetricDescriptor)
427 (*in).DeepCopyInto(*out)
428 }
429 out.ProjectRef = in.ProjectRef
430 if in.ResourceID != nil {
431 in, out := &in.ResourceID, &out.ResourceID
432 *out = new(string)
433 **out = **in
434 }
435 if in.ValueExtractor != nil {
436 in, out := &in.ValueExtractor, &out.ValueExtractor
437 *out = new(string)
438 **out = **in
439 }
440 return
441 }
442
443
444 func (in *LoggingLogMetricSpec) DeepCopy() *LoggingLogMetricSpec {
445 if in == nil {
446 return nil
447 }
448 out := new(LoggingLogMetricSpec)
449 in.DeepCopyInto(out)
450 return out
451 }
452
453
454 func (in *LoggingLogMetricStatus) DeepCopyInto(out *LoggingLogMetricStatus) {
455 *out = *in
456 if in.Conditions != nil {
457 in, out := &in.Conditions, &out.Conditions
458 *out = make([]v1alpha1.Condition, len(*in))
459 copy(*out, *in)
460 }
461 if in.CreateTime != nil {
462 in, out := &in.CreateTime, &out.CreateTime
463 *out = new(string)
464 **out = **in
465 }
466 if in.MetricDescriptor != nil {
467 in, out := &in.MetricDescriptor, &out.MetricDescriptor
468 *out = new(LogmetricMetricDescriptorStatus)
469 (*in).DeepCopyInto(*out)
470 }
471 if in.ObservedGeneration != nil {
472 in, out := &in.ObservedGeneration, &out.ObservedGeneration
473 *out = new(int)
474 **out = **in
475 }
476 if in.UpdateTime != nil {
477 in, out := &in.UpdateTime, &out.UpdateTime
478 *out = new(string)
479 **out = **in
480 }
481 return
482 }
483
484
485 func (in *LoggingLogMetricStatus) DeepCopy() *LoggingLogMetricStatus {
486 if in == nil {
487 return nil
488 }
489 out := new(LoggingLogMetricStatus)
490 in.DeepCopyInto(out)
491 return out
492 }
493
494
495 func (in *LoggingLogSink) DeepCopyInto(out *LoggingLogSink) {
496 *out = *in
497 out.TypeMeta = in.TypeMeta
498 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
499 in.Spec.DeepCopyInto(&out.Spec)
500 in.Status.DeepCopyInto(&out.Status)
501 return
502 }
503
504
505 func (in *LoggingLogSink) DeepCopy() *LoggingLogSink {
506 if in == nil {
507 return nil
508 }
509 out := new(LoggingLogSink)
510 in.DeepCopyInto(out)
511 return out
512 }
513
514
515 func (in *LoggingLogSink) DeepCopyObject() runtime.Object {
516 if c := in.DeepCopy(); c != nil {
517 return c
518 }
519 return nil
520 }
521
522
523 func (in *LoggingLogSinkList) DeepCopyInto(out *LoggingLogSinkList) {
524 *out = *in
525 out.TypeMeta = in.TypeMeta
526 in.ListMeta.DeepCopyInto(&out.ListMeta)
527 if in.Items != nil {
528 in, out := &in.Items, &out.Items
529 *out = make([]LoggingLogSink, len(*in))
530 for i := range *in {
531 (*in)[i].DeepCopyInto(&(*out)[i])
532 }
533 }
534 return
535 }
536
537
538 func (in *LoggingLogSinkList) DeepCopy() *LoggingLogSinkList {
539 if in == nil {
540 return nil
541 }
542 out := new(LoggingLogSinkList)
543 in.DeepCopyInto(out)
544 return out
545 }
546
547
548 func (in *LoggingLogSinkList) DeepCopyObject() runtime.Object {
549 if c := in.DeepCopy(); c != nil {
550 return c
551 }
552 return nil
553 }
554
555
556 func (in *LoggingLogSinkSpec) DeepCopyInto(out *LoggingLogSinkSpec) {
557 *out = *in
558 if in.BigqueryOptions != nil {
559 in, out := &in.BigqueryOptions, &out.BigqueryOptions
560 *out = new(LogsinkBigqueryOptions)
561 **out = **in
562 }
563 if in.Description != nil {
564 in, out := &in.Description, &out.Description
565 *out = new(string)
566 **out = **in
567 }
568 in.Destination.DeepCopyInto(&out.Destination)
569 if in.Disabled != nil {
570 in, out := &in.Disabled, &out.Disabled
571 *out = new(bool)
572 **out = **in
573 }
574 if in.Exclusions != nil {
575 in, out := &in.Exclusions, &out.Exclusions
576 *out = make([]LogsinkExclusions, len(*in))
577 for i := range *in {
578 (*in)[i].DeepCopyInto(&(*out)[i])
579 }
580 }
581 if in.Filter != nil {
582 in, out := &in.Filter, &out.Filter
583 *out = new(string)
584 **out = **in
585 }
586 if in.FolderRef != nil {
587 in, out := &in.FolderRef, &out.FolderRef
588 *out = new(v1alpha1.ResourceRef)
589 **out = **in
590 }
591 if in.IncludeChildren != nil {
592 in, out := &in.IncludeChildren, &out.IncludeChildren
593 *out = new(bool)
594 **out = **in
595 }
596 if in.OrganizationRef != nil {
597 in, out := &in.OrganizationRef, &out.OrganizationRef
598 *out = new(v1alpha1.ResourceRef)
599 **out = **in
600 }
601 if in.ProjectRef != nil {
602 in, out := &in.ProjectRef, &out.ProjectRef
603 *out = new(v1alpha1.ResourceRef)
604 **out = **in
605 }
606 if in.ResourceID != nil {
607 in, out := &in.ResourceID, &out.ResourceID
608 *out = new(string)
609 **out = **in
610 }
611 if in.UniqueWriterIdentity != nil {
612 in, out := &in.UniqueWriterIdentity, &out.UniqueWriterIdentity
613 *out = new(bool)
614 **out = **in
615 }
616 return
617 }
618
619
620 func (in *LoggingLogSinkSpec) DeepCopy() *LoggingLogSinkSpec {
621 if in == nil {
622 return nil
623 }
624 out := new(LoggingLogSinkSpec)
625 in.DeepCopyInto(out)
626 return out
627 }
628
629
630 func (in *LoggingLogSinkStatus) DeepCopyInto(out *LoggingLogSinkStatus) {
631 *out = *in
632 if in.Conditions != nil {
633 in, out := &in.Conditions, &out.Conditions
634 *out = make([]v1alpha1.Condition, len(*in))
635 copy(*out, *in)
636 }
637 if in.ObservedGeneration != nil {
638 in, out := &in.ObservedGeneration, &out.ObservedGeneration
639 *out = new(int)
640 **out = **in
641 }
642 if in.WriterIdentity != nil {
643 in, out := &in.WriterIdentity, &out.WriterIdentity
644 *out = new(string)
645 **out = **in
646 }
647 return
648 }
649
650
651 func (in *LoggingLogSinkStatus) DeepCopy() *LoggingLogSinkStatus {
652 if in == nil {
653 return nil
654 }
655 out := new(LoggingLogSinkStatus)
656 in.DeepCopyInto(out)
657 return out
658 }
659
660
661 func (in *LoggingLogView) DeepCopyInto(out *LoggingLogView) {
662 *out = *in
663 out.TypeMeta = in.TypeMeta
664 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
665 in.Spec.DeepCopyInto(&out.Spec)
666 in.Status.DeepCopyInto(&out.Status)
667 return
668 }
669
670
671 func (in *LoggingLogView) DeepCopy() *LoggingLogView {
672 if in == nil {
673 return nil
674 }
675 out := new(LoggingLogView)
676 in.DeepCopyInto(out)
677 return out
678 }
679
680
681 func (in *LoggingLogView) DeepCopyObject() runtime.Object {
682 if c := in.DeepCopy(); c != nil {
683 return c
684 }
685 return nil
686 }
687
688
689 func (in *LoggingLogViewList) DeepCopyInto(out *LoggingLogViewList) {
690 *out = *in
691 out.TypeMeta = in.TypeMeta
692 in.ListMeta.DeepCopyInto(&out.ListMeta)
693 if in.Items != nil {
694 in, out := &in.Items, &out.Items
695 *out = make([]LoggingLogView, len(*in))
696 for i := range *in {
697 (*in)[i].DeepCopyInto(&(*out)[i])
698 }
699 }
700 return
701 }
702
703
704 func (in *LoggingLogViewList) DeepCopy() *LoggingLogViewList {
705 if in == nil {
706 return nil
707 }
708 out := new(LoggingLogViewList)
709 in.DeepCopyInto(out)
710 return out
711 }
712
713
714 func (in *LoggingLogViewList) DeepCopyObject() runtime.Object {
715 if c := in.DeepCopy(); c != nil {
716 return c
717 }
718 return nil
719 }
720
721
722 func (in *LoggingLogViewSpec) DeepCopyInto(out *LoggingLogViewSpec) {
723 *out = *in
724 if in.BillingAccountRef != nil {
725 in, out := &in.BillingAccountRef, &out.BillingAccountRef
726 *out = new(v1alpha1.ResourceRef)
727 **out = **in
728 }
729 out.BucketRef = in.BucketRef
730 if in.Description != nil {
731 in, out := &in.Description, &out.Description
732 *out = new(string)
733 **out = **in
734 }
735 if in.Filter != nil {
736 in, out := &in.Filter, &out.Filter
737 *out = new(string)
738 **out = **in
739 }
740 if in.FolderRef != nil {
741 in, out := &in.FolderRef, &out.FolderRef
742 *out = new(v1alpha1.ResourceRef)
743 **out = **in
744 }
745 if in.Location != nil {
746 in, out := &in.Location, &out.Location
747 *out = new(string)
748 **out = **in
749 }
750 if in.OrganizationRef != nil {
751 in, out := &in.OrganizationRef, &out.OrganizationRef
752 *out = new(v1alpha1.ResourceRef)
753 **out = **in
754 }
755 if in.ProjectRef != nil {
756 in, out := &in.ProjectRef, &out.ProjectRef
757 *out = new(v1alpha1.ResourceRef)
758 **out = **in
759 }
760 if in.ResourceID != nil {
761 in, out := &in.ResourceID, &out.ResourceID
762 *out = new(string)
763 **out = **in
764 }
765 return
766 }
767
768
769 func (in *LoggingLogViewSpec) DeepCopy() *LoggingLogViewSpec {
770 if in == nil {
771 return nil
772 }
773 out := new(LoggingLogViewSpec)
774 in.DeepCopyInto(out)
775 return out
776 }
777
778
779 func (in *LoggingLogViewStatus) DeepCopyInto(out *LoggingLogViewStatus) {
780 *out = *in
781 if in.Conditions != nil {
782 in, out := &in.Conditions, &out.Conditions
783 *out = make([]v1alpha1.Condition, len(*in))
784 copy(*out, *in)
785 }
786 if in.CreateTime != nil {
787 in, out := &in.CreateTime, &out.CreateTime
788 *out = new(string)
789 **out = **in
790 }
791 if in.ObservedGeneration != nil {
792 in, out := &in.ObservedGeneration, &out.ObservedGeneration
793 *out = new(int)
794 **out = **in
795 }
796 if in.UpdateTime != nil {
797 in, out := &in.UpdateTime, &out.UpdateTime
798 *out = new(string)
799 **out = **in
800 }
801 return
802 }
803
804
805 func (in *LoggingLogViewStatus) DeepCopy() *LoggingLogViewStatus {
806 if in == nil {
807 return nil
808 }
809 out := new(LoggingLogViewStatus)
810 in.DeepCopyInto(out)
811 return out
812 }
813
814
815 func (in *LogmetricBucketOptions) DeepCopyInto(out *LogmetricBucketOptions) {
816 *out = *in
817 if in.ExplicitBuckets != nil {
818 in, out := &in.ExplicitBuckets, &out.ExplicitBuckets
819 *out = new(LogmetricExplicitBuckets)
820 (*in).DeepCopyInto(*out)
821 }
822 if in.ExponentialBuckets != nil {
823 in, out := &in.ExponentialBuckets, &out.ExponentialBuckets
824 *out = new(LogmetricExponentialBuckets)
825 (*in).DeepCopyInto(*out)
826 }
827 if in.LinearBuckets != nil {
828 in, out := &in.LinearBuckets, &out.LinearBuckets
829 *out = new(LogmetricLinearBuckets)
830 (*in).DeepCopyInto(*out)
831 }
832 return
833 }
834
835
836 func (in *LogmetricBucketOptions) DeepCopy() *LogmetricBucketOptions {
837 if in == nil {
838 return nil
839 }
840 out := new(LogmetricBucketOptions)
841 in.DeepCopyInto(out)
842 return out
843 }
844
845
846 func (in *LogmetricExplicitBuckets) DeepCopyInto(out *LogmetricExplicitBuckets) {
847 *out = *in
848 if in.Bounds != nil {
849 in, out := &in.Bounds, &out.Bounds
850 *out = make([]float64, len(*in))
851 copy(*out, *in)
852 }
853 return
854 }
855
856
857 func (in *LogmetricExplicitBuckets) DeepCopy() *LogmetricExplicitBuckets {
858 if in == nil {
859 return nil
860 }
861 out := new(LogmetricExplicitBuckets)
862 in.DeepCopyInto(out)
863 return out
864 }
865
866
867 func (in *LogmetricExponentialBuckets) DeepCopyInto(out *LogmetricExponentialBuckets) {
868 *out = *in
869 if in.GrowthFactor != nil {
870 in, out := &in.GrowthFactor, &out.GrowthFactor
871 *out = new(float64)
872 **out = **in
873 }
874 if in.NumFiniteBuckets != nil {
875 in, out := &in.NumFiniteBuckets, &out.NumFiniteBuckets
876 *out = new(int)
877 **out = **in
878 }
879 if in.Scale != nil {
880 in, out := &in.Scale, &out.Scale
881 *out = new(float64)
882 **out = **in
883 }
884 return
885 }
886
887
888 func (in *LogmetricExponentialBuckets) DeepCopy() *LogmetricExponentialBuckets {
889 if in == nil {
890 return nil
891 }
892 out := new(LogmetricExponentialBuckets)
893 in.DeepCopyInto(out)
894 return out
895 }
896
897
898 func (in *LogmetricLabels) DeepCopyInto(out *LogmetricLabels) {
899 *out = *in
900 if in.Description != nil {
901 in, out := &in.Description, &out.Description
902 *out = new(string)
903 **out = **in
904 }
905 if in.Key != nil {
906 in, out := &in.Key, &out.Key
907 *out = new(string)
908 **out = **in
909 }
910 if in.ValueType != nil {
911 in, out := &in.ValueType, &out.ValueType
912 *out = new(string)
913 **out = **in
914 }
915 return
916 }
917
918
919 func (in *LogmetricLabels) DeepCopy() *LogmetricLabels {
920 if in == nil {
921 return nil
922 }
923 out := new(LogmetricLabels)
924 in.DeepCopyInto(out)
925 return out
926 }
927
928
929 func (in *LogmetricLinearBuckets) DeepCopyInto(out *LogmetricLinearBuckets) {
930 *out = *in
931 if in.NumFiniteBuckets != nil {
932 in, out := &in.NumFiniteBuckets, &out.NumFiniteBuckets
933 *out = new(int)
934 **out = **in
935 }
936 if in.Offset != nil {
937 in, out := &in.Offset, &out.Offset
938 *out = new(float64)
939 **out = **in
940 }
941 if in.Width != nil {
942 in, out := &in.Width, &out.Width
943 *out = new(float64)
944 **out = **in
945 }
946 return
947 }
948
949
950 func (in *LogmetricLinearBuckets) DeepCopy() *LogmetricLinearBuckets {
951 if in == nil {
952 return nil
953 }
954 out := new(LogmetricLinearBuckets)
955 in.DeepCopyInto(out)
956 return out
957 }
958
959
960 func (in *LogmetricMetadata) DeepCopyInto(out *LogmetricMetadata) {
961 *out = *in
962 if in.IngestDelay != nil {
963 in, out := &in.IngestDelay, &out.IngestDelay
964 *out = new(string)
965 **out = **in
966 }
967 if in.SamplePeriod != nil {
968 in, out := &in.SamplePeriod, &out.SamplePeriod
969 *out = new(string)
970 **out = **in
971 }
972 return
973 }
974
975
976 func (in *LogmetricMetadata) DeepCopy() *LogmetricMetadata {
977 if in == nil {
978 return nil
979 }
980 out := new(LogmetricMetadata)
981 in.DeepCopyInto(out)
982 return out
983 }
984
985
986 func (in *LogmetricMetricDescriptor) DeepCopyInto(out *LogmetricMetricDescriptor) {
987 *out = *in
988 if in.DisplayName != nil {
989 in, out := &in.DisplayName, &out.DisplayName
990 *out = new(string)
991 **out = **in
992 }
993 if in.Labels != nil {
994 in, out := &in.Labels, &out.Labels
995 *out = make([]LogmetricLabels, len(*in))
996 for i := range *in {
997 (*in)[i].DeepCopyInto(&(*out)[i])
998 }
999 }
1000 if in.LaunchStage != nil {
1001 in, out := &in.LaunchStage, &out.LaunchStage
1002 *out = new(string)
1003 **out = **in
1004 }
1005 if in.Metadata != nil {
1006 in, out := &in.Metadata, &out.Metadata
1007 *out = new(LogmetricMetadata)
1008 (*in).DeepCopyInto(*out)
1009 }
1010 if in.MetricKind != nil {
1011 in, out := &in.MetricKind, &out.MetricKind
1012 *out = new(string)
1013 **out = **in
1014 }
1015 if in.Unit != nil {
1016 in, out := &in.Unit, &out.Unit
1017 *out = new(string)
1018 **out = **in
1019 }
1020 if in.ValueType != nil {
1021 in, out := &in.ValueType, &out.ValueType
1022 *out = new(string)
1023 **out = **in
1024 }
1025 return
1026 }
1027
1028
1029 func (in *LogmetricMetricDescriptor) DeepCopy() *LogmetricMetricDescriptor {
1030 if in == nil {
1031 return nil
1032 }
1033 out := new(LogmetricMetricDescriptor)
1034 in.DeepCopyInto(out)
1035 return out
1036 }
1037
1038
1039 func (in *LogmetricMetricDescriptorStatus) DeepCopyInto(out *LogmetricMetricDescriptorStatus) {
1040 *out = *in
1041 if in.Description != nil {
1042 in, out := &in.Description, &out.Description
1043 *out = new(string)
1044 **out = **in
1045 }
1046 if in.MonitoredResourceTypes != nil {
1047 in, out := &in.MonitoredResourceTypes, &out.MonitoredResourceTypes
1048 *out = make([]string, len(*in))
1049 copy(*out, *in)
1050 }
1051 if in.Name != nil {
1052 in, out := &in.Name, &out.Name
1053 *out = new(string)
1054 **out = **in
1055 }
1056 if in.Type != nil {
1057 in, out := &in.Type, &out.Type
1058 *out = new(string)
1059 **out = **in
1060 }
1061 return
1062 }
1063
1064
1065 func (in *LogmetricMetricDescriptorStatus) DeepCopy() *LogmetricMetricDescriptorStatus {
1066 if in == nil {
1067 return nil
1068 }
1069 out := new(LogmetricMetricDescriptorStatus)
1070 in.DeepCopyInto(out)
1071 return out
1072 }
1073
1074
1075 func (in *LogsinkBigqueryOptions) DeepCopyInto(out *LogsinkBigqueryOptions) {
1076 *out = *in
1077 return
1078 }
1079
1080
1081 func (in *LogsinkBigqueryOptions) DeepCopy() *LogsinkBigqueryOptions {
1082 if in == nil {
1083 return nil
1084 }
1085 out := new(LogsinkBigqueryOptions)
1086 in.DeepCopyInto(out)
1087 return out
1088 }
1089
1090
1091 func (in *LogsinkDestination) DeepCopyInto(out *LogsinkDestination) {
1092 *out = *in
1093 if in.BigQueryDatasetRef != nil {
1094 in, out := &in.BigQueryDatasetRef, &out.BigQueryDatasetRef
1095 *out = new(v1alpha1.ResourceRef)
1096 **out = **in
1097 }
1098 if in.LoggingLogBucketRef != nil {
1099 in, out := &in.LoggingLogBucketRef, &out.LoggingLogBucketRef
1100 *out = new(v1alpha1.ResourceRef)
1101 **out = **in
1102 }
1103 if in.PubSubTopicRef != nil {
1104 in, out := &in.PubSubTopicRef, &out.PubSubTopicRef
1105 *out = new(v1alpha1.ResourceRef)
1106 **out = **in
1107 }
1108 if in.StorageBucketRef != nil {
1109 in, out := &in.StorageBucketRef, &out.StorageBucketRef
1110 *out = new(v1alpha1.ResourceRef)
1111 **out = **in
1112 }
1113 return
1114 }
1115
1116
1117 func (in *LogsinkDestination) DeepCopy() *LogsinkDestination {
1118 if in == nil {
1119 return nil
1120 }
1121 out := new(LogsinkDestination)
1122 in.DeepCopyInto(out)
1123 return out
1124 }
1125
1126
1127 func (in *LogsinkExclusions) DeepCopyInto(out *LogsinkExclusions) {
1128 *out = *in
1129 if in.Description != nil {
1130 in, out := &in.Description, &out.Description
1131 *out = new(string)
1132 **out = **in
1133 }
1134 if in.Disabled != nil {
1135 in, out := &in.Disabled, &out.Disabled
1136 *out = new(bool)
1137 **out = **in
1138 }
1139 return
1140 }
1141
1142
1143 func (in *LogsinkExclusions) DeepCopy() *LogsinkExclusions {
1144 if in == nil {
1145 return nil
1146 }
1147 out := new(LogsinkExclusions)
1148 in.DeepCopyInto(out)
1149 return out
1150 }
1151
View as plain text