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 *EventarcTrigger) DeepCopyInto(out *EventarcTrigger) {
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 *EventarcTrigger) DeepCopy() *EventarcTrigger {
44 if in == nil {
45 return nil
46 }
47 out := new(EventarcTrigger)
48 in.DeepCopyInto(out)
49 return out
50 }
51
52
53 func (in *EventarcTrigger) DeepCopyObject() runtime.Object {
54 if c := in.DeepCopy(); c != nil {
55 return c
56 }
57 return nil
58 }
59
60
61 func (in *EventarcTriggerList) DeepCopyInto(out *EventarcTriggerList) {
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([]EventarcTrigger, len(*in))
68 for i := range *in {
69 (*in)[i].DeepCopyInto(&(*out)[i])
70 }
71 }
72 return
73 }
74
75
76 func (in *EventarcTriggerList) DeepCopy() *EventarcTriggerList {
77 if in == nil {
78 return nil
79 }
80 out := new(EventarcTriggerList)
81 in.DeepCopyInto(out)
82 return out
83 }
84
85
86 func (in *EventarcTriggerList) DeepCopyObject() runtime.Object {
87 if c := in.DeepCopy(); c != nil {
88 return c
89 }
90 return nil
91 }
92
93
94 func (in *EventarcTriggerSpec) DeepCopyInto(out *EventarcTriggerSpec) {
95 *out = *in
96 if in.ChannelRef != nil {
97 in, out := &in.ChannelRef, &out.ChannelRef
98 *out = new(v1alpha1.ResourceRef)
99 **out = **in
100 }
101 in.Destination.DeepCopyInto(&out.Destination)
102 if in.MatchingCriteria != nil {
103 in, out := &in.MatchingCriteria, &out.MatchingCriteria
104 *out = make([]TriggerMatchingCriteria, len(*in))
105 for i := range *in {
106 (*in)[i].DeepCopyInto(&(*out)[i])
107 }
108 }
109 out.ProjectRef = in.ProjectRef
110 if in.ResourceID != nil {
111 in, out := &in.ResourceID, &out.ResourceID
112 *out = new(string)
113 **out = **in
114 }
115 if in.ServiceAccountRef != nil {
116 in, out := &in.ServiceAccountRef, &out.ServiceAccountRef
117 *out = new(v1alpha1.ResourceRef)
118 **out = **in
119 }
120 if in.Transport != nil {
121 in, out := &in.Transport, &out.Transport
122 *out = new(TriggerTransport)
123 (*in).DeepCopyInto(*out)
124 }
125 return
126 }
127
128
129 func (in *EventarcTriggerSpec) DeepCopy() *EventarcTriggerSpec {
130 if in == nil {
131 return nil
132 }
133 out := new(EventarcTriggerSpec)
134 in.DeepCopyInto(out)
135 return out
136 }
137
138
139 func (in *EventarcTriggerStatus) DeepCopyInto(out *EventarcTriggerStatus) {
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.CreateTime != nil {
147 in, out := &in.CreateTime, &out.CreateTime
148 *out = new(string)
149 **out = **in
150 }
151 if in.Etag != nil {
152 in, out := &in.Etag, &out.Etag
153 *out = new(string)
154 **out = **in
155 }
156 if in.ObservedGeneration != nil {
157 in, out := &in.ObservedGeneration, &out.ObservedGeneration
158 *out = new(int)
159 **out = **in
160 }
161 if in.ResourceConditions != nil {
162 in, out := &in.ResourceConditions, &out.ResourceConditions
163 *out = make(map[string]string, len(*in))
164 for key, val := range *in {
165 (*out)[key] = val
166 }
167 }
168 if in.Transport != nil {
169 in, out := &in.Transport, &out.Transport
170 *out = new(TriggerTransportStatus)
171 (*in).DeepCopyInto(*out)
172 }
173 if in.Uid != nil {
174 in, out := &in.Uid, &out.Uid
175 *out = new(string)
176 **out = **in
177 }
178 if in.UpdateTime != nil {
179 in, out := &in.UpdateTime, &out.UpdateTime
180 *out = new(string)
181 **out = **in
182 }
183 return
184 }
185
186
187 func (in *EventarcTriggerStatus) DeepCopy() *EventarcTriggerStatus {
188 if in == nil {
189 return nil
190 }
191 out := new(EventarcTriggerStatus)
192 in.DeepCopyInto(out)
193 return out
194 }
195
196
197 func (in *TriggerCloudRunService) DeepCopyInto(out *TriggerCloudRunService) {
198 *out = *in
199 if in.Path != nil {
200 in, out := &in.Path, &out.Path
201 *out = new(string)
202 **out = **in
203 }
204 out.ServiceRef = in.ServiceRef
205 return
206 }
207
208
209 func (in *TriggerCloudRunService) DeepCopy() *TriggerCloudRunService {
210 if in == nil {
211 return nil
212 }
213 out := new(TriggerCloudRunService)
214 in.DeepCopyInto(out)
215 return out
216 }
217
218
219 func (in *TriggerDestination) DeepCopyInto(out *TriggerDestination) {
220 *out = *in
221 if in.CloudFunctionRef != nil {
222 in, out := &in.CloudFunctionRef, &out.CloudFunctionRef
223 *out = new(v1alpha1.ResourceRef)
224 **out = **in
225 }
226 if in.CloudRunService != nil {
227 in, out := &in.CloudRunService, &out.CloudRunService
228 *out = new(TriggerCloudRunService)
229 (*in).DeepCopyInto(*out)
230 }
231 if in.Gke != nil {
232 in, out := &in.Gke, &out.Gke
233 *out = new(TriggerGke)
234 (*in).DeepCopyInto(*out)
235 }
236 if in.WorkflowRef != nil {
237 in, out := &in.WorkflowRef, &out.WorkflowRef
238 *out = new(v1alpha1.ResourceRef)
239 **out = **in
240 }
241 return
242 }
243
244
245 func (in *TriggerDestination) DeepCopy() *TriggerDestination {
246 if in == nil {
247 return nil
248 }
249 out := new(TriggerDestination)
250 in.DeepCopyInto(out)
251 return out
252 }
253
254
255 func (in *TriggerGke) DeepCopyInto(out *TriggerGke) {
256 *out = *in
257 out.ClusterRef = in.ClusterRef
258 if in.Path != nil {
259 in, out := &in.Path, &out.Path
260 *out = new(string)
261 **out = **in
262 }
263 return
264 }
265
266
267 func (in *TriggerGke) DeepCopy() *TriggerGke {
268 if in == nil {
269 return nil
270 }
271 out := new(TriggerGke)
272 in.DeepCopyInto(out)
273 return out
274 }
275
276
277 func (in *TriggerMatchingCriteria) DeepCopyInto(out *TriggerMatchingCriteria) {
278 *out = *in
279 if in.Operator != nil {
280 in, out := &in.Operator, &out.Operator
281 *out = new(string)
282 **out = **in
283 }
284 return
285 }
286
287
288 func (in *TriggerMatchingCriteria) DeepCopy() *TriggerMatchingCriteria {
289 if in == nil {
290 return nil
291 }
292 out := new(TriggerMatchingCriteria)
293 in.DeepCopyInto(out)
294 return out
295 }
296
297
298 func (in *TriggerPubsub) DeepCopyInto(out *TriggerPubsub) {
299 *out = *in
300 if in.TopicRef != nil {
301 in, out := &in.TopicRef, &out.TopicRef
302 *out = new(v1alpha1.ResourceRef)
303 **out = **in
304 }
305 return
306 }
307
308
309 func (in *TriggerPubsub) DeepCopy() *TriggerPubsub {
310 if in == nil {
311 return nil
312 }
313 out := new(TriggerPubsub)
314 in.DeepCopyInto(out)
315 return out
316 }
317
318
319 func (in *TriggerPubsubStatus) DeepCopyInto(out *TriggerPubsubStatus) {
320 *out = *in
321 if in.Subscription != nil {
322 in, out := &in.Subscription, &out.Subscription
323 *out = new(string)
324 **out = **in
325 }
326 return
327 }
328
329
330 func (in *TriggerPubsubStatus) DeepCopy() *TriggerPubsubStatus {
331 if in == nil {
332 return nil
333 }
334 out := new(TriggerPubsubStatus)
335 in.DeepCopyInto(out)
336 return out
337 }
338
339
340 func (in *TriggerTransport) DeepCopyInto(out *TriggerTransport) {
341 *out = *in
342 if in.Pubsub != nil {
343 in, out := &in.Pubsub, &out.Pubsub
344 *out = new(TriggerPubsub)
345 (*in).DeepCopyInto(*out)
346 }
347 return
348 }
349
350
351 func (in *TriggerTransport) DeepCopy() *TriggerTransport {
352 if in == nil {
353 return nil
354 }
355 out := new(TriggerTransport)
356 in.DeepCopyInto(out)
357 return out
358 }
359
360
361 func (in *TriggerTransportStatus) DeepCopyInto(out *TriggerTransportStatus) {
362 *out = *in
363 if in.Pubsub != nil {
364 in, out := &in.Pubsub, &out.Pubsub
365 *out = new(TriggerPubsubStatus)
366 (*in).DeepCopyInto(*out)
367 }
368 return
369 }
370
371
372 func (in *TriggerTransportStatus) DeepCopy() *TriggerTransportStatus {
373 if in == nil {
374 return nil
375 }
376 out := new(TriggerTransportStatus)
377 in.DeepCopyInto(out)
378 return out
379 }
380
View as plain text