1
2
3
4
19
20
21
22 package v1
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 if in.NominalConcurrencyShares != nil {
241 in, out := &in.NominalConcurrencyShares, &out.NominalConcurrencyShares
242 *out = new(int32)
243 **out = **in
244 }
245 in.LimitResponse.DeepCopyInto(&out.LimitResponse)
246 if in.LendablePercent != nil {
247 in, out := &in.LendablePercent, &out.LendablePercent
248 *out = new(int32)
249 **out = **in
250 }
251 if in.BorrowingLimitPercent != nil {
252 in, out := &in.BorrowingLimitPercent, &out.BorrowingLimitPercent
253 *out = new(int32)
254 **out = **in
255 }
256 return
257 }
258
259
260 func (in *LimitedPriorityLevelConfiguration) DeepCopy() *LimitedPriorityLevelConfiguration {
261 if in == nil {
262 return nil
263 }
264 out := new(LimitedPriorityLevelConfiguration)
265 in.DeepCopyInto(out)
266 return out
267 }
268
269
270 func (in *NonResourcePolicyRule) DeepCopyInto(out *NonResourcePolicyRule) {
271 *out = *in
272 if in.Verbs != nil {
273 in, out := &in.Verbs, &out.Verbs
274 *out = make([]string, len(*in))
275 copy(*out, *in)
276 }
277 if in.NonResourceURLs != nil {
278 in, out := &in.NonResourceURLs, &out.NonResourceURLs
279 *out = make([]string, len(*in))
280 copy(*out, *in)
281 }
282 return
283 }
284
285
286 func (in *NonResourcePolicyRule) DeepCopy() *NonResourcePolicyRule {
287 if in == nil {
288 return nil
289 }
290 out := new(NonResourcePolicyRule)
291 in.DeepCopyInto(out)
292 return out
293 }
294
295
296 func (in *PolicyRulesWithSubjects) DeepCopyInto(out *PolicyRulesWithSubjects) {
297 *out = *in
298 if in.Subjects != nil {
299 in, out := &in.Subjects, &out.Subjects
300 *out = make([]Subject, len(*in))
301 for i := range *in {
302 (*in)[i].DeepCopyInto(&(*out)[i])
303 }
304 }
305 if in.ResourceRules != nil {
306 in, out := &in.ResourceRules, &out.ResourceRules
307 *out = make([]ResourcePolicyRule, len(*in))
308 for i := range *in {
309 (*in)[i].DeepCopyInto(&(*out)[i])
310 }
311 }
312 if in.NonResourceRules != nil {
313 in, out := &in.NonResourceRules, &out.NonResourceRules
314 *out = make([]NonResourcePolicyRule, len(*in))
315 for i := range *in {
316 (*in)[i].DeepCopyInto(&(*out)[i])
317 }
318 }
319 return
320 }
321
322
323 func (in *PolicyRulesWithSubjects) DeepCopy() *PolicyRulesWithSubjects {
324 if in == nil {
325 return nil
326 }
327 out := new(PolicyRulesWithSubjects)
328 in.DeepCopyInto(out)
329 return out
330 }
331
332
333 func (in *PriorityLevelConfiguration) DeepCopyInto(out *PriorityLevelConfiguration) {
334 *out = *in
335 out.TypeMeta = in.TypeMeta
336 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
337 in.Spec.DeepCopyInto(&out.Spec)
338 in.Status.DeepCopyInto(&out.Status)
339 return
340 }
341
342
343 func (in *PriorityLevelConfiguration) DeepCopy() *PriorityLevelConfiguration {
344 if in == nil {
345 return nil
346 }
347 out := new(PriorityLevelConfiguration)
348 in.DeepCopyInto(out)
349 return out
350 }
351
352
353 func (in *PriorityLevelConfiguration) DeepCopyObject() runtime.Object {
354 if c := in.DeepCopy(); c != nil {
355 return c
356 }
357 return nil
358 }
359
360
361 func (in *PriorityLevelConfigurationCondition) DeepCopyInto(out *PriorityLevelConfigurationCondition) {
362 *out = *in
363 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
364 return
365 }
366
367
368 func (in *PriorityLevelConfigurationCondition) DeepCopy() *PriorityLevelConfigurationCondition {
369 if in == nil {
370 return nil
371 }
372 out := new(PriorityLevelConfigurationCondition)
373 in.DeepCopyInto(out)
374 return out
375 }
376
377
378 func (in *PriorityLevelConfigurationList) DeepCopyInto(out *PriorityLevelConfigurationList) {
379 *out = *in
380 out.TypeMeta = in.TypeMeta
381 in.ListMeta.DeepCopyInto(&out.ListMeta)
382 if in.Items != nil {
383 in, out := &in.Items, &out.Items
384 *out = make([]PriorityLevelConfiguration, len(*in))
385 for i := range *in {
386 (*in)[i].DeepCopyInto(&(*out)[i])
387 }
388 }
389 return
390 }
391
392
393 func (in *PriorityLevelConfigurationList) DeepCopy() *PriorityLevelConfigurationList {
394 if in == nil {
395 return nil
396 }
397 out := new(PriorityLevelConfigurationList)
398 in.DeepCopyInto(out)
399 return out
400 }
401
402
403 func (in *PriorityLevelConfigurationList) DeepCopyObject() runtime.Object {
404 if c := in.DeepCopy(); c != nil {
405 return c
406 }
407 return nil
408 }
409
410
411 func (in *PriorityLevelConfigurationReference) DeepCopyInto(out *PriorityLevelConfigurationReference) {
412 *out = *in
413 return
414 }
415
416
417 func (in *PriorityLevelConfigurationReference) DeepCopy() *PriorityLevelConfigurationReference {
418 if in == nil {
419 return nil
420 }
421 out := new(PriorityLevelConfigurationReference)
422 in.DeepCopyInto(out)
423 return out
424 }
425
426
427 func (in *PriorityLevelConfigurationSpec) DeepCopyInto(out *PriorityLevelConfigurationSpec) {
428 *out = *in
429 if in.Limited != nil {
430 in, out := &in.Limited, &out.Limited
431 *out = new(LimitedPriorityLevelConfiguration)
432 (*in).DeepCopyInto(*out)
433 }
434 if in.Exempt != nil {
435 in, out := &in.Exempt, &out.Exempt
436 *out = new(ExemptPriorityLevelConfiguration)
437 (*in).DeepCopyInto(*out)
438 }
439 return
440 }
441
442
443 func (in *PriorityLevelConfigurationSpec) DeepCopy() *PriorityLevelConfigurationSpec {
444 if in == nil {
445 return nil
446 }
447 out := new(PriorityLevelConfigurationSpec)
448 in.DeepCopyInto(out)
449 return out
450 }
451
452
453 func (in *PriorityLevelConfigurationStatus) DeepCopyInto(out *PriorityLevelConfigurationStatus) {
454 *out = *in
455 if in.Conditions != nil {
456 in, out := &in.Conditions, &out.Conditions
457 *out = make([]PriorityLevelConfigurationCondition, len(*in))
458 for i := range *in {
459 (*in)[i].DeepCopyInto(&(*out)[i])
460 }
461 }
462 return
463 }
464
465
466 func (in *PriorityLevelConfigurationStatus) DeepCopy() *PriorityLevelConfigurationStatus {
467 if in == nil {
468 return nil
469 }
470 out := new(PriorityLevelConfigurationStatus)
471 in.DeepCopyInto(out)
472 return out
473 }
474
475
476 func (in *QueuingConfiguration) DeepCopyInto(out *QueuingConfiguration) {
477 *out = *in
478 return
479 }
480
481
482 func (in *QueuingConfiguration) DeepCopy() *QueuingConfiguration {
483 if in == nil {
484 return nil
485 }
486 out := new(QueuingConfiguration)
487 in.DeepCopyInto(out)
488 return out
489 }
490
491
492 func (in *ResourcePolicyRule) DeepCopyInto(out *ResourcePolicyRule) {
493 *out = *in
494 if in.Verbs != nil {
495 in, out := &in.Verbs, &out.Verbs
496 *out = make([]string, len(*in))
497 copy(*out, *in)
498 }
499 if in.APIGroups != nil {
500 in, out := &in.APIGroups, &out.APIGroups
501 *out = make([]string, len(*in))
502 copy(*out, *in)
503 }
504 if in.Resources != nil {
505 in, out := &in.Resources, &out.Resources
506 *out = make([]string, len(*in))
507 copy(*out, *in)
508 }
509 if in.Namespaces != nil {
510 in, out := &in.Namespaces, &out.Namespaces
511 *out = make([]string, len(*in))
512 copy(*out, *in)
513 }
514 return
515 }
516
517
518 func (in *ResourcePolicyRule) DeepCopy() *ResourcePolicyRule {
519 if in == nil {
520 return nil
521 }
522 out := new(ResourcePolicyRule)
523 in.DeepCopyInto(out)
524 return out
525 }
526
527
528 func (in *ServiceAccountSubject) DeepCopyInto(out *ServiceAccountSubject) {
529 *out = *in
530 return
531 }
532
533
534 func (in *ServiceAccountSubject) DeepCopy() *ServiceAccountSubject {
535 if in == nil {
536 return nil
537 }
538 out := new(ServiceAccountSubject)
539 in.DeepCopyInto(out)
540 return out
541 }
542
543
544 func (in *Subject) DeepCopyInto(out *Subject) {
545 *out = *in
546 if in.User != nil {
547 in, out := &in.User, &out.User
548 *out = new(UserSubject)
549 **out = **in
550 }
551 if in.Group != nil {
552 in, out := &in.Group, &out.Group
553 *out = new(GroupSubject)
554 **out = **in
555 }
556 if in.ServiceAccount != nil {
557 in, out := &in.ServiceAccount, &out.ServiceAccount
558 *out = new(ServiceAccountSubject)
559 **out = **in
560 }
561 return
562 }
563
564
565 func (in *Subject) DeepCopy() *Subject {
566 if in == nil {
567 return nil
568 }
569 out := new(Subject)
570 in.DeepCopyInto(out)
571 return out
572 }
573
574
575 func (in *UserSubject) DeepCopyInto(out *UserSubject) {
576 *out = *in
577 return
578 }
579
580
581 func (in *UserSubject) DeepCopy() *UserSubject {
582 if in == nil {
583 return nil
584 }
585 out := new(UserSubject)
586 in.DeepCopyInto(out)
587 return out
588 }
589
View as plain text