1
2
3
4
19
20
21
22 package v1beta2
23
24 import (
25 runtime "k8s.io/apimachinery/pkg/runtime"
26 )
27
28
29 func (in *ExemptPriorityLevelConfiguration) DeepCopyInto(out *ExemptPriorityLevelConfiguration) {
30 *out = *in
31 if in.NominalConcurrencyShares != nil {
32 in, out := &in.NominalConcurrencyShares, &out.NominalConcurrencyShares
33 *out = new(int32)
34 **out = **in
35 }
36 if in.LendablePercent != nil {
37 in, out := &in.LendablePercent, &out.LendablePercent
38 *out = new(int32)
39 **out = **in
40 }
41 return
42 }
43
44
45 func (in *ExemptPriorityLevelConfiguration) DeepCopy() *ExemptPriorityLevelConfiguration {
46 if in == nil {
47 return nil
48 }
49 out := new(ExemptPriorityLevelConfiguration)
50 in.DeepCopyInto(out)
51 return out
52 }
53
54
55 func (in *FlowDistinguisherMethod) DeepCopyInto(out *FlowDistinguisherMethod) {
56 *out = *in
57 return
58 }
59
60
61 func (in *FlowDistinguisherMethod) DeepCopy() *FlowDistinguisherMethod {
62 if in == nil {
63 return nil
64 }
65 out := new(FlowDistinguisherMethod)
66 in.DeepCopyInto(out)
67 return out
68 }
69
70
71 func (in *FlowSchema) DeepCopyInto(out *FlowSchema) {
72 *out = *in
73 out.TypeMeta = in.TypeMeta
74 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
75 in.Spec.DeepCopyInto(&out.Spec)
76 in.Status.DeepCopyInto(&out.Status)
77 return
78 }
79
80
81 func (in *FlowSchema) DeepCopy() *FlowSchema {
82 if in == nil {
83 return nil
84 }
85 out := new(FlowSchema)
86 in.DeepCopyInto(out)
87 return out
88 }
89
90
91 func (in *FlowSchema) DeepCopyObject() runtime.Object {
92 if c := in.DeepCopy(); c != nil {
93 return c
94 }
95 return nil
96 }
97
98
99 func (in *FlowSchemaCondition) DeepCopyInto(out *FlowSchemaCondition) {
100 *out = *in
101 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
102 return
103 }
104
105
106 func (in *FlowSchemaCondition) DeepCopy() *FlowSchemaCondition {
107 if in == nil {
108 return nil
109 }
110 out := new(FlowSchemaCondition)
111 in.DeepCopyInto(out)
112 return out
113 }
114
115
116 func (in *FlowSchemaList) DeepCopyInto(out *FlowSchemaList) {
117 *out = *in
118 out.TypeMeta = in.TypeMeta
119 in.ListMeta.DeepCopyInto(&out.ListMeta)
120 if in.Items != nil {
121 in, out := &in.Items, &out.Items
122 *out = make([]FlowSchema, len(*in))
123 for i := range *in {
124 (*in)[i].DeepCopyInto(&(*out)[i])
125 }
126 }
127 return
128 }
129
130
131 func (in *FlowSchemaList) DeepCopy() *FlowSchemaList {
132 if in == nil {
133 return nil
134 }
135 out := new(FlowSchemaList)
136 in.DeepCopyInto(out)
137 return out
138 }
139
140
141 func (in *FlowSchemaList) DeepCopyObject() runtime.Object {
142 if c := in.DeepCopy(); c != nil {
143 return c
144 }
145 return nil
146 }
147
148
149 func (in *FlowSchemaSpec) DeepCopyInto(out *FlowSchemaSpec) {
150 *out = *in
151 out.PriorityLevelConfiguration = in.PriorityLevelConfiguration
152 if in.DistinguisherMethod != nil {
153 in, out := &in.DistinguisherMethod, &out.DistinguisherMethod
154 *out = new(FlowDistinguisherMethod)
155 **out = **in
156 }
157 if in.Rules != nil {
158 in, out := &in.Rules, &out.Rules
159 *out = make([]PolicyRulesWithSubjects, len(*in))
160 for i := range *in {
161 (*in)[i].DeepCopyInto(&(*out)[i])
162 }
163 }
164 return
165 }
166
167
168 func (in *FlowSchemaSpec) DeepCopy() *FlowSchemaSpec {
169 if in == nil {
170 return nil
171 }
172 out := new(FlowSchemaSpec)
173 in.DeepCopyInto(out)
174 return out
175 }
176
177
178 func (in *FlowSchemaStatus) DeepCopyInto(out *FlowSchemaStatus) {
179 *out = *in
180 if in.Conditions != nil {
181 in, out := &in.Conditions, &out.Conditions
182 *out = make([]FlowSchemaCondition, len(*in))
183 for i := range *in {
184 (*in)[i].DeepCopyInto(&(*out)[i])
185 }
186 }
187 return
188 }
189
190
191 func (in *FlowSchemaStatus) DeepCopy() *FlowSchemaStatus {
192 if in == nil {
193 return nil
194 }
195 out := new(FlowSchemaStatus)
196 in.DeepCopyInto(out)
197 return out
198 }
199
200
201 func (in *GroupSubject) DeepCopyInto(out *GroupSubject) {
202 *out = *in
203 return
204 }
205
206
207 func (in *GroupSubject) DeepCopy() *GroupSubject {
208 if in == nil {
209 return nil
210 }
211 out := new(GroupSubject)
212 in.DeepCopyInto(out)
213 return out
214 }
215
216
217 func (in *LimitResponse) DeepCopyInto(out *LimitResponse) {
218 *out = *in
219 if in.Queuing != nil {
220 in, out := &in.Queuing, &out.Queuing
221 *out = new(QueuingConfiguration)
222 **out = **in
223 }
224 return
225 }
226
227
228 func (in *LimitResponse) DeepCopy() *LimitResponse {
229 if in == nil {
230 return nil
231 }
232 out := new(LimitResponse)
233 in.DeepCopyInto(out)
234 return out
235 }
236
237
238 func (in *LimitedPriorityLevelConfiguration) DeepCopyInto(out *LimitedPriorityLevelConfiguration) {
239 *out = *in
240 in.LimitResponse.DeepCopyInto(&out.LimitResponse)
241 if in.LendablePercent != nil {
242 in, out := &in.LendablePercent, &out.LendablePercent
243 *out = new(int32)
244 **out = **in
245 }
246 if in.BorrowingLimitPercent != nil {
247 in, out := &in.BorrowingLimitPercent, &out.BorrowingLimitPercent
248 *out = new(int32)
249 **out = **in
250 }
251 return
252 }
253
254
255 func (in *LimitedPriorityLevelConfiguration) DeepCopy() *LimitedPriorityLevelConfiguration {
256 if in == nil {
257 return nil
258 }
259 out := new(LimitedPriorityLevelConfiguration)
260 in.DeepCopyInto(out)
261 return out
262 }
263
264
265 func (in *NonResourcePolicyRule) DeepCopyInto(out *NonResourcePolicyRule) {
266 *out = *in
267 if in.Verbs != nil {
268 in, out := &in.Verbs, &out.Verbs
269 *out = make([]string, len(*in))
270 copy(*out, *in)
271 }
272 if in.NonResourceURLs != nil {
273 in, out := &in.NonResourceURLs, &out.NonResourceURLs
274 *out = make([]string, len(*in))
275 copy(*out, *in)
276 }
277 return
278 }
279
280
281 func (in *NonResourcePolicyRule) DeepCopy() *NonResourcePolicyRule {
282 if in == nil {
283 return nil
284 }
285 out := new(NonResourcePolicyRule)
286 in.DeepCopyInto(out)
287 return out
288 }
289
290
291 func (in *PolicyRulesWithSubjects) DeepCopyInto(out *PolicyRulesWithSubjects) {
292 *out = *in
293 if in.Subjects != nil {
294 in, out := &in.Subjects, &out.Subjects
295 *out = make([]Subject, len(*in))
296 for i := range *in {
297 (*in)[i].DeepCopyInto(&(*out)[i])
298 }
299 }
300 if in.ResourceRules != nil {
301 in, out := &in.ResourceRules, &out.ResourceRules
302 *out = make([]ResourcePolicyRule, len(*in))
303 for i := range *in {
304 (*in)[i].DeepCopyInto(&(*out)[i])
305 }
306 }
307 if in.NonResourceRules != nil {
308 in, out := &in.NonResourceRules, &out.NonResourceRules
309 *out = make([]NonResourcePolicyRule, len(*in))
310 for i := range *in {
311 (*in)[i].DeepCopyInto(&(*out)[i])
312 }
313 }
314 return
315 }
316
317
318 func (in *PolicyRulesWithSubjects) DeepCopy() *PolicyRulesWithSubjects {
319 if in == nil {
320 return nil
321 }
322 out := new(PolicyRulesWithSubjects)
323 in.DeepCopyInto(out)
324 return out
325 }
326
327
328 func (in *PriorityLevelConfiguration) DeepCopyInto(out *PriorityLevelConfiguration) {
329 *out = *in
330 out.TypeMeta = in.TypeMeta
331 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
332 in.Spec.DeepCopyInto(&out.Spec)
333 in.Status.DeepCopyInto(&out.Status)
334 return
335 }
336
337
338 func (in *PriorityLevelConfiguration) DeepCopy() *PriorityLevelConfiguration {
339 if in == nil {
340 return nil
341 }
342 out := new(PriorityLevelConfiguration)
343 in.DeepCopyInto(out)
344 return out
345 }
346
347
348 func (in *PriorityLevelConfiguration) DeepCopyObject() runtime.Object {
349 if c := in.DeepCopy(); c != nil {
350 return c
351 }
352 return nil
353 }
354
355
356 func (in *PriorityLevelConfigurationCondition) DeepCopyInto(out *PriorityLevelConfigurationCondition) {
357 *out = *in
358 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
359 return
360 }
361
362
363 func (in *PriorityLevelConfigurationCondition) DeepCopy() *PriorityLevelConfigurationCondition {
364 if in == nil {
365 return nil
366 }
367 out := new(PriorityLevelConfigurationCondition)
368 in.DeepCopyInto(out)
369 return out
370 }
371
372
373 func (in *PriorityLevelConfigurationList) DeepCopyInto(out *PriorityLevelConfigurationList) {
374 *out = *in
375 out.TypeMeta = in.TypeMeta
376 in.ListMeta.DeepCopyInto(&out.ListMeta)
377 if in.Items != nil {
378 in, out := &in.Items, &out.Items
379 *out = make([]PriorityLevelConfiguration, len(*in))
380 for i := range *in {
381 (*in)[i].DeepCopyInto(&(*out)[i])
382 }
383 }
384 return
385 }
386
387
388 func (in *PriorityLevelConfigurationList) DeepCopy() *PriorityLevelConfigurationList {
389 if in == nil {
390 return nil
391 }
392 out := new(PriorityLevelConfigurationList)
393 in.DeepCopyInto(out)
394 return out
395 }
396
397
398 func (in *PriorityLevelConfigurationList) DeepCopyObject() runtime.Object {
399 if c := in.DeepCopy(); c != nil {
400 return c
401 }
402 return nil
403 }
404
405
406 func (in *PriorityLevelConfigurationReference) DeepCopyInto(out *PriorityLevelConfigurationReference) {
407 *out = *in
408 return
409 }
410
411
412 func (in *PriorityLevelConfigurationReference) DeepCopy() *PriorityLevelConfigurationReference {
413 if in == nil {
414 return nil
415 }
416 out := new(PriorityLevelConfigurationReference)
417 in.DeepCopyInto(out)
418 return out
419 }
420
421
422 func (in *PriorityLevelConfigurationSpec) DeepCopyInto(out *PriorityLevelConfigurationSpec) {
423 *out = *in
424 if in.Limited != nil {
425 in, out := &in.Limited, &out.Limited
426 *out = new(LimitedPriorityLevelConfiguration)
427 (*in).DeepCopyInto(*out)
428 }
429 if in.Exempt != nil {
430 in, out := &in.Exempt, &out.Exempt
431 *out = new(ExemptPriorityLevelConfiguration)
432 (*in).DeepCopyInto(*out)
433 }
434 return
435 }
436
437
438 func (in *PriorityLevelConfigurationSpec) DeepCopy() *PriorityLevelConfigurationSpec {
439 if in == nil {
440 return nil
441 }
442 out := new(PriorityLevelConfigurationSpec)
443 in.DeepCopyInto(out)
444 return out
445 }
446
447
448 func (in *PriorityLevelConfigurationStatus) DeepCopyInto(out *PriorityLevelConfigurationStatus) {
449 *out = *in
450 if in.Conditions != nil {
451 in, out := &in.Conditions, &out.Conditions
452 *out = make([]PriorityLevelConfigurationCondition, len(*in))
453 for i := range *in {
454 (*in)[i].DeepCopyInto(&(*out)[i])
455 }
456 }
457 return
458 }
459
460
461 func (in *PriorityLevelConfigurationStatus) DeepCopy() *PriorityLevelConfigurationStatus {
462 if in == nil {
463 return nil
464 }
465 out := new(PriorityLevelConfigurationStatus)
466 in.DeepCopyInto(out)
467 return out
468 }
469
470
471 func (in *QueuingConfiguration) DeepCopyInto(out *QueuingConfiguration) {
472 *out = *in
473 return
474 }
475
476
477 func (in *QueuingConfiguration) DeepCopy() *QueuingConfiguration {
478 if in == nil {
479 return nil
480 }
481 out := new(QueuingConfiguration)
482 in.DeepCopyInto(out)
483 return out
484 }
485
486
487 func (in *ResourcePolicyRule) DeepCopyInto(out *ResourcePolicyRule) {
488 *out = *in
489 if in.Verbs != nil {
490 in, out := &in.Verbs, &out.Verbs
491 *out = make([]string, len(*in))
492 copy(*out, *in)
493 }
494 if in.APIGroups != nil {
495 in, out := &in.APIGroups, &out.APIGroups
496 *out = make([]string, len(*in))
497 copy(*out, *in)
498 }
499 if in.Resources != nil {
500 in, out := &in.Resources, &out.Resources
501 *out = make([]string, len(*in))
502 copy(*out, *in)
503 }
504 if in.Namespaces != nil {
505 in, out := &in.Namespaces, &out.Namespaces
506 *out = make([]string, len(*in))
507 copy(*out, *in)
508 }
509 return
510 }
511
512
513 func (in *ResourcePolicyRule) DeepCopy() *ResourcePolicyRule {
514 if in == nil {
515 return nil
516 }
517 out := new(ResourcePolicyRule)
518 in.DeepCopyInto(out)
519 return out
520 }
521
522
523 func (in *ServiceAccountSubject) DeepCopyInto(out *ServiceAccountSubject) {
524 *out = *in
525 return
526 }
527
528
529 func (in *ServiceAccountSubject) DeepCopy() *ServiceAccountSubject {
530 if in == nil {
531 return nil
532 }
533 out := new(ServiceAccountSubject)
534 in.DeepCopyInto(out)
535 return out
536 }
537
538
539 func (in *Subject) DeepCopyInto(out *Subject) {
540 *out = *in
541 if in.User != nil {
542 in, out := &in.User, &out.User
543 *out = new(UserSubject)
544 **out = **in
545 }
546 if in.Group != nil {
547 in, out := &in.Group, &out.Group
548 *out = new(GroupSubject)
549 **out = **in
550 }
551 if in.ServiceAccount != nil {
552 in, out := &in.ServiceAccount, &out.ServiceAccount
553 *out = new(ServiceAccountSubject)
554 **out = **in
555 }
556 return
557 }
558
559
560 func (in *Subject) DeepCopy() *Subject {
561 if in == nil {
562 return nil
563 }
564 out := new(Subject)
565 in.DeepCopyInto(out)
566 return out
567 }
568
569
570 func (in *UserSubject) DeepCopyInto(out *UserSubject) {
571 *out = *in
572 return
573 }
574
575
576 func (in *UserSubject) DeepCopy() *UserSubject {
577 if in == nil {
578 return nil
579 }
580 out := new(UserSubject)
581 in.DeepCopyInto(out)
582 return out
583 }
584
View as plain text