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 *BigQueryDataTransferConfig) DeepCopyInto(out *BigQueryDataTransferConfig) {
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 *BigQueryDataTransferConfig) DeepCopy() *BigQueryDataTransferConfig {
44 if in == nil {
45 return nil
46 }
47 out := new(BigQueryDataTransferConfig)
48 in.DeepCopyInto(out)
49 return out
50 }
51
52
53 func (in *BigQueryDataTransferConfig) DeepCopyObject() runtime.Object {
54 if c := in.DeepCopy(); c != nil {
55 return c
56 }
57 return nil
58 }
59
60
61 func (in *BigQueryDataTransferConfigList) DeepCopyInto(out *BigQueryDataTransferConfigList) {
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([]BigQueryDataTransferConfig, len(*in))
68 for i := range *in {
69 (*in)[i].DeepCopyInto(&(*out)[i])
70 }
71 }
72 return
73 }
74
75
76 func (in *BigQueryDataTransferConfigList) DeepCopy() *BigQueryDataTransferConfigList {
77 if in == nil {
78 return nil
79 }
80 out := new(BigQueryDataTransferConfigList)
81 in.DeepCopyInto(out)
82 return out
83 }
84
85
86 func (in *BigQueryDataTransferConfigList) DeepCopyObject() runtime.Object {
87 if c := in.DeepCopy(); c != nil {
88 return c
89 }
90 return nil
91 }
92
93
94 func (in *BigQueryDataTransferConfigSpec) DeepCopyInto(out *BigQueryDataTransferConfigSpec) {
95 *out = *in
96 if in.DataRefreshWindowDays != nil {
97 in, out := &in.DataRefreshWindowDays, &out.DataRefreshWindowDays
98 *out = new(int)
99 **out = **in
100 }
101 if in.DestinationDatasetId != nil {
102 in, out := &in.DestinationDatasetId, &out.DestinationDatasetId
103 *out = new(string)
104 **out = **in
105 }
106 if in.Disabled != nil {
107 in, out := &in.Disabled, &out.Disabled
108 *out = new(bool)
109 **out = **in
110 }
111 if in.EmailPreferences != nil {
112 in, out := &in.EmailPreferences, &out.EmailPreferences
113 *out = new(ConfigEmailPreferences)
114 **out = **in
115 }
116 if in.Location != nil {
117 in, out := &in.Location, &out.Location
118 *out = new(string)
119 **out = **in
120 }
121 if in.NotificationPubsubTopic != nil {
122 in, out := &in.NotificationPubsubTopic, &out.NotificationPubsubTopic
123 *out = new(string)
124 **out = **in
125 }
126 if in.Params != nil {
127 in, out := &in.Params, &out.Params
128 *out = make(map[string]string, len(*in))
129 for key, val := range *in {
130 (*out)[key] = val
131 }
132 }
133 out.ProjectRef = in.ProjectRef
134 if in.ResourceID != nil {
135 in, out := &in.ResourceID, &out.ResourceID
136 *out = new(string)
137 **out = **in
138 }
139 if in.Schedule != nil {
140 in, out := &in.Schedule, &out.Schedule
141 *out = new(string)
142 **out = **in
143 }
144 if in.ScheduleOptions != nil {
145 in, out := &in.ScheduleOptions, &out.ScheduleOptions
146 *out = new(ConfigScheduleOptions)
147 (*in).DeepCopyInto(*out)
148 }
149 if in.SensitiveParams != nil {
150 in, out := &in.SensitiveParams, &out.SensitiveParams
151 *out = new(ConfigSensitiveParams)
152 (*in).DeepCopyInto(*out)
153 }
154 if in.ServiceAccountName != nil {
155 in, out := &in.ServiceAccountName, &out.ServiceAccountName
156 *out = new(string)
157 **out = **in
158 }
159 return
160 }
161
162
163 func (in *BigQueryDataTransferConfigSpec) DeepCopy() *BigQueryDataTransferConfigSpec {
164 if in == nil {
165 return nil
166 }
167 out := new(BigQueryDataTransferConfigSpec)
168 in.DeepCopyInto(out)
169 return out
170 }
171
172
173 func (in *BigQueryDataTransferConfigStatus) DeepCopyInto(out *BigQueryDataTransferConfigStatus) {
174 *out = *in
175 if in.Conditions != nil {
176 in, out := &in.Conditions, &out.Conditions
177 *out = make([]k8sv1alpha1.Condition, len(*in))
178 copy(*out, *in)
179 }
180 if in.Name != nil {
181 in, out := &in.Name, &out.Name
182 *out = new(string)
183 **out = **in
184 }
185 if in.ObservedGeneration != nil {
186 in, out := &in.ObservedGeneration, &out.ObservedGeneration
187 *out = new(int)
188 **out = **in
189 }
190 return
191 }
192
193
194 func (in *BigQueryDataTransferConfigStatus) DeepCopy() *BigQueryDataTransferConfigStatus {
195 if in == nil {
196 return nil
197 }
198 out := new(BigQueryDataTransferConfigStatus)
199 in.DeepCopyInto(out)
200 return out
201 }
202
203
204 func (in *ConfigEmailPreferences) DeepCopyInto(out *ConfigEmailPreferences) {
205 *out = *in
206 return
207 }
208
209
210 func (in *ConfigEmailPreferences) DeepCopy() *ConfigEmailPreferences {
211 if in == nil {
212 return nil
213 }
214 out := new(ConfigEmailPreferences)
215 in.DeepCopyInto(out)
216 return out
217 }
218
219
220 func (in *ConfigScheduleOptions) DeepCopyInto(out *ConfigScheduleOptions) {
221 *out = *in
222 if in.DisableAutoScheduling != nil {
223 in, out := &in.DisableAutoScheduling, &out.DisableAutoScheduling
224 *out = new(bool)
225 **out = **in
226 }
227 if in.EndTime != nil {
228 in, out := &in.EndTime, &out.EndTime
229 *out = new(string)
230 **out = **in
231 }
232 if in.StartTime != nil {
233 in, out := &in.StartTime, &out.StartTime
234 *out = new(string)
235 **out = **in
236 }
237 return
238 }
239
240
241 func (in *ConfigScheduleOptions) DeepCopy() *ConfigScheduleOptions {
242 if in == nil {
243 return nil
244 }
245 out := new(ConfigScheduleOptions)
246 in.DeepCopyInto(out)
247 return out
248 }
249
250
251 func (in *ConfigSecretAccessKey) DeepCopyInto(out *ConfigSecretAccessKey) {
252 *out = *in
253 if in.Value != nil {
254 in, out := &in.Value, &out.Value
255 *out = new(string)
256 **out = **in
257 }
258 if in.ValueFrom != nil {
259 in, out := &in.ValueFrom, &out.ValueFrom
260 *out = new(ConfigValueFrom)
261 (*in).DeepCopyInto(*out)
262 }
263 return
264 }
265
266
267 func (in *ConfigSecretAccessKey) DeepCopy() *ConfigSecretAccessKey {
268 if in == nil {
269 return nil
270 }
271 out := new(ConfigSecretAccessKey)
272 in.DeepCopyInto(out)
273 return out
274 }
275
276
277 func (in *ConfigSensitiveParams) DeepCopyInto(out *ConfigSensitiveParams) {
278 *out = *in
279 in.SecretAccessKey.DeepCopyInto(&out.SecretAccessKey)
280 return
281 }
282
283
284 func (in *ConfigSensitiveParams) DeepCopy() *ConfigSensitiveParams {
285 if in == nil {
286 return nil
287 }
288 out := new(ConfigSensitiveParams)
289 in.DeepCopyInto(out)
290 return out
291 }
292
293
294 func (in *ConfigValueFrom) DeepCopyInto(out *ConfigValueFrom) {
295 *out = *in
296 if in.SecretKeyRef != nil {
297 in, out := &in.SecretKeyRef, &out.SecretKeyRef
298 *out = new(k8sv1alpha1.ResourceRef)
299 **out = **in
300 }
301 return
302 }
303
304
305 func (in *ConfigValueFrom) DeepCopy() *ConfigValueFrom {
306 if in == nil {
307 return nil
308 }
309 out := new(ConfigValueFrom)
310 in.DeepCopyInto(out)
311 return out
312 }
313
View as plain text