2021-09-02 12:40:08 +00:00
|
|
|
//go:build !ignore_autogenerated
|
2019-07-09 13:18:04 +00:00
|
|
|
// +build !ignore_autogenerated
|
|
|
|
|
|
|
|
/*
|
|
|
|
The MIT License (MIT)
|
|
|
|
|
2024-01-02 14:28:09 +00:00
|
|
|
Copyright (c) 2016-2020 Containous SAS; 2020-2024 Traefik Labs
|
2019-07-09 13:18:04 +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 tls
|
|
|
|
|
2022-09-13 18:34:08 +00:00
|
|
|
import (
|
2023-02-03 14:24:05 +00:00
|
|
|
types "github.com/traefik/traefik/v3/pkg/types"
|
2022-09-13 18:34:08 +00:00
|
|
|
)
|
|
|
|
|
2019-07-09 13:18:04 +00:00
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
|
|
func (in *CertAndStores) DeepCopyInto(out *CertAndStores) {
|
|
|
|
*out = *in
|
|
|
|
out.Certificate = in.Certificate
|
|
|
|
if in.Stores != nil {
|
|
|
|
in, out := &in.Stores, &out.Stores
|
|
|
|
*out = make([]string, len(*in))
|
|
|
|
copy(*out, *in)
|
|
|
|
}
|
|
|
|
return
|
|
|
|
}
|
|
|
|
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertAndStores.
|
|
|
|
func (in *CertAndStores) DeepCopy() *CertAndStores {
|
|
|
|
if in == nil {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
out := new(CertAndStores)
|
|
|
|
in.DeepCopyInto(out)
|
|
|
|
return out
|
|
|
|
}
|
|
|
|
|
|
|
|
// 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-07-09 13:18:04 +00:00
|
|
|
*out = *in
|
2019-07-12 15:50:04 +00:00
|
|
|
if in.CAFiles != nil {
|
|
|
|
in, out := &in.CAFiles, &out.CAFiles
|
2024-01-11 16:06:06 +00:00
|
|
|
*out = make([]types.FileOrContent, len(*in))
|
2019-07-09 13:18:04 +00:00
|
|
|
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-07-09 13:18:04 +00:00
|
|
|
if in == nil {
|
|
|
|
return nil
|
|
|
|
}
|
2019-07-12 15:50:04 +00:00
|
|
|
out := new(ClientAuth)
|
2019-07-09 13:18:04 +00:00
|
|
|
in.DeepCopyInto(out)
|
|
|
|
return out
|
|
|
|
}
|
|
|
|
|
2022-09-13 18:34:08 +00:00
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
|
|
func (in *GeneratedCert) DeepCopyInto(out *GeneratedCert) {
|
|
|
|
*out = *in
|
|
|
|
if in.Domain != nil {
|
|
|
|
in, out := &in.Domain, &out.Domain
|
|
|
|
*out = new(types.Domain)
|
|
|
|
(*in).DeepCopyInto(*out)
|
|
|
|
}
|
|
|
|
return
|
|
|
|
}
|
|
|
|
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeneratedCert.
|
|
|
|
func (in *GeneratedCert) DeepCopy() *GeneratedCert {
|
|
|
|
if in == nil {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
out := new(GeneratedCert)
|
|
|
|
in.DeepCopyInto(out)
|
|
|
|
return out
|
|
|
|
}
|
|
|
|
|
2019-07-09 13:18:04 +00:00
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
|
|
func (in *Options) DeepCopyInto(out *Options) {
|
|
|
|
*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)
|
2021-08-20 16:20:06 +00:00
|
|
|
if in.ALPNProtocols != nil {
|
|
|
|
in, out := &in.ALPNProtocols, &out.ALPNProtocols
|
|
|
|
*out = make([]string, len(*in))
|
|
|
|
copy(*out, *in)
|
|
|
|
}
|
2019-07-09 13:18:04 +00:00
|
|
|
return
|
|
|
|
}
|
|
|
|
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Options.
|
|
|
|
func (in *Options) DeepCopy() *Options {
|
|
|
|
if in == nil {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
out := new(Options)
|
|
|
|
in.DeepCopyInto(out)
|
|
|
|
return out
|
|
|
|
}
|
|
|
|
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
|
|
func (in *Store) DeepCopyInto(out *Store) {
|
|
|
|
*out = *in
|
|
|
|
if in.DefaultCertificate != nil {
|
|
|
|
in, out := &in.DefaultCertificate, &out.DefaultCertificate
|
|
|
|
*out = new(Certificate)
|
|
|
|
**out = **in
|
|
|
|
}
|
2022-09-13 18:34:08 +00:00
|
|
|
if in.DefaultGeneratedCert != nil {
|
|
|
|
in, out := &in.DefaultGeneratedCert, &out.DefaultGeneratedCert
|
|
|
|
*out = new(GeneratedCert)
|
|
|
|
(*in).DeepCopyInto(*out)
|
|
|
|
}
|
2019-07-09 13:18:04 +00:00
|
|
|
return
|
|
|
|
}
|
|
|
|
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Store.
|
|
|
|
func (in *Store) DeepCopy() *Store {
|
|
|
|
if in == nil {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
out := new(Store)
|
|
|
|
in.DeepCopyInto(out)
|
|
|
|
return out
|
|
|
|
}
|