2019-03-14 14:56:06 +00:00
|
|
|
// +build !ignore_autogenerated
|
|
|
|
|
|
|
|
/*
|
|
|
|
The MIT License (MIT)
|
|
|
|
|
2020-01-14 14:22:05 +00:00
|
|
|
Copyright (c) 2016-2020 Containous SAS
|
2019-03-14 14:56:06 +00:00
|
|
|
|
|
|
|
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 (
|
2019-09-03 17:20:04 +00:00
|
|
|
dynamic "github.com/containous/traefik/v2/pkg/config/dynamic"
|
2019-09-09 11:52:04 +00:00
|
|
|
types "github.com/containous/traefik/v2/pkg/types"
|
2019-03-14 14:56:06 +00:00
|
|
|
runtime "k8s.io/apimachinery/pkg/runtime"
|
|
|
|
)
|
|
|
|
|
2019-09-05 11:42:04 +00:00
|
|
|
// 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
|
|
|
|
}
|
|
|
|
|
2019-09-03 17:20:04 +00:00
|
|
|
// 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
|
|
|
|
}
|
|
|
|
|
2019-06-21 15:18:05 +00:00
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
2019-07-12 15:50:04 +00:00
|
|
|
func (in *ClientAuth) DeepCopyInto(out *ClientAuth) {
|
2019-06-21 15:18:05 +00:00
|
|
|
*out = *in
|
|
|
|
if in.SecretNames != nil {
|
|
|
|
in, out := &in.SecretNames, &out.SecretNames
|
|
|
|
*out = make([]string, len(*in))
|
|
|
|
copy(*out, *in)
|
|
|
|
}
|
|
|
|
return
|
|
|
|
}
|
|
|
|
|
2019-07-12 15:50:04 +00:00
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientAuth.
|
|
|
|
func (in *ClientAuth) DeepCopy() *ClientAuth {
|
2019-06-21 15:18:05 +00:00
|
|
|
if in == nil {
|
|
|
|
return nil
|
|
|
|
}
|
2019-07-12 15:50:04 +00:00
|
|
|
out := new(ClientAuth)
|
2019-06-21 15:18:05 +00:00
|
|
|
in.DeepCopyInto(out)
|
|
|
|
return out
|
|
|
|
}
|
|
|
|
|
2019-09-05 11:42:04 +00:00
|
|
|
// 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
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2020-02-24 16:14:06 +00:00
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
|
|
func (in *DefaultCertificate) DeepCopyInto(out *DefaultCertificate) {
|
|
|
|
*out = *in
|
|
|
|
return
|
|
|
|
}
|
|
|
|
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultCertificate.
|
|
|
|
func (in *DefaultCertificate) DeepCopy() *DefaultCertificate {
|
|
|
|
if in == nil {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
out := new(DefaultCertificate)
|
|
|
|
in.DeepCopyInto(out)
|
|
|
|
return out
|
|
|
|
}
|
|
|
|
|
2019-09-05 11:42:04 +00:00
|
|
|
// 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
|
|
|
|
}
|
|
|
|
|
2019-09-10 15:24:03 +00:00
|
|
|
// 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
|
|
|
|
}
|
|
|
|
|
2019-09-05 11:42:04 +00:00
|
|
|
// 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.TLS != nil {
|
|
|
|
in, out := &in.TLS, &out.TLS
|
|
|
|
*out = new(ClientTLS)
|
|
|
|
**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
|
|
|
|
}
|
|
|
|
|
2019-03-14 14:56:06 +00:00
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
|
|
func (in *HealthCheck) DeepCopyInto(out *HealthCheck) {
|
|
|
|
*out = *in
|
|
|
|
if in.Headers != nil {
|
|
|
|
in, out := &in.Headers, &out.Headers
|
|
|
|
*out = make(map[string]string, len(*in))
|
|
|
|
for key, val := range *in {
|
|
|
|
(*out)[key] = val
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return
|
|
|
|
}
|
|
|
|
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthCheck.
|
|
|
|
func (in *HealthCheck) DeepCopy() *HealthCheck {
|
|
|
|
if in == nil {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
out := new(HealthCheck)
|
|
|
|
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
|
2019-08-05 16:24:03 +00:00
|
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
2019-03-14 14:56:06 +00:00
|
|
|
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)
|
2019-06-21 15:18:05 +00:00
|
|
|
(*in).DeepCopyInto(*out)
|
2019-03-14 14:56:06 +00:00
|
|
|
}
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2019-06-11 13:12:04 +00:00
|
|
|
// 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
|
2019-08-05 16:24:03 +00:00
|
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
2019-06-11 13:12:04 +00:00
|
|
|
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)
|
2019-06-21 15:18:05 +00:00
|
|
|
(*in).DeepCopyInto(*out)
|
2019-06-11 13:12:04 +00:00
|
|
|
}
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2020-02-26 11:28:05 +00:00
|
|
|
// 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
|
|
|
|
}
|
|
|
|
|
2019-11-14 18:28:04 +00:00
|
|
|
// 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)
|
|
|
|
}
|
|
|
|
if in.HealthCheck != nil {
|
|
|
|
in, out := &in.HealthCheck, &out.HealthCheck
|
|
|
|
*out = new(HealthCheck)
|
|
|
|
(*in).DeepCopyInto(*out)
|
|
|
|
}
|
|
|
|
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(dynamic.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
|
|
|
|
}
|
|
|
|
|
2019-03-14 14:56:06 +00:00
|
|
|
// 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
|
2019-08-05 16:24:03 +00:00
|
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
2019-03-14 14:56:06 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2019-09-03 17:20:04 +00:00
|
|
|
// 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.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
|
2019-09-10 15:24:03 +00:00
|
|
|
*out = new(ErrorPage)
|
2019-09-03 17:20:04 +00:00
|
|
|
(*in).DeepCopyInto(*out)
|
|
|
|
}
|
|
|
|
if in.RateLimit != nil {
|
|
|
|
in, out := &in.RateLimit, &out.RateLimit
|
|
|
|
*out = new(dynamic.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
|
2019-09-05 11:42:04 +00:00
|
|
|
*out = new(BasicAuth)
|
|
|
|
**out = **in
|
2019-09-03 17:20:04 +00:00
|
|
|
}
|
|
|
|
if in.DigestAuth != nil {
|
|
|
|
in, out := &in.DigestAuth, &out.DigestAuth
|
2019-09-05 11:42:04 +00:00
|
|
|
*out = new(DigestAuth)
|
|
|
|
**out = **in
|
2019-09-03 17:20:04 +00:00
|
|
|
}
|
|
|
|
if in.ForwardAuth != nil {
|
|
|
|
in, out := &in.ForwardAuth, &out.ForwardAuth
|
2019-09-05 11:42:04 +00:00
|
|
|
*out = new(ForwardAuth)
|
2019-09-03 17:20:04 +00:00
|
|
|
(*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(dynamic.CircuitBreaker)
|
|
|
|
**out = **in
|
|
|
|
}
|
|
|
|
if in.Compress != nil {
|
|
|
|
in, out := &in.Compress, &out.Compress
|
|
|
|
*out = new(dynamic.Compress)
|
2019-10-31 10:36:05 +00:00
|
|
|
(*in).DeepCopyInto(*out)
|
2019-09-03 17:20:04 +00:00
|
|
|
}
|
|
|
|
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(dynamic.Retry)
|
|
|
|
**out = **in
|
|
|
|
}
|
2020-01-21 17:06:03 +00:00
|
|
|
if in.ContentType != nil {
|
|
|
|
in, out := &in.ContentType, &out.ContentType
|
|
|
|
*out = new(dynamic.ContentType)
|
|
|
|
**out = **in
|
|
|
|
}
|
2019-09-03 17:20:04 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2019-11-14 18:28:04 +00:00
|
|
|
// 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.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
|
|
|
|
}
|
|
|
|
|
2019-03-14 14:56:06 +00:00
|
|
|
// 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
|
|
|
|
}
|
|
|
|
|
2019-06-11 13:12:04 +00:00
|
|
|
// 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))
|
2019-09-13 18:00:06 +00:00
|
|
|
for i := range *in {
|
|
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
|
|
}
|
2019-06-11 13:12:04 +00:00
|
|
|
}
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2020-02-26 11:28:05 +00:00
|
|
|
// 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
|
|
|
|
}
|
|
|
|
|
2019-03-14 14:56:06 +00:00
|
|
|
// 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
|
2019-11-14 18:28:04 +00:00
|
|
|
in.LoadBalancerSpec.DeepCopyInto(&out.LoadBalancerSpec)
|
2019-03-14 14:56:06 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2019-11-14 18:28:04 +00:00
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
|
|
func (in *ServiceSpec) DeepCopyInto(out *ServiceSpec) {
|
|
|
|
*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 ServiceSpec.
|
|
|
|
func (in *ServiceSpec) DeepCopy() *ServiceSpec {
|
|
|
|
if in == nil {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
out := new(ServiceSpec)
|
|
|
|
in.DeepCopyInto(out)
|
|
|
|
return out
|
|
|
|
}
|
|
|
|
|
2019-06-11 13:12:04 +00:00
|
|
|
// 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
|
2019-09-13 18:00:06 +00:00
|
|
|
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
|
|
|
|
}
|
2019-06-11 13:12:04 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2020-02-26 11:28:05 +00:00
|
|
|
// 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
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2019-03-14 14:56:06 +00:00
|
|
|
// 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
|
2019-06-21 15:18:05 +00:00
|
|
|
if in.Options != nil {
|
|
|
|
in, out := &in.Options, &out.Options
|
|
|
|
*out = new(TLSOptionRef)
|
|
|
|
**out = **in
|
|
|
|
}
|
2020-02-24 16:14:06 +00:00
|
|
|
if in.Store != nil {
|
|
|
|
in, out := &in.Store, &out.Store
|
|
|
|
*out = new(TLSStoreRef)
|
|
|
|
**out = **in
|
|
|
|
}
|
2019-09-09 11:52:04 +00:00
|
|
|
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])
|
|
|
|
}
|
|
|
|
}
|
2019-03-14 14:56:06 +00:00
|
|
|
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
|
|
|
|
}
|
2019-06-11 13:12:04 +00:00
|
|
|
|
2019-06-21 15:18:05 +00:00
|
|
|
// 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
|
2019-08-05 16:24:03 +00:00
|
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
2019-06-21 15:18:05 +00:00
|
|
|
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)
|
|
|
|
}
|
2019-11-03 14:54:04 +00:00
|
|
|
if in.CurvePreferences != nil {
|
|
|
|
in, out := &in.CurvePreferences, &out.CurvePreferences
|
|
|
|
*out = make([]string, len(*in))
|
|
|
|
copy(*out, *in)
|
|
|
|
}
|
2019-07-12 15:50:04 +00:00
|
|
|
in.ClientAuth.DeepCopyInto(&out.ClientAuth)
|
2019-06-21 15:18:05 +00:00
|
|
|
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 *TLSOptionTCPRef) DeepCopyInto(out *TLSOptionTCPRef) {
|
|
|
|
*out = *in
|
|
|
|
return
|
|
|
|
}
|
|
|
|
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSOptionTCPRef.
|
|
|
|
func (in *TLSOptionTCPRef) DeepCopy() *TLSOptionTCPRef {
|
|
|
|
if in == nil {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
out := new(TLSOptionTCPRef)
|
|
|
|
in.DeepCopyInto(out)
|
|
|
|
return out
|
|
|
|
}
|
|
|
|
|
2020-02-26 11:28:05 +00:00
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
|
|
func (in *TLSOptionUDPRef) DeepCopyInto(out *TLSOptionUDPRef) {
|
|
|
|
*out = *in
|
|
|
|
return
|
|
|
|
}
|
|
|
|
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSOptionUDPRef.
|
|
|
|
func (in *TLSOptionUDPRef) DeepCopy() *TLSOptionUDPRef {
|
|
|
|
if in == nil {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
out := new(TLSOptionUDPRef)
|
|
|
|
in.DeepCopyInto(out)
|
|
|
|
return out
|
|
|
|
}
|
|
|
|
|
2020-02-24 16:14:06 +00:00
|
|
|
// 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)
|
|
|
|
out.Spec = in.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
|
|
|
|
out.DefaultCertificate = in.DefaultCertificate
|
|
|
|
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 *TLSStoreTCPRef) DeepCopyInto(out *TLSStoreTCPRef) {
|
|
|
|
*out = *in
|
|
|
|
return
|
|
|
|
}
|
|
|
|
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSStoreTCPRef.
|
|
|
|
func (in *TLSStoreTCPRef) DeepCopy() *TLSStoreTCPRef {
|
|
|
|
if in == nil {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
out := new(TLSStoreTCPRef)
|
|
|
|
in.DeepCopyInto(out)
|
|
|
|
return out
|
|
|
|
}
|
|
|
|
|
2019-06-11 13:12:04 +00:00
|
|
|
// 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
|
2019-06-21 15:18:05 +00:00
|
|
|
if in.Options != nil {
|
|
|
|
in, out := &in.Options, &out.Options
|
|
|
|
*out = new(TLSOptionTCPRef)
|
|
|
|
**out = **in
|
|
|
|
}
|
2020-02-24 16:14:06 +00:00
|
|
|
if in.Store != nil {
|
|
|
|
in, out := &in.Store, &out.Store
|
|
|
|
*out = new(TLSStoreTCPRef)
|
|
|
|
**out = **in
|
|
|
|
}
|
2019-09-09 11:52:04 +00:00
|
|
|
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])
|
|
|
|
}
|
|
|
|
}
|
2019-06-11 13:12:04 +00:00
|
|
|
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
|
|
|
|
}
|
2019-11-14 18:28:04 +00:00
|
|
|
|
|
|
|
// 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 *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
|
|
|
|
}
|