//go:build !ignore_autogenerated /* Copyright 2024 SUSE LLC. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ // Code generated by controller-gen. DO NOT EDIT. package v1beta1 import ( "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/runtime" apiv1beta1 "sigs.k8s.io/cluster-api/api/v1beta1" ) // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *AdditionalUserData) DeepCopyInto(out *AdditionalUserData) { *out = *in if in.Data != nil { in, out := &in.Data, &out.Data *out = make(map[string]string, len(*in)) for key, val := range *in { (*out)[key] = val } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdditionalUserData. func (in *AdditionalUserData) DeepCopy() *AdditionalUserData { if in == nil { return nil } out := new(AdditionalUserData) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ComponentConfig) DeepCopyInto(out *ComponentConfig) { *out = *in if in.ExtraEnv != nil { in, out := &in.ExtraEnv, &out.ExtraEnv *out = make(map[string]string, len(*in)) for key, val := range *in { (*out)[key] = val } } if in.ExtraArgs != nil { in, out := &in.ExtraArgs, &out.ExtraArgs *out = make([]string, len(*in)) copy(*out, *in) } if in.ExtraMounts != nil { in, out := &in.ExtraMounts, &out.ExtraMounts *out = make(map[string]string, len(*in)) for key, val := range *in { (*out)[key] = val } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentConfig. func (in *ComponentConfig) DeepCopy() *ComponentConfig { if in == nil { return nil } out := new(ComponentConfig) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *File) DeepCopyInto(out *File) { *out = *in if in.ContentFrom != nil { in, out := &in.ContentFrom, &out.ContentFrom *out = new(FileSource) (*in).DeepCopyInto(*out) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new File. func (in *File) DeepCopy() *File { if in == nil { return nil } out := new(File) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *FileSource) DeepCopyInto(out *FileSource) { *out = *in if in.Secret != nil { in, out := &in.Secret, &out.Secret *out = new(FileSourceRef) **out = **in } if in.ConfigMap != nil { in, out := &in.ConfigMap, &out.ConfigMap *out = new(FileSourceRef) **out = **in } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileSource. func (in *FileSource) DeepCopy() *FileSource { if in == nil { return nil } out := new(FileSource) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *FileSourceRef) DeepCopyInto(out *FileSourceRef) { *out = *in } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileSourceRef. func (in *FileSourceRef) DeepCopy() *FileSourceRef { if in == nil { return nil } out := new(FileSourceRef) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Mirror) DeepCopyInto(out *Mirror) { *out = *in if in.Endpoint != nil { in, out := &in.Endpoint, &out.Endpoint *out = make([]string, len(*in)) copy(*out, *in) } if in.Rewrite != nil { in, out := &in.Rewrite, &out.Rewrite *out = make(map[string]string, len(*in)) for key, val := range *in { (*out)[key] = val } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Mirror. func (in *Mirror) DeepCopy() *Mirror { if in == nil { return nil } out := new(Mirror) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *NTP) DeepCopyInto(out *NTP) { *out = *in if in.Servers != nil { in, out := &in.Servers, &out.Servers *out = make([]string, len(*in)) copy(*out, *in) } if in.Enabled != nil { in, out := &in.Enabled, &out.Enabled *out = new(bool) **out = **in } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NTP. func (in *NTP) DeepCopy() *NTP { if in == nil { return nil } out := new(NTP) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *RKE2AgentConfig) DeepCopyInto(out *RKE2AgentConfig) { *out = *in if in.NodeLabels != nil { in, out := &in.NodeLabels, &out.NodeLabels *out = make([]string, len(*in)) copy(*out, *in) } if in.NodeAnnotations != nil { in, out := &in.NodeAnnotations, &out.NodeAnnotations *out = make(map[string]string, len(*in)) for key, val := range *in { (*out)[key] = val } } if in.NodeTaints != nil { in, out := &in.NodeTaints, &out.NodeTaints *out = make([]string, len(*in)) copy(*out, *in) } if in.NTP != nil { in, out := &in.NTP, &out.NTP *out = new(NTP) (*in).DeepCopyInto(*out) } if in.ImageCredentialProviderConfigMap != nil { in, out := &in.ImageCredentialProviderConfigMap, &out.ImageCredentialProviderConfigMap *out = new(v1.ObjectReference) **out = **in } if in.ResolvConf != nil { in, out := &in.ResolvConf, &out.ResolvConf *out = new(v1.ObjectReference) **out = **in } if in.Kubelet != nil { in, out := &in.Kubelet, &out.Kubelet *out = new(ComponentConfig) (*in).DeepCopyInto(*out) } if in.KubeProxy != nil { in, out := &in.KubeProxy, &out.KubeProxy *out = new(ComponentConfig) (*in).DeepCopyInto(*out) } in.AdditionalUserData.DeepCopyInto(&out.AdditionalUserData) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RKE2AgentConfig. func (in *RKE2AgentConfig) DeepCopy() *RKE2AgentConfig { if in == nil { return nil } out := new(RKE2AgentConfig) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *RKE2Config) DeepCopyInto(out *RKE2Config) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) in.Spec.DeepCopyInto(&out.Spec) in.Status.DeepCopyInto(&out.Status) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RKE2Config. func (in *RKE2Config) DeepCopy() *RKE2Config { if in == nil { return nil } out := new(RKE2Config) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *RKE2Config) 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 *RKE2ConfigList) DeepCopyInto(out *RKE2ConfigList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]RKE2Config, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RKE2ConfigList. func (in *RKE2ConfigList) DeepCopy() *RKE2ConfigList { if in == nil { return nil } out := new(RKE2ConfigList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *RKE2ConfigList) 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 *RKE2ConfigSpec) DeepCopyInto(out *RKE2ConfigSpec) { *out = *in if in.Files != nil { in, out := &in.Files, &out.Files *out = make([]File, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.PreRKE2Commands != nil { in, out := &in.PreRKE2Commands, &out.PreRKE2Commands *out = make([]string, len(*in)) copy(*out, *in) } if in.PostRKE2Commands != nil { in, out := &in.PostRKE2Commands, &out.PostRKE2Commands *out = make([]string, len(*in)) copy(*out, *in) } in.AgentConfig.DeepCopyInto(&out.AgentConfig) in.PrivateRegistriesConfig.DeepCopyInto(&out.PrivateRegistriesConfig) if in.GzipUserData != nil { in, out := &in.GzipUserData, &out.GzipUserData *out = new(bool) **out = **in } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RKE2ConfigSpec. func (in *RKE2ConfigSpec) DeepCopy() *RKE2ConfigSpec { if in == nil { return nil } out := new(RKE2ConfigSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *RKE2ConfigStatus) DeepCopyInto(out *RKE2ConfigStatus) { *out = *in if in.DataSecretName != nil { in, out := &in.DataSecretName, &out.DataSecretName *out = new(string) **out = **in } if in.Conditions != nil { in, out := &in.Conditions, &out.Conditions *out = make(apiv1beta1.Conditions, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RKE2ConfigStatus. func (in *RKE2ConfigStatus) DeepCopy() *RKE2ConfigStatus { if in == nil { return nil } out := new(RKE2ConfigStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *RKE2ConfigTemplate) DeepCopyInto(out *RKE2ConfigTemplate) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) in.Spec.DeepCopyInto(&out.Spec) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RKE2ConfigTemplate. func (in *RKE2ConfigTemplate) DeepCopy() *RKE2ConfigTemplate { if in == nil { return nil } out := new(RKE2ConfigTemplate) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *RKE2ConfigTemplate) 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 *RKE2ConfigTemplateList) DeepCopyInto(out *RKE2ConfigTemplateList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]RKE2ConfigTemplate, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RKE2ConfigTemplateList. func (in *RKE2ConfigTemplateList) DeepCopy() *RKE2ConfigTemplateList { if in == nil { return nil } out := new(RKE2ConfigTemplateList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *RKE2ConfigTemplateList) 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 *RKE2ConfigTemplateResource) DeepCopyInto(out *RKE2ConfigTemplateResource) { *out = *in in.Spec.DeepCopyInto(&out.Spec) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RKE2ConfigTemplateResource. func (in *RKE2ConfigTemplateResource) DeepCopy() *RKE2ConfigTemplateResource { if in == nil { return nil } out := new(RKE2ConfigTemplateResource) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *RKE2ConfigTemplateSpec) DeepCopyInto(out *RKE2ConfigTemplateSpec) { *out = *in in.Template.DeepCopyInto(&out.Template) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RKE2ConfigTemplateSpec. func (in *RKE2ConfigTemplateSpec) DeepCopy() *RKE2ConfigTemplateSpec { if in == nil { return nil } out := new(RKE2ConfigTemplateSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Registry) DeepCopyInto(out *Registry) { *out = *in if in.Mirrors != nil { in, out := &in.Mirrors, &out.Mirrors *out = make(map[string]Mirror, len(*in)) for key, val := range *in { (*out)[key] = *val.DeepCopy() } } if in.Configs != nil { in, out := &in.Configs, &out.Configs *out = make(map[string]RegistryConfig, len(*in)) for key, val := range *in { (*out)[key] = val } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Registry. func (in *Registry) DeepCopy() *Registry { if in == nil { return nil } out := new(Registry) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *RegistryConfig) DeepCopyInto(out *RegistryConfig) { *out = *in out.AuthSecret = in.AuthSecret out.TLS = in.TLS } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryConfig. func (in *RegistryConfig) DeepCopy() *RegistryConfig { if in == nil { return nil } out := new(RegistryConfig) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *TLSConfig) DeepCopyInto(out *TLSConfig) { *out = *in out.TLSConfigSecret = in.TLSConfigSecret } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSConfig. func (in *TLSConfig) DeepCopy() *TLSConfig { if in == nil { return nil } out := new(TLSConfig) in.DeepCopyInto(out) return out }