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