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 *AccessContextManagerAccessLevel) DeepCopyInto(out *AccessContextManagerAccessLevel) {
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 *AccessContextManagerAccessLevel) DeepCopy() *AccessContextManagerAccessLevel {
44 if in == nil {
45 return nil
46 }
47 out := new(AccessContextManagerAccessLevel)
48 in.DeepCopyInto(out)
49 return out
50 }
51
52
53 func (in *AccessContextManagerAccessLevel) DeepCopyObject() runtime.Object {
54 if c := in.DeepCopy(); c != nil {
55 return c
56 }
57 return nil
58 }
59
60
61 func (in *AccessContextManagerAccessLevelList) DeepCopyInto(out *AccessContextManagerAccessLevelList) {
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([]AccessContextManagerAccessLevel, len(*in))
68 for i := range *in {
69 (*in)[i].DeepCopyInto(&(*out)[i])
70 }
71 }
72 return
73 }
74
75
76 func (in *AccessContextManagerAccessLevelList) DeepCopy() *AccessContextManagerAccessLevelList {
77 if in == nil {
78 return nil
79 }
80 out := new(AccessContextManagerAccessLevelList)
81 in.DeepCopyInto(out)
82 return out
83 }
84
85
86 func (in *AccessContextManagerAccessLevelList) DeepCopyObject() runtime.Object {
87 if c := in.DeepCopy(); c != nil {
88 return c
89 }
90 return nil
91 }
92
93
94 func (in *AccessContextManagerAccessLevelSpec) DeepCopyInto(out *AccessContextManagerAccessLevelSpec) {
95 *out = *in
96 out.AccessPolicyRef = in.AccessPolicyRef
97 if in.Basic != nil {
98 in, out := &in.Basic, &out.Basic
99 *out = new(AccesslevelBasic)
100 (*in).DeepCopyInto(*out)
101 }
102 if in.Custom != nil {
103 in, out := &in.Custom, &out.Custom
104 *out = new(AccesslevelCustom)
105 (*in).DeepCopyInto(*out)
106 }
107 if in.Description != nil {
108 in, out := &in.Description, &out.Description
109 *out = new(string)
110 **out = **in
111 }
112 if in.ResourceID != nil {
113 in, out := &in.ResourceID, &out.ResourceID
114 *out = new(string)
115 **out = **in
116 }
117 return
118 }
119
120
121 func (in *AccessContextManagerAccessLevelSpec) DeepCopy() *AccessContextManagerAccessLevelSpec {
122 if in == nil {
123 return nil
124 }
125 out := new(AccessContextManagerAccessLevelSpec)
126 in.DeepCopyInto(out)
127 return out
128 }
129
130
131 func (in *AccessContextManagerAccessLevelStatus) DeepCopyInto(out *AccessContextManagerAccessLevelStatus) {
132 *out = *in
133 if in.Conditions != nil {
134 in, out := &in.Conditions, &out.Conditions
135 *out = make([]v1alpha1.Condition, len(*in))
136 copy(*out, *in)
137 }
138 if in.ObservedGeneration != nil {
139 in, out := &in.ObservedGeneration, &out.ObservedGeneration
140 *out = new(int)
141 **out = **in
142 }
143 return
144 }
145
146
147 func (in *AccessContextManagerAccessLevelStatus) DeepCopy() *AccessContextManagerAccessLevelStatus {
148 if in == nil {
149 return nil
150 }
151 out := new(AccessContextManagerAccessLevelStatus)
152 in.DeepCopyInto(out)
153 return out
154 }
155
156
157 func (in *AccessContextManagerAccessPolicy) DeepCopyInto(out *AccessContextManagerAccessPolicy) {
158 *out = *in
159 out.TypeMeta = in.TypeMeta
160 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
161 in.Spec.DeepCopyInto(&out.Spec)
162 in.Status.DeepCopyInto(&out.Status)
163 return
164 }
165
166
167 func (in *AccessContextManagerAccessPolicy) DeepCopy() *AccessContextManagerAccessPolicy {
168 if in == nil {
169 return nil
170 }
171 out := new(AccessContextManagerAccessPolicy)
172 in.DeepCopyInto(out)
173 return out
174 }
175
176
177 func (in *AccessContextManagerAccessPolicy) DeepCopyObject() runtime.Object {
178 if c := in.DeepCopy(); c != nil {
179 return c
180 }
181 return nil
182 }
183
184
185 func (in *AccessContextManagerAccessPolicyList) DeepCopyInto(out *AccessContextManagerAccessPolicyList) {
186 *out = *in
187 out.TypeMeta = in.TypeMeta
188 in.ListMeta.DeepCopyInto(&out.ListMeta)
189 if in.Items != nil {
190 in, out := &in.Items, &out.Items
191 *out = make([]AccessContextManagerAccessPolicy, len(*in))
192 for i := range *in {
193 (*in)[i].DeepCopyInto(&(*out)[i])
194 }
195 }
196 return
197 }
198
199
200 func (in *AccessContextManagerAccessPolicyList) DeepCopy() *AccessContextManagerAccessPolicyList {
201 if in == nil {
202 return nil
203 }
204 out := new(AccessContextManagerAccessPolicyList)
205 in.DeepCopyInto(out)
206 return out
207 }
208
209
210 func (in *AccessContextManagerAccessPolicyList) DeepCopyObject() runtime.Object {
211 if c := in.DeepCopy(); c != nil {
212 return c
213 }
214 return nil
215 }
216
217
218 func (in *AccessContextManagerAccessPolicySpec) DeepCopyInto(out *AccessContextManagerAccessPolicySpec) {
219 *out = *in
220 if in.ResourceID != nil {
221 in, out := &in.ResourceID, &out.ResourceID
222 *out = new(string)
223 **out = **in
224 }
225 return
226 }
227
228
229 func (in *AccessContextManagerAccessPolicySpec) DeepCopy() *AccessContextManagerAccessPolicySpec {
230 if in == nil {
231 return nil
232 }
233 out := new(AccessContextManagerAccessPolicySpec)
234 in.DeepCopyInto(out)
235 return out
236 }
237
238
239 func (in *AccessContextManagerAccessPolicyStatus) DeepCopyInto(out *AccessContextManagerAccessPolicyStatus) {
240 *out = *in
241 if in.Conditions != nil {
242 in, out := &in.Conditions, &out.Conditions
243 *out = make([]v1alpha1.Condition, len(*in))
244 copy(*out, *in)
245 }
246 if in.CreateTime != nil {
247 in, out := &in.CreateTime, &out.CreateTime
248 *out = new(string)
249 **out = **in
250 }
251 if in.Name != nil {
252 in, out := &in.Name, &out.Name
253 *out = new(string)
254 **out = **in
255 }
256 if in.ObservedGeneration != nil {
257 in, out := &in.ObservedGeneration, &out.ObservedGeneration
258 *out = new(int)
259 **out = **in
260 }
261 if in.UpdateTime != nil {
262 in, out := &in.UpdateTime, &out.UpdateTime
263 *out = new(string)
264 **out = **in
265 }
266 return
267 }
268
269
270 func (in *AccessContextManagerAccessPolicyStatus) DeepCopy() *AccessContextManagerAccessPolicyStatus {
271 if in == nil {
272 return nil
273 }
274 out := new(AccessContextManagerAccessPolicyStatus)
275 in.DeepCopyInto(out)
276 return out
277 }
278
279
280 func (in *AccessContextManagerServicePerimeter) DeepCopyInto(out *AccessContextManagerServicePerimeter) {
281 *out = *in
282 out.TypeMeta = in.TypeMeta
283 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
284 in.Spec.DeepCopyInto(&out.Spec)
285 in.Status.DeepCopyInto(&out.Status)
286 return
287 }
288
289
290 func (in *AccessContextManagerServicePerimeter) DeepCopy() *AccessContextManagerServicePerimeter {
291 if in == nil {
292 return nil
293 }
294 out := new(AccessContextManagerServicePerimeter)
295 in.DeepCopyInto(out)
296 return out
297 }
298
299
300 func (in *AccessContextManagerServicePerimeter) DeepCopyObject() runtime.Object {
301 if c := in.DeepCopy(); c != nil {
302 return c
303 }
304 return nil
305 }
306
307
308 func (in *AccessContextManagerServicePerimeterList) DeepCopyInto(out *AccessContextManagerServicePerimeterList) {
309 *out = *in
310 out.TypeMeta = in.TypeMeta
311 in.ListMeta.DeepCopyInto(&out.ListMeta)
312 if in.Items != nil {
313 in, out := &in.Items, &out.Items
314 *out = make([]AccessContextManagerServicePerimeter, len(*in))
315 for i := range *in {
316 (*in)[i].DeepCopyInto(&(*out)[i])
317 }
318 }
319 return
320 }
321
322
323 func (in *AccessContextManagerServicePerimeterList) DeepCopy() *AccessContextManagerServicePerimeterList {
324 if in == nil {
325 return nil
326 }
327 out := new(AccessContextManagerServicePerimeterList)
328 in.DeepCopyInto(out)
329 return out
330 }
331
332
333 func (in *AccessContextManagerServicePerimeterList) DeepCopyObject() runtime.Object {
334 if c := in.DeepCopy(); c != nil {
335 return c
336 }
337 return nil
338 }
339
340
341 func (in *AccessContextManagerServicePerimeterSpec) DeepCopyInto(out *AccessContextManagerServicePerimeterSpec) {
342 *out = *in
343 out.AccessPolicyRef = in.AccessPolicyRef
344 if in.Description != nil {
345 in, out := &in.Description, &out.Description
346 *out = new(string)
347 **out = **in
348 }
349 if in.PerimeterType != nil {
350 in, out := &in.PerimeterType, &out.PerimeterType
351 *out = new(string)
352 **out = **in
353 }
354 if in.ResourceID != nil {
355 in, out := &in.ResourceID, &out.ResourceID
356 *out = new(string)
357 **out = **in
358 }
359 if in.Spec != nil {
360 in, out := &in.Spec, &out.Spec
361 *out = new(ServiceperimeterSpec)
362 (*in).DeepCopyInto(*out)
363 }
364 if in.Status != nil {
365 in, out := &in.Status, &out.Status
366 *out = new(ServiceperimeterStatus)
367 (*in).DeepCopyInto(*out)
368 }
369 if in.UseExplicitDryRunSpec != nil {
370 in, out := &in.UseExplicitDryRunSpec, &out.UseExplicitDryRunSpec
371 *out = new(bool)
372 **out = **in
373 }
374 return
375 }
376
377
378 func (in *AccessContextManagerServicePerimeterSpec) DeepCopy() *AccessContextManagerServicePerimeterSpec {
379 if in == nil {
380 return nil
381 }
382 out := new(AccessContextManagerServicePerimeterSpec)
383 in.DeepCopyInto(out)
384 return out
385 }
386
387
388 func (in *AccessContextManagerServicePerimeterStatus) DeepCopyInto(out *AccessContextManagerServicePerimeterStatus) {
389 *out = *in
390 if in.Conditions != nil {
391 in, out := &in.Conditions, &out.Conditions
392 *out = make([]v1alpha1.Condition, len(*in))
393 copy(*out, *in)
394 }
395 if in.CreateTime != nil {
396 in, out := &in.CreateTime, &out.CreateTime
397 *out = new(string)
398 **out = **in
399 }
400 if in.ObservedGeneration != nil {
401 in, out := &in.ObservedGeneration, &out.ObservedGeneration
402 *out = new(int)
403 **out = **in
404 }
405 if in.UpdateTime != nil {
406 in, out := &in.UpdateTime, &out.UpdateTime
407 *out = new(string)
408 **out = **in
409 }
410 return
411 }
412
413
414 func (in *AccessContextManagerServicePerimeterStatus) DeepCopy() *AccessContextManagerServicePerimeterStatus {
415 if in == nil {
416 return nil
417 }
418 out := new(AccessContextManagerServicePerimeterStatus)
419 in.DeepCopyInto(out)
420 return out
421 }
422
423
424 func (in *AccesslevelBasic) DeepCopyInto(out *AccesslevelBasic) {
425 *out = *in
426 if in.CombiningFunction != nil {
427 in, out := &in.CombiningFunction, &out.CombiningFunction
428 *out = new(string)
429 **out = **in
430 }
431 if in.Conditions != nil {
432 in, out := &in.Conditions, &out.Conditions
433 *out = make([]AccesslevelConditions, len(*in))
434 for i := range *in {
435 (*in)[i].DeepCopyInto(&(*out)[i])
436 }
437 }
438 return
439 }
440
441
442 func (in *AccesslevelBasic) DeepCopy() *AccesslevelBasic {
443 if in == nil {
444 return nil
445 }
446 out := new(AccesslevelBasic)
447 in.DeepCopyInto(out)
448 return out
449 }
450
451
452 func (in *AccesslevelConditions) DeepCopyInto(out *AccesslevelConditions) {
453 *out = *in
454 if in.DevicePolicy != nil {
455 in, out := &in.DevicePolicy, &out.DevicePolicy
456 *out = new(AccesslevelDevicePolicy)
457 (*in).DeepCopyInto(*out)
458 }
459 if in.IpSubnetworks != nil {
460 in, out := &in.IpSubnetworks, &out.IpSubnetworks
461 *out = make([]string, len(*in))
462 copy(*out, *in)
463 }
464 if in.Members != nil {
465 in, out := &in.Members, &out.Members
466 *out = make([]AccesslevelMembers, len(*in))
467 for i := range *in {
468 (*in)[i].DeepCopyInto(&(*out)[i])
469 }
470 }
471 if in.Negate != nil {
472 in, out := &in.Negate, &out.Negate
473 *out = new(bool)
474 **out = **in
475 }
476 if in.Regions != nil {
477 in, out := &in.Regions, &out.Regions
478 *out = make([]string, len(*in))
479 copy(*out, *in)
480 }
481 if in.RequiredAccessLevels != nil {
482 in, out := &in.RequiredAccessLevels, &out.RequiredAccessLevels
483 *out = make([]v1alpha1.ResourceRef, len(*in))
484 copy(*out, *in)
485 }
486 return
487 }
488
489
490 func (in *AccesslevelConditions) DeepCopy() *AccesslevelConditions {
491 if in == nil {
492 return nil
493 }
494 out := new(AccesslevelConditions)
495 in.DeepCopyInto(out)
496 return out
497 }
498
499
500 func (in *AccesslevelCustom) DeepCopyInto(out *AccesslevelCustom) {
501 *out = *in
502 in.Expr.DeepCopyInto(&out.Expr)
503 return
504 }
505
506
507 func (in *AccesslevelCustom) DeepCopy() *AccesslevelCustom {
508 if in == nil {
509 return nil
510 }
511 out := new(AccesslevelCustom)
512 in.DeepCopyInto(out)
513 return out
514 }
515
516
517 func (in *AccesslevelDevicePolicy) DeepCopyInto(out *AccesslevelDevicePolicy) {
518 *out = *in
519 if in.AllowedDeviceManagementLevels != nil {
520 in, out := &in.AllowedDeviceManagementLevels, &out.AllowedDeviceManagementLevels
521 *out = make([]string, len(*in))
522 copy(*out, *in)
523 }
524 if in.AllowedEncryptionStatuses != nil {
525 in, out := &in.AllowedEncryptionStatuses, &out.AllowedEncryptionStatuses
526 *out = make([]string, len(*in))
527 copy(*out, *in)
528 }
529 if in.OsConstraints != nil {
530 in, out := &in.OsConstraints, &out.OsConstraints
531 *out = make([]AccesslevelOsConstraints, len(*in))
532 for i := range *in {
533 (*in)[i].DeepCopyInto(&(*out)[i])
534 }
535 }
536 if in.RequireAdminApproval != nil {
537 in, out := &in.RequireAdminApproval, &out.RequireAdminApproval
538 *out = new(bool)
539 **out = **in
540 }
541 if in.RequireCorpOwned != nil {
542 in, out := &in.RequireCorpOwned, &out.RequireCorpOwned
543 *out = new(bool)
544 **out = **in
545 }
546 if in.RequireScreenLock != nil {
547 in, out := &in.RequireScreenLock, &out.RequireScreenLock
548 *out = new(bool)
549 **out = **in
550 }
551 return
552 }
553
554
555 func (in *AccesslevelDevicePolicy) DeepCopy() *AccesslevelDevicePolicy {
556 if in == nil {
557 return nil
558 }
559 out := new(AccesslevelDevicePolicy)
560 in.DeepCopyInto(out)
561 return out
562 }
563
564
565 func (in *AccesslevelExpr) DeepCopyInto(out *AccesslevelExpr) {
566 *out = *in
567 if in.Description != nil {
568 in, out := &in.Description, &out.Description
569 *out = new(string)
570 **out = **in
571 }
572 if in.Location != nil {
573 in, out := &in.Location, &out.Location
574 *out = new(string)
575 **out = **in
576 }
577 if in.Title != nil {
578 in, out := &in.Title, &out.Title
579 *out = new(string)
580 **out = **in
581 }
582 return
583 }
584
585
586 func (in *AccesslevelExpr) DeepCopy() *AccesslevelExpr {
587 if in == nil {
588 return nil
589 }
590 out := new(AccesslevelExpr)
591 in.DeepCopyInto(out)
592 return out
593 }
594
595
596 func (in *AccesslevelMembers) DeepCopyInto(out *AccesslevelMembers) {
597 *out = *in
598 if in.ServiceAccountRef != nil {
599 in, out := &in.ServiceAccountRef, &out.ServiceAccountRef
600 *out = new(v1alpha1.ResourceRef)
601 **out = **in
602 }
603 if in.User != nil {
604 in, out := &in.User, &out.User
605 *out = new(string)
606 **out = **in
607 }
608 return
609 }
610
611
612 func (in *AccesslevelMembers) DeepCopy() *AccesslevelMembers {
613 if in == nil {
614 return nil
615 }
616 out := new(AccesslevelMembers)
617 in.DeepCopyInto(out)
618 return out
619 }
620
621
622 func (in *AccesslevelOsConstraints) DeepCopyInto(out *AccesslevelOsConstraints) {
623 *out = *in
624 if in.MinimumVersion != nil {
625 in, out := &in.MinimumVersion, &out.MinimumVersion
626 *out = new(string)
627 **out = **in
628 }
629 if in.RequireVerifiedChromeOs != nil {
630 in, out := &in.RequireVerifiedChromeOs, &out.RequireVerifiedChromeOs
631 *out = new(bool)
632 **out = **in
633 }
634 return
635 }
636
637
638 func (in *AccesslevelOsConstraints) DeepCopy() *AccesslevelOsConstraints {
639 if in == nil {
640 return nil
641 }
642 out := new(AccesslevelOsConstraints)
643 in.DeepCopyInto(out)
644 return out
645 }
646
647
648 func (in *ServiceperimeterEgressFrom) DeepCopyInto(out *ServiceperimeterEgressFrom) {
649 *out = *in
650 if in.Identities != nil {
651 in, out := &in.Identities, &out.Identities
652 *out = make([]ServiceperimeterIdentities, len(*in))
653 for i := range *in {
654 (*in)[i].DeepCopyInto(&(*out)[i])
655 }
656 }
657 if in.IdentityType != nil {
658 in, out := &in.IdentityType, &out.IdentityType
659 *out = new(string)
660 **out = **in
661 }
662 return
663 }
664
665
666 func (in *ServiceperimeterEgressFrom) DeepCopy() *ServiceperimeterEgressFrom {
667 if in == nil {
668 return nil
669 }
670 out := new(ServiceperimeterEgressFrom)
671 in.DeepCopyInto(out)
672 return out
673 }
674
675
676 func (in *ServiceperimeterEgressPolicies) DeepCopyInto(out *ServiceperimeterEgressPolicies) {
677 *out = *in
678 if in.EgressFrom != nil {
679 in, out := &in.EgressFrom, &out.EgressFrom
680 *out = new(ServiceperimeterEgressFrom)
681 (*in).DeepCopyInto(*out)
682 }
683 if in.EgressTo != nil {
684 in, out := &in.EgressTo, &out.EgressTo
685 *out = new(ServiceperimeterEgressTo)
686 (*in).DeepCopyInto(*out)
687 }
688 return
689 }
690
691
692 func (in *ServiceperimeterEgressPolicies) DeepCopy() *ServiceperimeterEgressPolicies {
693 if in == nil {
694 return nil
695 }
696 out := new(ServiceperimeterEgressPolicies)
697 in.DeepCopyInto(out)
698 return out
699 }
700
701
702 func (in *ServiceperimeterEgressTo) DeepCopyInto(out *ServiceperimeterEgressTo) {
703 *out = *in
704 if in.ExternalResources != nil {
705 in, out := &in.ExternalResources, &out.ExternalResources
706 *out = make([]string, len(*in))
707 copy(*out, *in)
708 }
709 if in.Operations != nil {
710 in, out := &in.Operations, &out.Operations
711 *out = make([]ServiceperimeterOperations, len(*in))
712 for i := range *in {
713 (*in)[i].DeepCopyInto(&(*out)[i])
714 }
715 }
716 if in.Resources != nil {
717 in, out := &in.Resources, &out.Resources
718 *out = make([]ServiceperimeterResources, len(*in))
719 for i := range *in {
720 (*in)[i].DeepCopyInto(&(*out)[i])
721 }
722 }
723 return
724 }
725
726
727 func (in *ServiceperimeterEgressTo) DeepCopy() *ServiceperimeterEgressTo {
728 if in == nil {
729 return nil
730 }
731 out := new(ServiceperimeterEgressTo)
732 in.DeepCopyInto(out)
733 return out
734 }
735
736
737 func (in *ServiceperimeterIdentities) DeepCopyInto(out *ServiceperimeterIdentities) {
738 *out = *in
739 if in.ServiceAccountRef != nil {
740 in, out := &in.ServiceAccountRef, &out.ServiceAccountRef
741 *out = new(v1alpha1.ResourceRef)
742 **out = **in
743 }
744 if in.User != nil {
745 in, out := &in.User, &out.User
746 *out = new(string)
747 **out = **in
748 }
749 return
750 }
751
752
753 func (in *ServiceperimeterIdentities) DeepCopy() *ServiceperimeterIdentities {
754 if in == nil {
755 return nil
756 }
757 out := new(ServiceperimeterIdentities)
758 in.DeepCopyInto(out)
759 return out
760 }
761
762
763 func (in *ServiceperimeterIngressFrom) DeepCopyInto(out *ServiceperimeterIngressFrom) {
764 *out = *in
765 if in.Identities != nil {
766 in, out := &in.Identities, &out.Identities
767 *out = make([]ServiceperimeterIdentities, len(*in))
768 for i := range *in {
769 (*in)[i].DeepCopyInto(&(*out)[i])
770 }
771 }
772 if in.IdentityType != nil {
773 in, out := &in.IdentityType, &out.IdentityType
774 *out = new(string)
775 **out = **in
776 }
777 if in.Sources != nil {
778 in, out := &in.Sources, &out.Sources
779 *out = make([]ServiceperimeterSources, len(*in))
780 for i := range *in {
781 (*in)[i].DeepCopyInto(&(*out)[i])
782 }
783 }
784 return
785 }
786
787
788 func (in *ServiceperimeterIngressFrom) DeepCopy() *ServiceperimeterIngressFrom {
789 if in == nil {
790 return nil
791 }
792 out := new(ServiceperimeterIngressFrom)
793 in.DeepCopyInto(out)
794 return out
795 }
796
797
798 func (in *ServiceperimeterIngressPolicies) DeepCopyInto(out *ServiceperimeterIngressPolicies) {
799 *out = *in
800 if in.IngressFrom != nil {
801 in, out := &in.IngressFrom, &out.IngressFrom
802 *out = new(ServiceperimeterIngressFrom)
803 (*in).DeepCopyInto(*out)
804 }
805 if in.IngressTo != nil {
806 in, out := &in.IngressTo, &out.IngressTo
807 *out = new(ServiceperimeterIngressTo)
808 (*in).DeepCopyInto(*out)
809 }
810 return
811 }
812
813
814 func (in *ServiceperimeterIngressPolicies) DeepCopy() *ServiceperimeterIngressPolicies {
815 if in == nil {
816 return nil
817 }
818 out := new(ServiceperimeterIngressPolicies)
819 in.DeepCopyInto(out)
820 return out
821 }
822
823
824 func (in *ServiceperimeterIngressTo) DeepCopyInto(out *ServiceperimeterIngressTo) {
825 *out = *in
826 if in.Operations != nil {
827 in, out := &in.Operations, &out.Operations
828 *out = make([]ServiceperimeterOperations, len(*in))
829 for i := range *in {
830 (*in)[i].DeepCopyInto(&(*out)[i])
831 }
832 }
833 if in.Resources != nil {
834 in, out := &in.Resources, &out.Resources
835 *out = make([]ServiceperimeterResources, len(*in))
836 for i := range *in {
837 (*in)[i].DeepCopyInto(&(*out)[i])
838 }
839 }
840 return
841 }
842
843
844 func (in *ServiceperimeterIngressTo) DeepCopy() *ServiceperimeterIngressTo {
845 if in == nil {
846 return nil
847 }
848 out := new(ServiceperimeterIngressTo)
849 in.DeepCopyInto(out)
850 return out
851 }
852
853
854 func (in *ServiceperimeterMethodSelectors) DeepCopyInto(out *ServiceperimeterMethodSelectors) {
855 *out = *in
856 if in.Method != nil {
857 in, out := &in.Method, &out.Method
858 *out = new(string)
859 **out = **in
860 }
861 if in.Permission != nil {
862 in, out := &in.Permission, &out.Permission
863 *out = new(string)
864 **out = **in
865 }
866 return
867 }
868
869
870 func (in *ServiceperimeterMethodSelectors) DeepCopy() *ServiceperimeterMethodSelectors {
871 if in == nil {
872 return nil
873 }
874 out := new(ServiceperimeterMethodSelectors)
875 in.DeepCopyInto(out)
876 return out
877 }
878
879
880 func (in *ServiceperimeterOperations) DeepCopyInto(out *ServiceperimeterOperations) {
881 *out = *in
882 if in.MethodSelectors != nil {
883 in, out := &in.MethodSelectors, &out.MethodSelectors
884 *out = make([]ServiceperimeterMethodSelectors, len(*in))
885 for i := range *in {
886 (*in)[i].DeepCopyInto(&(*out)[i])
887 }
888 }
889 if in.ServiceName != nil {
890 in, out := &in.ServiceName, &out.ServiceName
891 *out = new(string)
892 **out = **in
893 }
894 return
895 }
896
897
898 func (in *ServiceperimeterOperations) DeepCopy() *ServiceperimeterOperations {
899 if in == nil {
900 return nil
901 }
902 out := new(ServiceperimeterOperations)
903 in.DeepCopyInto(out)
904 return out
905 }
906
907
908 func (in *ServiceperimeterResources) DeepCopyInto(out *ServiceperimeterResources) {
909 *out = *in
910 if in.ProjectRef != nil {
911 in, out := &in.ProjectRef, &out.ProjectRef
912 *out = new(v1alpha1.ResourceRef)
913 **out = **in
914 }
915 return
916 }
917
918
919 func (in *ServiceperimeterResources) DeepCopy() *ServiceperimeterResources {
920 if in == nil {
921 return nil
922 }
923 out := new(ServiceperimeterResources)
924 in.DeepCopyInto(out)
925 return out
926 }
927
928
929 func (in *ServiceperimeterSources) DeepCopyInto(out *ServiceperimeterSources) {
930 *out = *in
931 if in.AccessLevelRef != nil {
932 in, out := &in.AccessLevelRef, &out.AccessLevelRef
933 *out = new(v1alpha1.ResourceRef)
934 **out = **in
935 }
936 if in.ProjectRef != nil {
937 in, out := &in.ProjectRef, &out.ProjectRef
938 *out = new(v1alpha1.ResourceRef)
939 **out = **in
940 }
941 return
942 }
943
944
945 func (in *ServiceperimeterSources) DeepCopy() *ServiceperimeterSources {
946 if in == nil {
947 return nil
948 }
949 out := new(ServiceperimeterSources)
950 in.DeepCopyInto(out)
951 return out
952 }
953
954
955 func (in *ServiceperimeterSpec) DeepCopyInto(out *ServiceperimeterSpec) {
956 *out = *in
957 if in.AccessLevels != nil {
958 in, out := &in.AccessLevels, &out.AccessLevels
959 *out = make([]v1alpha1.ResourceRef, len(*in))
960 copy(*out, *in)
961 }
962 if in.EgressPolicies != nil {
963 in, out := &in.EgressPolicies, &out.EgressPolicies
964 *out = make([]ServiceperimeterEgressPolicies, len(*in))
965 for i := range *in {
966 (*in)[i].DeepCopyInto(&(*out)[i])
967 }
968 }
969 if in.IngressPolicies != nil {
970 in, out := &in.IngressPolicies, &out.IngressPolicies
971 *out = make([]ServiceperimeterIngressPolicies, len(*in))
972 for i := range *in {
973 (*in)[i].DeepCopyInto(&(*out)[i])
974 }
975 }
976 if in.Resources != nil {
977 in, out := &in.Resources, &out.Resources
978 *out = make([]ServiceperimeterResources, len(*in))
979 for i := range *in {
980 (*in)[i].DeepCopyInto(&(*out)[i])
981 }
982 }
983 if in.RestrictedServices != nil {
984 in, out := &in.RestrictedServices, &out.RestrictedServices
985 *out = make([]string, len(*in))
986 copy(*out, *in)
987 }
988 if in.VpcAccessibleServices != nil {
989 in, out := &in.VpcAccessibleServices, &out.VpcAccessibleServices
990 *out = new(ServiceperimeterVpcAccessibleServices)
991 (*in).DeepCopyInto(*out)
992 }
993 return
994 }
995
996
997 func (in *ServiceperimeterSpec) DeepCopy() *ServiceperimeterSpec {
998 if in == nil {
999 return nil
1000 }
1001 out := new(ServiceperimeterSpec)
1002 in.DeepCopyInto(out)
1003 return out
1004 }
1005
1006
1007 func (in *ServiceperimeterStatus) DeepCopyInto(out *ServiceperimeterStatus) {
1008 *out = *in
1009 if in.AccessLevels != nil {
1010 in, out := &in.AccessLevels, &out.AccessLevels
1011 *out = make([]v1alpha1.ResourceRef, len(*in))
1012 copy(*out, *in)
1013 }
1014 if in.EgressPolicies != nil {
1015 in, out := &in.EgressPolicies, &out.EgressPolicies
1016 *out = make([]ServiceperimeterEgressPolicies, len(*in))
1017 for i := range *in {
1018 (*in)[i].DeepCopyInto(&(*out)[i])
1019 }
1020 }
1021 if in.IngressPolicies != nil {
1022 in, out := &in.IngressPolicies, &out.IngressPolicies
1023 *out = make([]ServiceperimeterIngressPolicies, len(*in))
1024 for i := range *in {
1025 (*in)[i].DeepCopyInto(&(*out)[i])
1026 }
1027 }
1028 if in.Resources != nil {
1029 in, out := &in.Resources, &out.Resources
1030 *out = make([]ServiceperimeterResources, len(*in))
1031 for i := range *in {
1032 (*in)[i].DeepCopyInto(&(*out)[i])
1033 }
1034 }
1035 if in.RestrictedServices != nil {
1036 in, out := &in.RestrictedServices, &out.RestrictedServices
1037 *out = make([]string, len(*in))
1038 copy(*out, *in)
1039 }
1040 if in.VpcAccessibleServices != nil {
1041 in, out := &in.VpcAccessibleServices, &out.VpcAccessibleServices
1042 *out = new(ServiceperimeterVpcAccessibleServices)
1043 (*in).DeepCopyInto(*out)
1044 }
1045 return
1046 }
1047
1048
1049 func (in *ServiceperimeterStatus) DeepCopy() *ServiceperimeterStatus {
1050 if in == nil {
1051 return nil
1052 }
1053 out := new(ServiceperimeterStatus)
1054 in.DeepCopyInto(out)
1055 return out
1056 }
1057
1058
1059 func (in *ServiceperimeterVpcAccessibleServices) DeepCopyInto(out *ServiceperimeterVpcAccessibleServices) {
1060 *out = *in
1061 if in.AllowedServices != nil {
1062 in, out := &in.AllowedServices, &out.AllowedServices
1063 *out = make([]string, len(*in))
1064 copy(*out, *in)
1065 }
1066 if in.EnableRestriction != nil {
1067 in, out := &in.EnableRestriction, &out.EnableRestriction
1068 *out = new(bool)
1069 **out = **in
1070 }
1071 return
1072 }
1073
1074
1075 func (in *ServiceperimeterVpcAccessibleServices) DeepCopy() *ServiceperimeterVpcAccessibleServices {
1076 if in == nil {
1077 return nil
1078 }
1079 out := new(ServiceperimeterVpcAccessibleServices)
1080 in.DeepCopyInto(out)
1081 return out
1082 }
1083
View as plain text