1800 lines
49 KiB
Go
1800 lines
49 KiB
Go
//go:build !ignore_autogenerated
|
|
// +build !ignore_autogenerated
|
|
|
|
/*
|
|
The MIT License (MIT)
|
|
|
|
Copyright (c) 2016-2020 Containous SAS; 2020-2024 Traefik Labs
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
of this software and associated documentation files (the "Software"), to deal
|
|
in the Software without restriction, including without limitation the rights
|
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
copies of the Software, and to permit persons to whom the Software is
|
|
furnished to do so, subject to the following conditions:
|
|
|
|
The above copyright notice and this permission notice shall be included in
|
|
all copies or substantial portions of the Software.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
THE SOFTWARE.
|
|
*/
|
|
|
|
// Code generated by deepcopy-gen. DO NOT EDIT.
|
|
|
|
package v1alpha1
|
|
|
|
import (
|
|
dynamic "github.com/traefik/traefik/v3/pkg/config/dynamic"
|
|
tls "github.com/traefik/traefik/v3/pkg/tls"
|
|
types "github.com/traefik/traefik/v3/pkg/types"
|
|
v1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1"
|
|
runtime "k8s.io/apimachinery/pkg/runtime"
|
|
intstr "k8s.io/apimachinery/pkg/util/intstr"
|
|
)
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *BasicAuth) DeepCopyInto(out *BasicAuth) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BasicAuth.
|
|
func (in *BasicAuth) DeepCopy() *BasicAuth {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(BasicAuth)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Certificate) DeepCopyInto(out *Certificate) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Certificate.
|
|
func (in *Certificate) DeepCopy() *Certificate {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Certificate)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Chain) DeepCopyInto(out *Chain) {
|
|
*out = *in
|
|
if in.Middlewares != nil {
|
|
in, out := &in.Middlewares, &out.Middlewares
|
|
*out = make([]MiddlewareRef, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Chain.
|
|
func (in *Chain) DeepCopy() *Chain {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Chain)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *CircuitBreaker) DeepCopyInto(out *CircuitBreaker) {
|
|
*out = *in
|
|
if in.CheckPeriod != nil {
|
|
in, out := &in.CheckPeriod, &out.CheckPeriod
|
|
*out = new(intstr.IntOrString)
|
|
**out = **in
|
|
}
|
|
if in.FallbackDuration != nil {
|
|
in, out := &in.FallbackDuration, &out.FallbackDuration
|
|
*out = new(intstr.IntOrString)
|
|
**out = **in
|
|
}
|
|
if in.RecoveryDuration != nil {
|
|
in, out := &in.RecoveryDuration, &out.RecoveryDuration
|
|
*out = new(intstr.IntOrString)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CircuitBreaker.
|
|
func (in *CircuitBreaker) DeepCopy() *CircuitBreaker {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(CircuitBreaker)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ClientAuth) DeepCopyInto(out *ClientAuth) {
|
|
*out = *in
|
|
if in.SecretNames != nil {
|
|
in, out := &in.SecretNames, &out.SecretNames
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientAuth.
|
|
func (in *ClientAuth) DeepCopy() *ClientAuth {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ClientAuth)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ClientTLS) DeepCopyInto(out *ClientTLS) {
|
|
*out = *in
|
|
if in.CAOptional != nil {
|
|
in, out := &in.CAOptional, &out.CAOptional
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientTLS.
|
|
func (in *ClientTLS) DeepCopy() *ClientTLS {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ClientTLS)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DigestAuth) DeepCopyInto(out *DigestAuth) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DigestAuth.
|
|
func (in *DigestAuth) DeepCopy() *DigestAuth {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DigestAuth)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ErrorPage) DeepCopyInto(out *ErrorPage) {
|
|
*out = *in
|
|
if in.Status != nil {
|
|
in, out := &in.Status, &out.Status
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
in.Service.DeepCopyInto(&out.Service)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ErrorPage.
|
|
func (in *ErrorPage) DeepCopy() *ErrorPage {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ErrorPage)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ForwardAuth) DeepCopyInto(out *ForwardAuth) {
|
|
*out = *in
|
|
if in.AuthResponseHeaders != nil {
|
|
in, out := &in.AuthResponseHeaders, &out.AuthResponseHeaders
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.AuthRequestHeaders != nil {
|
|
in, out := &in.AuthRequestHeaders, &out.AuthRequestHeaders
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.TLS != nil {
|
|
in, out := &in.TLS, &out.TLS
|
|
*out = new(ClientTLS)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.AddAuthCookiesToResponse != nil {
|
|
in, out := &in.AddAuthCookiesToResponse, &out.AddAuthCookiesToResponse
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardAuth.
|
|
func (in *ForwardAuth) DeepCopy() *ForwardAuth {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ForwardAuth)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ForwardingTimeouts) DeepCopyInto(out *ForwardingTimeouts) {
|
|
*out = *in
|
|
if in.DialTimeout != nil {
|
|
in, out := &in.DialTimeout, &out.DialTimeout
|
|
*out = new(intstr.IntOrString)
|
|
**out = **in
|
|
}
|
|
if in.ResponseHeaderTimeout != nil {
|
|
in, out := &in.ResponseHeaderTimeout, &out.ResponseHeaderTimeout
|
|
*out = new(intstr.IntOrString)
|
|
**out = **in
|
|
}
|
|
if in.IdleConnTimeout != nil {
|
|
in, out := &in.IdleConnTimeout, &out.IdleConnTimeout
|
|
*out = new(intstr.IntOrString)
|
|
**out = **in
|
|
}
|
|
if in.ReadIdleTimeout != nil {
|
|
in, out := &in.ReadIdleTimeout, &out.ReadIdleTimeout
|
|
*out = new(intstr.IntOrString)
|
|
**out = **in
|
|
}
|
|
if in.PingTimeout != nil {
|
|
in, out := &in.PingTimeout, &out.PingTimeout
|
|
*out = new(intstr.IntOrString)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardingTimeouts.
|
|
func (in *ForwardingTimeouts) DeepCopy() *ForwardingTimeouts {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ForwardingTimeouts)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *IngressRoute) DeepCopyInto(out *IngressRoute) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRoute.
|
|
func (in *IngressRoute) DeepCopy() *IngressRoute {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(IngressRoute)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *IngressRoute) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *IngressRouteList) DeepCopyInto(out *IngressRouteList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]IngressRoute, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRouteList.
|
|
func (in *IngressRouteList) DeepCopy() *IngressRouteList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(IngressRouteList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *IngressRouteList) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *IngressRouteSpec) DeepCopyInto(out *IngressRouteSpec) {
|
|
*out = *in
|
|
if in.Routes != nil {
|
|
in, out := &in.Routes, &out.Routes
|
|
*out = make([]Route, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.EntryPoints != nil {
|
|
in, out := &in.EntryPoints, &out.EntryPoints
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.TLS != nil {
|
|
in, out := &in.TLS, &out.TLS
|
|
*out = new(TLS)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRouteSpec.
|
|
func (in *IngressRouteSpec) DeepCopy() *IngressRouteSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(IngressRouteSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *IngressRouteTCP) DeepCopyInto(out *IngressRouteTCP) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRouteTCP.
|
|
func (in *IngressRouteTCP) DeepCopy() *IngressRouteTCP {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(IngressRouteTCP)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *IngressRouteTCP) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *IngressRouteTCPList) DeepCopyInto(out *IngressRouteTCPList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]IngressRouteTCP, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRouteTCPList.
|
|
func (in *IngressRouteTCPList) DeepCopy() *IngressRouteTCPList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(IngressRouteTCPList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *IngressRouteTCPList) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *IngressRouteTCPSpec) DeepCopyInto(out *IngressRouteTCPSpec) {
|
|
*out = *in
|
|
if in.Routes != nil {
|
|
in, out := &in.Routes, &out.Routes
|
|
*out = make([]RouteTCP, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.EntryPoints != nil {
|
|
in, out := &in.EntryPoints, &out.EntryPoints
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.TLS != nil {
|
|
in, out := &in.TLS, &out.TLS
|
|
*out = new(TLSTCP)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRouteTCPSpec.
|
|
func (in *IngressRouteTCPSpec) DeepCopy() *IngressRouteTCPSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(IngressRouteTCPSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *IngressRouteUDP) DeepCopyInto(out *IngressRouteUDP) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRouteUDP.
|
|
func (in *IngressRouteUDP) DeepCopy() *IngressRouteUDP {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(IngressRouteUDP)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *IngressRouteUDP) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *IngressRouteUDPList) DeepCopyInto(out *IngressRouteUDPList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]IngressRouteUDP, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRouteUDPList.
|
|
func (in *IngressRouteUDPList) DeepCopy() *IngressRouteUDPList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(IngressRouteUDPList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *IngressRouteUDPList) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *IngressRouteUDPSpec) DeepCopyInto(out *IngressRouteUDPSpec) {
|
|
*out = *in
|
|
if in.Routes != nil {
|
|
in, out := &in.Routes, &out.Routes
|
|
*out = make([]RouteUDP, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.EntryPoints != nil {
|
|
in, out := &in.EntryPoints, &out.EntryPoints
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRouteUDPSpec.
|
|
func (in *IngressRouteUDPSpec) DeepCopy() *IngressRouteUDPSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(IngressRouteUDPSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *LoadBalancerSpec) DeepCopyInto(out *LoadBalancerSpec) {
|
|
*out = *in
|
|
if in.Sticky != nil {
|
|
in, out := &in.Sticky, &out.Sticky
|
|
*out = new(dynamic.Sticky)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
out.Port = in.Port
|
|
if in.PassHostHeader != nil {
|
|
in, out := &in.PassHostHeader, &out.PassHostHeader
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.ResponseForwarding != nil {
|
|
in, out := &in.ResponseForwarding, &out.ResponseForwarding
|
|
*out = new(ResponseForwarding)
|
|
**out = **in
|
|
}
|
|
if in.Weight != nil {
|
|
in, out := &in.Weight, &out.Weight
|
|
*out = new(int)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerSpec.
|
|
func (in *LoadBalancerSpec) DeepCopy() *LoadBalancerSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(LoadBalancerSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Middleware) DeepCopyInto(out *Middleware) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Middleware.
|
|
func (in *Middleware) DeepCopy() *Middleware {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Middleware)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *Middleware) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MiddlewareList) DeepCopyInto(out *MiddlewareList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]Middleware, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MiddlewareList.
|
|
func (in *MiddlewareList) DeepCopy() *MiddlewareList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MiddlewareList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *MiddlewareList) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MiddlewareRef) DeepCopyInto(out *MiddlewareRef) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MiddlewareRef.
|
|
func (in *MiddlewareRef) DeepCopy() *MiddlewareRef {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MiddlewareRef)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MiddlewareSpec) DeepCopyInto(out *MiddlewareSpec) {
|
|
*out = *in
|
|
if in.AddPrefix != nil {
|
|
in, out := &in.AddPrefix, &out.AddPrefix
|
|
*out = new(dynamic.AddPrefix)
|
|
**out = **in
|
|
}
|
|
if in.StripPrefix != nil {
|
|
in, out := &in.StripPrefix, &out.StripPrefix
|
|
*out = new(dynamic.StripPrefix)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.StripPrefixRegex != nil {
|
|
in, out := &in.StripPrefixRegex, &out.StripPrefixRegex
|
|
*out = new(dynamic.StripPrefixRegex)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.ReplacePath != nil {
|
|
in, out := &in.ReplacePath, &out.ReplacePath
|
|
*out = new(dynamic.ReplacePath)
|
|
**out = **in
|
|
}
|
|
if in.ReplacePathRegex != nil {
|
|
in, out := &in.ReplacePathRegex, &out.ReplacePathRegex
|
|
*out = new(dynamic.ReplacePathRegex)
|
|
**out = **in
|
|
}
|
|
if in.Chain != nil {
|
|
in, out := &in.Chain, &out.Chain
|
|
*out = new(Chain)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.IPWhiteList != nil {
|
|
in, out := &in.IPWhiteList, &out.IPWhiteList
|
|
*out = new(dynamic.IPWhiteList)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.IPAllowList != nil {
|
|
in, out := &in.IPAllowList, &out.IPAllowList
|
|
*out = new(dynamic.IPAllowList)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Headers != nil {
|
|
in, out := &in.Headers, &out.Headers
|
|
*out = new(dynamic.Headers)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Errors != nil {
|
|
in, out := &in.Errors, &out.Errors
|
|
*out = new(ErrorPage)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.RateLimit != nil {
|
|
in, out := &in.RateLimit, &out.RateLimit
|
|
*out = new(RateLimit)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.RedirectRegex != nil {
|
|
in, out := &in.RedirectRegex, &out.RedirectRegex
|
|
*out = new(dynamic.RedirectRegex)
|
|
**out = **in
|
|
}
|
|
if in.RedirectScheme != nil {
|
|
in, out := &in.RedirectScheme, &out.RedirectScheme
|
|
*out = new(dynamic.RedirectScheme)
|
|
**out = **in
|
|
}
|
|
if in.BasicAuth != nil {
|
|
in, out := &in.BasicAuth, &out.BasicAuth
|
|
*out = new(BasicAuth)
|
|
**out = **in
|
|
}
|
|
if in.DigestAuth != nil {
|
|
in, out := &in.DigestAuth, &out.DigestAuth
|
|
*out = new(DigestAuth)
|
|
**out = **in
|
|
}
|
|
if in.ForwardAuth != nil {
|
|
in, out := &in.ForwardAuth, &out.ForwardAuth
|
|
*out = new(ForwardAuth)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.InFlightReq != nil {
|
|
in, out := &in.InFlightReq, &out.InFlightReq
|
|
*out = new(dynamic.InFlightReq)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Buffering != nil {
|
|
in, out := &in.Buffering, &out.Buffering
|
|
*out = new(dynamic.Buffering)
|
|
**out = **in
|
|
}
|
|
if in.CircuitBreaker != nil {
|
|
in, out := &in.CircuitBreaker, &out.CircuitBreaker
|
|
*out = new(CircuitBreaker)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Compress != nil {
|
|
in, out := &in.Compress, &out.Compress
|
|
*out = new(dynamic.Compress)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.PassTLSClientCert != nil {
|
|
in, out := &in.PassTLSClientCert, &out.PassTLSClientCert
|
|
*out = new(dynamic.PassTLSClientCert)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Retry != nil {
|
|
in, out := &in.Retry, &out.Retry
|
|
*out = new(Retry)
|
|
**out = **in
|
|
}
|
|
if in.ContentType != nil {
|
|
in, out := &in.ContentType, &out.ContentType
|
|
*out = new(dynamic.ContentType)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.GrpcWeb != nil {
|
|
in, out := &in.GrpcWeb, &out.GrpcWeb
|
|
*out = new(dynamic.GrpcWeb)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Plugin != nil {
|
|
in, out := &in.Plugin, &out.Plugin
|
|
*out = make(map[string]v1.JSON, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = *val.DeepCopy()
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MiddlewareSpec.
|
|
func (in *MiddlewareSpec) DeepCopy() *MiddlewareSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MiddlewareSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MiddlewareTCP) DeepCopyInto(out *MiddlewareTCP) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MiddlewareTCP.
|
|
func (in *MiddlewareTCP) DeepCopy() *MiddlewareTCP {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MiddlewareTCP)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *MiddlewareTCP) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MiddlewareTCPList) DeepCopyInto(out *MiddlewareTCPList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]MiddlewareTCP, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MiddlewareTCPList.
|
|
func (in *MiddlewareTCPList) DeepCopy() *MiddlewareTCPList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MiddlewareTCPList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *MiddlewareTCPList) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MiddlewareTCPSpec) DeepCopyInto(out *MiddlewareTCPSpec) {
|
|
*out = *in
|
|
if in.InFlightConn != nil {
|
|
in, out := &in.InFlightConn, &out.InFlightConn
|
|
*out = new(dynamic.TCPInFlightConn)
|
|
**out = **in
|
|
}
|
|
if in.IPWhiteList != nil {
|
|
in, out := &in.IPWhiteList, &out.IPWhiteList
|
|
*out = new(dynamic.TCPIPWhiteList)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.IPAllowList != nil {
|
|
in, out := &in.IPAllowList, &out.IPAllowList
|
|
*out = new(dynamic.TCPIPAllowList)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MiddlewareTCPSpec.
|
|
func (in *MiddlewareTCPSpec) DeepCopy() *MiddlewareTCPSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MiddlewareTCPSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MirrorService) DeepCopyInto(out *MirrorService) {
|
|
*out = *in
|
|
in.LoadBalancerSpec.DeepCopyInto(&out.LoadBalancerSpec)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MirrorService.
|
|
func (in *MirrorService) DeepCopy() *MirrorService {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MirrorService)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Mirroring) DeepCopyInto(out *Mirroring) {
|
|
*out = *in
|
|
in.LoadBalancerSpec.DeepCopyInto(&out.LoadBalancerSpec)
|
|
if in.MaxBodySize != nil {
|
|
in, out := &in.MaxBodySize, &out.MaxBodySize
|
|
*out = new(int64)
|
|
**out = **in
|
|
}
|
|
if in.Mirrors != nil {
|
|
in, out := &in.Mirrors, &out.Mirrors
|
|
*out = make([]MirrorService, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Mirroring.
|
|
func (in *Mirroring) DeepCopy() *Mirroring {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Mirroring)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ObjectReference) DeepCopyInto(out *ObjectReference) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReference.
|
|
func (in *ObjectReference) DeepCopy() *ObjectReference {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ObjectReference)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *RateLimit) DeepCopyInto(out *RateLimit) {
|
|
*out = *in
|
|
if in.Period != nil {
|
|
in, out := &in.Period, &out.Period
|
|
*out = new(intstr.IntOrString)
|
|
**out = **in
|
|
}
|
|
if in.Burst != nil {
|
|
in, out := &in.Burst, &out.Burst
|
|
*out = new(int64)
|
|
**out = **in
|
|
}
|
|
if in.SourceCriterion != nil {
|
|
in, out := &in.SourceCriterion, &out.SourceCriterion
|
|
*out = new(dynamic.SourceCriterion)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RateLimit.
|
|
func (in *RateLimit) DeepCopy() *RateLimit {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(RateLimit)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ResponseForwarding) DeepCopyInto(out *ResponseForwarding) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResponseForwarding.
|
|
func (in *ResponseForwarding) DeepCopy() *ResponseForwarding {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResponseForwarding)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Retry) DeepCopyInto(out *Retry) {
|
|
*out = *in
|
|
out.InitialInterval = in.InitialInterval
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Retry.
|
|
func (in *Retry) DeepCopy() *Retry {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Retry)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Route) DeepCopyInto(out *Route) {
|
|
*out = *in
|
|
if in.Services != nil {
|
|
in, out := &in.Services, &out.Services
|
|
*out = make([]Service, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.Middlewares != nil {
|
|
in, out := &in.Middlewares, &out.Middlewares
|
|
*out = make([]MiddlewareRef, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Route.
|
|
func (in *Route) DeepCopy() *Route {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Route)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *RouteTCP) DeepCopyInto(out *RouteTCP) {
|
|
*out = *in
|
|
if in.Services != nil {
|
|
in, out := &in.Services, &out.Services
|
|
*out = make([]ServiceTCP, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.Middlewares != nil {
|
|
in, out := &in.Middlewares, &out.Middlewares
|
|
*out = make([]ObjectReference, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteTCP.
|
|
func (in *RouteTCP) DeepCopy() *RouteTCP {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(RouteTCP)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *RouteUDP) DeepCopyInto(out *RouteUDP) {
|
|
*out = *in
|
|
if in.Services != nil {
|
|
in, out := &in.Services, &out.Services
|
|
*out = make([]ServiceUDP, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteUDP.
|
|
func (in *RouteUDP) DeepCopy() *RouteUDP {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(RouteUDP)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ServersTransport) DeepCopyInto(out *ServersTransport) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersTransport.
|
|
func (in *ServersTransport) DeepCopy() *ServersTransport {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ServersTransport)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ServersTransport) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ServersTransportList) DeepCopyInto(out *ServersTransportList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]ServersTransport, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersTransportList.
|
|
func (in *ServersTransportList) DeepCopy() *ServersTransportList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ServersTransportList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ServersTransportList) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ServersTransportSpec) DeepCopyInto(out *ServersTransportSpec) {
|
|
*out = *in
|
|
if in.RootCAsSecrets != nil {
|
|
in, out := &in.RootCAsSecrets, &out.RootCAsSecrets
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.CertificatesSecrets != nil {
|
|
in, out := &in.CertificatesSecrets, &out.CertificatesSecrets
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.ForwardingTimeouts != nil {
|
|
in, out := &in.ForwardingTimeouts, &out.ForwardingTimeouts
|
|
*out = new(ForwardingTimeouts)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Spiffe != nil {
|
|
in, out := &in.Spiffe, &out.Spiffe
|
|
*out = new(dynamic.Spiffe)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersTransportSpec.
|
|
func (in *ServersTransportSpec) DeepCopy() *ServersTransportSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ServersTransportSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ServersTransportTCP) DeepCopyInto(out *ServersTransportTCP) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersTransportTCP.
|
|
func (in *ServersTransportTCP) DeepCopy() *ServersTransportTCP {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ServersTransportTCP)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ServersTransportTCP) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ServersTransportTCPList) DeepCopyInto(out *ServersTransportTCPList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]ServersTransportTCP, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersTransportTCPList.
|
|
func (in *ServersTransportTCPList) DeepCopy() *ServersTransportTCPList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ServersTransportTCPList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ServersTransportTCPList) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ServersTransportTCPSpec) DeepCopyInto(out *ServersTransportTCPSpec) {
|
|
*out = *in
|
|
if in.DialTimeout != nil {
|
|
in, out := &in.DialTimeout, &out.DialTimeout
|
|
*out = new(intstr.IntOrString)
|
|
**out = **in
|
|
}
|
|
if in.DialKeepAlive != nil {
|
|
in, out := &in.DialKeepAlive, &out.DialKeepAlive
|
|
*out = new(intstr.IntOrString)
|
|
**out = **in
|
|
}
|
|
if in.TerminationDelay != nil {
|
|
in, out := &in.TerminationDelay, &out.TerminationDelay
|
|
*out = new(intstr.IntOrString)
|
|
**out = **in
|
|
}
|
|
if in.TLS != nil {
|
|
in, out := &in.TLS, &out.TLS
|
|
*out = new(TLSClientConfig)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersTransportTCPSpec.
|
|
func (in *ServersTransportTCPSpec) DeepCopy() *ServersTransportTCPSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ServersTransportTCPSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Service) DeepCopyInto(out *Service) {
|
|
*out = *in
|
|
in.LoadBalancerSpec.DeepCopyInto(&out.LoadBalancerSpec)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service.
|
|
func (in *Service) DeepCopy() *Service {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Service)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ServiceTCP) DeepCopyInto(out *ServiceTCP) {
|
|
*out = *in
|
|
out.Port = in.Port
|
|
if in.Weight != nil {
|
|
in, out := &in.Weight, &out.Weight
|
|
*out = new(int)
|
|
**out = **in
|
|
}
|
|
if in.TerminationDelay != nil {
|
|
in, out := &in.TerminationDelay, &out.TerminationDelay
|
|
*out = new(int)
|
|
**out = **in
|
|
}
|
|
if in.ProxyProtocol != nil {
|
|
in, out := &in.ProxyProtocol, &out.ProxyProtocol
|
|
*out = new(dynamic.ProxyProtocol)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceTCP.
|
|
func (in *ServiceTCP) DeepCopy() *ServiceTCP {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ServiceTCP)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ServiceUDP) DeepCopyInto(out *ServiceUDP) {
|
|
*out = *in
|
|
out.Port = in.Port
|
|
if in.Weight != nil {
|
|
in, out := &in.Weight, &out.Weight
|
|
*out = new(int)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceUDP.
|
|
func (in *ServiceUDP) DeepCopy() *ServiceUDP {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ServiceUDP)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *TLS) DeepCopyInto(out *TLS) {
|
|
*out = *in
|
|
if in.Options != nil {
|
|
in, out := &in.Options, &out.Options
|
|
*out = new(TLSOptionRef)
|
|
**out = **in
|
|
}
|
|
if in.Store != nil {
|
|
in, out := &in.Store, &out.Store
|
|
*out = new(TLSStoreRef)
|
|
**out = **in
|
|
}
|
|
if in.Domains != nil {
|
|
in, out := &in.Domains, &out.Domains
|
|
*out = make([]types.Domain, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLS.
|
|
func (in *TLS) DeepCopy() *TLS {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(TLS)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *TLSClientConfig) DeepCopyInto(out *TLSClientConfig) {
|
|
*out = *in
|
|
if in.RootCAsSecrets != nil {
|
|
in, out := &in.RootCAsSecrets, &out.RootCAsSecrets
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.CertificatesSecrets != nil {
|
|
in, out := &in.CertificatesSecrets, &out.CertificatesSecrets
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Spiffe != nil {
|
|
in, out := &in.Spiffe, &out.Spiffe
|
|
*out = new(dynamic.Spiffe)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSClientConfig.
|
|
func (in *TLSClientConfig) DeepCopy() *TLSClientConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(TLSClientConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *TLSOption) DeepCopyInto(out *TLSOption) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSOption.
|
|
func (in *TLSOption) DeepCopy() *TLSOption {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(TLSOption)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *TLSOption) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *TLSOptionList) DeepCopyInto(out *TLSOptionList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]TLSOption, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSOptionList.
|
|
func (in *TLSOptionList) DeepCopy() *TLSOptionList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(TLSOptionList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *TLSOptionList) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *TLSOptionRef) DeepCopyInto(out *TLSOptionRef) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSOptionRef.
|
|
func (in *TLSOptionRef) DeepCopy() *TLSOptionRef {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(TLSOptionRef)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *TLSOptionSpec) DeepCopyInto(out *TLSOptionSpec) {
|
|
*out = *in
|
|
if in.CipherSuites != nil {
|
|
in, out := &in.CipherSuites, &out.CipherSuites
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.CurvePreferences != nil {
|
|
in, out := &in.CurvePreferences, &out.CurvePreferences
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
in.ClientAuth.DeepCopyInto(&out.ClientAuth)
|
|
if in.ALPNProtocols != nil {
|
|
in, out := &in.ALPNProtocols, &out.ALPNProtocols
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.PreferServerCipherSuites != nil {
|
|
in, out := &in.PreferServerCipherSuites, &out.PreferServerCipherSuites
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSOptionSpec.
|
|
func (in *TLSOptionSpec) DeepCopy() *TLSOptionSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(TLSOptionSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *TLSStore) DeepCopyInto(out *TLSStore) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSStore.
|
|
func (in *TLSStore) DeepCopy() *TLSStore {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(TLSStore)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *TLSStore) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *TLSStoreList) DeepCopyInto(out *TLSStoreList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]TLSStore, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSStoreList.
|
|
func (in *TLSStoreList) DeepCopy() *TLSStoreList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(TLSStoreList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *TLSStoreList) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *TLSStoreRef) DeepCopyInto(out *TLSStoreRef) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSStoreRef.
|
|
func (in *TLSStoreRef) DeepCopy() *TLSStoreRef {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(TLSStoreRef)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *TLSStoreSpec) DeepCopyInto(out *TLSStoreSpec) {
|
|
*out = *in
|
|
if in.DefaultCertificate != nil {
|
|
in, out := &in.DefaultCertificate, &out.DefaultCertificate
|
|
*out = new(Certificate)
|
|
**out = **in
|
|
}
|
|
if in.DefaultGeneratedCert != nil {
|
|
in, out := &in.DefaultGeneratedCert, &out.DefaultGeneratedCert
|
|
*out = new(tls.GeneratedCert)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Certificates != nil {
|
|
in, out := &in.Certificates, &out.Certificates
|
|
*out = make([]Certificate, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSStoreSpec.
|
|
func (in *TLSStoreSpec) DeepCopy() *TLSStoreSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(TLSStoreSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *TLSTCP) DeepCopyInto(out *TLSTCP) {
|
|
*out = *in
|
|
if in.Options != nil {
|
|
in, out := &in.Options, &out.Options
|
|
*out = new(ObjectReference)
|
|
**out = **in
|
|
}
|
|
if in.Store != nil {
|
|
in, out := &in.Store, &out.Store
|
|
*out = new(ObjectReference)
|
|
**out = **in
|
|
}
|
|
if in.Domains != nil {
|
|
in, out := &in.Domains, &out.Domains
|
|
*out = make([]types.Domain, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSTCP.
|
|
func (in *TLSTCP) DeepCopy() *TLSTCP {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(TLSTCP)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *TraefikService) DeepCopyInto(out *TraefikService) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TraefikService.
|
|
func (in *TraefikService) DeepCopy() *TraefikService {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(TraefikService)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *TraefikService) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *TraefikServiceList) DeepCopyInto(out *TraefikServiceList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]TraefikService, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TraefikServiceList.
|
|
func (in *TraefikServiceList) DeepCopy() *TraefikServiceList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(TraefikServiceList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *TraefikServiceList) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *TraefikServiceSpec) DeepCopyInto(out *TraefikServiceSpec) {
|
|
*out = *in
|
|
if in.Weighted != nil {
|
|
in, out := &in.Weighted, &out.Weighted
|
|
*out = new(WeightedRoundRobin)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Mirroring != nil {
|
|
in, out := &in.Mirroring, &out.Mirroring
|
|
*out = new(Mirroring)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TraefikServiceSpec.
|
|
func (in *TraefikServiceSpec) DeepCopy() *TraefikServiceSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(TraefikServiceSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *WeightedRoundRobin) DeepCopyInto(out *WeightedRoundRobin) {
|
|
*out = *in
|
|
if in.Services != nil {
|
|
in, out := &in.Services, &out.Services
|
|
*out = make([]Service, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.Sticky != nil {
|
|
in, out := &in.Sticky, &out.Sticky
|
|
*out = new(dynamic.Sticky)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WeightedRoundRobin.
|
|
func (in *WeightedRoundRobin) DeepCopy() *WeightedRoundRobin {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(WeightedRoundRobin)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|