github.com/nginxinc/kubernetes-ingress@v1.12.5/pkg/apis/configuration/v1/zz_generated.deepcopy.go (about) 1 //go:build !ignore_autogenerated 2 // +build !ignore_autogenerated 3 4 // Code generated by deepcopy-gen. DO NOT EDIT. 5 6 package v1 7 8 import ( 9 runtime "k8s.io/apimachinery/pkg/runtime" 10 ) 11 12 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 13 func (in *AccessControl) DeepCopyInto(out *AccessControl) { 14 *out = *in 15 if in.Allow != nil { 16 in, out := &in.Allow, &out.Allow 17 *out = make([]string, len(*in)) 18 copy(*out, *in) 19 } 20 if in.Deny != nil { 21 in, out := &in.Deny, &out.Deny 22 *out = make([]string, len(*in)) 23 copy(*out, *in) 24 } 25 return 26 } 27 28 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessControl. 29 func (in *AccessControl) DeepCopy() *AccessControl { 30 if in == nil { 31 return nil 32 } 33 out := new(AccessControl) 34 in.DeepCopyInto(out) 35 return out 36 } 37 38 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 39 func (in *Action) DeepCopyInto(out *Action) { 40 *out = *in 41 if in.Redirect != nil { 42 in, out := &in.Redirect, &out.Redirect 43 *out = new(ActionRedirect) 44 **out = **in 45 } 46 if in.Return != nil { 47 in, out := &in.Return, &out.Return 48 *out = new(ActionReturn) 49 **out = **in 50 } 51 if in.Proxy != nil { 52 in, out := &in.Proxy, &out.Proxy 53 *out = new(ActionProxy) 54 (*in).DeepCopyInto(*out) 55 } 56 return 57 } 58 59 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Action. 60 func (in *Action) DeepCopy() *Action { 61 if in == nil { 62 return nil 63 } 64 out := new(Action) 65 in.DeepCopyInto(out) 66 return out 67 } 68 69 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 70 func (in *ActionProxy) DeepCopyInto(out *ActionProxy) { 71 *out = *in 72 if in.RequestHeaders != nil { 73 in, out := &in.RequestHeaders, &out.RequestHeaders 74 *out = new(ProxyRequestHeaders) 75 (*in).DeepCopyInto(*out) 76 } 77 if in.ResponseHeaders != nil { 78 in, out := &in.ResponseHeaders, &out.ResponseHeaders 79 *out = new(ProxyResponseHeaders) 80 (*in).DeepCopyInto(*out) 81 } 82 return 83 } 84 85 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionProxy. 86 func (in *ActionProxy) DeepCopy() *ActionProxy { 87 if in == nil { 88 return nil 89 } 90 out := new(ActionProxy) 91 in.DeepCopyInto(out) 92 return out 93 } 94 95 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 96 func (in *ActionRedirect) DeepCopyInto(out *ActionRedirect) { 97 *out = *in 98 return 99 } 100 101 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionRedirect. 102 func (in *ActionRedirect) DeepCopy() *ActionRedirect { 103 if in == nil { 104 return nil 105 } 106 out := new(ActionRedirect) 107 in.DeepCopyInto(out) 108 return out 109 } 110 111 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 112 func (in *ActionReturn) DeepCopyInto(out *ActionReturn) { 113 *out = *in 114 return 115 } 116 117 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionReturn. 118 func (in *ActionReturn) DeepCopy() *ActionReturn { 119 if in == nil { 120 return nil 121 } 122 out := new(ActionReturn) 123 in.DeepCopyInto(out) 124 return out 125 } 126 127 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 128 func (in *AddHeader) DeepCopyInto(out *AddHeader) { 129 *out = *in 130 out.Header = in.Header 131 return 132 } 133 134 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddHeader. 135 func (in *AddHeader) DeepCopy() *AddHeader { 136 if in == nil { 137 return nil 138 } 139 out := new(AddHeader) 140 in.DeepCopyInto(out) 141 return out 142 } 143 144 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 145 func (in *Condition) DeepCopyInto(out *Condition) { 146 *out = *in 147 return 148 } 149 150 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition. 151 func (in *Condition) DeepCopy() *Condition { 152 if in == nil { 153 return nil 154 } 155 out := new(Condition) 156 in.DeepCopyInto(out) 157 return out 158 } 159 160 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 161 func (in *EgressMTLS) DeepCopyInto(out *EgressMTLS) { 162 *out = *in 163 if in.VerifyDepth != nil { 164 in, out := &in.VerifyDepth, &out.VerifyDepth 165 *out = new(int) 166 **out = **in 167 } 168 if in.SessionReuse != nil { 169 in, out := &in.SessionReuse, &out.SessionReuse 170 *out = new(bool) 171 **out = **in 172 } 173 return 174 } 175 176 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EgressMTLS. 177 func (in *EgressMTLS) DeepCopy() *EgressMTLS { 178 if in == nil { 179 return nil 180 } 181 out := new(EgressMTLS) 182 in.DeepCopyInto(out) 183 return out 184 } 185 186 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 187 func (in *ErrorPage) DeepCopyInto(out *ErrorPage) { 188 *out = *in 189 if in.Codes != nil { 190 in, out := &in.Codes, &out.Codes 191 *out = make([]int, len(*in)) 192 copy(*out, *in) 193 } 194 if in.Return != nil { 195 in, out := &in.Return, &out.Return 196 *out = new(ErrorPageReturn) 197 (*in).DeepCopyInto(*out) 198 } 199 if in.Redirect != nil { 200 in, out := &in.Redirect, &out.Redirect 201 *out = new(ErrorPageRedirect) 202 **out = **in 203 } 204 return 205 } 206 207 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ErrorPage. 208 func (in *ErrorPage) DeepCopy() *ErrorPage { 209 if in == nil { 210 return nil 211 } 212 out := new(ErrorPage) 213 in.DeepCopyInto(out) 214 return out 215 } 216 217 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 218 func (in *ErrorPageRedirect) DeepCopyInto(out *ErrorPageRedirect) { 219 *out = *in 220 out.ActionRedirect = in.ActionRedirect 221 return 222 } 223 224 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ErrorPageRedirect. 225 func (in *ErrorPageRedirect) DeepCopy() *ErrorPageRedirect { 226 if in == nil { 227 return nil 228 } 229 out := new(ErrorPageRedirect) 230 in.DeepCopyInto(out) 231 return out 232 } 233 234 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 235 func (in *ErrorPageReturn) DeepCopyInto(out *ErrorPageReturn) { 236 *out = *in 237 out.ActionReturn = in.ActionReturn 238 if in.Headers != nil { 239 in, out := &in.Headers, &out.Headers 240 *out = make([]Header, len(*in)) 241 copy(*out, *in) 242 } 243 return 244 } 245 246 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ErrorPageReturn. 247 func (in *ErrorPageReturn) DeepCopy() *ErrorPageReturn { 248 if in == nil { 249 return nil 250 } 251 out := new(ErrorPageReturn) 252 in.DeepCopyInto(out) 253 return out 254 } 255 256 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 257 func (in *ExternalEndpoint) DeepCopyInto(out *ExternalEndpoint) { 258 *out = *in 259 return 260 } 261 262 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalEndpoint. 263 func (in *ExternalEndpoint) DeepCopy() *ExternalEndpoint { 264 if in == nil { 265 return nil 266 } 267 out := new(ExternalEndpoint) 268 in.DeepCopyInto(out) 269 return out 270 } 271 272 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 273 func (in *Header) DeepCopyInto(out *Header) { 274 *out = *in 275 return 276 } 277 278 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Header. 279 func (in *Header) DeepCopy() *Header { 280 if in == nil { 281 return nil 282 } 283 out := new(Header) 284 in.DeepCopyInto(out) 285 return out 286 } 287 288 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 289 func (in *HealthCheck) DeepCopyInto(out *HealthCheck) { 290 *out = *in 291 if in.TLS != nil { 292 in, out := &in.TLS, &out.TLS 293 *out = new(UpstreamTLS) 294 **out = **in 295 } 296 if in.Headers != nil { 297 in, out := &in.Headers, &out.Headers 298 *out = make([]Header, len(*in)) 299 copy(*out, *in) 300 } 301 return 302 } 303 304 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthCheck. 305 func (in *HealthCheck) DeepCopy() *HealthCheck { 306 if in == nil { 307 return nil 308 } 309 out := new(HealthCheck) 310 in.DeepCopyInto(out) 311 return out 312 } 313 314 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 315 func (in *IngressMTLS) DeepCopyInto(out *IngressMTLS) { 316 *out = *in 317 if in.VerifyDepth != nil { 318 in, out := &in.VerifyDepth, &out.VerifyDepth 319 *out = new(int) 320 **out = **in 321 } 322 return 323 } 324 325 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressMTLS. 326 func (in *IngressMTLS) DeepCopy() *IngressMTLS { 327 if in == nil { 328 return nil 329 } 330 out := new(IngressMTLS) 331 in.DeepCopyInto(out) 332 return out 333 } 334 335 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 336 func (in *JWTAuth) DeepCopyInto(out *JWTAuth) { 337 *out = *in 338 return 339 } 340 341 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JWTAuth. 342 func (in *JWTAuth) DeepCopy() *JWTAuth { 343 if in == nil { 344 return nil 345 } 346 out := new(JWTAuth) 347 in.DeepCopyInto(out) 348 return out 349 } 350 351 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 352 func (in *Match) DeepCopyInto(out *Match) { 353 *out = *in 354 if in.Conditions != nil { 355 in, out := &in.Conditions, &out.Conditions 356 *out = make([]Condition, len(*in)) 357 copy(*out, *in) 358 } 359 if in.Action != nil { 360 in, out := &in.Action, &out.Action 361 *out = new(Action) 362 (*in).DeepCopyInto(*out) 363 } 364 if in.Splits != nil { 365 in, out := &in.Splits, &out.Splits 366 *out = make([]Split, len(*in)) 367 for i := range *in { 368 (*in)[i].DeepCopyInto(&(*out)[i]) 369 } 370 } 371 return 372 } 373 374 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Match. 375 func (in *Match) DeepCopy() *Match { 376 if in == nil { 377 return nil 378 } 379 out := new(Match) 380 in.DeepCopyInto(out) 381 return out 382 } 383 384 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 385 func (in *OIDC) DeepCopyInto(out *OIDC) { 386 *out = *in 387 return 388 } 389 390 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OIDC. 391 func (in *OIDC) DeepCopy() *OIDC { 392 if in == nil { 393 return nil 394 } 395 out := new(OIDC) 396 in.DeepCopyInto(out) 397 return out 398 } 399 400 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 401 func (in *Policy) DeepCopyInto(out *Policy) { 402 *out = *in 403 out.TypeMeta = in.TypeMeta 404 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 405 in.Spec.DeepCopyInto(&out.Spec) 406 out.Status = in.Status 407 return 408 } 409 410 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy. 411 func (in *Policy) DeepCopy() *Policy { 412 if in == nil { 413 return nil 414 } 415 out := new(Policy) 416 in.DeepCopyInto(out) 417 return out 418 } 419 420 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 421 func (in *Policy) DeepCopyObject() runtime.Object { 422 if c := in.DeepCopy(); c != nil { 423 return c 424 } 425 return nil 426 } 427 428 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 429 func (in *PolicyList) DeepCopyInto(out *PolicyList) { 430 *out = *in 431 out.TypeMeta = in.TypeMeta 432 in.ListMeta.DeepCopyInto(&out.ListMeta) 433 if in.Items != nil { 434 in, out := &in.Items, &out.Items 435 *out = make([]Policy, len(*in)) 436 for i := range *in { 437 (*in)[i].DeepCopyInto(&(*out)[i]) 438 } 439 } 440 return 441 } 442 443 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyList. 444 func (in *PolicyList) DeepCopy() *PolicyList { 445 if in == nil { 446 return nil 447 } 448 out := new(PolicyList) 449 in.DeepCopyInto(out) 450 return out 451 } 452 453 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 454 func (in *PolicyList) DeepCopyObject() runtime.Object { 455 if c := in.DeepCopy(); c != nil { 456 return c 457 } 458 return nil 459 } 460 461 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 462 func (in *PolicyReference) DeepCopyInto(out *PolicyReference) { 463 *out = *in 464 return 465 } 466 467 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyReference. 468 func (in *PolicyReference) DeepCopy() *PolicyReference { 469 if in == nil { 470 return nil 471 } 472 out := new(PolicyReference) 473 in.DeepCopyInto(out) 474 return out 475 } 476 477 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 478 func (in *PolicySpec) DeepCopyInto(out *PolicySpec) { 479 *out = *in 480 if in.AccessControl != nil { 481 in, out := &in.AccessControl, &out.AccessControl 482 *out = new(AccessControl) 483 (*in).DeepCopyInto(*out) 484 } 485 if in.RateLimit != nil { 486 in, out := &in.RateLimit, &out.RateLimit 487 *out = new(RateLimit) 488 (*in).DeepCopyInto(*out) 489 } 490 if in.JWTAuth != nil { 491 in, out := &in.JWTAuth, &out.JWTAuth 492 *out = new(JWTAuth) 493 **out = **in 494 } 495 if in.IngressMTLS != nil { 496 in, out := &in.IngressMTLS, &out.IngressMTLS 497 *out = new(IngressMTLS) 498 (*in).DeepCopyInto(*out) 499 } 500 if in.EgressMTLS != nil { 501 in, out := &in.EgressMTLS, &out.EgressMTLS 502 *out = new(EgressMTLS) 503 (*in).DeepCopyInto(*out) 504 } 505 if in.OIDC != nil { 506 in, out := &in.OIDC, &out.OIDC 507 *out = new(OIDC) 508 **out = **in 509 } 510 if in.WAF != nil { 511 in, out := &in.WAF, &out.WAF 512 *out = new(WAF) 513 (*in).DeepCopyInto(*out) 514 } 515 return 516 } 517 518 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicySpec. 519 func (in *PolicySpec) DeepCopy() *PolicySpec { 520 if in == nil { 521 return nil 522 } 523 out := new(PolicySpec) 524 in.DeepCopyInto(out) 525 return out 526 } 527 528 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 529 func (in *PolicyStatus) DeepCopyInto(out *PolicyStatus) { 530 *out = *in 531 return 532 } 533 534 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyStatus. 535 func (in *PolicyStatus) DeepCopy() *PolicyStatus { 536 if in == nil { 537 return nil 538 } 539 out := new(PolicyStatus) 540 in.DeepCopyInto(out) 541 return out 542 } 543 544 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 545 func (in *ProxyRequestHeaders) DeepCopyInto(out *ProxyRequestHeaders) { 546 *out = *in 547 if in.Pass != nil { 548 in, out := &in.Pass, &out.Pass 549 *out = new(bool) 550 **out = **in 551 } 552 if in.Set != nil { 553 in, out := &in.Set, &out.Set 554 *out = make([]Header, len(*in)) 555 copy(*out, *in) 556 } 557 return 558 } 559 560 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxyRequestHeaders. 561 func (in *ProxyRequestHeaders) DeepCopy() *ProxyRequestHeaders { 562 if in == nil { 563 return nil 564 } 565 out := new(ProxyRequestHeaders) 566 in.DeepCopyInto(out) 567 return out 568 } 569 570 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 571 func (in *ProxyResponseHeaders) DeepCopyInto(out *ProxyResponseHeaders) { 572 *out = *in 573 if in.Hide != nil { 574 in, out := &in.Hide, &out.Hide 575 *out = make([]string, len(*in)) 576 copy(*out, *in) 577 } 578 if in.Pass != nil { 579 in, out := &in.Pass, &out.Pass 580 *out = make([]string, len(*in)) 581 copy(*out, *in) 582 } 583 if in.Ignore != nil { 584 in, out := &in.Ignore, &out.Ignore 585 *out = make([]string, len(*in)) 586 copy(*out, *in) 587 } 588 if in.Add != nil { 589 in, out := &in.Add, &out.Add 590 *out = make([]AddHeader, len(*in)) 591 copy(*out, *in) 592 } 593 return 594 } 595 596 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxyResponseHeaders. 597 func (in *ProxyResponseHeaders) DeepCopy() *ProxyResponseHeaders { 598 if in == nil { 599 return nil 600 } 601 out := new(ProxyResponseHeaders) 602 in.DeepCopyInto(out) 603 return out 604 } 605 606 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 607 func (in *RateLimit) DeepCopyInto(out *RateLimit) { 608 *out = *in 609 if in.Delay != nil { 610 in, out := &in.Delay, &out.Delay 611 *out = new(int) 612 **out = **in 613 } 614 if in.NoDelay != nil { 615 in, out := &in.NoDelay, &out.NoDelay 616 *out = new(bool) 617 **out = **in 618 } 619 if in.Burst != nil { 620 in, out := &in.Burst, &out.Burst 621 *out = new(int) 622 **out = **in 623 } 624 if in.DryRun != nil { 625 in, out := &in.DryRun, &out.DryRun 626 *out = new(bool) 627 **out = **in 628 } 629 if in.RejectCode != nil { 630 in, out := &in.RejectCode, &out.RejectCode 631 *out = new(int) 632 **out = **in 633 } 634 return 635 } 636 637 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RateLimit. 638 func (in *RateLimit) DeepCopy() *RateLimit { 639 if in == nil { 640 return nil 641 } 642 out := new(RateLimit) 643 in.DeepCopyInto(out) 644 return out 645 } 646 647 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 648 func (in *Route) DeepCopyInto(out *Route) { 649 *out = *in 650 if in.Policies != nil { 651 in, out := &in.Policies, &out.Policies 652 *out = make([]PolicyReference, len(*in)) 653 copy(*out, *in) 654 } 655 if in.Action != nil { 656 in, out := &in.Action, &out.Action 657 *out = new(Action) 658 (*in).DeepCopyInto(*out) 659 } 660 if in.Splits != nil { 661 in, out := &in.Splits, &out.Splits 662 *out = make([]Split, len(*in)) 663 for i := range *in { 664 (*in)[i].DeepCopyInto(&(*out)[i]) 665 } 666 } 667 if in.Matches != nil { 668 in, out := &in.Matches, &out.Matches 669 *out = make([]Match, len(*in)) 670 for i := range *in { 671 (*in)[i].DeepCopyInto(&(*out)[i]) 672 } 673 } 674 if in.ErrorPages != nil { 675 in, out := &in.ErrorPages, &out.ErrorPages 676 *out = make([]ErrorPage, len(*in)) 677 for i := range *in { 678 (*in)[i].DeepCopyInto(&(*out)[i]) 679 } 680 } 681 return 682 } 683 684 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Route. 685 func (in *Route) DeepCopy() *Route { 686 if in == nil { 687 return nil 688 } 689 out := new(Route) 690 in.DeepCopyInto(out) 691 return out 692 } 693 694 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 695 func (in *SecurityLog) DeepCopyInto(out *SecurityLog) { 696 *out = *in 697 return 698 } 699 700 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityLog. 701 func (in *SecurityLog) DeepCopy() *SecurityLog { 702 if in == nil { 703 return nil 704 } 705 out := new(SecurityLog) 706 in.DeepCopyInto(out) 707 return out 708 } 709 710 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 711 func (in *SessionCookie) DeepCopyInto(out *SessionCookie) { 712 *out = *in 713 return 714 } 715 716 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SessionCookie. 717 func (in *SessionCookie) DeepCopy() *SessionCookie { 718 if in == nil { 719 return nil 720 } 721 out := new(SessionCookie) 722 in.DeepCopyInto(out) 723 return out 724 } 725 726 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 727 func (in *Split) DeepCopyInto(out *Split) { 728 *out = *in 729 if in.Action != nil { 730 in, out := &in.Action, &out.Action 731 *out = new(Action) 732 (*in).DeepCopyInto(*out) 733 } 734 return 735 } 736 737 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Split. 738 func (in *Split) DeepCopy() *Split { 739 if in == nil { 740 return nil 741 } 742 out := new(Split) 743 in.DeepCopyInto(out) 744 return out 745 } 746 747 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 748 func (in *TLS) DeepCopyInto(out *TLS) { 749 *out = *in 750 if in.Redirect != nil { 751 in, out := &in.Redirect, &out.Redirect 752 *out = new(TLSRedirect) 753 (*in).DeepCopyInto(*out) 754 } 755 return 756 } 757 758 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLS. 759 func (in *TLS) DeepCopy() *TLS { 760 if in == nil { 761 return nil 762 } 763 out := new(TLS) 764 in.DeepCopyInto(out) 765 return out 766 } 767 768 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 769 func (in *TLSRedirect) DeepCopyInto(out *TLSRedirect) { 770 *out = *in 771 if in.Code != nil { 772 in, out := &in.Code, &out.Code 773 *out = new(int) 774 **out = **in 775 } 776 return 777 } 778 779 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSRedirect. 780 func (in *TLSRedirect) DeepCopy() *TLSRedirect { 781 if in == nil { 782 return nil 783 } 784 out := new(TLSRedirect) 785 in.DeepCopyInto(out) 786 return out 787 } 788 789 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 790 func (in *Upstream) DeepCopyInto(out *Upstream) { 791 *out = *in 792 if in.Subselector != nil { 793 in, out := &in.Subselector, &out.Subselector 794 *out = make(map[string]string, len(*in)) 795 for key, val := range *in { 796 (*out)[key] = val 797 } 798 } 799 if in.MaxFails != nil { 800 in, out := &in.MaxFails, &out.MaxFails 801 *out = new(int) 802 **out = **in 803 } 804 if in.MaxConns != nil { 805 in, out := &in.MaxConns, &out.MaxConns 806 *out = new(int) 807 **out = **in 808 } 809 if in.Keepalive != nil { 810 in, out := &in.Keepalive, &out.Keepalive 811 *out = new(int) 812 **out = **in 813 } 814 if in.ProxyBuffering != nil { 815 in, out := &in.ProxyBuffering, &out.ProxyBuffering 816 *out = new(bool) 817 **out = **in 818 } 819 if in.ProxyBuffers != nil { 820 in, out := &in.ProxyBuffers, &out.ProxyBuffers 821 *out = new(UpstreamBuffers) 822 **out = **in 823 } 824 out.TLS = in.TLS 825 if in.HealthCheck != nil { 826 in, out := &in.HealthCheck, &out.HealthCheck 827 *out = new(HealthCheck) 828 (*in).DeepCopyInto(*out) 829 } 830 if in.Queue != nil { 831 in, out := &in.Queue, &out.Queue 832 *out = new(UpstreamQueue) 833 **out = **in 834 } 835 if in.SessionCookie != nil { 836 in, out := &in.SessionCookie, &out.SessionCookie 837 *out = new(SessionCookie) 838 **out = **in 839 } 840 return 841 } 842 843 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Upstream. 844 func (in *Upstream) DeepCopy() *Upstream { 845 if in == nil { 846 return nil 847 } 848 out := new(Upstream) 849 in.DeepCopyInto(out) 850 return out 851 } 852 853 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 854 func (in *UpstreamBuffers) DeepCopyInto(out *UpstreamBuffers) { 855 *out = *in 856 return 857 } 858 859 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpstreamBuffers. 860 func (in *UpstreamBuffers) DeepCopy() *UpstreamBuffers { 861 if in == nil { 862 return nil 863 } 864 out := new(UpstreamBuffers) 865 in.DeepCopyInto(out) 866 return out 867 } 868 869 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 870 func (in *UpstreamQueue) DeepCopyInto(out *UpstreamQueue) { 871 *out = *in 872 return 873 } 874 875 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpstreamQueue. 876 func (in *UpstreamQueue) DeepCopy() *UpstreamQueue { 877 if in == nil { 878 return nil 879 } 880 out := new(UpstreamQueue) 881 in.DeepCopyInto(out) 882 return out 883 } 884 885 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 886 func (in *UpstreamTLS) DeepCopyInto(out *UpstreamTLS) { 887 *out = *in 888 return 889 } 890 891 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpstreamTLS. 892 func (in *UpstreamTLS) DeepCopy() *UpstreamTLS { 893 if in == nil { 894 return nil 895 } 896 out := new(UpstreamTLS) 897 in.DeepCopyInto(out) 898 return out 899 } 900 901 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 902 func (in *VirtualServer) DeepCopyInto(out *VirtualServer) { 903 *out = *in 904 out.TypeMeta = in.TypeMeta 905 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 906 in.Spec.DeepCopyInto(&out.Spec) 907 in.Status.DeepCopyInto(&out.Status) 908 return 909 } 910 911 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualServer. 912 func (in *VirtualServer) DeepCopy() *VirtualServer { 913 if in == nil { 914 return nil 915 } 916 out := new(VirtualServer) 917 in.DeepCopyInto(out) 918 return out 919 } 920 921 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 922 func (in *VirtualServer) DeepCopyObject() runtime.Object { 923 if c := in.DeepCopy(); c != nil { 924 return c 925 } 926 return nil 927 } 928 929 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 930 func (in *VirtualServerList) DeepCopyInto(out *VirtualServerList) { 931 *out = *in 932 out.TypeMeta = in.TypeMeta 933 in.ListMeta.DeepCopyInto(&out.ListMeta) 934 if in.Items != nil { 935 in, out := &in.Items, &out.Items 936 *out = make([]VirtualServer, len(*in)) 937 for i := range *in { 938 (*in)[i].DeepCopyInto(&(*out)[i]) 939 } 940 } 941 return 942 } 943 944 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualServerList. 945 func (in *VirtualServerList) DeepCopy() *VirtualServerList { 946 if in == nil { 947 return nil 948 } 949 out := new(VirtualServerList) 950 in.DeepCopyInto(out) 951 return out 952 } 953 954 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 955 func (in *VirtualServerList) DeepCopyObject() runtime.Object { 956 if c := in.DeepCopy(); c != nil { 957 return c 958 } 959 return nil 960 } 961 962 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 963 func (in *VirtualServerRoute) DeepCopyInto(out *VirtualServerRoute) { 964 *out = *in 965 out.TypeMeta = in.TypeMeta 966 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 967 in.Spec.DeepCopyInto(&out.Spec) 968 in.Status.DeepCopyInto(&out.Status) 969 return 970 } 971 972 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualServerRoute. 973 func (in *VirtualServerRoute) DeepCopy() *VirtualServerRoute { 974 if in == nil { 975 return nil 976 } 977 out := new(VirtualServerRoute) 978 in.DeepCopyInto(out) 979 return out 980 } 981 982 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 983 func (in *VirtualServerRoute) DeepCopyObject() runtime.Object { 984 if c := in.DeepCopy(); c != nil { 985 return c 986 } 987 return nil 988 } 989 990 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 991 func (in *VirtualServerRouteList) DeepCopyInto(out *VirtualServerRouteList) { 992 *out = *in 993 out.TypeMeta = in.TypeMeta 994 in.ListMeta.DeepCopyInto(&out.ListMeta) 995 if in.Items != nil { 996 in, out := &in.Items, &out.Items 997 *out = make([]VirtualServerRoute, len(*in)) 998 for i := range *in { 999 (*in)[i].DeepCopyInto(&(*out)[i]) 1000 } 1001 } 1002 return 1003 } 1004 1005 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualServerRouteList. 1006 func (in *VirtualServerRouteList) DeepCopy() *VirtualServerRouteList { 1007 if in == nil { 1008 return nil 1009 } 1010 out := new(VirtualServerRouteList) 1011 in.DeepCopyInto(out) 1012 return out 1013 } 1014 1015 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 1016 func (in *VirtualServerRouteList) DeepCopyObject() runtime.Object { 1017 if c := in.DeepCopy(); c != nil { 1018 return c 1019 } 1020 return nil 1021 } 1022 1023 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1024 func (in *VirtualServerRouteSpec) DeepCopyInto(out *VirtualServerRouteSpec) { 1025 *out = *in 1026 if in.Upstreams != nil { 1027 in, out := &in.Upstreams, &out.Upstreams 1028 *out = make([]Upstream, len(*in)) 1029 for i := range *in { 1030 (*in)[i].DeepCopyInto(&(*out)[i]) 1031 } 1032 } 1033 if in.Subroutes != nil { 1034 in, out := &in.Subroutes, &out.Subroutes 1035 *out = make([]Route, len(*in)) 1036 for i := range *in { 1037 (*in)[i].DeepCopyInto(&(*out)[i]) 1038 } 1039 } 1040 return 1041 } 1042 1043 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualServerRouteSpec. 1044 func (in *VirtualServerRouteSpec) DeepCopy() *VirtualServerRouteSpec { 1045 if in == nil { 1046 return nil 1047 } 1048 out := new(VirtualServerRouteSpec) 1049 in.DeepCopyInto(out) 1050 return out 1051 } 1052 1053 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1054 func (in *VirtualServerRouteStatus) DeepCopyInto(out *VirtualServerRouteStatus) { 1055 *out = *in 1056 if in.ExternalEndpoints != nil { 1057 in, out := &in.ExternalEndpoints, &out.ExternalEndpoints 1058 *out = make([]ExternalEndpoint, len(*in)) 1059 copy(*out, *in) 1060 } 1061 return 1062 } 1063 1064 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualServerRouteStatus. 1065 func (in *VirtualServerRouteStatus) DeepCopy() *VirtualServerRouteStatus { 1066 if in == nil { 1067 return nil 1068 } 1069 out := new(VirtualServerRouteStatus) 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 *VirtualServerSpec) DeepCopyInto(out *VirtualServerSpec) { 1076 *out = *in 1077 if in.TLS != nil { 1078 in, out := &in.TLS, &out.TLS 1079 *out = new(TLS) 1080 (*in).DeepCopyInto(*out) 1081 } 1082 if in.Policies != nil { 1083 in, out := &in.Policies, &out.Policies 1084 *out = make([]PolicyReference, len(*in)) 1085 copy(*out, *in) 1086 } 1087 if in.Upstreams != nil { 1088 in, out := &in.Upstreams, &out.Upstreams 1089 *out = make([]Upstream, len(*in)) 1090 for i := range *in { 1091 (*in)[i].DeepCopyInto(&(*out)[i]) 1092 } 1093 } 1094 if in.Routes != nil { 1095 in, out := &in.Routes, &out.Routes 1096 *out = make([]Route, len(*in)) 1097 for i := range *in { 1098 (*in)[i].DeepCopyInto(&(*out)[i]) 1099 } 1100 } 1101 return 1102 } 1103 1104 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualServerSpec. 1105 func (in *VirtualServerSpec) DeepCopy() *VirtualServerSpec { 1106 if in == nil { 1107 return nil 1108 } 1109 out := new(VirtualServerSpec) 1110 in.DeepCopyInto(out) 1111 return out 1112 } 1113 1114 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1115 func (in *VirtualServerStatus) DeepCopyInto(out *VirtualServerStatus) { 1116 *out = *in 1117 if in.ExternalEndpoints != nil { 1118 in, out := &in.ExternalEndpoints, &out.ExternalEndpoints 1119 *out = make([]ExternalEndpoint, len(*in)) 1120 copy(*out, *in) 1121 } 1122 return 1123 } 1124 1125 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualServerStatus. 1126 func (in *VirtualServerStatus) DeepCopy() *VirtualServerStatus { 1127 if in == nil { 1128 return nil 1129 } 1130 out := new(VirtualServerStatus) 1131 in.DeepCopyInto(out) 1132 return out 1133 } 1134 1135 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1136 func (in *WAF) DeepCopyInto(out *WAF) { 1137 *out = *in 1138 if in.SecurityLog != nil { 1139 in, out := &in.SecurityLog, &out.SecurityLog 1140 *out = new(SecurityLog) 1141 **out = **in 1142 } 1143 return 1144 } 1145 1146 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WAF. 1147 func (in *WAF) DeepCopy() *WAF { 1148 if in == nil { 1149 return nil 1150 } 1151 out := new(WAF) 1152 in.DeepCopyInto(out) 1153 return out 1154 }