...
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 *BigQueryReservationReservation) DeepCopyInto(out *BigQueryReservationReservation) {
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 *BigQueryReservationReservation) DeepCopy() *BigQueryReservationReservation {
44 if in == nil {
45 return nil
46 }
47 out := new(BigQueryReservationReservation)
48 in.DeepCopyInto(out)
49 return out
50 }
51
52
53 func (in *BigQueryReservationReservation) DeepCopyObject() runtime.Object {
54 if c := in.DeepCopy(); c != nil {
55 return c
56 }
57 return nil
58 }
59
60
61 func (in *BigQueryReservationReservationList) DeepCopyInto(out *BigQueryReservationReservationList) {
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([]BigQueryReservationReservation, len(*in))
68 for i := range *in {
69 (*in)[i].DeepCopyInto(&(*out)[i])
70 }
71 }
72 return
73 }
74
75
76 func (in *BigQueryReservationReservationList) DeepCopy() *BigQueryReservationReservationList {
77 if in == nil {
78 return nil
79 }
80 out := new(BigQueryReservationReservationList)
81 in.DeepCopyInto(out)
82 return out
83 }
84
85
86 func (in *BigQueryReservationReservationList) DeepCopyObject() runtime.Object {
87 if c := in.DeepCopy(); c != nil {
88 return c
89 }
90 return nil
91 }
92
93
94 func (in *BigQueryReservationReservationSpec) DeepCopyInto(out *BigQueryReservationReservationSpec) {
95 *out = *in
96 if in.Autoscale != nil {
97 in, out := &in.Autoscale, &out.Autoscale
98 *out = new(ReservationAutoscale)
99 (*in).DeepCopyInto(*out)
100 }
101 if in.Concurrency != nil {
102 in, out := &in.Concurrency, &out.Concurrency
103 *out = new(int)
104 **out = **in
105 }
106 if in.Edition != nil {
107 in, out := &in.Edition, &out.Edition
108 *out = new(string)
109 **out = **in
110 }
111 if in.IgnoreIdleSlots != nil {
112 in, out := &in.IgnoreIdleSlots, &out.IgnoreIdleSlots
113 *out = new(bool)
114 **out = **in
115 }
116 if in.MultiRegionAuxiliary != nil {
117 in, out := &in.MultiRegionAuxiliary, &out.MultiRegionAuxiliary
118 *out = new(bool)
119 **out = **in
120 }
121 out.ProjectRef = in.ProjectRef
122 if in.ResourceID != nil {
123 in, out := &in.ResourceID, &out.ResourceID
124 *out = new(string)
125 **out = **in
126 }
127 return
128 }
129
130
131 func (in *BigQueryReservationReservationSpec) DeepCopy() *BigQueryReservationReservationSpec {
132 if in == nil {
133 return nil
134 }
135 out := new(BigQueryReservationReservationSpec)
136 in.DeepCopyInto(out)
137 return out
138 }
139
140
141 func (in *BigQueryReservationReservationStatus) DeepCopyInto(out *BigQueryReservationReservationStatus) {
142 *out = *in
143 if in.Conditions != nil {
144 in, out := &in.Conditions, &out.Conditions
145 *out = make([]k8sv1alpha1.Condition, len(*in))
146 copy(*out, *in)
147 }
148 if in.ObservedGeneration != nil {
149 in, out := &in.ObservedGeneration, &out.ObservedGeneration
150 *out = new(int)
151 **out = **in
152 }
153 return
154 }
155
156
157 func (in *BigQueryReservationReservationStatus) DeepCopy() *BigQueryReservationReservationStatus {
158 if in == nil {
159 return nil
160 }
161 out := new(BigQueryReservationReservationStatus)
162 in.DeepCopyInto(out)
163 return out
164 }
165
166
167 func (in *ReservationAutoscale) DeepCopyInto(out *ReservationAutoscale) {
168 *out = *in
169 if in.CurrentSlots != nil {
170 in, out := &in.CurrentSlots, &out.CurrentSlots
171 *out = new(int)
172 **out = **in
173 }
174 if in.MaxSlots != nil {
175 in, out := &in.MaxSlots, &out.MaxSlots
176 *out = new(int)
177 **out = **in
178 }
179 return
180 }
181
182
183 func (in *ReservationAutoscale) DeepCopy() *ReservationAutoscale {
184 if in == nil {
185 return nil
186 }
187 out := new(ReservationAutoscale)
188 in.DeepCopyInto(out)
189 return out
190 }
191
View as plain text