1
2
3
18
19
20
21 package v1
22
23 import (
24 metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
25 "k8s.io/apimachinery/pkg/runtime"
26 )
27
28
29 func (in *AllowedRoutes) DeepCopyInto(out *AllowedRoutes) {
30 *out = *in
31 if in.Namespaces != nil {
32 in, out := &in.Namespaces, &out.Namespaces
33 *out = new(RouteNamespaces)
34 (*in).DeepCopyInto(*out)
35 }
36 if in.Kinds != nil {
37 in, out := &in.Kinds, &out.Kinds
38 *out = make([]RouteGroupKind, len(*in))
39 for i := range *in {
40 (*in)[i].DeepCopyInto(&(*out)[i])
41 }
42 }
43 }
44
45
46 func (in *AllowedRoutes) DeepCopy() *AllowedRoutes {
47 if in == nil {
48 return nil
49 }
50 out := new(AllowedRoutes)
51 in.DeepCopyInto(out)
52 return out
53 }
54
55
56 func (in *BackendObjectReference) DeepCopyInto(out *BackendObjectReference) {
57 *out = *in
58 if in.Group != nil {
59 in, out := &in.Group, &out.Group
60 *out = new(Group)
61 **out = **in
62 }
63 if in.Kind != nil {
64 in, out := &in.Kind, &out.Kind
65 *out = new(Kind)
66 **out = **in
67 }
68 if in.Namespace != nil {
69 in, out := &in.Namespace, &out.Namespace
70 *out = new(Namespace)
71 **out = **in
72 }
73 if in.Port != nil {
74 in, out := &in.Port, &out.Port
75 *out = new(PortNumber)
76 **out = **in
77 }
78 }
79
80
81 func (in *BackendObjectReference) DeepCopy() *BackendObjectReference {
82 if in == nil {
83 return nil
84 }
85 out := new(BackendObjectReference)
86 in.DeepCopyInto(out)
87 return out
88 }
89
90
91 func (in *BackendRef) DeepCopyInto(out *BackendRef) {
92 *out = *in
93 in.BackendObjectReference.DeepCopyInto(&out.BackendObjectReference)
94 if in.Weight != nil {
95 in, out := &in.Weight, &out.Weight
96 *out = new(int32)
97 **out = **in
98 }
99 }
100
101
102 func (in *BackendRef) DeepCopy() *BackendRef {
103 if in == nil {
104 return nil
105 }
106 out := new(BackendRef)
107 in.DeepCopyInto(out)
108 return out
109 }
110
111
112 func (in *CommonRouteSpec) DeepCopyInto(out *CommonRouteSpec) {
113 *out = *in
114 if in.ParentRefs != nil {
115 in, out := &in.ParentRefs, &out.ParentRefs
116 *out = make([]ParentReference, len(*in))
117 for i := range *in {
118 (*in)[i].DeepCopyInto(&(*out)[i])
119 }
120 }
121 }
122
123
124 func (in *CommonRouteSpec) DeepCopy() *CommonRouteSpec {
125 if in == nil {
126 return nil
127 }
128 out := new(CommonRouteSpec)
129 in.DeepCopyInto(out)
130 return out
131 }
132
133
134 func (in *Gateway) DeepCopyInto(out *Gateway) {
135 *out = *in
136 out.TypeMeta = in.TypeMeta
137 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
138 in.Spec.DeepCopyInto(&out.Spec)
139 in.Status.DeepCopyInto(&out.Status)
140 }
141
142
143 func (in *Gateway) DeepCopy() *Gateway {
144 if in == nil {
145 return nil
146 }
147 out := new(Gateway)
148 in.DeepCopyInto(out)
149 return out
150 }
151
152
153 func (in *Gateway) DeepCopyObject() runtime.Object {
154 if c := in.DeepCopy(); c != nil {
155 return c
156 }
157 return nil
158 }
159
160
161 func (in *GatewayAddress) DeepCopyInto(out *GatewayAddress) {
162 *out = *in
163 if in.Type != nil {
164 in, out := &in.Type, &out.Type
165 *out = new(AddressType)
166 **out = **in
167 }
168 }
169
170
171 func (in *GatewayAddress) DeepCopy() *GatewayAddress {
172 if in == nil {
173 return nil
174 }
175 out := new(GatewayAddress)
176 in.DeepCopyInto(out)
177 return out
178 }
179
180
181 func (in *GatewayClass) DeepCopyInto(out *GatewayClass) {
182 *out = *in
183 out.TypeMeta = in.TypeMeta
184 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
185 in.Spec.DeepCopyInto(&out.Spec)
186 in.Status.DeepCopyInto(&out.Status)
187 }
188
189
190 func (in *GatewayClass) DeepCopy() *GatewayClass {
191 if in == nil {
192 return nil
193 }
194 out := new(GatewayClass)
195 in.DeepCopyInto(out)
196 return out
197 }
198
199
200 func (in *GatewayClass) DeepCopyObject() runtime.Object {
201 if c := in.DeepCopy(); c != nil {
202 return c
203 }
204 return nil
205 }
206
207
208 func (in *GatewayClassList) DeepCopyInto(out *GatewayClassList) {
209 *out = *in
210 out.TypeMeta = in.TypeMeta
211 in.ListMeta.DeepCopyInto(&out.ListMeta)
212 if in.Items != nil {
213 in, out := &in.Items, &out.Items
214 *out = make([]GatewayClass, len(*in))
215 for i := range *in {
216 (*in)[i].DeepCopyInto(&(*out)[i])
217 }
218 }
219 }
220
221
222 func (in *GatewayClassList) DeepCopy() *GatewayClassList {
223 if in == nil {
224 return nil
225 }
226 out := new(GatewayClassList)
227 in.DeepCopyInto(out)
228 return out
229 }
230
231
232 func (in *GatewayClassList) DeepCopyObject() runtime.Object {
233 if c := in.DeepCopy(); c != nil {
234 return c
235 }
236 return nil
237 }
238
239
240 func (in *GatewayClassSpec) DeepCopyInto(out *GatewayClassSpec) {
241 *out = *in
242 if in.ParametersRef != nil {
243 in, out := &in.ParametersRef, &out.ParametersRef
244 *out = new(ParametersReference)
245 (*in).DeepCopyInto(*out)
246 }
247 if in.Description != nil {
248 in, out := &in.Description, &out.Description
249 *out = new(string)
250 **out = **in
251 }
252 }
253
254
255 func (in *GatewayClassSpec) DeepCopy() *GatewayClassSpec {
256 if in == nil {
257 return nil
258 }
259 out := new(GatewayClassSpec)
260 in.DeepCopyInto(out)
261 return out
262 }
263
264
265 func (in *GatewayClassStatus) DeepCopyInto(out *GatewayClassStatus) {
266 *out = *in
267 if in.Conditions != nil {
268 in, out := &in.Conditions, &out.Conditions
269 *out = make([]metav1.Condition, len(*in))
270 for i := range *in {
271 (*in)[i].DeepCopyInto(&(*out)[i])
272 }
273 }
274 if in.SupportedFeatures != nil {
275 in, out := &in.SupportedFeatures, &out.SupportedFeatures
276 *out = make([]SupportedFeature, len(*in))
277 copy(*out, *in)
278 }
279 }
280
281
282 func (in *GatewayClassStatus) DeepCopy() *GatewayClassStatus {
283 if in == nil {
284 return nil
285 }
286 out := new(GatewayClassStatus)
287 in.DeepCopyInto(out)
288 return out
289 }
290
291
292 func (in *GatewayInfrastructure) DeepCopyInto(out *GatewayInfrastructure) {
293 *out = *in
294 if in.Labels != nil {
295 in, out := &in.Labels, &out.Labels
296 *out = make(map[AnnotationKey]AnnotationValue, len(*in))
297 for key, val := range *in {
298 (*out)[key] = val
299 }
300 }
301 if in.Annotations != nil {
302 in, out := &in.Annotations, &out.Annotations
303 *out = make(map[AnnotationKey]AnnotationValue, len(*in))
304 for key, val := range *in {
305 (*out)[key] = val
306 }
307 }
308 }
309
310
311 func (in *GatewayInfrastructure) DeepCopy() *GatewayInfrastructure {
312 if in == nil {
313 return nil
314 }
315 out := new(GatewayInfrastructure)
316 in.DeepCopyInto(out)
317 return out
318 }
319
320
321 func (in *GatewayList) DeepCopyInto(out *GatewayList) {
322 *out = *in
323 out.TypeMeta = in.TypeMeta
324 in.ListMeta.DeepCopyInto(&out.ListMeta)
325 if in.Items != nil {
326 in, out := &in.Items, &out.Items
327 *out = make([]Gateway, len(*in))
328 for i := range *in {
329 (*in)[i].DeepCopyInto(&(*out)[i])
330 }
331 }
332 }
333
334
335 func (in *GatewayList) DeepCopy() *GatewayList {
336 if in == nil {
337 return nil
338 }
339 out := new(GatewayList)
340 in.DeepCopyInto(out)
341 return out
342 }
343
344
345 func (in *GatewayList) DeepCopyObject() runtime.Object {
346 if c := in.DeepCopy(); c != nil {
347 return c
348 }
349 return nil
350 }
351
352
353 func (in *GatewaySpec) DeepCopyInto(out *GatewaySpec) {
354 *out = *in
355 if in.Listeners != nil {
356 in, out := &in.Listeners, &out.Listeners
357 *out = make([]Listener, len(*in))
358 for i := range *in {
359 (*in)[i].DeepCopyInto(&(*out)[i])
360 }
361 }
362 if in.Addresses != nil {
363 in, out := &in.Addresses, &out.Addresses
364 *out = make([]GatewayAddress, len(*in))
365 for i := range *in {
366 (*in)[i].DeepCopyInto(&(*out)[i])
367 }
368 }
369 if in.Infrastructure != nil {
370 in, out := &in.Infrastructure, &out.Infrastructure
371 *out = new(GatewayInfrastructure)
372 (*in).DeepCopyInto(*out)
373 }
374 }
375
376
377 func (in *GatewaySpec) DeepCopy() *GatewaySpec {
378 if in == nil {
379 return nil
380 }
381 out := new(GatewaySpec)
382 in.DeepCopyInto(out)
383 return out
384 }
385
386
387 func (in *GatewayStatus) DeepCopyInto(out *GatewayStatus) {
388 *out = *in
389 if in.Addresses != nil {
390 in, out := &in.Addresses, &out.Addresses
391 *out = make([]GatewayStatusAddress, len(*in))
392 for i := range *in {
393 (*in)[i].DeepCopyInto(&(*out)[i])
394 }
395 }
396 if in.Conditions != nil {
397 in, out := &in.Conditions, &out.Conditions
398 *out = make([]metav1.Condition, len(*in))
399 for i := range *in {
400 (*in)[i].DeepCopyInto(&(*out)[i])
401 }
402 }
403 if in.Listeners != nil {
404 in, out := &in.Listeners, &out.Listeners
405 *out = make([]ListenerStatus, len(*in))
406 for i := range *in {
407 (*in)[i].DeepCopyInto(&(*out)[i])
408 }
409 }
410 }
411
412
413 func (in *GatewayStatus) DeepCopy() *GatewayStatus {
414 if in == nil {
415 return nil
416 }
417 out := new(GatewayStatus)
418 in.DeepCopyInto(out)
419 return out
420 }
421
422
423 func (in *GatewayStatusAddress) DeepCopyInto(out *GatewayStatusAddress) {
424 *out = *in
425 if in.Type != nil {
426 in, out := &in.Type, &out.Type
427 *out = new(AddressType)
428 **out = **in
429 }
430 }
431
432
433 func (in *GatewayStatusAddress) DeepCopy() *GatewayStatusAddress {
434 if in == nil {
435 return nil
436 }
437 out := new(GatewayStatusAddress)
438 in.DeepCopyInto(out)
439 return out
440 }
441
442
443 func (in *GatewayTLSConfig) DeepCopyInto(out *GatewayTLSConfig) {
444 *out = *in
445 if in.Mode != nil {
446 in, out := &in.Mode, &out.Mode
447 *out = new(TLSModeType)
448 **out = **in
449 }
450 if in.CertificateRefs != nil {
451 in, out := &in.CertificateRefs, &out.CertificateRefs
452 *out = make([]SecretObjectReference, len(*in))
453 for i := range *in {
454 (*in)[i].DeepCopyInto(&(*out)[i])
455 }
456 }
457 if in.Options != nil {
458 in, out := &in.Options, &out.Options
459 *out = make(map[AnnotationKey]AnnotationValue, len(*in))
460 for key, val := range *in {
461 (*out)[key] = val
462 }
463 }
464 }
465
466
467 func (in *GatewayTLSConfig) DeepCopy() *GatewayTLSConfig {
468 if in == nil {
469 return nil
470 }
471 out := new(GatewayTLSConfig)
472 in.DeepCopyInto(out)
473 return out
474 }
475
476
477 func (in *HTTPBackendRef) DeepCopyInto(out *HTTPBackendRef) {
478 *out = *in
479 in.BackendRef.DeepCopyInto(&out.BackendRef)
480 if in.Filters != nil {
481 in, out := &in.Filters, &out.Filters
482 *out = make([]HTTPRouteFilter, len(*in))
483 for i := range *in {
484 (*in)[i].DeepCopyInto(&(*out)[i])
485 }
486 }
487 }
488
489
490 func (in *HTTPBackendRef) DeepCopy() *HTTPBackendRef {
491 if in == nil {
492 return nil
493 }
494 out := new(HTTPBackendRef)
495 in.DeepCopyInto(out)
496 return out
497 }
498
499
500 func (in *HTTPHeader) DeepCopyInto(out *HTTPHeader) {
501 *out = *in
502 }
503
504
505 func (in *HTTPHeader) DeepCopy() *HTTPHeader {
506 if in == nil {
507 return nil
508 }
509 out := new(HTTPHeader)
510 in.DeepCopyInto(out)
511 return out
512 }
513
514
515 func (in *HTTPHeaderFilter) DeepCopyInto(out *HTTPHeaderFilter) {
516 *out = *in
517 if in.Set != nil {
518 in, out := &in.Set, &out.Set
519 *out = make([]HTTPHeader, len(*in))
520 copy(*out, *in)
521 }
522 if in.Add != nil {
523 in, out := &in.Add, &out.Add
524 *out = make([]HTTPHeader, len(*in))
525 copy(*out, *in)
526 }
527 if in.Remove != nil {
528 in, out := &in.Remove, &out.Remove
529 *out = make([]string, len(*in))
530 copy(*out, *in)
531 }
532 }
533
534
535 func (in *HTTPHeaderFilter) DeepCopy() *HTTPHeaderFilter {
536 if in == nil {
537 return nil
538 }
539 out := new(HTTPHeaderFilter)
540 in.DeepCopyInto(out)
541 return out
542 }
543
544
545 func (in *HTTPHeaderMatch) DeepCopyInto(out *HTTPHeaderMatch) {
546 *out = *in
547 if in.Type != nil {
548 in, out := &in.Type, &out.Type
549 *out = new(HeaderMatchType)
550 **out = **in
551 }
552 }
553
554
555 func (in *HTTPHeaderMatch) DeepCopy() *HTTPHeaderMatch {
556 if in == nil {
557 return nil
558 }
559 out := new(HTTPHeaderMatch)
560 in.DeepCopyInto(out)
561 return out
562 }
563
564
565 func (in *HTTPPathMatch) DeepCopyInto(out *HTTPPathMatch) {
566 *out = *in
567 if in.Type != nil {
568 in, out := &in.Type, &out.Type
569 *out = new(PathMatchType)
570 **out = **in
571 }
572 if in.Value != nil {
573 in, out := &in.Value, &out.Value
574 *out = new(string)
575 **out = **in
576 }
577 }
578
579
580 func (in *HTTPPathMatch) DeepCopy() *HTTPPathMatch {
581 if in == nil {
582 return nil
583 }
584 out := new(HTTPPathMatch)
585 in.DeepCopyInto(out)
586 return out
587 }
588
589
590 func (in *HTTPPathModifier) DeepCopyInto(out *HTTPPathModifier) {
591 *out = *in
592 if in.ReplaceFullPath != nil {
593 in, out := &in.ReplaceFullPath, &out.ReplaceFullPath
594 *out = new(string)
595 **out = **in
596 }
597 if in.ReplacePrefixMatch != nil {
598 in, out := &in.ReplacePrefixMatch, &out.ReplacePrefixMatch
599 *out = new(string)
600 **out = **in
601 }
602 }
603
604
605 func (in *HTTPPathModifier) DeepCopy() *HTTPPathModifier {
606 if in == nil {
607 return nil
608 }
609 out := new(HTTPPathModifier)
610 in.DeepCopyInto(out)
611 return out
612 }
613
614
615 func (in *HTTPQueryParamMatch) DeepCopyInto(out *HTTPQueryParamMatch) {
616 *out = *in
617 if in.Type != nil {
618 in, out := &in.Type, &out.Type
619 *out = new(QueryParamMatchType)
620 **out = **in
621 }
622 }
623
624
625 func (in *HTTPQueryParamMatch) DeepCopy() *HTTPQueryParamMatch {
626 if in == nil {
627 return nil
628 }
629 out := new(HTTPQueryParamMatch)
630 in.DeepCopyInto(out)
631 return out
632 }
633
634
635 func (in *HTTPRequestMirrorFilter) DeepCopyInto(out *HTTPRequestMirrorFilter) {
636 *out = *in
637 in.BackendRef.DeepCopyInto(&out.BackendRef)
638 }
639
640
641 func (in *HTTPRequestMirrorFilter) DeepCopy() *HTTPRequestMirrorFilter {
642 if in == nil {
643 return nil
644 }
645 out := new(HTTPRequestMirrorFilter)
646 in.DeepCopyInto(out)
647 return out
648 }
649
650
651 func (in *HTTPRequestRedirectFilter) DeepCopyInto(out *HTTPRequestRedirectFilter) {
652 *out = *in
653 if in.Scheme != nil {
654 in, out := &in.Scheme, &out.Scheme
655 *out = new(string)
656 **out = **in
657 }
658 if in.Hostname != nil {
659 in, out := &in.Hostname, &out.Hostname
660 *out = new(PreciseHostname)
661 **out = **in
662 }
663 if in.Path != nil {
664 in, out := &in.Path, &out.Path
665 *out = new(HTTPPathModifier)
666 (*in).DeepCopyInto(*out)
667 }
668 if in.Port != nil {
669 in, out := &in.Port, &out.Port
670 *out = new(PortNumber)
671 **out = **in
672 }
673 if in.StatusCode != nil {
674 in, out := &in.StatusCode, &out.StatusCode
675 *out = new(int)
676 **out = **in
677 }
678 }
679
680
681 func (in *HTTPRequestRedirectFilter) DeepCopy() *HTTPRequestRedirectFilter {
682 if in == nil {
683 return nil
684 }
685 out := new(HTTPRequestRedirectFilter)
686 in.DeepCopyInto(out)
687 return out
688 }
689
690
691 func (in *HTTPRoute) DeepCopyInto(out *HTTPRoute) {
692 *out = *in
693 out.TypeMeta = in.TypeMeta
694 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
695 in.Spec.DeepCopyInto(&out.Spec)
696 in.Status.DeepCopyInto(&out.Status)
697 }
698
699
700 func (in *HTTPRoute) DeepCopy() *HTTPRoute {
701 if in == nil {
702 return nil
703 }
704 out := new(HTTPRoute)
705 in.DeepCopyInto(out)
706 return out
707 }
708
709
710 func (in *HTTPRoute) DeepCopyObject() runtime.Object {
711 if c := in.DeepCopy(); c != nil {
712 return c
713 }
714 return nil
715 }
716
717
718 func (in *HTTPRouteFilter) DeepCopyInto(out *HTTPRouteFilter) {
719 *out = *in
720 if in.RequestHeaderModifier != nil {
721 in, out := &in.RequestHeaderModifier, &out.RequestHeaderModifier
722 *out = new(HTTPHeaderFilter)
723 (*in).DeepCopyInto(*out)
724 }
725 if in.ResponseHeaderModifier != nil {
726 in, out := &in.ResponseHeaderModifier, &out.ResponseHeaderModifier
727 *out = new(HTTPHeaderFilter)
728 (*in).DeepCopyInto(*out)
729 }
730 if in.RequestMirror != nil {
731 in, out := &in.RequestMirror, &out.RequestMirror
732 *out = new(HTTPRequestMirrorFilter)
733 (*in).DeepCopyInto(*out)
734 }
735 if in.RequestRedirect != nil {
736 in, out := &in.RequestRedirect, &out.RequestRedirect
737 *out = new(HTTPRequestRedirectFilter)
738 (*in).DeepCopyInto(*out)
739 }
740 if in.URLRewrite != nil {
741 in, out := &in.URLRewrite, &out.URLRewrite
742 *out = new(HTTPURLRewriteFilter)
743 (*in).DeepCopyInto(*out)
744 }
745 if in.ExtensionRef != nil {
746 in, out := &in.ExtensionRef, &out.ExtensionRef
747 *out = new(LocalObjectReference)
748 **out = **in
749 }
750 }
751
752
753 func (in *HTTPRouteFilter) DeepCopy() *HTTPRouteFilter {
754 if in == nil {
755 return nil
756 }
757 out := new(HTTPRouteFilter)
758 in.DeepCopyInto(out)
759 return out
760 }
761
762
763 func (in *HTTPRouteList) DeepCopyInto(out *HTTPRouteList) {
764 *out = *in
765 out.TypeMeta = in.TypeMeta
766 in.ListMeta.DeepCopyInto(&out.ListMeta)
767 if in.Items != nil {
768 in, out := &in.Items, &out.Items
769 *out = make([]HTTPRoute, len(*in))
770 for i := range *in {
771 (*in)[i].DeepCopyInto(&(*out)[i])
772 }
773 }
774 }
775
776
777 func (in *HTTPRouteList) DeepCopy() *HTTPRouteList {
778 if in == nil {
779 return nil
780 }
781 out := new(HTTPRouteList)
782 in.DeepCopyInto(out)
783 return out
784 }
785
786
787 func (in *HTTPRouteList) DeepCopyObject() runtime.Object {
788 if c := in.DeepCopy(); c != nil {
789 return c
790 }
791 return nil
792 }
793
794
795 func (in *HTTPRouteMatch) DeepCopyInto(out *HTTPRouteMatch) {
796 *out = *in
797 if in.Path != nil {
798 in, out := &in.Path, &out.Path
799 *out = new(HTTPPathMatch)
800 (*in).DeepCopyInto(*out)
801 }
802 if in.Headers != nil {
803 in, out := &in.Headers, &out.Headers
804 *out = make([]HTTPHeaderMatch, len(*in))
805 for i := range *in {
806 (*in)[i].DeepCopyInto(&(*out)[i])
807 }
808 }
809 if in.QueryParams != nil {
810 in, out := &in.QueryParams, &out.QueryParams
811 *out = make([]HTTPQueryParamMatch, len(*in))
812 for i := range *in {
813 (*in)[i].DeepCopyInto(&(*out)[i])
814 }
815 }
816 if in.Method != nil {
817 in, out := &in.Method, &out.Method
818 *out = new(HTTPMethod)
819 **out = **in
820 }
821 }
822
823
824 func (in *HTTPRouteMatch) DeepCopy() *HTTPRouteMatch {
825 if in == nil {
826 return nil
827 }
828 out := new(HTTPRouteMatch)
829 in.DeepCopyInto(out)
830 return out
831 }
832
833
834 func (in *HTTPRouteRule) DeepCopyInto(out *HTTPRouteRule) {
835 *out = *in
836 if in.Matches != nil {
837 in, out := &in.Matches, &out.Matches
838 *out = make([]HTTPRouteMatch, len(*in))
839 for i := range *in {
840 (*in)[i].DeepCopyInto(&(*out)[i])
841 }
842 }
843 if in.Filters != nil {
844 in, out := &in.Filters, &out.Filters
845 *out = make([]HTTPRouteFilter, len(*in))
846 for i := range *in {
847 (*in)[i].DeepCopyInto(&(*out)[i])
848 }
849 }
850 if in.BackendRefs != nil {
851 in, out := &in.BackendRefs, &out.BackendRefs
852 *out = make([]HTTPBackendRef, len(*in))
853 for i := range *in {
854 (*in)[i].DeepCopyInto(&(*out)[i])
855 }
856 }
857 if in.Timeouts != nil {
858 in, out := &in.Timeouts, &out.Timeouts
859 *out = new(HTTPRouteTimeouts)
860 (*in).DeepCopyInto(*out)
861 }
862 }
863
864
865 func (in *HTTPRouteRule) DeepCopy() *HTTPRouteRule {
866 if in == nil {
867 return nil
868 }
869 out := new(HTTPRouteRule)
870 in.DeepCopyInto(out)
871 return out
872 }
873
874
875 func (in *HTTPRouteSpec) DeepCopyInto(out *HTTPRouteSpec) {
876 *out = *in
877 in.CommonRouteSpec.DeepCopyInto(&out.CommonRouteSpec)
878 if in.Hostnames != nil {
879 in, out := &in.Hostnames, &out.Hostnames
880 *out = make([]Hostname, len(*in))
881 copy(*out, *in)
882 }
883 if in.Rules != nil {
884 in, out := &in.Rules, &out.Rules
885 *out = make([]HTTPRouteRule, len(*in))
886 for i := range *in {
887 (*in)[i].DeepCopyInto(&(*out)[i])
888 }
889 }
890 }
891
892
893 func (in *HTTPRouteSpec) DeepCopy() *HTTPRouteSpec {
894 if in == nil {
895 return nil
896 }
897 out := new(HTTPRouteSpec)
898 in.DeepCopyInto(out)
899 return out
900 }
901
902
903 func (in *HTTPRouteStatus) DeepCopyInto(out *HTTPRouteStatus) {
904 *out = *in
905 in.RouteStatus.DeepCopyInto(&out.RouteStatus)
906 }
907
908
909 func (in *HTTPRouteStatus) DeepCopy() *HTTPRouteStatus {
910 if in == nil {
911 return nil
912 }
913 out := new(HTTPRouteStatus)
914 in.DeepCopyInto(out)
915 return out
916 }
917
918
919 func (in *HTTPRouteTimeouts) DeepCopyInto(out *HTTPRouteTimeouts) {
920 *out = *in
921 if in.Request != nil {
922 in, out := &in.Request, &out.Request
923 *out = new(Duration)
924 **out = **in
925 }
926 if in.BackendRequest != nil {
927 in, out := &in.BackendRequest, &out.BackendRequest
928 *out = new(Duration)
929 **out = **in
930 }
931 }
932
933
934 func (in *HTTPRouteTimeouts) DeepCopy() *HTTPRouteTimeouts {
935 if in == nil {
936 return nil
937 }
938 out := new(HTTPRouteTimeouts)
939 in.DeepCopyInto(out)
940 return out
941 }
942
943
944 func (in *HTTPURLRewriteFilter) DeepCopyInto(out *HTTPURLRewriteFilter) {
945 *out = *in
946 if in.Hostname != nil {
947 in, out := &in.Hostname, &out.Hostname
948 *out = new(PreciseHostname)
949 **out = **in
950 }
951 if in.Path != nil {
952 in, out := &in.Path, &out.Path
953 *out = new(HTTPPathModifier)
954 (*in).DeepCopyInto(*out)
955 }
956 }
957
958
959 func (in *HTTPURLRewriteFilter) DeepCopy() *HTTPURLRewriteFilter {
960 if in == nil {
961 return nil
962 }
963 out := new(HTTPURLRewriteFilter)
964 in.DeepCopyInto(out)
965 return out
966 }
967
968
969 func (in *Listener) DeepCopyInto(out *Listener) {
970 *out = *in
971 if in.Hostname != nil {
972 in, out := &in.Hostname, &out.Hostname
973 *out = new(Hostname)
974 **out = **in
975 }
976 if in.TLS != nil {
977 in, out := &in.TLS, &out.TLS
978 *out = new(GatewayTLSConfig)
979 (*in).DeepCopyInto(*out)
980 }
981 if in.AllowedRoutes != nil {
982 in, out := &in.AllowedRoutes, &out.AllowedRoutes
983 *out = new(AllowedRoutes)
984 (*in).DeepCopyInto(*out)
985 }
986 }
987
988
989 func (in *Listener) DeepCopy() *Listener {
990 if in == nil {
991 return nil
992 }
993 out := new(Listener)
994 in.DeepCopyInto(out)
995 return out
996 }
997
998
999 func (in *ListenerStatus) DeepCopyInto(out *ListenerStatus) {
1000 *out = *in
1001 if in.SupportedKinds != nil {
1002 in, out := &in.SupportedKinds, &out.SupportedKinds
1003 *out = make([]RouteGroupKind, len(*in))
1004 for i := range *in {
1005 (*in)[i].DeepCopyInto(&(*out)[i])
1006 }
1007 }
1008 if in.Conditions != nil {
1009 in, out := &in.Conditions, &out.Conditions
1010 *out = make([]metav1.Condition, len(*in))
1011 for i := range *in {
1012 (*in)[i].DeepCopyInto(&(*out)[i])
1013 }
1014 }
1015 }
1016
1017
1018 func (in *ListenerStatus) DeepCopy() *ListenerStatus {
1019 if in == nil {
1020 return nil
1021 }
1022 out := new(ListenerStatus)
1023 in.DeepCopyInto(out)
1024 return out
1025 }
1026
1027
1028 func (in *LocalObjectReference) DeepCopyInto(out *LocalObjectReference) {
1029 *out = *in
1030 }
1031
1032
1033 func (in *LocalObjectReference) DeepCopy() *LocalObjectReference {
1034 if in == nil {
1035 return nil
1036 }
1037 out := new(LocalObjectReference)
1038 in.DeepCopyInto(out)
1039 return out
1040 }
1041
1042
1043 func (in *ParametersReference) DeepCopyInto(out *ParametersReference) {
1044 *out = *in
1045 if in.Namespace != nil {
1046 in, out := &in.Namespace, &out.Namespace
1047 *out = new(Namespace)
1048 **out = **in
1049 }
1050 }
1051
1052
1053 func (in *ParametersReference) DeepCopy() *ParametersReference {
1054 if in == nil {
1055 return nil
1056 }
1057 out := new(ParametersReference)
1058 in.DeepCopyInto(out)
1059 return out
1060 }
1061
1062
1063 func (in *ParentReference) DeepCopyInto(out *ParentReference) {
1064 *out = *in
1065 if in.Group != nil {
1066 in, out := &in.Group, &out.Group
1067 *out = new(Group)
1068 **out = **in
1069 }
1070 if in.Kind != nil {
1071 in, out := &in.Kind, &out.Kind
1072 *out = new(Kind)
1073 **out = **in
1074 }
1075 if in.Namespace != nil {
1076 in, out := &in.Namespace, &out.Namespace
1077 *out = new(Namespace)
1078 **out = **in
1079 }
1080 if in.SectionName != nil {
1081 in, out := &in.SectionName, &out.SectionName
1082 *out = new(SectionName)
1083 **out = **in
1084 }
1085 if in.Port != nil {
1086 in, out := &in.Port, &out.Port
1087 *out = new(PortNumber)
1088 **out = **in
1089 }
1090 }
1091
1092
1093 func (in *ParentReference) DeepCopy() *ParentReference {
1094 if in == nil {
1095 return nil
1096 }
1097 out := new(ParentReference)
1098 in.DeepCopyInto(out)
1099 return out
1100 }
1101
1102
1103 func (in *RouteGroupKind) DeepCopyInto(out *RouteGroupKind) {
1104 *out = *in
1105 if in.Group != nil {
1106 in, out := &in.Group, &out.Group
1107 *out = new(Group)
1108 **out = **in
1109 }
1110 }
1111
1112
1113 func (in *RouteGroupKind) DeepCopy() *RouteGroupKind {
1114 if in == nil {
1115 return nil
1116 }
1117 out := new(RouteGroupKind)
1118 in.DeepCopyInto(out)
1119 return out
1120 }
1121
1122
1123 func (in *RouteNamespaces) DeepCopyInto(out *RouteNamespaces) {
1124 *out = *in
1125 if in.From != nil {
1126 in, out := &in.From, &out.From
1127 *out = new(FromNamespaces)
1128 **out = **in
1129 }
1130 if in.Selector != nil {
1131 in, out := &in.Selector, &out.Selector
1132 *out = new(metav1.LabelSelector)
1133 (*in).DeepCopyInto(*out)
1134 }
1135 }
1136
1137
1138 func (in *RouteNamespaces) DeepCopy() *RouteNamespaces {
1139 if in == nil {
1140 return nil
1141 }
1142 out := new(RouteNamespaces)
1143 in.DeepCopyInto(out)
1144 return out
1145 }
1146
1147
1148 func (in *RouteParentStatus) DeepCopyInto(out *RouteParentStatus) {
1149 *out = *in
1150 in.ParentRef.DeepCopyInto(&out.ParentRef)
1151 if in.Conditions != nil {
1152 in, out := &in.Conditions, &out.Conditions
1153 *out = make([]metav1.Condition, len(*in))
1154 for i := range *in {
1155 (*in)[i].DeepCopyInto(&(*out)[i])
1156 }
1157 }
1158 }
1159
1160
1161 func (in *RouteParentStatus) DeepCopy() *RouteParentStatus {
1162 if in == nil {
1163 return nil
1164 }
1165 out := new(RouteParentStatus)
1166 in.DeepCopyInto(out)
1167 return out
1168 }
1169
1170
1171 func (in *RouteStatus) DeepCopyInto(out *RouteStatus) {
1172 *out = *in
1173 if in.Parents != nil {
1174 in, out := &in.Parents, &out.Parents
1175 *out = make([]RouteParentStatus, len(*in))
1176 for i := range *in {
1177 (*in)[i].DeepCopyInto(&(*out)[i])
1178 }
1179 }
1180 }
1181
1182
1183 func (in *RouteStatus) DeepCopy() *RouteStatus {
1184 if in == nil {
1185 return nil
1186 }
1187 out := new(RouteStatus)
1188 in.DeepCopyInto(out)
1189 return out
1190 }
1191
1192
1193 func (in *SecretObjectReference) DeepCopyInto(out *SecretObjectReference) {
1194 *out = *in
1195 if in.Group != nil {
1196 in, out := &in.Group, &out.Group
1197 *out = new(Group)
1198 **out = **in
1199 }
1200 if in.Kind != nil {
1201 in, out := &in.Kind, &out.Kind
1202 *out = new(Kind)
1203 **out = **in
1204 }
1205 if in.Namespace != nil {
1206 in, out := &in.Namespace, &out.Namespace
1207 *out = new(Namespace)
1208 **out = **in
1209 }
1210 }
1211
1212
1213 func (in *SecretObjectReference) DeepCopy() *SecretObjectReference {
1214 if in == nil {
1215 return nil
1216 }
1217 out := new(SecretObjectReference)
1218 in.DeepCopyInto(out)
1219 return out
1220 }
1221
View as plain text