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