1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 package v3alpha1
21
22 import (
23 "encoding/json"
24 corev1 "k8s.io/api/core/v1"
25 "k8s.io/apimachinery/pkg/apis/meta/v1"
26 runtime "k8s.io/apimachinery/pkg/runtime"
27 )
28
29
30 func (in *ACMEProviderSpec) DeepCopyInto(out *ACMEProviderSpec) {
31 *out = *in
32 if in.PrivateKeySecret != nil {
33 in, out := &in.PrivateKeySecret, &out.PrivateKeySecret
34 *out = new(corev1.LocalObjectReference)
35 **out = **in
36 }
37 }
38
39
40 func (in *ACMEProviderSpec) DeepCopy() *ACMEProviderSpec {
41 if in == nil {
42 return nil
43 }
44 out := new(ACMEProviderSpec)
45 in.DeepCopyInto(out)
46 return out
47 }
48
49
50 func (in *AddedHeader) DeepCopyInto(out *AddedHeader) {
51 *out = *in
52 if in.Append != nil {
53 in, out := &in.Append, &out.Append
54 *out = new(bool)
55 **out = **in
56 }
57 }
58
59
60 func (in *AddedHeader) DeepCopy() *AddedHeader {
61 if in == nil {
62 return nil
63 }
64 out := new(AddedHeader)
65 in.DeepCopyInto(out)
66 return out
67 }
68
69
70 func (in *AdditionalLogHeaders) DeepCopyInto(out *AdditionalLogHeaders) {
71 *out = *in
72 if in.DuringRequest != nil {
73 in, out := &in.DuringRequest, &out.DuringRequest
74 *out = new(bool)
75 **out = **in
76 }
77 if in.DuringResponse != nil {
78 in, out := &in.DuringResponse, &out.DuringResponse
79 *out = new(bool)
80 **out = **in
81 }
82 if in.DuringTrailer != nil {
83 in, out := &in.DuringTrailer, &out.DuringTrailer
84 *out = new(bool)
85 **out = **in
86 }
87 }
88
89
90 func (in *AdditionalLogHeaders) DeepCopy() *AdditionalLogHeaders {
91 if in == nil {
92 return nil
93 }
94 out := new(AdditionalLogHeaders)
95 in.DeepCopyInto(out)
96 return out
97 }
98
99
100 func (in *AmbassadorConfigSpec) DeepCopyInto(out *AmbassadorConfigSpec) {
101 *out = *in
102 if in.AmbassadorID != nil {
103 in, out := &in.AmbassadorID, &out.AmbassadorID
104 *out = make(AmbassadorID, len(*in))
105 copy(*out, *in)
106 }
107 if in.Features != nil {
108 in, out := &in.Features, &out.Features
109 *out = new(Features)
110 **out = **in
111 }
112 if in.LoadBalancer != nil {
113 in, out := &in.LoadBalancer, &out.LoadBalancer
114 *out = new(LoadBalancer)
115 (*in).DeepCopyInto(*out)
116 }
117 if in.CircuitBreakers != nil {
118 in, out := &in.CircuitBreakers, &out.CircuitBreakers
119 *out = new(CircuitBreaker)
120 (*in).DeepCopyInto(*out)
121 }
122 if in.ErrorResponseOverrides != nil {
123 in, out := &in.ErrorResponseOverrides, &out.ErrorResponseOverrides
124 *out = make([]ErrorResponseOverride, len(*in))
125 for i := range *in {
126 (*in)[i].DeepCopyInto(&(*out)[i])
127 }
128 }
129 if in.HeaderCaseOverrides != nil {
130 in, out := &in.HeaderCaseOverrides, &out.HeaderCaseOverrides
131 *out = make([]string, len(*in))
132 copy(*out, *in)
133 }
134 if in.RetryPolicy != nil {
135 in, out := &in.RetryPolicy, &out.RetryPolicy
136 *out = new(RetryPolicy)
137 (*in).DeepCopyInto(*out)
138 }
139 if in.Cors != nil {
140 in, out := &in.Cors, &out.Cors
141 *out = new(CORS)
142 (*in).DeepCopyInto(*out)
143 }
144 if in.ClusterRequestTimeout != nil {
145 in, out := &in.ClusterRequestTimeout, &out.ClusterRequestTimeout
146 *out = new(MillisecondDuration)
147 **out = **in
148 }
149 if in.ClusterIdleTimeout != nil {
150 in, out := &in.ClusterIdleTimeout, &out.ClusterIdleTimeout
151 *out = new(MillisecondDuration)
152 **out = **in
153 }
154 if in.ClusterMaxConnectionLifetime != nil {
155 in, out := &in.ClusterMaxConnectionLifetime, &out.ClusterMaxConnectionLifetime
156 *out = new(MillisecondDuration)
157 **out = **in
158 }
159 }
160
161
162 func (in *AmbassadorConfigSpec) DeepCopy() *AmbassadorConfigSpec {
163 if in == nil {
164 return nil
165 }
166 out := new(AmbassadorConfigSpec)
167 in.DeepCopyInto(out)
168 return out
169 }
170
171
172 func (in *AmbassadorConfigStatus) DeepCopyInto(out *AmbassadorConfigStatus) {
173 *out = *in
174 }
175
176
177 func (in *AmbassadorConfigStatus) DeepCopy() *AmbassadorConfigStatus {
178 if in == nil {
179 return nil
180 }
181 out := new(AmbassadorConfigStatus)
182 in.DeepCopyInto(out)
183 return out
184 }
185
186
187 func (in AmbassadorID) DeepCopyInto(out *AmbassadorID) {
188 {
189 in := &in
190 *out = make(AmbassadorID, len(*in))
191 copy(*out, *in)
192 }
193 }
194
195
196 func (in AmbassadorID) DeepCopy() AmbassadorID {
197 if in == nil {
198 return nil
199 }
200 out := new(AmbassadorID)
201 in.DeepCopyInto(out)
202 return *out
203 }
204
205
206 func (in *AuthService) DeepCopyInto(out *AuthService) {
207 *out = *in
208 out.TypeMeta = in.TypeMeta
209 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
210 in.Spec.DeepCopyInto(&out.Spec)
211 }
212
213
214 func (in *AuthService) DeepCopy() *AuthService {
215 if in == nil {
216 return nil
217 }
218 out := new(AuthService)
219 in.DeepCopyInto(out)
220 return out
221 }
222
223
224 func (in *AuthService) DeepCopyObject() runtime.Object {
225 if c := in.DeepCopy(); c != nil {
226 return c
227 }
228 return nil
229 }
230
231
232 func (in *AuthServiceIncludeBody) DeepCopyInto(out *AuthServiceIncludeBody) {
233 *out = *in
234 }
235
236
237 func (in *AuthServiceIncludeBody) DeepCopy() *AuthServiceIncludeBody {
238 if in == nil {
239 return nil
240 }
241 out := new(AuthServiceIncludeBody)
242 in.DeepCopyInto(out)
243 return out
244 }
245
246
247 func (in *AuthServiceList) DeepCopyInto(out *AuthServiceList) {
248 *out = *in
249 out.TypeMeta = in.TypeMeta
250 in.ListMeta.DeepCopyInto(&out.ListMeta)
251 if in.Items != nil {
252 in, out := &in.Items, &out.Items
253 *out = make([]AuthService, len(*in))
254 for i := range *in {
255 (*in)[i].DeepCopyInto(&(*out)[i])
256 }
257 }
258 }
259
260
261 func (in *AuthServiceList) DeepCopy() *AuthServiceList {
262 if in == nil {
263 return nil
264 }
265 out := new(AuthServiceList)
266 in.DeepCopyInto(out)
267 return out
268 }
269
270
271 func (in *AuthServiceList) DeepCopyObject() runtime.Object {
272 if c := in.DeepCopy(); c != nil {
273 return c
274 }
275 return nil
276 }
277
278
279 func (in *AuthServiceSpec) DeepCopyInto(out *AuthServiceSpec) {
280 *out = *in
281 if in.AmbassadorID != nil {
282 in, out := &in.AmbassadorID, &out.AmbassadorID
283 *out = make(AmbassadorID, len(*in))
284 copy(*out, *in)
285 }
286 if in.Timeout != nil {
287 in, out := &in.Timeout, &out.Timeout
288 *out = new(MillisecondDuration)
289 **out = **in
290 }
291 if in.AllowedRequestHeaders != nil {
292 in, out := &in.AllowedRequestHeaders, &out.AllowedRequestHeaders
293 *out = make([]string, len(*in))
294 copy(*out, *in)
295 }
296 if in.AllowedAuthorizationHeaders != nil {
297 in, out := &in.AllowedAuthorizationHeaders, &out.AllowedAuthorizationHeaders
298 *out = make([]string, len(*in))
299 copy(*out, *in)
300 }
301 if in.AddAuthHeaders != nil {
302 in, out := &in.AddAuthHeaders, &out.AddAuthHeaders
303 *out = make(map[string]string, len(*in))
304 for key, val := range *in {
305 (*out)[key] = val
306 }
307 }
308 if in.AllowRequestBody != nil {
309 in, out := &in.AllowRequestBody, &out.AllowRequestBody
310 *out = new(bool)
311 **out = **in
312 }
313 if in.AddLinkerdHeaders != nil {
314 in, out := &in.AddLinkerdHeaders, &out.AddLinkerdHeaders
315 *out = new(bool)
316 **out = **in
317 }
318 if in.FailureModeAllow != nil {
319 in, out := &in.FailureModeAllow, &out.FailureModeAllow
320 *out = new(bool)
321 **out = **in
322 }
323 if in.IncludeBody != nil {
324 in, out := &in.IncludeBody, &out.IncludeBody
325 *out = new(AuthServiceIncludeBody)
326 **out = **in
327 }
328 if in.StatusOnError != nil {
329 in, out := &in.StatusOnError, &out.StatusOnError
330 *out = new(AuthServiceStatusOnError)
331 **out = **in
332 }
333 if in.CircuitBreakers != nil {
334 in, out := &in.CircuitBreakers, &out.CircuitBreakers
335 *out = make([]*CircuitBreaker, len(*in))
336 for i := range *in {
337 if (*in)[i] != nil {
338 in, out := &(*in)[i], &(*out)[i]
339 *out = new(CircuitBreaker)
340 (*in).DeepCopyInto(*out)
341 }
342 }
343 }
344 if in.V2ExplicitTLS != nil {
345 in, out := &in.V2ExplicitTLS, &out.V2ExplicitTLS
346 *out = new(V2ExplicitTLS)
347 (*in).DeepCopyInto(*out)
348 }
349 }
350
351
352 func (in *AuthServiceSpec) DeepCopy() *AuthServiceSpec {
353 if in == nil {
354 return nil
355 }
356 out := new(AuthServiceSpec)
357 in.DeepCopyInto(out)
358 return out
359 }
360
361
362 func (in *AuthServiceStatusOnError) DeepCopyInto(out *AuthServiceStatusOnError) {
363 *out = *in
364 }
365
366
367 func (in *AuthServiceStatusOnError) DeepCopy() *AuthServiceStatusOnError {
368 if in == nil {
369 return nil
370 }
371 out := new(AuthServiceStatusOnError)
372 in.DeepCopyInto(out)
373 return out
374 }
375
376
377 func (in *CORS) DeepCopyInto(out *CORS) {
378 *out = *in
379 if in.Origins != nil {
380 in, out := &in.Origins, &out.Origins
381 *out = make([]string, len(*in))
382 copy(*out, *in)
383 }
384 if in.Methods != nil {
385 in, out := &in.Methods, &out.Methods
386 *out = make([]string, len(*in))
387 copy(*out, *in)
388 }
389 if in.Headers != nil {
390 in, out := &in.Headers, &out.Headers
391 *out = make([]string, len(*in))
392 copy(*out, *in)
393 }
394 if in.Credentials != nil {
395 in, out := &in.Credentials, &out.Credentials
396 *out = new(bool)
397 **out = **in
398 }
399 if in.ExposedHeaders != nil {
400 in, out := &in.ExposedHeaders, &out.ExposedHeaders
401 *out = make([]string, len(*in))
402 copy(*out, *in)
403 }
404 }
405
406
407 func (in *CORS) DeepCopy() *CORS {
408 if in == nil {
409 return nil
410 }
411 out := new(CORS)
412 in.DeepCopyInto(out)
413 return out
414 }
415
416
417 func (in *CircuitBreaker) DeepCopyInto(out *CircuitBreaker) {
418 *out = *in
419 if in.MaxConnections != nil {
420 in, out := &in.MaxConnections, &out.MaxConnections
421 *out = new(int)
422 **out = **in
423 }
424 if in.MaxPendingRequests != nil {
425 in, out := &in.MaxPendingRequests, &out.MaxPendingRequests
426 *out = new(int)
427 **out = **in
428 }
429 if in.MaxRequests != nil {
430 in, out := &in.MaxRequests, &out.MaxRequests
431 *out = new(int)
432 **out = **in
433 }
434 if in.MaxRetries != nil {
435 in, out := &in.MaxRetries, &out.MaxRetries
436 *out = new(int)
437 **out = **in
438 }
439 }
440
441
442 func (in *CircuitBreaker) DeepCopy() *CircuitBreaker {
443 if in == nil {
444 return nil
445 }
446 out := new(CircuitBreaker)
447 in.DeepCopyInto(out)
448 return out
449 }
450
451
452 func (in *ConsulResolver) DeepCopyInto(out *ConsulResolver) {
453 *out = *in
454 out.TypeMeta = in.TypeMeta
455 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
456 in.Spec.DeepCopyInto(&out.Spec)
457 }
458
459
460 func (in *ConsulResolver) DeepCopy() *ConsulResolver {
461 if in == nil {
462 return nil
463 }
464 out := new(ConsulResolver)
465 in.DeepCopyInto(out)
466 return out
467 }
468
469
470 func (in *ConsulResolver) DeepCopyObject() runtime.Object {
471 if c := in.DeepCopy(); c != nil {
472 return c
473 }
474 return nil
475 }
476
477
478 func (in *ConsulResolverList) DeepCopyInto(out *ConsulResolverList) {
479 *out = *in
480 out.TypeMeta = in.TypeMeta
481 in.ListMeta.DeepCopyInto(&out.ListMeta)
482 if in.Items != nil {
483 in, out := &in.Items, &out.Items
484 *out = make([]ConsulResolver, len(*in))
485 for i := range *in {
486 (*in)[i].DeepCopyInto(&(*out)[i])
487 }
488 }
489 }
490
491
492 func (in *ConsulResolverList) DeepCopy() *ConsulResolverList {
493 if in == nil {
494 return nil
495 }
496 out := new(ConsulResolverList)
497 in.DeepCopyInto(out)
498 return out
499 }
500
501
502 func (in *ConsulResolverList) DeepCopyObject() runtime.Object {
503 if c := in.DeepCopy(); c != nil {
504 return c
505 }
506 return nil
507 }
508
509
510 func (in *ConsulResolverSpec) DeepCopyInto(out *ConsulResolverSpec) {
511 *out = *in
512 if in.AmbassadorID != nil {
513 in, out := &in.AmbassadorID, &out.AmbassadorID
514 *out = make(AmbassadorID, len(*in))
515 copy(*out, *in)
516 }
517 }
518
519
520 func (in *ConsulResolverSpec) DeepCopy() *ConsulResolverSpec {
521 if in == nil {
522 return nil
523 }
524 out := new(ConsulResolverSpec)
525 in.DeepCopyInto(out)
526 return out
527 }
528
529
530 func (in *DevPortal) DeepCopyInto(out *DevPortal) {
531 *out = *in
532 out.TypeMeta = in.TypeMeta
533 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
534 in.Spec.DeepCopyInto(&out.Spec)
535 }
536
537
538 func (in *DevPortal) DeepCopy() *DevPortal {
539 if in == nil {
540 return nil
541 }
542 out := new(DevPortal)
543 in.DeepCopyInto(out)
544 return out
545 }
546
547
548 func (in *DevPortal) DeepCopyObject() runtime.Object {
549 if c := in.DeepCopy(); c != nil {
550 return c
551 }
552 return nil
553 }
554
555
556 func (in *DevPortalContentSpec) DeepCopyInto(out *DevPortalContentSpec) {
557 *out = *in
558 }
559
560
561 func (in *DevPortalContentSpec) DeepCopy() *DevPortalContentSpec {
562 if in == nil {
563 return nil
564 }
565 out := new(DevPortalContentSpec)
566 in.DeepCopyInto(out)
567 return out
568 }
569
570
571 func (in *DevPortalDocsSpec) DeepCopyInto(out *DevPortalDocsSpec) {
572 *out = *in
573 if in.Timeout != nil {
574 in, out := &in.Timeout, &out.Timeout
575 *out = new(MillisecondDuration)
576 **out = **in
577 }
578 }
579
580
581 func (in *DevPortalDocsSpec) DeepCopy() *DevPortalDocsSpec {
582 if in == nil {
583 return nil
584 }
585 out := new(DevPortalDocsSpec)
586 in.DeepCopyInto(out)
587 return out
588 }
589
590
591 func (in *DevPortalList) DeepCopyInto(out *DevPortalList) {
592 *out = *in
593 out.TypeMeta = in.TypeMeta
594 in.ListMeta.DeepCopyInto(&out.ListMeta)
595 if in.Items != nil {
596 in, out := &in.Items, &out.Items
597 *out = make([]DevPortal, len(*in))
598 for i := range *in {
599 (*in)[i].DeepCopyInto(&(*out)[i])
600 }
601 }
602 }
603
604
605 func (in *DevPortalList) DeepCopy() *DevPortalList {
606 if in == nil {
607 return nil
608 }
609 out := new(DevPortalList)
610 in.DeepCopyInto(out)
611 return out
612 }
613
614
615 func (in *DevPortalList) DeepCopyObject() runtime.Object {
616 if c := in.DeepCopy(); c != nil {
617 return c
618 }
619 return nil
620 }
621
622
623 func (in *DevPortalSearchSpec) DeepCopyInto(out *DevPortalSearchSpec) {
624 *out = *in
625 if in.Enabled != nil {
626 in, out := &in.Enabled, &out.Enabled
627 *out = new(bool)
628 **out = **in
629 }
630 }
631
632
633 func (in *DevPortalSearchSpec) DeepCopy() *DevPortalSearchSpec {
634 if in == nil {
635 return nil
636 }
637 out := new(DevPortalSearchSpec)
638 in.DeepCopyInto(out)
639 return out
640 }
641
642
643 func (in *DevPortalSelectorSpec) DeepCopyInto(out *DevPortalSelectorSpec) {
644 *out = *in
645 if in.MatchNamespaces != nil {
646 in, out := &in.MatchNamespaces, &out.MatchNamespaces
647 *out = make([]string, len(*in))
648 copy(*out, *in)
649 }
650 if in.MatchLabels != nil {
651 in, out := &in.MatchLabels, &out.MatchLabels
652 *out = make(map[string]string, len(*in))
653 for key, val := range *in {
654 (*out)[key] = val
655 }
656 }
657 }
658
659
660 func (in *DevPortalSelectorSpec) DeepCopy() *DevPortalSelectorSpec {
661 if in == nil {
662 return nil
663 }
664 out := new(DevPortalSelectorSpec)
665 in.DeepCopyInto(out)
666 return out
667 }
668
669
670 func (in *DevPortalSpec) DeepCopyInto(out *DevPortalSpec) {
671 *out = *in
672 if in.AmbassadorID != nil {
673 in, out := &in.AmbassadorID, &out.AmbassadorID
674 *out = make(AmbassadorID, len(*in))
675 copy(*out, *in)
676 }
677 if in.Default != nil {
678 in, out := &in.Default, &out.Default
679 *out = new(bool)
680 **out = **in
681 }
682 if in.Content != nil {
683 in, out := &in.Content, &out.Content
684 *out = new(DevPortalContentSpec)
685 **out = **in
686 }
687 if in.Docs != nil {
688 in, out := &in.Docs, &out.Docs
689 *out = make([]*DevPortalDocsSpec, len(*in))
690 for i := range *in {
691 if (*in)[i] != nil {
692 in, out := &(*in)[i], &(*out)[i]
693 *out = new(DevPortalDocsSpec)
694 (*in).DeepCopyInto(*out)
695 }
696 }
697 }
698 if in.Selector != nil {
699 in, out := &in.Selector, &out.Selector
700 *out = new(DevPortalSelectorSpec)
701 (*in).DeepCopyInto(*out)
702 }
703 if in.Search != nil {
704 in, out := &in.Search, &out.Search
705 *out = new(DevPortalSearchSpec)
706 (*in).DeepCopyInto(*out)
707 }
708 if in.PreserveServers != nil {
709 in, out := &in.PreserveServers, &out.PreserveServers
710 *out = new(bool)
711 **out = **in
712 }
713 }
714
715
716 func (in *DevPortalSpec) DeepCopy() *DevPortalSpec {
717 if in == nil {
718 return nil
719 }
720 out := new(DevPortalSpec)
721 in.DeepCopyInto(out)
722 return out
723 }
724
725
726 func (in *DocsInfo) DeepCopyInto(out *DocsInfo) {
727 *out = *in
728 if in.Ignored != nil {
729 in, out := &in.Ignored, &out.Ignored
730 *out = new(bool)
731 **out = **in
732 }
733 if in.Timeout != nil {
734 in, out := &in.Timeout, &out.Timeout
735 *out = new(MillisecondDuration)
736 **out = **in
737 }
738 }
739
740
741 func (in *DocsInfo) DeepCopy() *DocsInfo {
742 if in == nil {
743 return nil
744 }
745 out := new(DocsInfo)
746 in.DeepCopyInto(out)
747 return out
748 }
749
750
751 func (in DomainMap) DeepCopyInto(out *DomainMap) {
752 {
753 in := &in
754 *out = make(DomainMap, len(*in))
755 for key, val := range *in {
756 var outVal []MappingLabelGroup
757 if val == nil {
758 (*out)[key] = nil
759 } else {
760 in, out := &val, &outVal
761 *out = make(MappingLabelGroupsArray, len(*in))
762 for i := range *in {
763 if (*in)[i] != nil {
764 in, out := &(*in)[i], &(*out)[i]
765 *out = make(MappingLabelGroup, len(*in))
766 for key, val := range *in {
767 var outVal []MappingLabelSpecifier
768 if val == nil {
769 (*out)[key] = nil
770 } else {
771 in, out := &val, &outVal
772 *out = make(MappingLabelsArray, len(*in))
773 for i := range *in {
774 (*in)[i].DeepCopyInto(&(*out)[i])
775 }
776 }
777 (*out)[key] = outVal
778 }
779 }
780 }
781 }
782 (*out)[key] = outVal
783 }
784 }
785 }
786
787
788 func (in DomainMap) DeepCopy() DomainMap {
789 if in == nil {
790 return nil
791 }
792 out := new(DomainMap)
793 in.DeepCopyInto(out)
794 return *out
795 }
796
797
798 func (in *DriverConfig) DeepCopyInto(out *DriverConfig) {
799 *out = *in
800 if in.AdditionalLogHeaders != nil {
801 in, out := &in.AdditionalLogHeaders, &out.AdditionalLogHeaders
802 *out = make([]*AdditionalLogHeaders, len(*in))
803 for i := range *in {
804 if (*in)[i] != nil {
805 in, out := &(*in)[i], &(*out)[i]
806 *out = new(AdditionalLogHeaders)
807 (*in).DeepCopyInto(*out)
808 }
809 }
810 }
811 }
812
813
814 func (in *DriverConfig) DeepCopy() *DriverConfig {
815 if in == nil {
816 return nil
817 }
818 out := new(DriverConfig)
819 in.DeepCopyInto(out)
820 return out
821 }
822
823
824 func (in *ErrorResponseOverride) DeepCopyInto(out *ErrorResponseOverride) {
825 *out = *in
826 in.Body.DeepCopyInto(&out.Body)
827 }
828
829
830 func (in *ErrorResponseOverride) DeepCopy() *ErrorResponseOverride {
831 if in == nil {
832 return nil
833 }
834 out := new(ErrorResponseOverride)
835 in.DeepCopyInto(out)
836 return out
837 }
838
839
840 func (in *ErrorResponseOverrideBody) DeepCopyInto(out *ErrorResponseOverrideBody) {
841 *out = *in
842 if in.ErrorResponseTextFormat != nil {
843 in, out := &in.ErrorResponseTextFormat, &out.ErrorResponseTextFormat
844 *out = new(string)
845 **out = **in
846 }
847 if in.ErrorResponseJsonFormat != nil {
848 in, out := &in.ErrorResponseJsonFormat, &out.ErrorResponseJsonFormat
849 *out = new(map[string]string)
850 if **in != nil {
851 in, out := *in, *out
852 *out = make(map[string]string, len(*in))
853 for key, val := range *in {
854 (*out)[key] = val
855 }
856 }
857 }
858 if in.ErrorResponseTextFormatSource != nil {
859 in, out := &in.ErrorResponseTextFormatSource, &out.ErrorResponseTextFormatSource
860 *out = new(ErrorResponseTextFormatSource)
861 **out = **in
862 }
863 }
864
865
866 func (in *ErrorResponseOverrideBody) DeepCopy() *ErrorResponseOverrideBody {
867 if in == nil {
868 return nil
869 }
870 out := new(ErrorResponseOverrideBody)
871 in.DeepCopyInto(out)
872 return out
873 }
874
875
876 func (in *ErrorResponseTextFormatSource) DeepCopyInto(out *ErrorResponseTextFormatSource) {
877 *out = *in
878 }
879
880
881 func (in *ErrorResponseTextFormatSource) DeepCopy() *ErrorResponseTextFormatSource {
882 if in == nil {
883 return nil
884 }
885 out := new(ErrorResponseTextFormatSource)
886 in.DeepCopyInto(out)
887 return out
888 }
889
890
891 func (in *Features) DeepCopyInto(out *Features) {
892 *out = *in
893 }
894
895
896 func (in *Features) DeepCopy() *Features {
897 if in == nil {
898 return nil
899 }
900 out := new(Features)
901 in.DeepCopyInto(out)
902 return out
903 }
904
905
906 func (in *GRPCHealthCheck) DeepCopyInto(out *GRPCHealthCheck) {
907 *out = *in
908 }
909
910
911 func (in *GRPCHealthCheck) DeepCopy() *GRPCHealthCheck {
912 if in == nil {
913 return nil
914 }
915 out := new(GRPCHealthCheck)
916 in.DeepCopyInto(out)
917 return out
918 }
919
920
921 func (in *HTTPHealthCheck) DeepCopyInto(out *HTTPHealthCheck) {
922 *out = *in
923 if in.AddRequestHeaders != nil {
924 in, out := &in.AddRequestHeaders, &out.AddRequestHeaders
925 *out = make(map[string]AddedHeader, len(*in))
926 for key, val := range *in {
927 (*out)[key] = *val.DeepCopy()
928 }
929 }
930 if in.RemoveRequestHeaders != nil {
931 in, out := &in.RemoveRequestHeaders, &out.RemoveRequestHeaders
932 *out = make([]string, len(*in))
933 copy(*out, *in)
934 }
935 if in.ExpectedStatuses != nil {
936 in, out := &in.ExpectedStatuses, &out.ExpectedStatuses
937 *out = make([]StatusRange, len(*in))
938 copy(*out, *in)
939 }
940 }
941
942
943 func (in *HTTPHealthCheck) DeepCopy() *HTTPHealthCheck {
944 if in == nil {
945 return nil
946 }
947 out := new(HTTPHealthCheck)
948 in.DeepCopyInto(out)
949 return out
950 }
951
952
953 func (in *HealthCheck) DeepCopyInto(out *HealthCheck) {
954 *out = *in
955 if in.Timeout != nil {
956 in, out := &in.Timeout, &out.Timeout
957 *out = new(v1.Duration)
958 **out = **in
959 }
960 if in.Interval != nil {
961 in, out := &in.Interval, &out.Interval
962 *out = new(v1.Duration)
963 **out = **in
964 }
965 if in.UnhealthyThreshold != nil {
966 in, out := &in.UnhealthyThreshold, &out.UnhealthyThreshold
967 *out = new(int)
968 **out = **in
969 }
970 if in.HealthyThreshold != nil {
971 in, out := &in.HealthyThreshold, &out.HealthyThreshold
972 *out = new(int)
973 **out = **in
974 }
975 in.HealthCheckLocation.DeepCopyInto(&out.HealthCheckLocation)
976 }
977
978
979 func (in *HealthCheck) DeepCopy() *HealthCheck {
980 if in == nil {
981 return nil
982 }
983 out := new(HealthCheck)
984 in.DeepCopyInto(out)
985 return out
986 }
987
988
989 func (in *HealthCheckLocation) DeepCopyInto(out *HealthCheckLocation) {
990 *out = *in
991 if in.HTTPHealthCheck != nil {
992 in, out := &in.HTTPHealthCheck, &out.HTTPHealthCheck
993 *out = new(HTTPHealthCheck)
994 (*in).DeepCopyInto(*out)
995 }
996 if in.GRPCHealthCheck != nil {
997 in, out := &in.GRPCHealthCheck, &out.GRPCHealthCheck
998 *out = new(GRPCHealthCheck)
999 **out = **in
1000 }
1001 }
1002
1003
1004 func (in *HealthCheckLocation) DeepCopy() *HealthCheckLocation {
1005 if in == nil {
1006 return nil
1007 }
1008 out := new(HealthCheckLocation)
1009 in.DeepCopyInto(out)
1010 return out
1011 }
1012
1013
1014 func (in *Host) DeepCopyInto(out *Host) {
1015 *out = *in
1016 out.TypeMeta = in.TypeMeta
1017 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
1018 if in.Spec != nil {
1019 in, out := &in.Spec, &out.Spec
1020 *out = new(HostSpec)
1021 (*in).DeepCopyInto(*out)
1022 }
1023 in.Status.DeepCopyInto(&out.Status)
1024 }
1025
1026
1027 func (in *Host) DeepCopy() *Host {
1028 if in == nil {
1029 return nil
1030 }
1031 out := new(Host)
1032 in.DeepCopyInto(out)
1033 return out
1034 }
1035
1036
1037 func (in *Host) DeepCopyObject() runtime.Object {
1038 if c := in.DeepCopy(); c != nil {
1039 return c
1040 }
1041 return nil
1042 }
1043
1044
1045 func (in *HostBindingType) DeepCopyInto(out *HostBindingType) {
1046 *out = *in
1047 out.Namespace = in.Namespace
1048 if in.Selector != nil {
1049 in, out := &in.Selector, &out.Selector
1050 *out = new(v1.LabelSelector)
1051 (*in).DeepCopyInto(*out)
1052 }
1053 }
1054
1055
1056 func (in *HostBindingType) DeepCopy() *HostBindingType {
1057 if in == nil {
1058 return nil
1059 }
1060 out := new(HostBindingType)
1061 in.DeepCopyInto(out)
1062 return out
1063 }
1064
1065
1066 func (in *HostList) DeepCopyInto(out *HostList) {
1067 *out = *in
1068 out.TypeMeta = in.TypeMeta
1069 in.ListMeta.DeepCopyInto(&out.ListMeta)
1070 if in.Items != nil {
1071 in, out := &in.Items, &out.Items
1072 *out = make([]Host, len(*in))
1073 for i := range *in {
1074 (*in)[i].DeepCopyInto(&(*out)[i])
1075 }
1076 }
1077 }
1078
1079
1080 func (in *HostList) DeepCopy() *HostList {
1081 if in == nil {
1082 return nil
1083 }
1084 out := new(HostList)
1085 in.DeepCopyInto(out)
1086 return out
1087 }
1088
1089
1090 func (in *HostList) DeepCopyObject() runtime.Object {
1091 if c := in.DeepCopy(); c != nil {
1092 return c
1093 }
1094 return nil
1095 }
1096
1097
1098 func (in *HostSpec) DeepCopyInto(out *HostSpec) {
1099 *out = *in
1100 if in.AmbassadorID != nil {
1101 in, out := &in.AmbassadorID, &out.AmbassadorID
1102 *out = make(AmbassadorID, len(*in))
1103 copy(*out, *in)
1104 }
1105 if in.DeprecatedSelector != nil {
1106 in, out := &in.DeprecatedSelector, &out.DeprecatedSelector
1107 *out = new(v1.LabelSelector)
1108 (*in).DeepCopyInto(*out)
1109 }
1110 if in.MappingSelector != nil {
1111 in, out := &in.MappingSelector, &out.MappingSelector
1112 *out = new(v1.LabelSelector)
1113 (*in).DeepCopyInto(*out)
1114 }
1115 if in.AcmeProvider != nil {
1116 in, out := &in.AcmeProvider, &out.AcmeProvider
1117 *out = new(ACMEProviderSpec)
1118 (*in).DeepCopyInto(*out)
1119 }
1120 if in.TLSSecret != nil {
1121 in, out := &in.TLSSecret, &out.TLSSecret
1122 *out = new(corev1.SecretReference)
1123 **out = **in
1124 }
1125 if in.RequestPolicy != nil {
1126 in, out := &in.RequestPolicy, &out.RequestPolicy
1127 *out = new(RequestPolicy)
1128 (*in).DeepCopyInto(*out)
1129 }
1130 if in.PreviewUrl != nil {
1131 in, out := &in.PreviewUrl, &out.PreviewUrl
1132 *out = new(PreviewURLSpec)
1133 (*in).DeepCopyInto(*out)
1134 }
1135 if in.TLSContext != nil {
1136 in, out := &in.TLSContext, &out.TLSContext
1137 *out = new(corev1.LocalObjectReference)
1138 **out = **in
1139 }
1140 if in.TLS != nil {
1141 in, out := &in.TLS, &out.TLS
1142 *out = new(TLSConfig)
1143 (*in).DeepCopyInto(*out)
1144 }
1145 }
1146
1147
1148 func (in *HostSpec) DeepCopy() *HostSpec {
1149 if in == nil {
1150 return nil
1151 }
1152 out := new(HostSpec)
1153 in.DeepCopyInto(out)
1154 return out
1155 }
1156
1157
1158 func (in *HostStatus) DeepCopyInto(out *HostStatus) {
1159 *out = *in
1160 if in.ErrorTimestamp != nil {
1161 in, out := &in.ErrorTimestamp, &out.ErrorTimestamp
1162 *out = (*in).DeepCopy()
1163 }
1164 if in.ErrorBackoff != nil {
1165 in, out := &in.ErrorBackoff, &out.ErrorBackoff
1166 *out = new(v1.Duration)
1167 **out = **in
1168 }
1169 }
1170
1171
1172 func (in *HostStatus) DeepCopy() *HostStatus {
1173 if in == nil {
1174 return nil
1175 }
1176 out := new(HostStatus)
1177 in.DeepCopyInto(out)
1178 return out
1179 }
1180
1181
1182 func (in *InsecureRequestPolicy) DeepCopyInto(out *InsecureRequestPolicy) {
1183 *out = *in
1184 if in.AdditionalPort != nil {
1185 in, out := &in.AdditionalPort, &out.AdditionalPort
1186 *out = new(int)
1187 **out = **in
1188 }
1189 }
1190
1191
1192 func (in *InsecureRequestPolicy) DeepCopy() *InsecureRequestPolicy {
1193 if in == nil {
1194 return nil
1195 }
1196 out := new(InsecureRequestPolicy)
1197 in.DeepCopyInto(out)
1198 return out
1199 }
1200
1201
1202 func (in *KeepAlive) DeepCopyInto(out *KeepAlive) {
1203 *out = *in
1204 if in.Probes != nil {
1205 in, out := &in.Probes, &out.Probes
1206 *out = new(int)
1207 **out = **in
1208 }
1209 if in.IdleTime != nil {
1210 in, out := &in.IdleTime, &out.IdleTime
1211 *out = new(int)
1212 **out = **in
1213 }
1214 if in.Interval != nil {
1215 in, out := &in.Interval, &out.Interval
1216 *out = new(int)
1217 **out = **in
1218 }
1219 }
1220
1221
1222 func (in *KeepAlive) DeepCopy() *KeepAlive {
1223 if in == nil {
1224 return nil
1225 }
1226 out := new(KeepAlive)
1227 in.DeepCopyInto(out)
1228 return out
1229 }
1230
1231
1232 func (in *KubernetesEndpointResolver) DeepCopyInto(out *KubernetesEndpointResolver) {
1233 *out = *in
1234 out.TypeMeta = in.TypeMeta
1235 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
1236 in.Spec.DeepCopyInto(&out.Spec)
1237 }
1238
1239
1240 func (in *KubernetesEndpointResolver) DeepCopy() *KubernetesEndpointResolver {
1241 if in == nil {
1242 return nil
1243 }
1244 out := new(KubernetesEndpointResolver)
1245 in.DeepCopyInto(out)
1246 return out
1247 }
1248
1249
1250 func (in *KubernetesEndpointResolver) DeepCopyObject() runtime.Object {
1251 if c := in.DeepCopy(); c != nil {
1252 return c
1253 }
1254 return nil
1255 }
1256
1257
1258 func (in *KubernetesEndpointResolverList) DeepCopyInto(out *KubernetesEndpointResolverList) {
1259 *out = *in
1260 out.TypeMeta = in.TypeMeta
1261 in.ListMeta.DeepCopyInto(&out.ListMeta)
1262 if in.Items != nil {
1263 in, out := &in.Items, &out.Items
1264 *out = make([]KubernetesEndpointResolver, len(*in))
1265 for i := range *in {
1266 (*in)[i].DeepCopyInto(&(*out)[i])
1267 }
1268 }
1269 }
1270
1271
1272 func (in *KubernetesEndpointResolverList) DeepCopy() *KubernetesEndpointResolverList {
1273 if in == nil {
1274 return nil
1275 }
1276 out := new(KubernetesEndpointResolverList)
1277 in.DeepCopyInto(out)
1278 return out
1279 }
1280
1281
1282 func (in *KubernetesEndpointResolverList) DeepCopyObject() runtime.Object {
1283 if c := in.DeepCopy(); c != nil {
1284 return c
1285 }
1286 return nil
1287 }
1288
1289
1290 func (in *KubernetesEndpointResolverSpec) DeepCopyInto(out *KubernetesEndpointResolverSpec) {
1291 *out = *in
1292 if in.AmbassadorID != nil {
1293 in, out := &in.AmbassadorID, &out.AmbassadorID
1294 *out = make(AmbassadorID, len(*in))
1295 copy(*out, *in)
1296 }
1297 }
1298
1299
1300 func (in *KubernetesEndpointResolverSpec) DeepCopy() *KubernetesEndpointResolverSpec {
1301 if in == nil {
1302 return nil
1303 }
1304 out := new(KubernetesEndpointResolverSpec)
1305 in.DeepCopyInto(out)
1306 return out
1307 }
1308
1309
1310 func (in *KubernetesServiceResolver) DeepCopyInto(out *KubernetesServiceResolver) {
1311 *out = *in
1312 out.TypeMeta = in.TypeMeta
1313 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
1314 in.Spec.DeepCopyInto(&out.Spec)
1315 }
1316
1317
1318 func (in *KubernetesServiceResolver) DeepCopy() *KubernetesServiceResolver {
1319 if in == nil {
1320 return nil
1321 }
1322 out := new(KubernetesServiceResolver)
1323 in.DeepCopyInto(out)
1324 return out
1325 }
1326
1327
1328 func (in *KubernetesServiceResolver) DeepCopyObject() runtime.Object {
1329 if c := in.DeepCopy(); c != nil {
1330 return c
1331 }
1332 return nil
1333 }
1334
1335
1336 func (in *KubernetesServiceResolverList) DeepCopyInto(out *KubernetesServiceResolverList) {
1337 *out = *in
1338 out.TypeMeta = in.TypeMeta
1339 in.ListMeta.DeepCopyInto(&out.ListMeta)
1340 if in.Items != nil {
1341 in, out := &in.Items, &out.Items
1342 *out = make([]KubernetesServiceResolver, len(*in))
1343 for i := range *in {
1344 (*in)[i].DeepCopyInto(&(*out)[i])
1345 }
1346 }
1347 }
1348
1349
1350 func (in *KubernetesServiceResolverList) DeepCopy() *KubernetesServiceResolverList {
1351 if in == nil {
1352 return nil
1353 }
1354 out := new(KubernetesServiceResolverList)
1355 in.DeepCopyInto(out)
1356 return out
1357 }
1358
1359
1360 func (in *KubernetesServiceResolverList) DeepCopyObject() runtime.Object {
1361 if c := in.DeepCopy(); c != nil {
1362 return c
1363 }
1364 return nil
1365 }
1366
1367
1368 func (in *KubernetesServiceResolverSpec) DeepCopyInto(out *KubernetesServiceResolverSpec) {
1369 *out = *in
1370 if in.AmbassadorID != nil {
1371 in, out := &in.AmbassadorID, &out.AmbassadorID
1372 *out = make(AmbassadorID, len(*in))
1373 copy(*out, *in)
1374 }
1375 }
1376
1377
1378 func (in *KubernetesServiceResolverSpec) DeepCopy() *KubernetesServiceResolverSpec {
1379 if in == nil {
1380 return nil
1381 }
1382 out := new(KubernetesServiceResolverSpec)
1383 in.DeepCopyInto(out)
1384 return out
1385 }
1386
1387
1388 func (in *Listener) DeepCopyInto(out *Listener) {
1389 *out = *in
1390 out.TypeMeta = in.TypeMeta
1391 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
1392 if in.Spec != nil {
1393 in, out := &in.Spec, &out.Spec
1394 *out = new(ListenerSpec)
1395 (*in).DeepCopyInto(*out)
1396 }
1397 }
1398
1399
1400 func (in *Listener) DeepCopy() *Listener {
1401 if in == nil {
1402 return nil
1403 }
1404 out := new(Listener)
1405 in.DeepCopyInto(out)
1406 return out
1407 }
1408
1409
1410 func (in *Listener) DeepCopyObject() runtime.Object {
1411 if c := in.DeepCopy(); c != nil {
1412 return c
1413 }
1414 return nil
1415 }
1416
1417
1418 func (in *ListenerList) DeepCopyInto(out *ListenerList) {
1419 *out = *in
1420 out.TypeMeta = in.TypeMeta
1421 in.ListMeta.DeepCopyInto(&out.ListMeta)
1422 if in.Items != nil {
1423 in, out := &in.Items, &out.Items
1424 *out = make([]Listener, len(*in))
1425 for i := range *in {
1426 (*in)[i].DeepCopyInto(&(*out)[i])
1427 }
1428 }
1429 }
1430
1431
1432 func (in *ListenerList) DeepCopy() *ListenerList {
1433 if in == nil {
1434 return nil
1435 }
1436 out := new(ListenerList)
1437 in.DeepCopyInto(out)
1438 return out
1439 }
1440
1441
1442 func (in *ListenerList) DeepCopyObject() runtime.Object {
1443 if c := in.DeepCopy(); c != nil {
1444 return c
1445 }
1446 return nil
1447 }
1448
1449
1450 func (in *ListenerSpec) DeepCopyInto(out *ListenerSpec) {
1451 *out = *in
1452 if in.AmbassadorID != nil {
1453 in, out := &in.AmbassadorID, &out.AmbassadorID
1454 *out = make(AmbassadorID, len(*in))
1455 copy(*out, *in)
1456 }
1457 if in.ProtocolStack != nil {
1458 in, out := &in.ProtocolStack, &out.ProtocolStack
1459 *out = make([]ProtocolStackElement, len(*in))
1460 copy(*out, *in)
1461 }
1462 in.HostBinding.DeepCopyInto(&out.HostBinding)
1463 }
1464
1465
1466 func (in *ListenerSpec) DeepCopy() *ListenerSpec {
1467 if in == nil {
1468 return nil
1469 }
1470 out := new(ListenerSpec)
1471 in.DeepCopyInto(out)
1472 return out
1473 }
1474
1475
1476 func (in *LoadBalancer) DeepCopyInto(out *LoadBalancer) {
1477 *out = *in
1478 if in.Cookie != nil {
1479 in, out := &in.Cookie, &out.Cookie
1480 *out = new(LoadBalancerCookie)
1481 **out = **in
1482 }
1483 if in.SourceIp != nil {
1484 in, out := &in.SourceIp, &out.SourceIp
1485 *out = new(bool)
1486 **out = **in
1487 }
1488 }
1489
1490
1491 func (in *LoadBalancer) DeepCopy() *LoadBalancer {
1492 if in == nil {
1493 return nil
1494 }
1495 out := new(LoadBalancer)
1496 in.DeepCopyInto(out)
1497 return out
1498 }
1499
1500
1501 func (in *LoadBalancerCookie) DeepCopyInto(out *LoadBalancerCookie) {
1502 *out = *in
1503 }
1504
1505
1506 func (in *LoadBalancerCookie) DeepCopy() *LoadBalancerCookie {
1507 if in == nil {
1508 return nil
1509 }
1510 out := new(LoadBalancerCookie)
1511 in.DeepCopyInto(out)
1512 return out
1513 }
1514
1515
1516 func (in *LogService) DeepCopyInto(out *LogService) {
1517 *out = *in
1518 out.TypeMeta = in.TypeMeta
1519 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
1520 in.Spec.DeepCopyInto(&out.Spec)
1521 }
1522
1523
1524 func (in *LogService) DeepCopy() *LogService {
1525 if in == nil {
1526 return nil
1527 }
1528 out := new(LogService)
1529 in.DeepCopyInto(out)
1530 return out
1531 }
1532
1533
1534 func (in *LogService) DeepCopyObject() runtime.Object {
1535 if c := in.DeepCopy(); c != nil {
1536 return c
1537 }
1538 return nil
1539 }
1540
1541
1542 func (in *LogServiceList) DeepCopyInto(out *LogServiceList) {
1543 *out = *in
1544 out.TypeMeta = in.TypeMeta
1545 in.ListMeta.DeepCopyInto(&out.ListMeta)
1546 if in.Items != nil {
1547 in, out := &in.Items, &out.Items
1548 *out = make([]LogService, len(*in))
1549 for i := range *in {
1550 (*in)[i].DeepCopyInto(&(*out)[i])
1551 }
1552 }
1553 }
1554
1555
1556 func (in *LogServiceList) DeepCopy() *LogServiceList {
1557 if in == nil {
1558 return nil
1559 }
1560 out := new(LogServiceList)
1561 in.DeepCopyInto(out)
1562 return out
1563 }
1564
1565
1566 func (in *LogServiceList) DeepCopyObject() runtime.Object {
1567 if c := in.DeepCopy(); c != nil {
1568 return c
1569 }
1570 return nil
1571 }
1572
1573
1574 func (in *LogServiceSpec) DeepCopyInto(out *LogServiceSpec) {
1575 *out = *in
1576 if in.AmbassadorID != nil {
1577 in, out := &in.AmbassadorID, &out.AmbassadorID
1578 *out = make(AmbassadorID, len(*in))
1579 copy(*out, *in)
1580 }
1581 if in.DriverConfig != nil {
1582 in, out := &in.DriverConfig, &out.DriverConfig
1583 *out = new(DriverConfig)
1584 (*in).DeepCopyInto(*out)
1585 }
1586 if in.FlushIntervalTime != nil {
1587 in, out := &in.FlushIntervalTime, &out.FlushIntervalTime
1588 *out = new(SecondDuration)
1589 **out = **in
1590 }
1591 if in.FlushIntervalByteSize != nil {
1592 in, out := &in.FlushIntervalByteSize, &out.FlushIntervalByteSize
1593 *out = new(int)
1594 **out = **in
1595 }
1596 if in.GRPC != nil {
1597 in, out := &in.GRPC, &out.GRPC
1598 *out = new(bool)
1599 **out = **in
1600 }
1601 }
1602
1603
1604 func (in *LogServiceSpec) DeepCopy() *LogServiceSpec {
1605 if in == nil {
1606 return nil
1607 }
1608 out := new(LogServiceSpec)
1609 in.DeepCopyInto(out)
1610 return out
1611 }
1612
1613
1614 func (in *Mapping) DeepCopyInto(out *Mapping) {
1615 *out = *in
1616 out.TypeMeta = in.TypeMeta
1617 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
1618 in.Spec.DeepCopyInto(&out.Spec)
1619 if in.Status != nil {
1620 in, out := &in.Status, &out.Status
1621 *out = new(MappingStatus)
1622 **out = **in
1623 }
1624 }
1625
1626
1627 func (in *Mapping) DeepCopy() *Mapping {
1628 if in == nil {
1629 return nil
1630 }
1631 out := new(Mapping)
1632 in.DeepCopyInto(out)
1633 return out
1634 }
1635
1636
1637 func (in *Mapping) DeepCopyObject() runtime.Object {
1638 if c := in.DeepCopy(); c != nil {
1639 return c
1640 }
1641 return nil
1642 }
1643
1644
1645 func (in MappingLabelGroup) DeepCopyInto(out *MappingLabelGroup) {
1646 {
1647 in := &in
1648 *out = make(MappingLabelGroup, len(*in))
1649 for key, val := range *in {
1650 var outVal []MappingLabelSpecifier
1651 if val == nil {
1652 (*out)[key] = nil
1653 } else {
1654 in, out := &val, &outVal
1655 *out = make(MappingLabelsArray, len(*in))
1656 for i := range *in {
1657 (*in)[i].DeepCopyInto(&(*out)[i])
1658 }
1659 }
1660 (*out)[key] = outVal
1661 }
1662 }
1663 }
1664
1665
1666 func (in MappingLabelGroup) DeepCopy() MappingLabelGroup {
1667 if in == nil {
1668 return nil
1669 }
1670 out := new(MappingLabelGroup)
1671 in.DeepCopyInto(out)
1672 return *out
1673 }
1674
1675
1676 func (in MappingLabelGroupsArray) DeepCopyInto(out *MappingLabelGroupsArray) {
1677 {
1678 in := &in
1679 *out = make(MappingLabelGroupsArray, len(*in))
1680 for i := range *in {
1681 if (*in)[i] != nil {
1682 in, out := &(*in)[i], &(*out)[i]
1683 *out = make(MappingLabelGroup, len(*in))
1684 for key, val := range *in {
1685 var outVal []MappingLabelSpecifier
1686 if val == nil {
1687 (*out)[key] = nil
1688 } else {
1689 in, out := &val, &outVal
1690 *out = make(MappingLabelsArray, len(*in))
1691 for i := range *in {
1692 (*in)[i].DeepCopyInto(&(*out)[i])
1693 }
1694 }
1695 (*out)[key] = outVal
1696 }
1697 }
1698 }
1699 }
1700 }
1701
1702
1703 func (in MappingLabelGroupsArray) DeepCopy() MappingLabelGroupsArray {
1704 if in == nil {
1705 return nil
1706 }
1707 out := new(MappingLabelGroupsArray)
1708 in.DeepCopyInto(out)
1709 return *out
1710 }
1711
1712
1713 func (in *MappingLabelSpecifier) DeepCopyInto(out *MappingLabelSpecifier) {
1714 *out = *in
1715 if in.SourceCluster != nil {
1716 in, out := &in.SourceCluster, &out.SourceCluster
1717 *out = new(MappingLabelSpecifier_SourceCluster)
1718 **out = **in
1719 }
1720 if in.DestinationCluster != nil {
1721 in, out := &in.DestinationCluster, &out.DestinationCluster
1722 *out = new(MappingLabelSpecifier_DestinationCluster)
1723 **out = **in
1724 }
1725 if in.RequestHeaders != nil {
1726 in, out := &in.RequestHeaders, &out.RequestHeaders
1727 *out = new(MappingLabelSpecifier_RequestHeaders)
1728 (*in).DeepCopyInto(*out)
1729 }
1730 if in.RemoteAddress != nil {
1731 in, out := &in.RemoteAddress, &out.RemoteAddress
1732 *out = new(MappingLabelSpecifier_RemoteAddress)
1733 **out = **in
1734 }
1735 if in.GenericKey != nil {
1736 in, out := &in.GenericKey, &out.GenericKey
1737 *out = new(MappingLabelSpecifier_GenericKey)
1738 **out = **in
1739 }
1740 }
1741
1742
1743 func (in *MappingLabelSpecifier) DeepCopy() *MappingLabelSpecifier {
1744 if in == nil {
1745 return nil
1746 }
1747 out := new(MappingLabelSpecifier)
1748 in.DeepCopyInto(out)
1749 return out
1750 }
1751
1752
1753 func (in *MappingLabelSpecifier_DestinationCluster) DeepCopyInto(out *MappingLabelSpecifier_DestinationCluster) {
1754 *out = *in
1755 }
1756
1757
1758 func (in *MappingLabelSpecifier_DestinationCluster) DeepCopy() *MappingLabelSpecifier_DestinationCluster {
1759 if in == nil {
1760 return nil
1761 }
1762 out := new(MappingLabelSpecifier_DestinationCluster)
1763 in.DeepCopyInto(out)
1764 return out
1765 }
1766
1767
1768 func (in *MappingLabelSpecifier_GenericKey) DeepCopyInto(out *MappingLabelSpecifier_GenericKey) {
1769 *out = *in
1770 }
1771
1772
1773 func (in *MappingLabelSpecifier_GenericKey) DeepCopy() *MappingLabelSpecifier_GenericKey {
1774 if in == nil {
1775 return nil
1776 }
1777 out := new(MappingLabelSpecifier_GenericKey)
1778 in.DeepCopyInto(out)
1779 return out
1780 }
1781
1782
1783 func (in *MappingLabelSpecifier_RemoteAddress) DeepCopyInto(out *MappingLabelSpecifier_RemoteAddress) {
1784 *out = *in
1785 }
1786
1787
1788 func (in *MappingLabelSpecifier_RemoteAddress) DeepCopy() *MappingLabelSpecifier_RemoteAddress {
1789 if in == nil {
1790 return nil
1791 }
1792 out := new(MappingLabelSpecifier_RemoteAddress)
1793 in.DeepCopyInto(out)
1794 return out
1795 }
1796
1797
1798 func (in *MappingLabelSpecifier_RequestHeaders) DeepCopyInto(out *MappingLabelSpecifier_RequestHeaders) {
1799 *out = *in
1800 if in.OmitIfNotPresent != nil {
1801 in, out := &in.OmitIfNotPresent, &out.OmitIfNotPresent
1802 *out = new(bool)
1803 **out = **in
1804 }
1805 }
1806
1807
1808 func (in *MappingLabelSpecifier_RequestHeaders) DeepCopy() *MappingLabelSpecifier_RequestHeaders {
1809 if in == nil {
1810 return nil
1811 }
1812 out := new(MappingLabelSpecifier_RequestHeaders)
1813 in.DeepCopyInto(out)
1814 return out
1815 }
1816
1817
1818 func (in *MappingLabelSpecifier_SourceCluster) DeepCopyInto(out *MappingLabelSpecifier_SourceCluster) {
1819 *out = *in
1820 }
1821
1822
1823 func (in *MappingLabelSpecifier_SourceCluster) DeepCopy() *MappingLabelSpecifier_SourceCluster {
1824 if in == nil {
1825 return nil
1826 }
1827 out := new(MappingLabelSpecifier_SourceCluster)
1828 in.DeepCopyInto(out)
1829 return out
1830 }
1831
1832
1833 func (in MappingLabelsArray) DeepCopyInto(out *MappingLabelsArray) {
1834 {
1835 in := &in
1836 *out = make(MappingLabelsArray, len(*in))
1837 for i := range *in {
1838 (*in)[i].DeepCopyInto(&(*out)[i])
1839 }
1840 }
1841 }
1842
1843
1844 func (in MappingLabelsArray) DeepCopy() MappingLabelsArray {
1845 if in == nil {
1846 return nil
1847 }
1848 out := new(MappingLabelsArray)
1849 in.DeepCopyInto(out)
1850 return *out
1851 }
1852
1853
1854 func (in *MappingList) DeepCopyInto(out *MappingList) {
1855 *out = *in
1856 out.TypeMeta = in.TypeMeta
1857 in.ListMeta.DeepCopyInto(&out.ListMeta)
1858 if in.Items != nil {
1859 in, out := &in.Items, &out.Items
1860 *out = make([]Mapping, len(*in))
1861 for i := range *in {
1862 (*in)[i].DeepCopyInto(&(*out)[i])
1863 }
1864 }
1865 }
1866
1867
1868 func (in *MappingList) DeepCopy() *MappingList {
1869 if in == nil {
1870 return nil
1871 }
1872 out := new(MappingList)
1873 in.DeepCopyInto(out)
1874 return out
1875 }
1876
1877
1878 func (in *MappingList) DeepCopyObject() runtime.Object {
1879 if c := in.DeepCopy(); c != nil {
1880 return c
1881 }
1882 return nil
1883 }
1884
1885
1886 func (in *MappingSpec) DeepCopyInto(out *MappingSpec) {
1887 *out = *in
1888 if in.AmbassadorID != nil {
1889 in, out := &in.AmbassadorID, &out.AmbassadorID
1890 *out = make(AmbassadorID, len(*in))
1891 copy(*out, *in)
1892 }
1893 if in.PrefixRegex != nil {
1894 in, out := &in.PrefixRegex, &out.PrefixRegex
1895 *out = new(bool)
1896 **out = **in
1897 }
1898 if in.PrefixExact != nil {
1899 in, out := &in.PrefixExact, &out.PrefixExact
1900 *out = new(bool)
1901 **out = **in
1902 }
1903 if in.AddRequestHeaders != nil {
1904 in, out := &in.AddRequestHeaders, &out.AddRequestHeaders
1905 *out = new(map[string]AddedHeader)
1906 if **in != nil {
1907 in, out := *in, *out
1908 *out = make(map[string]AddedHeader, len(*in))
1909 for key, val := range *in {
1910 (*out)[key] = *val.DeepCopy()
1911 }
1912 }
1913 }
1914 if in.AddResponseHeaders != nil {
1915 in, out := &in.AddResponseHeaders, &out.AddResponseHeaders
1916 *out = new(map[string]AddedHeader)
1917 if **in != nil {
1918 in, out := *in, *out
1919 *out = make(map[string]AddedHeader, len(*in))
1920 for key, val := range *in {
1921 (*out)[key] = *val.DeepCopy()
1922 }
1923 }
1924 }
1925 if in.AddLinkerdHeaders != nil {
1926 in, out := &in.AddLinkerdHeaders, &out.AddLinkerdHeaders
1927 *out = new(bool)
1928 **out = **in
1929 }
1930 if in.AutoHostRewrite != nil {
1931 in, out := &in.AutoHostRewrite, &out.AutoHostRewrite
1932 *out = new(bool)
1933 **out = **in
1934 }
1935 if in.CaseSensitive != nil {
1936 in, out := &in.CaseSensitive, &out.CaseSensitive
1937 *out = new(bool)
1938 **out = **in
1939 }
1940 if in.Docs != nil {
1941 in, out := &in.Docs, &out.Docs
1942 *out = new(DocsInfo)
1943 (*in).DeepCopyInto(*out)
1944 }
1945 if in.EnableIPv4 != nil {
1946 in, out := &in.EnableIPv4, &out.EnableIPv4
1947 *out = new(bool)
1948 **out = **in
1949 }
1950 if in.EnableIPv6 != nil {
1951 in, out := &in.EnableIPv6, &out.EnableIPv6
1952 *out = new(bool)
1953 **out = **in
1954 }
1955 if in.CircuitBreakers != nil {
1956 in, out := &in.CircuitBreakers, &out.CircuitBreakers
1957 *out = make([]*CircuitBreaker, len(*in))
1958 for i := range *in {
1959 if (*in)[i] != nil {
1960 in, out := &(*in)[i], &(*out)[i]
1961 *out = new(CircuitBreaker)
1962 (*in).DeepCopyInto(*out)
1963 }
1964 }
1965 }
1966 if in.KeepAlive != nil {
1967 in, out := &in.KeepAlive, &out.KeepAlive
1968 *out = new(KeepAlive)
1969 (*in).DeepCopyInto(*out)
1970 }
1971 if in.CORS != nil {
1972 in, out := &in.CORS, &out.CORS
1973 *out = new(CORS)
1974 (*in).DeepCopyInto(*out)
1975 }
1976 if in.RetryPolicy != nil {
1977 in, out := &in.RetryPolicy, &out.RetryPolicy
1978 *out = new(RetryPolicy)
1979 (*in).DeepCopyInto(*out)
1980 }
1981 if in.RespectDNSTTL != nil {
1982 in, out := &in.RespectDNSTTL, &out.RespectDNSTTL
1983 *out = new(bool)
1984 **out = **in
1985 }
1986 if in.GRPC != nil {
1987 in, out := &in.GRPC, &out.GRPC
1988 *out = new(bool)
1989 **out = **in
1990 }
1991 if in.HostRedirect != nil {
1992 in, out := &in.HostRedirect, &out.HostRedirect
1993 *out = new(bool)
1994 **out = **in
1995 }
1996 if in.MethodRegex != nil {
1997 in, out := &in.MethodRegex, &out.MethodRegex
1998 *out = new(bool)
1999 **out = **in
2000 }
2001 if in.RegexRedirect != nil {
2002 in, out := &in.RegexRedirect, &out.RegexRedirect
2003 *out = new(RegexMap)
2004 **out = **in
2005 }
2006 if in.RedirectResponseCode != nil {
2007 in, out := &in.RedirectResponseCode, &out.RedirectResponseCode
2008 *out = new(int)
2009 **out = **in
2010 }
2011 if in.Precedence != nil {
2012 in, out := &in.Precedence, &out.Precedence
2013 *out = new(int)
2014 **out = **in
2015 }
2016 if in.RemoveRequestHeaders != nil {
2017 in, out := &in.RemoveRequestHeaders, &out.RemoveRequestHeaders
2018 *out = new([]string)
2019 if **in != nil {
2020 in, out := *in, *out
2021 *out = make([]string, len(*in))
2022 copy(*out, *in)
2023 }
2024 }
2025 if in.RemoveResponseHeaders != nil {
2026 in, out := &in.RemoveResponseHeaders, &out.RemoveResponseHeaders
2027 *out = new([]string)
2028 if **in != nil {
2029 in, out := *in, *out
2030 *out = make([]string, len(*in))
2031 copy(*out, *in)
2032 }
2033 }
2034 if in.Rewrite != nil {
2035 in, out := &in.Rewrite, &out.Rewrite
2036 *out = new(string)
2037 **out = **in
2038 }
2039 if in.RegexRewrite != nil {
2040 in, out := &in.RegexRewrite, &out.RegexRewrite
2041 *out = new(RegexMap)
2042 **out = **in
2043 }
2044 if in.Shadow != nil {
2045 in, out := &in.Shadow, &out.Shadow
2046 *out = new(bool)
2047 **out = **in
2048 }
2049 if in.ConnectTimeout != nil {
2050 in, out := &in.ConnectTimeout, &out.ConnectTimeout
2051 *out = new(MillisecondDuration)
2052 **out = **in
2053 }
2054 if in.ClusterIdleTimeout != nil {
2055 in, out := &in.ClusterIdleTimeout, &out.ClusterIdleTimeout
2056 *out = new(MillisecondDuration)
2057 **out = **in
2058 }
2059 if in.ClusterMaxConnectionLifetime != nil {
2060 in, out := &in.ClusterMaxConnectionLifetime, &out.ClusterMaxConnectionLifetime
2061 *out = new(MillisecondDuration)
2062 **out = **in
2063 }
2064 if in.Timeout != nil {
2065 in, out := &in.Timeout, &out.Timeout
2066 *out = new(MillisecondDuration)
2067 **out = **in
2068 }
2069 if in.IdleTimeout != nil {
2070 in, out := &in.IdleTimeout, &out.IdleTimeout
2071 *out = new(MillisecondDuration)
2072 **out = **in
2073 }
2074 if in.HealthChecks != nil {
2075 in, out := &in.HealthChecks, &out.HealthChecks
2076 *out = make([]HealthCheck, len(*in))
2077 for i := range *in {
2078 (*in)[i].DeepCopyInto(&(*out)[i])
2079 }
2080 }
2081 if in.DeprecatedUseWebsocket != nil {
2082 in, out := &in.DeprecatedUseWebsocket, &out.DeprecatedUseWebsocket
2083 *out = new(bool)
2084 **out = **in
2085 }
2086 if in.AllowUpgrade != nil {
2087 in, out := &in.AllowUpgrade, &out.AllowUpgrade
2088 *out = make([]string, len(*in))
2089 copy(*out, *in)
2090 }
2091 if in.Weight != nil {
2092 in, out := &in.Weight, &out.Weight
2093 *out = new(int)
2094 **out = **in
2095 }
2096 if in.BypassAuth != nil {
2097 in, out := &in.BypassAuth, &out.BypassAuth
2098 *out = new(bool)
2099 **out = **in
2100 }
2101 if in.AuthContextExtensions != nil {
2102 in, out := &in.AuthContextExtensions, &out.AuthContextExtensions
2103 *out = make(map[string]string, len(*in))
2104 for key, val := range *in {
2105 (*out)[key] = val
2106 }
2107 }
2108 if in.BypassErrorResponseOverrides != nil {
2109 in, out := &in.BypassErrorResponseOverrides, &out.BypassErrorResponseOverrides
2110 *out = new(bool)
2111 **out = **in
2112 }
2113 if in.ErrorResponseOverrides != nil {
2114 in, out := &in.ErrorResponseOverrides, &out.ErrorResponseOverrides
2115 *out = make([]ErrorResponseOverride, len(*in))
2116 for i := range *in {
2117 (*in)[i].DeepCopyInto(&(*out)[i])
2118 }
2119 }
2120 if in.Modules != nil {
2121 in, out := &in.Modules, &out.Modules
2122 *out = make([]UntypedDict, len(*in))
2123 for i := range *in {
2124 (*in)[i].DeepCopyInto(&(*out)[i])
2125 }
2126 }
2127 if in.DeprecatedHostRegex != nil {
2128 in, out := &in.DeprecatedHostRegex, &out.DeprecatedHostRegex
2129 *out = new(bool)
2130 **out = **in
2131 }
2132 if in.Headers != nil {
2133 in, out := &in.Headers, &out.Headers
2134 *out = make(map[string]string, len(*in))
2135 for key, val := range *in {
2136 (*out)[key] = val
2137 }
2138 }
2139 if in.RegexHeaders != nil {
2140 in, out := &in.RegexHeaders, &out.RegexHeaders
2141 *out = make(map[string]string, len(*in))
2142 for key, val := range *in {
2143 (*out)[key] = val
2144 }
2145 }
2146 if in.Labels != nil {
2147 in, out := &in.Labels, &out.Labels
2148 *out = make(DomainMap, len(*in))
2149 for key, val := range *in {
2150 var outVal []MappingLabelGroup
2151 if val == nil {
2152 (*out)[key] = nil
2153 } else {
2154 in, out := &val, &outVal
2155 *out = make(MappingLabelGroupsArray, len(*in))
2156 for i := range *in {
2157 if (*in)[i] != nil {
2158 in, out := &(*in)[i], &(*out)[i]
2159 *out = make(MappingLabelGroup, len(*in))
2160 for key, val := range *in {
2161 var outVal []MappingLabelSpecifier
2162 if val == nil {
2163 (*out)[key] = nil
2164 } else {
2165 in, out := &val, &outVal
2166 *out = make(MappingLabelsArray, len(*in))
2167 for i := range *in {
2168 (*in)[i].DeepCopyInto(&(*out)[i])
2169 }
2170 }
2171 (*out)[key] = outVal
2172 }
2173 }
2174 }
2175 }
2176 (*out)[key] = outVal
2177 }
2178 }
2179 if in.EnvoyOverride != nil {
2180 in, out := &in.EnvoyOverride, &out.EnvoyOverride
2181 *out = new(UntypedDict)
2182 (*in).DeepCopyInto(*out)
2183 }
2184 if in.LoadBalancer != nil {
2185 in, out := &in.LoadBalancer, &out.LoadBalancer
2186 *out = new(LoadBalancer)
2187 (*in).DeepCopyInto(*out)
2188 }
2189 if in.QueryParameters != nil {
2190 in, out := &in.QueryParameters, &out.QueryParameters
2191 *out = make(map[string]string, len(*in))
2192 for key, val := range *in {
2193 (*out)[key] = val
2194 }
2195 }
2196 if in.RegexQueryParameters != nil {
2197 in, out := &in.RegexQueryParameters, &out.RegexQueryParameters
2198 *out = make(map[string]string, len(*in))
2199 for key, val := range *in {
2200 (*out)[key] = val
2201 }
2202 }
2203 if in.V2ExplicitTLS != nil {
2204 in, out := &in.V2ExplicitTLS, &out.V2ExplicitTLS
2205 *out = new(V2ExplicitTLS)
2206 (*in).DeepCopyInto(*out)
2207 }
2208 if in.V2BoolHeaders != nil {
2209 in, out := &in.V2BoolHeaders, &out.V2BoolHeaders
2210 *out = make([]string, len(*in))
2211 copy(*out, *in)
2212 }
2213 if in.V2BoolQueryParameters != nil {
2214 in, out := &in.V2BoolQueryParameters, &out.V2BoolQueryParameters
2215 *out = make([]string, len(*in))
2216 copy(*out, *in)
2217 }
2218 }
2219
2220
2221 func (in *MappingSpec) DeepCopy() *MappingSpec {
2222 if in == nil {
2223 return nil
2224 }
2225 out := new(MappingSpec)
2226 in.DeepCopyInto(out)
2227 return out
2228 }
2229
2230
2231 func (in *MappingStatus) DeepCopyInto(out *MappingStatus) {
2232 *out = *in
2233 }
2234
2235
2236 func (in *MappingStatus) DeepCopy() *MappingStatus {
2237 if in == nil {
2238 return nil
2239 }
2240 out := new(MappingStatus)
2241 in.DeepCopyInto(out)
2242 return out
2243 }
2244
2245
2246 func (in *MillisecondDuration) DeepCopyInto(out *MillisecondDuration) {
2247 *out = *in
2248 }
2249
2250
2251 func (in *MillisecondDuration) DeepCopy() *MillisecondDuration {
2252 if in == nil {
2253 return nil
2254 }
2255 out := new(MillisecondDuration)
2256 in.DeepCopyInto(out)
2257 return out
2258 }
2259
2260
2261 func (in *Module) DeepCopyInto(out *Module) {
2262 *out = *in
2263 out.TypeMeta = in.TypeMeta
2264 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
2265 in.Spec.DeepCopyInto(&out.Spec)
2266 }
2267
2268
2269 func (in *Module) DeepCopy() *Module {
2270 if in == nil {
2271 return nil
2272 }
2273 out := new(Module)
2274 in.DeepCopyInto(out)
2275 return out
2276 }
2277
2278
2279 func (in *Module) DeepCopyObject() runtime.Object {
2280 if c := in.DeepCopy(); c != nil {
2281 return c
2282 }
2283 return nil
2284 }
2285
2286
2287 func (in *ModuleList) DeepCopyInto(out *ModuleList) {
2288 *out = *in
2289 out.TypeMeta = in.TypeMeta
2290 in.ListMeta.DeepCopyInto(&out.ListMeta)
2291 if in.Items != nil {
2292 in, out := &in.Items, &out.Items
2293 *out = make([]Module, len(*in))
2294 for i := range *in {
2295 (*in)[i].DeepCopyInto(&(*out)[i])
2296 }
2297 }
2298 }
2299
2300
2301 func (in *ModuleList) DeepCopy() *ModuleList {
2302 if in == nil {
2303 return nil
2304 }
2305 out := new(ModuleList)
2306 in.DeepCopyInto(out)
2307 return out
2308 }
2309
2310
2311 func (in *ModuleList) DeepCopyObject() runtime.Object {
2312 if c := in.DeepCopy(); c != nil {
2313 return c
2314 }
2315 return nil
2316 }
2317
2318
2319 func (in *ModuleSpec) DeepCopyInto(out *ModuleSpec) {
2320 *out = *in
2321 if in.AmbassadorID != nil {
2322 in, out := &in.AmbassadorID, &out.AmbassadorID
2323 *out = make(AmbassadorID, len(*in))
2324 copy(*out, *in)
2325 }
2326 in.Config.DeepCopyInto(&out.Config)
2327 }
2328
2329
2330 func (in *ModuleSpec) DeepCopy() *ModuleSpec {
2331 if in == nil {
2332 return nil
2333 }
2334 out := new(ModuleSpec)
2335 in.DeepCopyInto(out)
2336 return out
2337 }
2338
2339
2340 func (in *NamespaceBindingType) DeepCopyInto(out *NamespaceBindingType) {
2341 *out = *in
2342 }
2343
2344
2345 func (in *NamespaceBindingType) DeepCopy() *NamespaceBindingType {
2346 if in == nil {
2347 return nil
2348 }
2349 out := new(NamespaceBindingType)
2350 in.DeepCopyInto(out)
2351 return out
2352 }
2353
2354
2355 func (in *PreviewURLSpec) DeepCopyInto(out *PreviewURLSpec) {
2356 *out = *in
2357 if in.Enabled != nil {
2358 in, out := &in.Enabled, &out.Enabled
2359 *out = new(bool)
2360 **out = **in
2361 }
2362 }
2363
2364
2365 func (in *PreviewURLSpec) DeepCopy() *PreviewURLSpec {
2366 if in == nil {
2367 return nil
2368 }
2369 out := new(PreviewURLSpec)
2370 in.DeepCopyInto(out)
2371 return out
2372 }
2373
2374
2375 func (in *RateLimitService) DeepCopyInto(out *RateLimitService) {
2376 *out = *in
2377 out.TypeMeta = in.TypeMeta
2378 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
2379 in.Spec.DeepCopyInto(&out.Spec)
2380 }
2381
2382
2383 func (in *RateLimitService) DeepCopy() *RateLimitService {
2384 if in == nil {
2385 return nil
2386 }
2387 out := new(RateLimitService)
2388 in.DeepCopyInto(out)
2389 return out
2390 }
2391
2392
2393 func (in *RateLimitService) DeepCopyObject() runtime.Object {
2394 if c := in.DeepCopy(); c != nil {
2395 return c
2396 }
2397 return nil
2398 }
2399
2400
2401 func (in *RateLimitServiceList) DeepCopyInto(out *RateLimitServiceList) {
2402 *out = *in
2403 out.TypeMeta = in.TypeMeta
2404 in.ListMeta.DeepCopyInto(&out.ListMeta)
2405 if in.Items != nil {
2406 in, out := &in.Items, &out.Items
2407 *out = make([]RateLimitService, len(*in))
2408 for i := range *in {
2409 (*in)[i].DeepCopyInto(&(*out)[i])
2410 }
2411 }
2412 }
2413
2414
2415 func (in *RateLimitServiceList) DeepCopy() *RateLimitServiceList {
2416 if in == nil {
2417 return nil
2418 }
2419 out := new(RateLimitServiceList)
2420 in.DeepCopyInto(out)
2421 return out
2422 }
2423
2424
2425 func (in *RateLimitServiceList) DeepCopyObject() runtime.Object {
2426 if c := in.DeepCopy(); c != nil {
2427 return c
2428 }
2429 return nil
2430 }
2431
2432
2433 func (in *RateLimitServiceSpec) DeepCopyInto(out *RateLimitServiceSpec) {
2434 *out = *in
2435 if in.AmbassadorID != nil {
2436 in, out := &in.AmbassadorID, &out.AmbassadorID
2437 *out = make(AmbassadorID, len(*in))
2438 copy(*out, *in)
2439 }
2440 if in.Timeout != nil {
2441 in, out := &in.Timeout, &out.Timeout
2442 *out = new(MillisecondDuration)
2443 **out = **in
2444 }
2445 if in.V2ExplicitTLS != nil {
2446 in, out := &in.V2ExplicitTLS, &out.V2ExplicitTLS
2447 *out = new(V2ExplicitTLS)
2448 (*in).DeepCopyInto(*out)
2449 }
2450 }
2451
2452
2453 func (in *RateLimitServiceSpec) DeepCopy() *RateLimitServiceSpec {
2454 if in == nil {
2455 return nil
2456 }
2457 out := new(RateLimitServiceSpec)
2458 in.DeepCopyInto(out)
2459 return out
2460 }
2461
2462
2463 func (in *RegexMap) DeepCopyInto(out *RegexMap) {
2464 *out = *in
2465 }
2466
2467
2468 func (in *RegexMap) DeepCopy() *RegexMap {
2469 if in == nil {
2470 return nil
2471 }
2472 out := new(RegexMap)
2473 in.DeepCopyInto(out)
2474 return out
2475 }
2476
2477
2478 func (in *RequestPolicy) DeepCopyInto(out *RequestPolicy) {
2479 *out = *in
2480 in.Insecure.DeepCopyInto(&out.Insecure)
2481 }
2482
2483
2484 func (in *RequestPolicy) DeepCopy() *RequestPolicy {
2485 if in == nil {
2486 return nil
2487 }
2488 out := new(RequestPolicy)
2489 in.DeepCopyInto(out)
2490 return out
2491 }
2492
2493
2494 func (in *RetryPolicy) DeepCopyInto(out *RetryPolicy) {
2495 *out = *in
2496 if in.NumRetries != nil {
2497 in, out := &in.NumRetries, &out.NumRetries
2498 *out = new(int)
2499 **out = **in
2500 }
2501 }
2502
2503
2504 func (in *RetryPolicy) DeepCopy() *RetryPolicy {
2505 if in == nil {
2506 return nil
2507 }
2508 out := new(RetryPolicy)
2509 in.DeepCopyInto(out)
2510 return out
2511 }
2512
2513
2514 func (in *SecondDuration) DeepCopyInto(out *SecondDuration) {
2515 *out = *in
2516 }
2517
2518
2519 func (in *SecondDuration) DeepCopy() *SecondDuration {
2520 if in == nil {
2521 return nil
2522 }
2523 out := new(SecondDuration)
2524 in.DeepCopyInto(out)
2525 return out
2526 }
2527
2528
2529 func (in *StatusRange) DeepCopyInto(out *StatusRange) {
2530 *out = *in
2531 }
2532
2533
2534 func (in *StatusRange) DeepCopy() *StatusRange {
2535 if in == nil {
2536 return nil
2537 }
2538 out := new(StatusRange)
2539 in.DeepCopyInto(out)
2540 return out
2541 }
2542
2543
2544 func (in *TCPMapping) DeepCopyInto(out *TCPMapping) {
2545 *out = *in
2546 out.TypeMeta = in.TypeMeta
2547 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
2548 in.Spec.DeepCopyInto(&out.Spec)
2549 }
2550
2551
2552 func (in *TCPMapping) DeepCopy() *TCPMapping {
2553 if in == nil {
2554 return nil
2555 }
2556 out := new(TCPMapping)
2557 in.DeepCopyInto(out)
2558 return out
2559 }
2560
2561
2562 func (in *TCPMapping) DeepCopyObject() runtime.Object {
2563 if c := in.DeepCopy(); c != nil {
2564 return c
2565 }
2566 return nil
2567 }
2568
2569
2570 func (in *TCPMappingList) DeepCopyInto(out *TCPMappingList) {
2571 *out = *in
2572 out.TypeMeta = in.TypeMeta
2573 in.ListMeta.DeepCopyInto(&out.ListMeta)
2574 if in.Items != nil {
2575 in, out := &in.Items, &out.Items
2576 *out = make([]TCPMapping, len(*in))
2577 for i := range *in {
2578 (*in)[i].DeepCopyInto(&(*out)[i])
2579 }
2580 }
2581 }
2582
2583
2584 func (in *TCPMappingList) DeepCopy() *TCPMappingList {
2585 if in == nil {
2586 return nil
2587 }
2588 out := new(TCPMappingList)
2589 in.DeepCopyInto(out)
2590 return out
2591 }
2592
2593
2594 func (in *TCPMappingList) DeepCopyObject() runtime.Object {
2595 if c := in.DeepCopy(); c != nil {
2596 return c
2597 }
2598 return nil
2599 }
2600
2601
2602 func (in *TCPMappingSpec) DeepCopyInto(out *TCPMappingSpec) {
2603 *out = *in
2604 if in.AmbassadorID != nil {
2605 in, out := &in.AmbassadorID, &out.AmbassadorID
2606 *out = make(AmbassadorID, len(*in))
2607 copy(*out, *in)
2608 }
2609 if in.EnableIPv4 != nil {
2610 in, out := &in.EnableIPv4, &out.EnableIPv4
2611 *out = new(bool)
2612 **out = **in
2613 }
2614 if in.EnableIPv6 != nil {
2615 in, out := &in.EnableIPv6, &out.EnableIPv6
2616 *out = new(bool)
2617 **out = **in
2618 }
2619 if in.CircuitBreakers != nil {
2620 in, out := &in.CircuitBreakers, &out.CircuitBreakers
2621 *out = make([]CircuitBreaker, len(*in))
2622 for i := range *in {
2623 (*in)[i].DeepCopyInto(&(*out)[i])
2624 }
2625 }
2626 if in.Weight != nil {
2627 in, out := &in.Weight, &out.Weight
2628 *out = new(int)
2629 **out = **in
2630 }
2631 if in.V2ExplicitTLS != nil {
2632 in, out := &in.V2ExplicitTLS, &out.V2ExplicitTLS
2633 *out = new(V2ExplicitTLS)
2634 (*in).DeepCopyInto(*out)
2635 }
2636 }
2637
2638
2639 func (in *TCPMappingSpec) DeepCopy() *TCPMappingSpec {
2640 if in == nil {
2641 return nil
2642 }
2643 out := new(TCPMappingSpec)
2644 in.DeepCopyInto(out)
2645 return out
2646 }
2647
2648
2649 func (in *TLSConfig) DeepCopyInto(out *TLSConfig) {
2650 *out = *in
2651 if in.CertRequired != nil {
2652 in, out := &in.CertRequired, &out.CertRequired
2653 *out = new(bool)
2654 **out = **in
2655 }
2656 if in.CipherSuites != nil {
2657 in, out := &in.CipherSuites, &out.CipherSuites
2658 *out = make([]string, len(*in))
2659 copy(*out, *in)
2660 }
2661 if in.ECDHCurves != nil {
2662 in, out := &in.ECDHCurves, &out.ECDHCurves
2663 *out = make([]string, len(*in))
2664 copy(*out, *in)
2665 }
2666 if in.RedirectCleartextFrom != nil {
2667 in, out := &in.RedirectCleartextFrom, &out.RedirectCleartextFrom
2668 *out = new(int)
2669 **out = **in
2670 }
2671 }
2672
2673
2674 func (in *TLSConfig) DeepCopy() *TLSConfig {
2675 if in == nil {
2676 return nil
2677 }
2678 out := new(TLSConfig)
2679 in.DeepCopyInto(out)
2680 return out
2681 }
2682
2683
2684 func (in *TLSContext) DeepCopyInto(out *TLSContext) {
2685 *out = *in
2686 out.TypeMeta = in.TypeMeta
2687 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
2688 in.Spec.DeepCopyInto(&out.Spec)
2689 }
2690
2691
2692 func (in *TLSContext) DeepCopy() *TLSContext {
2693 if in == nil {
2694 return nil
2695 }
2696 out := new(TLSContext)
2697 in.DeepCopyInto(out)
2698 return out
2699 }
2700
2701
2702 func (in *TLSContext) DeepCopyObject() runtime.Object {
2703 if c := in.DeepCopy(); c != nil {
2704 return c
2705 }
2706 return nil
2707 }
2708
2709
2710 func (in *TLSContextList) DeepCopyInto(out *TLSContextList) {
2711 *out = *in
2712 out.TypeMeta = in.TypeMeta
2713 in.ListMeta.DeepCopyInto(&out.ListMeta)
2714 if in.Items != nil {
2715 in, out := &in.Items, &out.Items
2716 *out = make([]TLSContext, len(*in))
2717 for i := range *in {
2718 (*in)[i].DeepCopyInto(&(*out)[i])
2719 }
2720 }
2721 }
2722
2723
2724 func (in *TLSContextList) DeepCopy() *TLSContextList {
2725 if in == nil {
2726 return nil
2727 }
2728 out := new(TLSContextList)
2729 in.DeepCopyInto(out)
2730 return out
2731 }
2732
2733
2734 func (in *TLSContextList) DeepCopyObject() runtime.Object {
2735 if c := in.DeepCopy(); c != nil {
2736 return c
2737 }
2738 return nil
2739 }
2740
2741
2742 func (in *TLSContextSpec) DeepCopyInto(out *TLSContextSpec) {
2743 *out = *in
2744 if in.AmbassadorID != nil {
2745 in, out := &in.AmbassadorID, &out.AmbassadorID
2746 *out = make(AmbassadorID, len(*in))
2747 copy(*out, *in)
2748 }
2749 if in.Hosts != nil {
2750 in, out := &in.Hosts, &out.Hosts
2751 *out = make([]string, len(*in))
2752 copy(*out, *in)
2753 }
2754 if in.CertRequired != nil {
2755 in, out := &in.CertRequired, &out.CertRequired
2756 *out = new(bool)
2757 **out = **in
2758 }
2759 if in.CipherSuites != nil {
2760 in, out := &in.CipherSuites, &out.CipherSuites
2761 *out = make([]string, len(*in))
2762 copy(*out, *in)
2763 }
2764 if in.ECDHCurves != nil {
2765 in, out := &in.ECDHCurves, &out.ECDHCurves
2766 *out = make([]string, len(*in))
2767 copy(*out, *in)
2768 }
2769 if in.SecretNamespacing != nil {
2770 in, out := &in.SecretNamespacing, &out.SecretNamespacing
2771 *out = new(bool)
2772 **out = **in
2773 }
2774 if in.RedirectCleartextFrom != nil {
2775 in, out := &in.RedirectCleartextFrom, &out.RedirectCleartextFrom
2776 *out = new(int)
2777 **out = **in
2778 }
2779 }
2780
2781
2782 func (in *TLSContextSpec) DeepCopy() *TLSContextSpec {
2783 if in == nil {
2784 return nil
2785 }
2786 out := new(TLSContextSpec)
2787 in.DeepCopyInto(out)
2788 return out
2789 }
2790
2791
2792 func (in *TraceConfig) DeepCopyInto(out *TraceConfig) {
2793 *out = *in
2794 if in.PropagationModes != nil {
2795 in, out := &in.PropagationModes, &out.PropagationModes
2796 *out = make([]PropagationMode, len(*in))
2797 copy(*out, *in)
2798 }
2799 if in.TraceID128Bit != nil {
2800 in, out := &in.TraceID128Bit, &out.TraceID128Bit
2801 *out = new(bool)
2802 **out = **in
2803 }
2804 if in.SharedSpanContext != nil {
2805 in, out := &in.SharedSpanContext, &out.SharedSpanContext
2806 *out = new(bool)
2807 **out = **in
2808 }
2809 }
2810
2811
2812 func (in *TraceConfig) DeepCopy() *TraceConfig {
2813 if in == nil {
2814 return nil
2815 }
2816 out := new(TraceConfig)
2817 in.DeepCopyInto(out)
2818 return out
2819 }
2820
2821
2822 func (in *TraceSampling) DeepCopyInto(out *TraceSampling) {
2823 *out = *in
2824 if in.Client != nil {
2825 in, out := &in.Client, &out.Client
2826 *out = new(int)
2827 **out = **in
2828 }
2829 if in.Random != nil {
2830 in, out := &in.Random, &out.Random
2831 *out = new(int)
2832 **out = **in
2833 }
2834 if in.Overall != nil {
2835 in, out := &in.Overall, &out.Overall
2836 *out = new(int)
2837 **out = **in
2838 }
2839 }
2840
2841
2842 func (in *TraceSampling) DeepCopy() *TraceSampling {
2843 if in == nil {
2844 return nil
2845 }
2846 out := new(TraceSampling)
2847 in.DeepCopyInto(out)
2848 return out
2849 }
2850
2851
2852 func (in *TracingCustomTag) DeepCopyInto(out *TracingCustomTag) {
2853 *out = *in
2854 if in.Literal != nil {
2855 in, out := &in.Literal, &out.Literal
2856 *out = new(TracingCustomTagTypeLiteral)
2857 **out = **in
2858 }
2859 if in.Environment != nil {
2860 in, out := &in.Environment, &out.Environment
2861 *out = new(TracingCustomTagTypeEnvironment)
2862 (*in).DeepCopyInto(*out)
2863 }
2864 if in.Header != nil {
2865 in, out := &in.Header, &out.Header
2866 *out = new(TracingCustomTagTypeRequestHeader)
2867 (*in).DeepCopyInto(*out)
2868 }
2869 }
2870
2871
2872 func (in *TracingCustomTag) DeepCopy() *TracingCustomTag {
2873 if in == nil {
2874 return nil
2875 }
2876 out := new(TracingCustomTag)
2877 in.DeepCopyInto(out)
2878 return out
2879 }
2880
2881
2882 func (in *TracingCustomTagTypeEnvironment) DeepCopyInto(out *TracingCustomTagTypeEnvironment) {
2883 *out = *in
2884 if in.DefaultValue != nil {
2885 in, out := &in.DefaultValue, &out.DefaultValue
2886 *out = new(string)
2887 **out = **in
2888 }
2889 }
2890
2891
2892 func (in *TracingCustomTagTypeEnvironment) DeepCopy() *TracingCustomTagTypeEnvironment {
2893 if in == nil {
2894 return nil
2895 }
2896 out := new(TracingCustomTagTypeEnvironment)
2897 in.DeepCopyInto(out)
2898 return out
2899 }
2900
2901
2902 func (in *TracingCustomTagTypeLiteral) DeepCopyInto(out *TracingCustomTagTypeLiteral) {
2903 *out = *in
2904 }
2905
2906
2907 func (in *TracingCustomTagTypeLiteral) DeepCopy() *TracingCustomTagTypeLiteral {
2908 if in == nil {
2909 return nil
2910 }
2911 out := new(TracingCustomTagTypeLiteral)
2912 in.DeepCopyInto(out)
2913 return out
2914 }
2915
2916
2917 func (in *TracingCustomTagTypeRequestHeader) DeepCopyInto(out *TracingCustomTagTypeRequestHeader) {
2918 *out = *in
2919 if in.DefaultValue != nil {
2920 in, out := &in.DefaultValue, &out.DefaultValue
2921 *out = new(string)
2922 **out = **in
2923 }
2924 }
2925
2926
2927 func (in *TracingCustomTagTypeRequestHeader) DeepCopy() *TracingCustomTagTypeRequestHeader {
2928 if in == nil {
2929 return nil
2930 }
2931 out := new(TracingCustomTagTypeRequestHeader)
2932 in.DeepCopyInto(out)
2933 return out
2934 }
2935
2936
2937 func (in *TracingService) DeepCopyInto(out *TracingService) {
2938 *out = *in
2939 out.TypeMeta = in.TypeMeta
2940 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
2941 in.Spec.DeepCopyInto(&out.Spec)
2942 }
2943
2944
2945 func (in *TracingService) DeepCopy() *TracingService {
2946 if in == nil {
2947 return nil
2948 }
2949 out := new(TracingService)
2950 in.DeepCopyInto(out)
2951 return out
2952 }
2953
2954
2955 func (in *TracingService) DeepCopyObject() runtime.Object {
2956 if c := in.DeepCopy(); c != nil {
2957 return c
2958 }
2959 return nil
2960 }
2961
2962
2963 func (in *TracingServiceList) DeepCopyInto(out *TracingServiceList) {
2964 *out = *in
2965 out.TypeMeta = in.TypeMeta
2966 in.ListMeta.DeepCopyInto(&out.ListMeta)
2967 if in.Items != nil {
2968 in, out := &in.Items, &out.Items
2969 *out = make([]TracingService, len(*in))
2970 for i := range *in {
2971 (*in)[i].DeepCopyInto(&(*out)[i])
2972 }
2973 }
2974 }
2975
2976
2977 func (in *TracingServiceList) DeepCopy() *TracingServiceList {
2978 if in == nil {
2979 return nil
2980 }
2981 out := new(TracingServiceList)
2982 in.DeepCopyInto(out)
2983 return out
2984 }
2985
2986
2987 func (in *TracingServiceList) DeepCopyObject() runtime.Object {
2988 if c := in.DeepCopy(); c != nil {
2989 return c
2990 }
2991 return nil
2992 }
2993
2994
2995 func (in *TracingServiceSpec) DeepCopyInto(out *TracingServiceSpec) {
2996 *out = *in
2997 if in.AmbassadorID != nil {
2998 in, out := &in.AmbassadorID, &out.AmbassadorID
2999 *out = make(AmbassadorID, len(*in))
3000 copy(*out, *in)
3001 }
3002 if in.Sampling != nil {
3003 in, out := &in.Sampling, &out.Sampling
3004 *out = new(TraceSampling)
3005 (*in).DeepCopyInto(*out)
3006 }
3007 if in.DeprecatedTagHeaders != nil {
3008 in, out := &in.DeprecatedTagHeaders, &out.DeprecatedTagHeaders
3009 *out = make([]string, len(*in))
3010 copy(*out, *in)
3011 }
3012 if in.CustomTags != nil {
3013 in, out := &in.CustomTags, &out.CustomTags
3014 *out = make([]TracingCustomTag, len(*in))
3015 for i := range *in {
3016 (*in)[i].DeepCopyInto(&(*out)[i])
3017 }
3018 }
3019 if in.Config != nil {
3020 in, out := &in.Config, &out.Config
3021 *out = new(TraceConfig)
3022 (*in).DeepCopyInto(*out)
3023 }
3024 }
3025
3026
3027 func (in *TracingServiceSpec) DeepCopy() *TracingServiceSpec {
3028 if in == nil {
3029 return nil
3030 }
3031 out := new(TracingServiceSpec)
3032 in.DeepCopyInto(out)
3033 return out
3034 }
3035
3036
3037 func (in *UntypedDict) DeepCopyInto(out *UntypedDict) {
3038 *out = *in
3039 if in.Values != nil {
3040 in, out := &in.Values, &out.Values
3041 *out = make(map[string]json.RawMessage, len(*in))
3042 for key, val := range *in {
3043 var outVal []byte
3044 if val == nil {
3045 (*out)[key] = nil
3046 } else {
3047 in, out := &val, &outVal
3048 *out = make(json.RawMessage, len(*in))
3049 copy(*out, *in)
3050 }
3051 (*out)[key] = outVal
3052 }
3053 }
3054 }
3055
3056
3057 func (in *UntypedDict) DeepCopy() *UntypedDict {
3058 if in == nil {
3059 return nil
3060 }
3061 out := new(UntypedDict)
3062 in.DeepCopyInto(out)
3063 return out
3064 }
3065
3066
3067 func (in *V2ExplicitTLS) DeepCopyInto(out *V2ExplicitTLS) {
3068 *out = *in
3069 if in.ServiceScheme != nil {
3070 in, out := &in.ServiceScheme, &out.ServiceScheme
3071 *out = new(string)
3072 **out = **in
3073 }
3074 }
3075
3076
3077 func (in *V2ExplicitTLS) DeepCopy() *V2ExplicitTLS {
3078 if in == nil {
3079 return nil
3080 }
3081 out := new(V2ExplicitTLS)
3082 in.DeepCopyInto(out)
3083 return out
3084 }
3085
View as plain text