sigs.k8s.io/gateway-api@v1.0.0/apis/v1alpha2/zz_generated.deepcopy.go (about) 1 //go:build !ignore_autogenerated 2 3 /* 4 Copyright The Kubernetes Authors. 5 6 Licensed under the Apache License, Version 2.0 (the "License"); 7 you may not use this file except in compliance with the License. 8 You may obtain a copy of the License at 9 10 http://www.apache.org/licenses/LICENSE-2.0 11 12 Unless required by applicable law or agreed to in writing, software 13 distributed under the License is distributed on an "AS IS" BASIS, 14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 See the License for the specific language governing permissions and 16 limitations under the License. 17 */ 18 19 // Code generated by controller-gen. DO NOT EDIT. 20 21 package v1alpha2 22 23 import ( 24 metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" 25 "k8s.io/apimachinery/pkg/runtime" 26 "sigs.k8s.io/gateway-api/apis/v1" 27 ) 28 29 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 30 func (in *BackendTLSPolicy) DeepCopyInto(out *BackendTLSPolicy) { 31 *out = *in 32 out.TypeMeta = in.TypeMeta 33 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 34 in.Spec.DeepCopyInto(&out.Spec) 35 in.Status.DeepCopyInto(&out.Status) 36 } 37 38 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendTLSPolicy. 39 func (in *BackendTLSPolicy) DeepCopy() *BackendTLSPolicy { 40 if in == nil { 41 return nil 42 } 43 out := new(BackendTLSPolicy) 44 in.DeepCopyInto(out) 45 return out 46 } 47 48 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 49 func (in *BackendTLSPolicy) DeepCopyObject() runtime.Object { 50 if c := in.DeepCopy(); c != nil { 51 return c 52 } 53 return nil 54 } 55 56 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 57 func (in *BackendTLSPolicyConfig) DeepCopyInto(out *BackendTLSPolicyConfig) { 58 *out = *in 59 if in.CACertRefs != nil { 60 in, out := &in.CACertRefs, &out.CACertRefs 61 *out = make([]v1.LocalObjectReference, len(*in)) 62 copy(*out, *in) 63 } 64 if in.WellKnownCACerts != nil { 65 in, out := &in.WellKnownCACerts, &out.WellKnownCACerts 66 *out = new(WellKnownCACertType) 67 **out = **in 68 } 69 } 70 71 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendTLSPolicyConfig. 72 func (in *BackendTLSPolicyConfig) DeepCopy() *BackendTLSPolicyConfig { 73 if in == nil { 74 return nil 75 } 76 out := new(BackendTLSPolicyConfig) 77 in.DeepCopyInto(out) 78 return out 79 } 80 81 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 82 func (in *BackendTLSPolicyList) DeepCopyInto(out *BackendTLSPolicyList) { 83 *out = *in 84 out.TypeMeta = in.TypeMeta 85 in.ListMeta.DeepCopyInto(&out.ListMeta) 86 if in.Items != nil { 87 in, out := &in.Items, &out.Items 88 *out = make([]BackendTLSPolicy, len(*in)) 89 for i := range *in { 90 (*in)[i].DeepCopyInto(&(*out)[i]) 91 } 92 } 93 } 94 95 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendTLSPolicyList. 96 func (in *BackendTLSPolicyList) DeepCopy() *BackendTLSPolicyList { 97 if in == nil { 98 return nil 99 } 100 out := new(BackendTLSPolicyList) 101 in.DeepCopyInto(out) 102 return out 103 } 104 105 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 106 func (in *BackendTLSPolicyList) DeepCopyObject() runtime.Object { 107 if c := in.DeepCopy(); c != nil { 108 return c 109 } 110 return nil 111 } 112 113 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 114 func (in *BackendTLSPolicySpec) DeepCopyInto(out *BackendTLSPolicySpec) { 115 *out = *in 116 in.TargetRef.DeepCopyInto(&out.TargetRef) 117 in.TLS.DeepCopyInto(&out.TLS) 118 } 119 120 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendTLSPolicySpec. 121 func (in *BackendTLSPolicySpec) DeepCopy() *BackendTLSPolicySpec { 122 if in == nil { 123 return nil 124 } 125 out := new(BackendTLSPolicySpec) 126 in.DeepCopyInto(out) 127 return out 128 } 129 130 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 131 func (in *GRPCBackendRef) DeepCopyInto(out *GRPCBackendRef) { 132 *out = *in 133 in.BackendRef.DeepCopyInto(&out.BackendRef) 134 if in.Filters != nil { 135 in, out := &in.Filters, &out.Filters 136 *out = make([]GRPCRouteFilter, len(*in)) 137 for i := range *in { 138 (*in)[i].DeepCopyInto(&(*out)[i]) 139 } 140 } 141 } 142 143 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GRPCBackendRef. 144 func (in *GRPCBackendRef) DeepCopy() *GRPCBackendRef { 145 if in == nil { 146 return nil 147 } 148 out := new(GRPCBackendRef) 149 in.DeepCopyInto(out) 150 return out 151 } 152 153 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 154 func (in *GRPCHeaderMatch) DeepCopyInto(out *GRPCHeaderMatch) { 155 *out = *in 156 if in.Type != nil { 157 in, out := &in.Type, &out.Type 158 *out = new(v1.HeaderMatchType) 159 **out = **in 160 } 161 } 162 163 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GRPCHeaderMatch. 164 func (in *GRPCHeaderMatch) DeepCopy() *GRPCHeaderMatch { 165 if in == nil { 166 return nil 167 } 168 out := new(GRPCHeaderMatch) 169 in.DeepCopyInto(out) 170 return out 171 } 172 173 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 174 func (in *GRPCMethodMatch) DeepCopyInto(out *GRPCMethodMatch) { 175 *out = *in 176 if in.Type != nil { 177 in, out := &in.Type, &out.Type 178 *out = new(GRPCMethodMatchType) 179 **out = **in 180 } 181 if in.Service != nil { 182 in, out := &in.Service, &out.Service 183 *out = new(string) 184 **out = **in 185 } 186 if in.Method != nil { 187 in, out := &in.Method, &out.Method 188 *out = new(string) 189 **out = **in 190 } 191 } 192 193 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GRPCMethodMatch. 194 func (in *GRPCMethodMatch) DeepCopy() *GRPCMethodMatch { 195 if in == nil { 196 return nil 197 } 198 out := new(GRPCMethodMatch) 199 in.DeepCopyInto(out) 200 return out 201 } 202 203 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 204 func (in *GRPCRoute) DeepCopyInto(out *GRPCRoute) { 205 *out = *in 206 out.TypeMeta = in.TypeMeta 207 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 208 in.Spec.DeepCopyInto(&out.Spec) 209 in.Status.DeepCopyInto(&out.Status) 210 } 211 212 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GRPCRoute. 213 func (in *GRPCRoute) DeepCopy() *GRPCRoute { 214 if in == nil { 215 return nil 216 } 217 out := new(GRPCRoute) 218 in.DeepCopyInto(out) 219 return out 220 } 221 222 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 223 func (in *GRPCRoute) DeepCopyObject() runtime.Object { 224 if c := in.DeepCopy(); c != nil { 225 return c 226 } 227 return nil 228 } 229 230 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 231 func (in *GRPCRouteFilter) DeepCopyInto(out *GRPCRouteFilter) { 232 *out = *in 233 if in.RequestHeaderModifier != nil { 234 in, out := &in.RequestHeaderModifier, &out.RequestHeaderModifier 235 *out = new(v1.HTTPHeaderFilter) 236 (*in).DeepCopyInto(*out) 237 } 238 if in.ResponseHeaderModifier != nil { 239 in, out := &in.ResponseHeaderModifier, &out.ResponseHeaderModifier 240 *out = new(v1.HTTPHeaderFilter) 241 (*in).DeepCopyInto(*out) 242 } 243 if in.RequestMirror != nil { 244 in, out := &in.RequestMirror, &out.RequestMirror 245 *out = new(v1.HTTPRequestMirrorFilter) 246 (*in).DeepCopyInto(*out) 247 } 248 if in.ExtensionRef != nil { 249 in, out := &in.ExtensionRef, &out.ExtensionRef 250 *out = new(v1.LocalObjectReference) 251 **out = **in 252 } 253 } 254 255 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GRPCRouteFilter. 256 func (in *GRPCRouteFilter) DeepCopy() *GRPCRouteFilter { 257 if in == nil { 258 return nil 259 } 260 out := new(GRPCRouteFilter) 261 in.DeepCopyInto(out) 262 return out 263 } 264 265 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 266 func (in *GRPCRouteList) DeepCopyInto(out *GRPCRouteList) { 267 *out = *in 268 out.TypeMeta = in.TypeMeta 269 in.ListMeta.DeepCopyInto(&out.ListMeta) 270 if in.Items != nil { 271 in, out := &in.Items, &out.Items 272 *out = make([]GRPCRoute, len(*in)) 273 for i := range *in { 274 (*in)[i].DeepCopyInto(&(*out)[i]) 275 } 276 } 277 } 278 279 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GRPCRouteList. 280 func (in *GRPCRouteList) DeepCopy() *GRPCRouteList { 281 if in == nil { 282 return nil 283 } 284 out := new(GRPCRouteList) 285 in.DeepCopyInto(out) 286 return out 287 } 288 289 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 290 func (in *GRPCRouteList) DeepCopyObject() runtime.Object { 291 if c := in.DeepCopy(); c != nil { 292 return c 293 } 294 return nil 295 } 296 297 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 298 func (in *GRPCRouteMatch) DeepCopyInto(out *GRPCRouteMatch) { 299 *out = *in 300 if in.Method != nil { 301 in, out := &in.Method, &out.Method 302 *out = new(GRPCMethodMatch) 303 (*in).DeepCopyInto(*out) 304 } 305 if in.Headers != nil { 306 in, out := &in.Headers, &out.Headers 307 *out = make([]GRPCHeaderMatch, len(*in)) 308 for i := range *in { 309 (*in)[i].DeepCopyInto(&(*out)[i]) 310 } 311 } 312 } 313 314 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GRPCRouteMatch. 315 func (in *GRPCRouteMatch) DeepCopy() *GRPCRouteMatch { 316 if in == nil { 317 return nil 318 } 319 out := new(GRPCRouteMatch) 320 in.DeepCopyInto(out) 321 return out 322 } 323 324 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 325 func (in *GRPCRouteRule) DeepCopyInto(out *GRPCRouteRule) { 326 *out = *in 327 if in.Matches != nil { 328 in, out := &in.Matches, &out.Matches 329 *out = make([]GRPCRouteMatch, len(*in)) 330 for i := range *in { 331 (*in)[i].DeepCopyInto(&(*out)[i]) 332 } 333 } 334 if in.Filters != nil { 335 in, out := &in.Filters, &out.Filters 336 *out = make([]GRPCRouteFilter, len(*in)) 337 for i := range *in { 338 (*in)[i].DeepCopyInto(&(*out)[i]) 339 } 340 } 341 if in.BackendRefs != nil { 342 in, out := &in.BackendRefs, &out.BackendRefs 343 *out = make([]GRPCBackendRef, len(*in)) 344 for i := range *in { 345 (*in)[i].DeepCopyInto(&(*out)[i]) 346 } 347 } 348 } 349 350 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GRPCRouteRule. 351 func (in *GRPCRouteRule) DeepCopy() *GRPCRouteRule { 352 if in == nil { 353 return nil 354 } 355 out := new(GRPCRouteRule) 356 in.DeepCopyInto(out) 357 return out 358 } 359 360 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 361 func (in *GRPCRouteSpec) DeepCopyInto(out *GRPCRouteSpec) { 362 *out = *in 363 in.CommonRouteSpec.DeepCopyInto(&out.CommonRouteSpec) 364 if in.Hostnames != nil { 365 in, out := &in.Hostnames, &out.Hostnames 366 *out = make([]v1.Hostname, len(*in)) 367 copy(*out, *in) 368 } 369 if in.Rules != nil { 370 in, out := &in.Rules, &out.Rules 371 *out = make([]GRPCRouteRule, len(*in)) 372 for i := range *in { 373 (*in)[i].DeepCopyInto(&(*out)[i]) 374 } 375 } 376 } 377 378 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GRPCRouteSpec. 379 func (in *GRPCRouteSpec) DeepCopy() *GRPCRouteSpec { 380 if in == nil { 381 return nil 382 } 383 out := new(GRPCRouteSpec) 384 in.DeepCopyInto(out) 385 return out 386 } 387 388 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 389 func (in *GRPCRouteStatus) DeepCopyInto(out *GRPCRouteStatus) { 390 *out = *in 391 in.RouteStatus.DeepCopyInto(&out.RouteStatus) 392 } 393 394 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GRPCRouteStatus. 395 func (in *GRPCRouteStatus) DeepCopy() *GRPCRouteStatus { 396 if in == nil { 397 return nil 398 } 399 out := new(GRPCRouteStatus) 400 in.DeepCopyInto(out) 401 return out 402 } 403 404 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 405 func (in *Gateway) DeepCopyInto(out *Gateway) { 406 *out = *in 407 out.TypeMeta = in.TypeMeta 408 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 409 in.Spec.DeepCopyInto(&out.Spec) 410 in.Status.DeepCopyInto(&out.Status) 411 } 412 413 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Gateway. 414 func (in *Gateway) DeepCopy() *Gateway { 415 if in == nil { 416 return nil 417 } 418 out := new(Gateway) 419 in.DeepCopyInto(out) 420 return out 421 } 422 423 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 424 func (in *Gateway) DeepCopyObject() runtime.Object { 425 if c := in.DeepCopy(); c != nil { 426 return c 427 } 428 return nil 429 } 430 431 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 432 func (in *GatewayClass) DeepCopyInto(out *GatewayClass) { 433 *out = *in 434 out.TypeMeta = in.TypeMeta 435 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 436 in.Spec.DeepCopyInto(&out.Spec) 437 in.Status.DeepCopyInto(&out.Status) 438 } 439 440 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayClass. 441 func (in *GatewayClass) DeepCopy() *GatewayClass { 442 if in == nil { 443 return nil 444 } 445 out := new(GatewayClass) 446 in.DeepCopyInto(out) 447 return out 448 } 449 450 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 451 func (in *GatewayClass) DeepCopyObject() runtime.Object { 452 if c := in.DeepCopy(); c != nil { 453 return c 454 } 455 return nil 456 } 457 458 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 459 func (in *GatewayClassList) DeepCopyInto(out *GatewayClassList) { 460 *out = *in 461 out.TypeMeta = in.TypeMeta 462 in.ListMeta.DeepCopyInto(&out.ListMeta) 463 if in.Items != nil { 464 in, out := &in.Items, &out.Items 465 *out = make([]GatewayClass, len(*in)) 466 for i := range *in { 467 (*in)[i].DeepCopyInto(&(*out)[i]) 468 } 469 } 470 } 471 472 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayClassList. 473 func (in *GatewayClassList) DeepCopy() *GatewayClassList { 474 if in == nil { 475 return nil 476 } 477 out := new(GatewayClassList) 478 in.DeepCopyInto(out) 479 return out 480 } 481 482 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 483 func (in *GatewayClassList) DeepCopyObject() runtime.Object { 484 if c := in.DeepCopy(); c != nil { 485 return c 486 } 487 return nil 488 } 489 490 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 491 func (in *GatewayList) DeepCopyInto(out *GatewayList) { 492 *out = *in 493 out.TypeMeta = in.TypeMeta 494 in.ListMeta.DeepCopyInto(&out.ListMeta) 495 if in.Items != nil { 496 in, out := &in.Items, &out.Items 497 *out = make([]Gateway, len(*in)) 498 for i := range *in { 499 (*in)[i].DeepCopyInto(&(*out)[i]) 500 } 501 } 502 } 503 504 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayList. 505 func (in *GatewayList) DeepCopy() *GatewayList { 506 if in == nil { 507 return nil 508 } 509 out := new(GatewayList) 510 in.DeepCopyInto(out) 511 return out 512 } 513 514 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 515 func (in *GatewayList) DeepCopyObject() runtime.Object { 516 if c := in.DeepCopy(); c != nil { 517 return c 518 } 519 return nil 520 } 521 522 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 523 func (in *HTTPRoute) DeepCopyInto(out *HTTPRoute) { 524 *out = *in 525 out.TypeMeta = in.TypeMeta 526 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 527 in.Spec.DeepCopyInto(&out.Spec) 528 in.Status.DeepCopyInto(&out.Status) 529 } 530 531 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPRoute. 532 func (in *HTTPRoute) DeepCopy() *HTTPRoute { 533 if in == nil { 534 return nil 535 } 536 out := new(HTTPRoute) 537 in.DeepCopyInto(out) 538 return out 539 } 540 541 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 542 func (in *HTTPRoute) DeepCopyObject() runtime.Object { 543 if c := in.DeepCopy(); c != nil { 544 return c 545 } 546 return nil 547 } 548 549 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 550 func (in *HTTPRouteList) DeepCopyInto(out *HTTPRouteList) { 551 *out = *in 552 out.TypeMeta = in.TypeMeta 553 in.ListMeta.DeepCopyInto(&out.ListMeta) 554 if in.Items != nil { 555 in, out := &in.Items, &out.Items 556 *out = make([]HTTPRoute, len(*in)) 557 for i := range *in { 558 (*in)[i].DeepCopyInto(&(*out)[i]) 559 } 560 } 561 } 562 563 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPRouteList. 564 func (in *HTTPRouteList) DeepCopy() *HTTPRouteList { 565 if in == nil { 566 return nil 567 } 568 out := new(HTTPRouteList) 569 in.DeepCopyInto(out) 570 return out 571 } 572 573 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 574 func (in *HTTPRouteList) DeepCopyObject() runtime.Object { 575 if c := in.DeepCopy(); c != nil { 576 return c 577 } 578 return nil 579 } 580 581 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 582 func (in *PolicyAncestorStatus) DeepCopyInto(out *PolicyAncestorStatus) { 583 *out = *in 584 in.AncestorRef.DeepCopyInto(&out.AncestorRef) 585 if in.Conditions != nil { 586 in, out := &in.Conditions, &out.Conditions 587 *out = make([]metav1.Condition, len(*in)) 588 for i := range *in { 589 (*in)[i].DeepCopyInto(&(*out)[i]) 590 } 591 } 592 } 593 594 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyAncestorStatus. 595 func (in *PolicyAncestorStatus) DeepCopy() *PolicyAncestorStatus { 596 if in == nil { 597 return nil 598 } 599 out := new(PolicyAncestorStatus) 600 in.DeepCopyInto(out) 601 return out 602 } 603 604 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 605 func (in *PolicyStatus) DeepCopyInto(out *PolicyStatus) { 606 *out = *in 607 if in.Ancestors != nil { 608 in, out := &in.Ancestors, &out.Ancestors 609 *out = make([]PolicyAncestorStatus, len(*in)) 610 for i := range *in { 611 (*in)[i].DeepCopyInto(&(*out)[i]) 612 } 613 } 614 } 615 616 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyStatus. 617 func (in *PolicyStatus) DeepCopy() *PolicyStatus { 618 if in == nil { 619 return nil 620 } 621 out := new(PolicyStatus) 622 in.DeepCopyInto(out) 623 return out 624 } 625 626 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 627 func (in *PolicyTargetReference) DeepCopyInto(out *PolicyTargetReference) { 628 *out = *in 629 if in.Namespace != nil { 630 in, out := &in.Namespace, &out.Namespace 631 *out = new(v1.Namespace) 632 **out = **in 633 } 634 } 635 636 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyTargetReference. 637 func (in *PolicyTargetReference) DeepCopy() *PolicyTargetReference { 638 if in == nil { 639 return nil 640 } 641 out := new(PolicyTargetReference) 642 in.DeepCopyInto(out) 643 return out 644 } 645 646 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 647 func (in *PolicyTargetReferenceWithSectionName) DeepCopyInto(out *PolicyTargetReferenceWithSectionName) { 648 *out = *in 649 in.PolicyTargetReference.DeepCopyInto(&out.PolicyTargetReference) 650 if in.SectionName != nil { 651 in, out := &in.SectionName, &out.SectionName 652 *out = new(v1.SectionName) 653 **out = **in 654 } 655 } 656 657 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyTargetReferenceWithSectionName. 658 func (in *PolicyTargetReferenceWithSectionName) DeepCopy() *PolicyTargetReferenceWithSectionName { 659 if in == nil { 660 return nil 661 } 662 out := new(PolicyTargetReferenceWithSectionName) 663 in.DeepCopyInto(out) 664 return out 665 } 666 667 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 668 func (in *ReferenceGrant) DeepCopyInto(out *ReferenceGrant) { 669 *out = *in 670 out.TypeMeta = in.TypeMeta 671 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 672 in.Spec.DeepCopyInto(&out.Spec) 673 } 674 675 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReferenceGrant. 676 func (in *ReferenceGrant) DeepCopy() *ReferenceGrant { 677 if in == nil { 678 return nil 679 } 680 out := new(ReferenceGrant) 681 in.DeepCopyInto(out) 682 return out 683 } 684 685 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 686 func (in *ReferenceGrant) DeepCopyObject() runtime.Object { 687 if c := in.DeepCopy(); c != nil { 688 return c 689 } 690 return nil 691 } 692 693 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 694 func (in *ReferenceGrantList) DeepCopyInto(out *ReferenceGrantList) { 695 *out = *in 696 out.TypeMeta = in.TypeMeta 697 in.ListMeta.DeepCopyInto(&out.ListMeta) 698 if in.Items != nil { 699 in, out := &in.Items, &out.Items 700 *out = make([]ReferenceGrant, len(*in)) 701 for i := range *in { 702 (*in)[i].DeepCopyInto(&(*out)[i]) 703 } 704 } 705 } 706 707 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReferenceGrantList. 708 func (in *ReferenceGrantList) DeepCopy() *ReferenceGrantList { 709 if in == nil { 710 return nil 711 } 712 out := new(ReferenceGrantList) 713 in.DeepCopyInto(out) 714 return out 715 } 716 717 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 718 func (in *ReferenceGrantList) DeepCopyObject() runtime.Object { 719 if c := in.DeepCopy(); c != nil { 720 return c 721 } 722 return nil 723 } 724 725 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 726 func (in *TCPRoute) DeepCopyInto(out *TCPRoute) { 727 *out = *in 728 out.TypeMeta = in.TypeMeta 729 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 730 in.Spec.DeepCopyInto(&out.Spec) 731 in.Status.DeepCopyInto(&out.Status) 732 } 733 734 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TCPRoute. 735 func (in *TCPRoute) DeepCopy() *TCPRoute { 736 if in == nil { 737 return nil 738 } 739 out := new(TCPRoute) 740 in.DeepCopyInto(out) 741 return out 742 } 743 744 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 745 func (in *TCPRoute) DeepCopyObject() runtime.Object { 746 if c := in.DeepCopy(); c != nil { 747 return c 748 } 749 return nil 750 } 751 752 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 753 func (in *TCPRouteList) DeepCopyInto(out *TCPRouteList) { 754 *out = *in 755 out.TypeMeta = in.TypeMeta 756 in.ListMeta.DeepCopyInto(&out.ListMeta) 757 if in.Items != nil { 758 in, out := &in.Items, &out.Items 759 *out = make([]TCPRoute, len(*in)) 760 for i := range *in { 761 (*in)[i].DeepCopyInto(&(*out)[i]) 762 } 763 } 764 } 765 766 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TCPRouteList. 767 func (in *TCPRouteList) DeepCopy() *TCPRouteList { 768 if in == nil { 769 return nil 770 } 771 out := new(TCPRouteList) 772 in.DeepCopyInto(out) 773 return out 774 } 775 776 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 777 func (in *TCPRouteList) DeepCopyObject() runtime.Object { 778 if c := in.DeepCopy(); c != nil { 779 return c 780 } 781 return nil 782 } 783 784 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 785 func (in *TCPRouteRule) DeepCopyInto(out *TCPRouteRule) { 786 *out = *in 787 if in.BackendRefs != nil { 788 in, out := &in.BackendRefs, &out.BackendRefs 789 *out = make([]v1.BackendRef, len(*in)) 790 for i := range *in { 791 (*in)[i].DeepCopyInto(&(*out)[i]) 792 } 793 } 794 } 795 796 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TCPRouteRule. 797 func (in *TCPRouteRule) DeepCopy() *TCPRouteRule { 798 if in == nil { 799 return nil 800 } 801 out := new(TCPRouteRule) 802 in.DeepCopyInto(out) 803 return out 804 } 805 806 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 807 func (in *TCPRouteSpec) DeepCopyInto(out *TCPRouteSpec) { 808 *out = *in 809 in.CommonRouteSpec.DeepCopyInto(&out.CommonRouteSpec) 810 if in.Rules != nil { 811 in, out := &in.Rules, &out.Rules 812 *out = make([]TCPRouteRule, len(*in)) 813 for i := range *in { 814 (*in)[i].DeepCopyInto(&(*out)[i]) 815 } 816 } 817 } 818 819 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TCPRouteSpec. 820 func (in *TCPRouteSpec) DeepCopy() *TCPRouteSpec { 821 if in == nil { 822 return nil 823 } 824 out := new(TCPRouteSpec) 825 in.DeepCopyInto(out) 826 return out 827 } 828 829 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 830 func (in *TCPRouteStatus) DeepCopyInto(out *TCPRouteStatus) { 831 *out = *in 832 in.RouteStatus.DeepCopyInto(&out.RouteStatus) 833 } 834 835 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TCPRouteStatus. 836 func (in *TCPRouteStatus) DeepCopy() *TCPRouteStatus { 837 if in == nil { 838 return nil 839 } 840 out := new(TCPRouteStatus) 841 in.DeepCopyInto(out) 842 return out 843 } 844 845 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 846 func (in *TLSRoute) DeepCopyInto(out *TLSRoute) { 847 *out = *in 848 out.TypeMeta = in.TypeMeta 849 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 850 in.Spec.DeepCopyInto(&out.Spec) 851 in.Status.DeepCopyInto(&out.Status) 852 } 853 854 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSRoute. 855 func (in *TLSRoute) DeepCopy() *TLSRoute { 856 if in == nil { 857 return nil 858 } 859 out := new(TLSRoute) 860 in.DeepCopyInto(out) 861 return out 862 } 863 864 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 865 func (in *TLSRoute) DeepCopyObject() runtime.Object { 866 if c := in.DeepCopy(); c != nil { 867 return c 868 } 869 return nil 870 } 871 872 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 873 func (in *TLSRouteList) DeepCopyInto(out *TLSRouteList) { 874 *out = *in 875 out.TypeMeta = in.TypeMeta 876 in.ListMeta.DeepCopyInto(&out.ListMeta) 877 if in.Items != nil { 878 in, out := &in.Items, &out.Items 879 *out = make([]TLSRoute, len(*in)) 880 for i := range *in { 881 (*in)[i].DeepCopyInto(&(*out)[i]) 882 } 883 } 884 } 885 886 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSRouteList. 887 func (in *TLSRouteList) DeepCopy() *TLSRouteList { 888 if in == nil { 889 return nil 890 } 891 out := new(TLSRouteList) 892 in.DeepCopyInto(out) 893 return out 894 } 895 896 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 897 func (in *TLSRouteList) DeepCopyObject() runtime.Object { 898 if c := in.DeepCopy(); c != nil { 899 return c 900 } 901 return nil 902 } 903 904 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 905 func (in *TLSRouteRule) DeepCopyInto(out *TLSRouteRule) { 906 *out = *in 907 if in.BackendRefs != nil { 908 in, out := &in.BackendRefs, &out.BackendRefs 909 *out = make([]v1.BackendRef, len(*in)) 910 for i := range *in { 911 (*in)[i].DeepCopyInto(&(*out)[i]) 912 } 913 } 914 } 915 916 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSRouteRule. 917 func (in *TLSRouteRule) DeepCopy() *TLSRouteRule { 918 if in == nil { 919 return nil 920 } 921 out := new(TLSRouteRule) 922 in.DeepCopyInto(out) 923 return out 924 } 925 926 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 927 func (in *TLSRouteSpec) DeepCopyInto(out *TLSRouteSpec) { 928 *out = *in 929 in.CommonRouteSpec.DeepCopyInto(&out.CommonRouteSpec) 930 if in.Hostnames != nil { 931 in, out := &in.Hostnames, &out.Hostnames 932 *out = make([]v1.Hostname, len(*in)) 933 copy(*out, *in) 934 } 935 if in.Rules != nil { 936 in, out := &in.Rules, &out.Rules 937 *out = make([]TLSRouteRule, len(*in)) 938 for i := range *in { 939 (*in)[i].DeepCopyInto(&(*out)[i]) 940 } 941 } 942 } 943 944 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSRouteSpec. 945 func (in *TLSRouteSpec) DeepCopy() *TLSRouteSpec { 946 if in == nil { 947 return nil 948 } 949 out := new(TLSRouteSpec) 950 in.DeepCopyInto(out) 951 return out 952 } 953 954 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 955 func (in *TLSRouteStatus) DeepCopyInto(out *TLSRouteStatus) { 956 *out = *in 957 in.RouteStatus.DeepCopyInto(&out.RouteStatus) 958 } 959 960 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSRouteStatus. 961 func (in *TLSRouteStatus) DeepCopy() *TLSRouteStatus { 962 if in == nil { 963 return nil 964 } 965 out := new(TLSRouteStatus) 966 in.DeepCopyInto(out) 967 return out 968 } 969 970 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 971 func (in *UDPRoute) DeepCopyInto(out *UDPRoute) { 972 *out = *in 973 out.TypeMeta = in.TypeMeta 974 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 975 in.Spec.DeepCopyInto(&out.Spec) 976 in.Status.DeepCopyInto(&out.Status) 977 } 978 979 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UDPRoute. 980 func (in *UDPRoute) DeepCopy() *UDPRoute { 981 if in == nil { 982 return nil 983 } 984 out := new(UDPRoute) 985 in.DeepCopyInto(out) 986 return out 987 } 988 989 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 990 func (in *UDPRoute) DeepCopyObject() runtime.Object { 991 if c := in.DeepCopy(); c != nil { 992 return c 993 } 994 return nil 995 } 996 997 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 998 func (in *UDPRouteList) DeepCopyInto(out *UDPRouteList) { 999 *out = *in 1000 out.TypeMeta = in.TypeMeta 1001 in.ListMeta.DeepCopyInto(&out.ListMeta) 1002 if in.Items != nil { 1003 in, out := &in.Items, &out.Items 1004 *out = make([]UDPRoute, len(*in)) 1005 for i := range *in { 1006 (*in)[i].DeepCopyInto(&(*out)[i]) 1007 } 1008 } 1009 } 1010 1011 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UDPRouteList. 1012 func (in *UDPRouteList) DeepCopy() *UDPRouteList { 1013 if in == nil { 1014 return nil 1015 } 1016 out := new(UDPRouteList) 1017 in.DeepCopyInto(out) 1018 return out 1019 } 1020 1021 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 1022 func (in *UDPRouteList) DeepCopyObject() runtime.Object { 1023 if c := in.DeepCopy(); c != nil { 1024 return c 1025 } 1026 return nil 1027 } 1028 1029 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1030 func (in *UDPRouteRule) DeepCopyInto(out *UDPRouteRule) { 1031 *out = *in 1032 if in.BackendRefs != nil { 1033 in, out := &in.BackendRefs, &out.BackendRefs 1034 *out = make([]v1.BackendRef, len(*in)) 1035 for i := range *in { 1036 (*in)[i].DeepCopyInto(&(*out)[i]) 1037 } 1038 } 1039 } 1040 1041 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UDPRouteRule. 1042 func (in *UDPRouteRule) DeepCopy() *UDPRouteRule { 1043 if in == nil { 1044 return nil 1045 } 1046 out := new(UDPRouteRule) 1047 in.DeepCopyInto(out) 1048 return out 1049 } 1050 1051 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1052 func (in *UDPRouteSpec) DeepCopyInto(out *UDPRouteSpec) { 1053 *out = *in 1054 in.CommonRouteSpec.DeepCopyInto(&out.CommonRouteSpec) 1055 if in.Rules != nil { 1056 in, out := &in.Rules, &out.Rules 1057 *out = make([]UDPRouteRule, len(*in)) 1058 for i := range *in { 1059 (*in)[i].DeepCopyInto(&(*out)[i]) 1060 } 1061 } 1062 } 1063 1064 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UDPRouteSpec. 1065 func (in *UDPRouteSpec) DeepCopy() *UDPRouteSpec { 1066 if in == nil { 1067 return nil 1068 } 1069 out := new(UDPRouteSpec) 1070 in.DeepCopyInto(out) 1071 return out 1072 } 1073 1074 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1075 func (in *UDPRouteStatus) DeepCopyInto(out *UDPRouteStatus) { 1076 *out = *in 1077 in.RouteStatus.DeepCopyInto(&out.RouteStatus) 1078 } 1079 1080 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UDPRouteStatus. 1081 func (in *UDPRouteStatus) DeepCopy() *UDPRouteStatus { 1082 if in == nil { 1083 return nil 1084 } 1085 out := new(UDPRouteStatus) 1086 in.DeepCopyInto(out) 1087 return out 1088 }