mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 05:27:21 +00:00
autogenerated
This commit is contained in:
parent
099e60b1db
commit
2d0efea35b
@ -17,6 +17,7 @@ go_library(
|
|||||||
deps = [
|
deps = [
|
||||||
"//pkg/kubelet/apis/kubeletconfig/v1beta1:go_default_library",
|
"//pkg/kubelet/apis/kubeletconfig/v1beta1:go_default_library",
|
||||||
"//pkg/proxy/apis/kubeproxyconfig/v1alpha1:go_default_library",
|
"//pkg/proxy/apis/kubeproxyconfig/v1alpha1:go_default_library",
|
||||||
|
"//vendor/github.com/google/gofuzz:go_default_library",
|
||||||
"//vendor/k8s.io/api/core/v1:go_default_library",
|
"//vendor/k8s.io/api/core/v1:go_default_library",
|
||||||
"//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
|
"//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
|
||||||
"//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library",
|
"//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library",
|
||||||
|
@ -112,37 +112,25 @@ func Convert_kubeadm_AuditPolicyConfiguration_To_v1alpha1_AuditPolicyConfigurati
|
|||||||
}
|
}
|
||||||
|
|
||||||
func autoConvert_v1alpha1_Etcd_To_kubeadm_Etcd(in *Etcd, out *kubeadm.Etcd, s conversion.Scope) error {
|
func autoConvert_v1alpha1_Etcd_To_kubeadm_Etcd(in *Etcd, out *kubeadm.Etcd, s conversion.Scope) error {
|
||||||
out.Endpoints = *(*[]string)(unsafe.Pointer(&in.Endpoints))
|
// WARNING: in.Endpoints requires manual conversion: does not exist in peer-type
|
||||||
out.CAFile = in.CAFile
|
// WARNING: in.CAFile requires manual conversion: does not exist in peer-type
|
||||||
out.CertFile = in.CertFile
|
// WARNING: in.CertFile requires manual conversion: does not exist in peer-type
|
||||||
out.KeyFile = in.KeyFile
|
// WARNING: in.KeyFile requires manual conversion: does not exist in peer-type
|
||||||
out.DataDir = in.DataDir
|
// WARNING: in.DataDir requires manual conversion: does not exist in peer-type
|
||||||
out.ExtraArgs = *(*map[string]string)(unsafe.Pointer(&in.ExtraArgs))
|
// WARNING: in.ExtraArgs requires manual conversion: does not exist in peer-type
|
||||||
out.Image = in.Image
|
// WARNING: in.Image requires manual conversion: does not exist in peer-type
|
||||||
// WARNING: in.SelfHosted requires manual conversion: does not exist in peer-type
|
// WARNING: in.SelfHosted requires manual conversion: does not exist in peer-type
|
||||||
out.ServerCertSANs = *(*[]string)(unsafe.Pointer(&in.ServerCertSANs))
|
// WARNING: in.ServerCertSANs requires manual conversion: does not exist in peer-type
|
||||||
out.PeerCertSANs = *(*[]string)(unsafe.Pointer(&in.PeerCertSANs))
|
// WARNING: in.PeerCertSANs requires manual conversion: does not exist in peer-type
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func autoConvert_kubeadm_Etcd_To_v1alpha1_Etcd(in *kubeadm.Etcd, out *Etcd, s conversion.Scope) error {
|
func autoConvert_kubeadm_Etcd_To_v1alpha1_Etcd(in *kubeadm.Etcd, out *Etcd, s conversion.Scope) error {
|
||||||
out.Endpoints = *(*[]string)(unsafe.Pointer(&in.Endpoints))
|
// WARNING: in.Local requires manual conversion: does not exist in peer-type
|
||||||
out.CAFile = in.CAFile
|
// WARNING: in.External requires manual conversion: does not exist in peer-type
|
||||||
out.CertFile = in.CertFile
|
|
||||||
out.KeyFile = in.KeyFile
|
|
||||||
out.DataDir = in.DataDir
|
|
||||||
out.ExtraArgs = *(*map[string]string)(unsafe.Pointer(&in.ExtraArgs))
|
|
||||||
out.Image = in.Image
|
|
||||||
out.ServerCertSANs = *(*[]string)(unsafe.Pointer(&in.ServerCertSANs))
|
|
||||||
out.PeerCertSANs = *(*[]string)(unsafe.Pointer(&in.PeerCertSANs))
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// Convert_kubeadm_Etcd_To_v1alpha1_Etcd is an autogenerated conversion function.
|
|
||||||
func Convert_kubeadm_Etcd_To_v1alpha1_Etcd(in *kubeadm.Etcd, out *Etcd, s conversion.Scope) error {
|
|
||||||
return autoConvert_kubeadm_Etcd_To_v1alpha1_Etcd(in, out, s)
|
|
||||||
}
|
|
||||||
|
|
||||||
func autoConvert_v1alpha1_HostPathMount_To_kubeadm_HostPathMount(in *HostPathMount, out *kubeadm.HostPathMount, s conversion.Scope) error {
|
func autoConvert_v1alpha1_HostPathMount_To_kubeadm_HostPathMount(in *HostPathMount, out *kubeadm.HostPathMount, s conversion.Scope) error {
|
||||||
out.Name = in.Name
|
out.Name = in.Name
|
||||||
out.HostPath = in.HostPath
|
out.HostPath = in.HostPath
|
||||||
|
@ -46,12 +46,16 @@ func RegisterConversions(scheme *runtime.Scheme) error {
|
|||||||
Convert_kubeadm_AuditPolicyConfiguration_To_v1alpha2_AuditPolicyConfiguration,
|
Convert_kubeadm_AuditPolicyConfiguration_To_v1alpha2_AuditPolicyConfiguration,
|
||||||
Convert_v1alpha2_Etcd_To_kubeadm_Etcd,
|
Convert_v1alpha2_Etcd_To_kubeadm_Etcd,
|
||||||
Convert_kubeadm_Etcd_To_v1alpha2_Etcd,
|
Convert_kubeadm_Etcd_To_v1alpha2_Etcd,
|
||||||
|
Convert_v1alpha2_ExternalEtcd_To_kubeadm_ExternalEtcd,
|
||||||
|
Convert_kubeadm_ExternalEtcd_To_v1alpha2_ExternalEtcd,
|
||||||
Convert_v1alpha2_HostPathMount_To_kubeadm_HostPathMount,
|
Convert_v1alpha2_HostPathMount_To_kubeadm_HostPathMount,
|
||||||
Convert_kubeadm_HostPathMount_To_v1alpha2_HostPathMount,
|
Convert_kubeadm_HostPathMount_To_v1alpha2_HostPathMount,
|
||||||
Convert_v1alpha2_KubeProxy_To_kubeadm_KubeProxy,
|
Convert_v1alpha2_KubeProxy_To_kubeadm_KubeProxy,
|
||||||
Convert_kubeadm_KubeProxy_To_v1alpha2_KubeProxy,
|
Convert_kubeadm_KubeProxy_To_v1alpha2_KubeProxy,
|
||||||
Convert_v1alpha2_KubeletConfiguration_To_kubeadm_KubeletConfiguration,
|
Convert_v1alpha2_KubeletConfiguration_To_kubeadm_KubeletConfiguration,
|
||||||
Convert_kubeadm_KubeletConfiguration_To_v1alpha2_KubeletConfiguration,
|
Convert_kubeadm_KubeletConfiguration_To_v1alpha2_KubeletConfiguration,
|
||||||
|
Convert_v1alpha2_LocalEtcd_To_kubeadm_LocalEtcd,
|
||||||
|
Convert_kubeadm_LocalEtcd_To_v1alpha2_LocalEtcd,
|
||||||
Convert_v1alpha2_MasterConfiguration_To_kubeadm_MasterConfiguration,
|
Convert_v1alpha2_MasterConfiguration_To_kubeadm_MasterConfiguration,
|
||||||
Convert_kubeadm_MasterConfiguration_To_v1alpha2_MasterConfiguration,
|
Convert_kubeadm_MasterConfiguration_To_v1alpha2_MasterConfiguration,
|
||||||
Convert_v1alpha2_Networking_To_kubeadm_Networking,
|
Convert_v1alpha2_Networking_To_kubeadm_Networking,
|
||||||
@ -112,15 +116,8 @@ func Convert_kubeadm_AuditPolicyConfiguration_To_v1alpha2_AuditPolicyConfigurati
|
|||||||
}
|
}
|
||||||
|
|
||||||
func autoConvert_v1alpha2_Etcd_To_kubeadm_Etcd(in *Etcd, out *kubeadm.Etcd, s conversion.Scope) error {
|
func autoConvert_v1alpha2_Etcd_To_kubeadm_Etcd(in *Etcd, out *kubeadm.Etcd, s conversion.Scope) error {
|
||||||
out.Endpoints = *(*[]string)(unsafe.Pointer(&in.Endpoints))
|
out.Local = (*kubeadm.LocalEtcd)(unsafe.Pointer(in.Local))
|
||||||
out.CAFile = in.CAFile
|
out.External = (*kubeadm.ExternalEtcd)(unsafe.Pointer(in.External))
|
||||||
out.CertFile = in.CertFile
|
|
||||||
out.KeyFile = in.KeyFile
|
|
||||||
out.DataDir = in.DataDir
|
|
||||||
out.ExtraArgs = *(*map[string]string)(unsafe.Pointer(&in.ExtraArgs))
|
|
||||||
out.Image = in.Image
|
|
||||||
out.ServerCertSANs = *(*[]string)(unsafe.Pointer(&in.ServerCertSANs))
|
|
||||||
out.PeerCertSANs = *(*[]string)(unsafe.Pointer(&in.PeerCertSANs))
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -130,15 +127,8 @@ func Convert_v1alpha2_Etcd_To_kubeadm_Etcd(in *Etcd, out *kubeadm.Etcd, s conver
|
|||||||
}
|
}
|
||||||
|
|
||||||
func autoConvert_kubeadm_Etcd_To_v1alpha2_Etcd(in *kubeadm.Etcd, out *Etcd, s conversion.Scope) error {
|
func autoConvert_kubeadm_Etcd_To_v1alpha2_Etcd(in *kubeadm.Etcd, out *Etcd, s conversion.Scope) error {
|
||||||
out.Endpoints = *(*[]string)(unsafe.Pointer(&in.Endpoints))
|
out.Local = (*LocalEtcd)(unsafe.Pointer(in.Local))
|
||||||
out.CAFile = in.CAFile
|
out.External = (*ExternalEtcd)(unsafe.Pointer(in.External))
|
||||||
out.CertFile = in.CertFile
|
|
||||||
out.KeyFile = in.KeyFile
|
|
||||||
out.DataDir = in.DataDir
|
|
||||||
out.ExtraArgs = *(*map[string]string)(unsafe.Pointer(&in.ExtraArgs))
|
|
||||||
out.Image = in.Image
|
|
||||||
out.ServerCertSANs = *(*[]string)(unsafe.Pointer(&in.ServerCertSANs))
|
|
||||||
out.PeerCertSANs = *(*[]string)(unsafe.Pointer(&in.PeerCertSANs))
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -147,6 +137,32 @@ func Convert_kubeadm_Etcd_To_v1alpha2_Etcd(in *kubeadm.Etcd, out *Etcd, s conver
|
|||||||
return autoConvert_kubeadm_Etcd_To_v1alpha2_Etcd(in, out, s)
|
return autoConvert_kubeadm_Etcd_To_v1alpha2_Etcd(in, out, s)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func autoConvert_v1alpha2_ExternalEtcd_To_kubeadm_ExternalEtcd(in *ExternalEtcd, out *kubeadm.ExternalEtcd, s conversion.Scope) error {
|
||||||
|
out.Endpoints = *(*[]string)(unsafe.Pointer(&in.Endpoints))
|
||||||
|
out.CAFile = in.CAFile
|
||||||
|
out.CertFile = in.CertFile
|
||||||
|
out.KeyFile = in.KeyFile
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
// Convert_v1alpha2_ExternalEtcd_To_kubeadm_ExternalEtcd is an autogenerated conversion function.
|
||||||
|
func Convert_v1alpha2_ExternalEtcd_To_kubeadm_ExternalEtcd(in *ExternalEtcd, out *kubeadm.ExternalEtcd, s conversion.Scope) error {
|
||||||
|
return autoConvert_v1alpha2_ExternalEtcd_To_kubeadm_ExternalEtcd(in, out, s)
|
||||||
|
}
|
||||||
|
|
||||||
|
func autoConvert_kubeadm_ExternalEtcd_To_v1alpha2_ExternalEtcd(in *kubeadm.ExternalEtcd, out *ExternalEtcd, s conversion.Scope) error {
|
||||||
|
out.Endpoints = *(*[]string)(unsafe.Pointer(&in.Endpoints))
|
||||||
|
out.CAFile = in.CAFile
|
||||||
|
out.CertFile = in.CertFile
|
||||||
|
out.KeyFile = in.KeyFile
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
// Convert_kubeadm_ExternalEtcd_To_v1alpha2_ExternalEtcd is an autogenerated conversion function.
|
||||||
|
func Convert_kubeadm_ExternalEtcd_To_v1alpha2_ExternalEtcd(in *kubeadm.ExternalEtcd, out *ExternalEtcd, s conversion.Scope) error {
|
||||||
|
return autoConvert_kubeadm_ExternalEtcd_To_v1alpha2_ExternalEtcd(in, out, s)
|
||||||
|
}
|
||||||
|
|
||||||
func autoConvert_v1alpha2_HostPathMount_To_kubeadm_HostPathMount(in *HostPathMount, out *kubeadm.HostPathMount, s conversion.Scope) error {
|
func autoConvert_v1alpha2_HostPathMount_To_kubeadm_HostPathMount(in *HostPathMount, out *kubeadm.HostPathMount, s conversion.Scope) error {
|
||||||
out.Name = in.Name
|
out.Name = in.Name
|
||||||
out.HostPath = in.HostPath
|
out.HostPath = in.HostPath
|
||||||
@ -215,6 +231,34 @@ func Convert_kubeadm_KubeletConfiguration_To_v1alpha2_KubeletConfiguration(in *k
|
|||||||
return autoConvert_kubeadm_KubeletConfiguration_To_v1alpha2_KubeletConfiguration(in, out, s)
|
return autoConvert_kubeadm_KubeletConfiguration_To_v1alpha2_KubeletConfiguration(in, out, s)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func autoConvert_v1alpha2_LocalEtcd_To_kubeadm_LocalEtcd(in *LocalEtcd, out *kubeadm.LocalEtcd, s conversion.Scope) error {
|
||||||
|
out.Image = in.Image
|
||||||
|
out.DataDir = in.DataDir
|
||||||
|
out.ExtraArgs = *(*map[string]string)(unsafe.Pointer(&in.ExtraArgs))
|
||||||
|
out.ServerCertSANs = *(*[]string)(unsafe.Pointer(&in.ServerCertSANs))
|
||||||
|
out.PeerCertSANs = *(*[]string)(unsafe.Pointer(&in.PeerCertSANs))
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
// Convert_v1alpha2_LocalEtcd_To_kubeadm_LocalEtcd is an autogenerated conversion function.
|
||||||
|
func Convert_v1alpha2_LocalEtcd_To_kubeadm_LocalEtcd(in *LocalEtcd, out *kubeadm.LocalEtcd, s conversion.Scope) error {
|
||||||
|
return autoConvert_v1alpha2_LocalEtcd_To_kubeadm_LocalEtcd(in, out, s)
|
||||||
|
}
|
||||||
|
|
||||||
|
func autoConvert_kubeadm_LocalEtcd_To_v1alpha2_LocalEtcd(in *kubeadm.LocalEtcd, out *LocalEtcd, s conversion.Scope) error {
|
||||||
|
out.Image = in.Image
|
||||||
|
out.DataDir = in.DataDir
|
||||||
|
out.ExtraArgs = *(*map[string]string)(unsafe.Pointer(&in.ExtraArgs))
|
||||||
|
out.ServerCertSANs = *(*[]string)(unsafe.Pointer(&in.ServerCertSANs))
|
||||||
|
out.PeerCertSANs = *(*[]string)(unsafe.Pointer(&in.PeerCertSANs))
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
// Convert_kubeadm_LocalEtcd_To_v1alpha2_LocalEtcd is an autogenerated conversion function.
|
||||||
|
func Convert_kubeadm_LocalEtcd_To_v1alpha2_LocalEtcd(in *kubeadm.LocalEtcd, out *LocalEtcd, s conversion.Scope) error {
|
||||||
|
return autoConvert_kubeadm_LocalEtcd_To_v1alpha2_LocalEtcd(in, out, s)
|
||||||
|
}
|
||||||
|
|
||||||
func autoConvert_v1alpha2_MasterConfiguration_To_kubeadm_MasterConfiguration(in *MasterConfiguration, out *kubeadm.MasterConfiguration, s conversion.Scope) error {
|
func autoConvert_v1alpha2_MasterConfiguration_To_kubeadm_MasterConfiguration(in *MasterConfiguration, out *kubeadm.MasterConfiguration, s conversion.Scope) error {
|
||||||
if err := Convert_v1alpha2_API_To_kubeadm_API(&in.API, &out.API, s); err != nil {
|
if err := Convert_v1alpha2_API_To_kubeadm_API(&in.API, &out.API, s); err != nil {
|
||||||
return err
|
return err
|
||||||
|
@ -71,27 +71,23 @@ func (in *AuditPolicyConfiguration) DeepCopy() *AuditPolicyConfiguration {
|
|||||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||||
func (in *Etcd) DeepCopyInto(out *Etcd) {
|
func (in *Etcd) DeepCopyInto(out *Etcd) {
|
||||||
*out = *in
|
*out = *in
|
||||||
if in.Endpoints != nil {
|
if in.Local != nil {
|
||||||
in, out := &in.Endpoints, &out.Endpoints
|
in, out := &in.Local, &out.Local
|
||||||
*out = make([]string, len(*in))
|
if *in == nil {
|
||||||
copy(*out, *in)
|
*out = nil
|
||||||
}
|
} else {
|
||||||
if in.ExtraArgs != nil {
|
*out = new(LocalEtcd)
|
||||||
in, out := &in.ExtraArgs, &out.ExtraArgs
|
(*in).DeepCopyInto(*out)
|
||||||
*out = make(map[string]string, len(*in))
|
|
||||||
for key, val := range *in {
|
|
||||||
(*out)[key] = val
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if in.ServerCertSANs != nil {
|
if in.External != nil {
|
||||||
in, out := &in.ServerCertSANs, &out.ServerCertSANs
|
in, out := &in.External, &out.External
|
||||||
*out = make([]string, len(*in))
|
if *in == nil {
|
||||||
copy(*out, *in)
|
*out = nil
|
||||||
|
} else {
|
||||||
|
*out = new(ExternalEtcd)
|
||||||
|
(*in).DeepCopyInto(*out)
|
||||||
}
|
}
|
||||||
if in.PeerCertSANs != nil {
|
|
||||||
in, out := &in.PeerCertSANs, &out.PeerCertSANs
|
|
||||||
*out = make([]string, len(*in))
|
|
||||||
copy(*out, *in)
|
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -106,6 +102,27 @@ func (in *Etcd) DeepCopy() *Etcd {
|
|||||||
return out
|
return out
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||||
|
func (in *ExternalEtcd) DeepCopyInto(out *ExternalEtcd) {
|
||||||
|
*out = *in
|
||||||
|
if in.Endpoints != nil {
|
||||||
|
in, out := &in.Endpoints, &out.Endpoints
|
||||||
|
*out = make([]string, len(*in))
|
||||||
|
copy(*out, *in)
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalEtcd.
|
||||||
|
func (in *ExternalEtcd) DeepCopy() *ExternalEtcd {
|
||||||
|
if in == nil {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
out := new(ExternalEtcd)
|
||||||
|
in.DeepCopyInto(out)
|
||||||
|
return out
|
||||||
|
}
|
||||||
|
|
||||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||||
func (in *HostPathMount) DeepCopyInto(out *HostPathMount) {
|
func (in *HostPathMount) DeepCopyInto(out *HostPathMount) {
|
||||||
*out = *in
|
*out = *in
|
||||||
@ -172,6 +189,39 @@ func (in *KubeletConfiguration) DeepCopy() *KubeletConfiguration {
|
|||||||
return out
|
return out
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||||
|
func (in *LocalEtcd) DeepCopyInto(out *LocalEtcd) {
|
||||||
|
*out = *in
|
||||||
|
if in.ExtraArgs != nil {
|
||||||
|
in, out := &in.ExtraArgs, &out.ExtraArgs
|
||||||
|
*out = make(map[string]string, len(*in))
|
||||||
|
for key, val := range *in {
|
||||||
|
(*out)[key] = val
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if in.ServerCertSANs != nil {
|
||||||
|
in, out := &in.ServerCertSANs, &out.ServerCertSANs
|
||||||
|
*out = make([]string, len(*in))
|
||||||
|
copy(*out, *in)
|
||||||
|
}
|
||||||
|
if in.PeerCertSANs != nil {
|
||||||
|
in, out := &in.PeerCertSANs, &out.PeerCertSANs
|
||||||
|
*out = make([]string, len(*in))
|
||||||
|
copy(*out, *in)
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalEtcd.
|
||||||
|
func (in *LocalEtcd) DeepCopy() *LocalEtcd {
|
||||||
|
if in == nil {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
out := new(LocalEtcd)
|
||||||
|
in.DeepCopyInto(out)
|
||||||
|
return out
|
||||||
|
}
|
||||||
|
|
||||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||||
func (in *MasterConfiguration) DeepCopyInto(out *MasterConfiguration) {
|
func (in *MasterConfiguration) DeepCopyInto(out *MasterConfiguration) {
|
||||||
*out = *in
|
*out = *in
|
||||||
|
@ -71,27 +71,23 @@ func (in *AuditPolicyConfiguration) DeepCopy() *AuditPolicyConfiguration {
|
|||||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||||
func (in *Etcd) DeepCopyInto(out *Etcd) {
|
func (in *Etcd) DeepCopyInto(out *Etcd) {
|
||||||
*out = *in
|
*out = *in
|
||||||
if in.Endpoints != nil {
|
if in.Local != nil {
|
||||||
in, out := &in.Endpoints, &out.Endpoints
|
in, out := &in.Local, &out.Local
|
||||||
*out = make([]string, len(*in))
|
if *in == nil {
|
||||||
copy(*out, *in)
|
*out = nil
|
||||||
}
|
} else {
|
||||||
if in.ExtraArgs != nil {
|
*out = new(LocalEtcd)
|
||||||
in, out := &in.ExtraArgs, &out.ExtraArgs
|
(*in).DeepCopyInto(*out)
|
||||||
*out = make(map[string]string, len(*in))
|
|
||||||
for key, val := range *in {
|
|
||||||
(*out)[key] = val
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if in.ServerCertSANs != nil {
|
if in.External != nil {
|
||||||
in, out := &in.ServerCertSANs, &out.ServerCertSANs
|
in, out := &in.External, &out.External
|
||||||
*out = make([]string, len(*in))
|
if *in == nil {
|
||||||
copy(*out, *in)
|
*out = nil
|
||||||
|
} else {
|
||||||
|
*out = new(ExternalEtcd)
|
||||||
|
(*in).DeepCopyInto(*out)
|
||||||
}
|
}
|
||||||
if in.PeerCertSANs != nil {
|
|
||||||
in, out := &in.PeerCertSANs, &out.PeerCertSANs
|
|
||||||
*out = make([]string, len(*in))
|
|
||||||
copy(*out, *in)
|
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -106,6 +102,27 @@ func (in *Etcd) DeepCopy() *Etcd {
|
|||||||
return out
|
return out
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||||
|
func (in *ExternalEtcd) DeepCopyInto(out *ExternalEtcd) {
|
||||||
|
*out = *in
|
||||||
|
if in.Endpoints != nil {
|
||||||
|
in, out := &in.Endpoints, &out.Endpoints
|
||||||
|
*out = make([]string, len(*in))
|
||||||
|
copy(*out, *in)
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalEtcd.
|
||||||
|
func (in *ExternalEtcd) DeepCopy() *ExternalEtcd {
|
||||||
|
if in == nil {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
out := new(ExternalEtcd)
|
||||||
|
in.DeepCopyInto(out)
|
||||||
|
return out
|
||||||
|
}
|
||||||
|
|
||||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||||
func (in *HostPathMount) DeepCopyInto(out *HostPathMount) {
|
func (in *HostPathMount) DeepCopyInto(out *HostPathMount) {
|
||||||
*out = *in
|
*out = *in
|
||||||
@ -172,6 +189,39 @@ func (in *KubeletConfiguration) DeepCopy() *KubeletConfiguration {
|
|||||||
return out
|
return out
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||||
|
func (in *LocalEtcd) DeepCopyInto(out *LocalEtcd) {
|
||||||
|
*out = *in
|
||||||
|
if in.ExtraArgs != nil {
|
||||||
|
in, out := &in.ExtraArgs, &out.ExtraArgs
|
||||||
|
*out = make(map[string]string, len(*in))
|
||||||
|
for key, val := range *in {
|
||||||
|
(*out)[key] = val
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if in.ServerCertSANs != nil {
|
||||||
|
in, out := &in.ServerCertSANs, &out.ServerCertSANs
|
||||||
|
*out = make([]string, len(*in))
|
||||||
|
copy(*out, *in)
|
||||||
|
}
|
||||||
|
if in.PeerCertSANs != nil {
|
||||||
|
in, out := &in.PeerCertSANs, &out.PeerCertSANs
|
||||||
|
*out = make([]string, len(*in))
|
||||||
|
copy(*out, *in)
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalEtcd.
|
||||||
|
func (in *LocalEtcd) DeepCopy() *LocalEtcd {
|
||||||
|
if in == nil {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
out := new(LocalEtcd)
|
||||||
|
in.DeepCopyInto(out)
|
||||||
|
return out
|
||||||
|
}
|
||||||
|
|
||||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||||
func (in *MasterConfiguration) DeepCopyInto(out *MasterConfiguration) {
|
func (in *MasterConfiguration) DeepCopyInto(out *MasterConfiguration) {
|
||||||
*out = *in
|
*out = *in
|
||||||
|
Loading…
Reference in New Issue
Block a user