//go:build !ignore_autogenerated // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. // Code generated by controller-gen. DO NOT EDIT. package v1alpha2 import ( v1 "k8s.io/api/core/v1" runtime "k8s.io/apimachinery/pkg/runtime" "sigs.k8s.io/cluster-api/errors" ) // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *APIEndpoint) DeepCopyInto(out *APIEndpoint) { *out = *in } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIEndpoint. func (in *APIEndpoint) DeepCopy() *APIEndpoint { if in == nil { return nil } out := new(APIEndpoint) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *MetalCluster) DeepCopyInto(out *MetalCluster) { *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 MetalCluster. func (in *MetalCluster) DeepCopy() *MetalCluster { if in == nil { return nil } out := new(MetalCluster) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *MetalCluster) 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 *MetalClusterList) DeepCopyInto(out *MetalClusterList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]MetalCluster, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetalClusterList. func (in *MetalClusterList) DeepCopy() *MetalClusterList { if in == nil { return nil } out := new(MetalClusterList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *MetalClusterList) 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 *MetalClusterSpec) DeepCopyInto(out *MetalClusterSpec) { *out = *in if in.APIEndpoints != nil { in, out := &in.APIEndpoints, &out.APIEndpoints *out = make([]APIEndpoint, len(*in)) copy(*out, *in) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetalClusterSpec. func (in *MetalClusterSpec) DeepCopy() *MetalClusterSpec { if in == nil { return nil } out := new(MetalClusterSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *MetalClusterStatus) DeepCopyInto(out *MetalClusterStatus) { *out = *in if in.APIEndpoints != nil { in, out := &in.APIEndpoints, &out.APIEndpoints *out = make([]APIEndpoint, len(*in)) copy(*out, *in) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetalClusterStatus. func (in *MetalClusterStatus) DeepCopy() *MetalClusterStatus { if in == nil { return nil } out := new(MetalClusterStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *MetalMachine) DeepCopyInto(out *MetalMachine) { *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 MetalMachine. func (in *MetalMachine) DeepCopy() *MetalMachine { if in == nil { return nil } out := new(MetalMachine) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *MetalMachine) 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 *MetalMachineList) DeepCopyInto(out *MetalMachineList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]MetalMachine, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetalMachineList. func (in *MetalMachineList) DeepCopy() *MetalMachineList { if in == nil { return nil } out := new(MetalMachineList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *MetalMachineList) 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 *MetalMachineSpec) DeepCopyInto(out *MetalMachineSpec) { *out = *in if in.ProviderID != nil { in, out := &in.ProviderID, &out.ProviderID *out = new(string) **out = **in } if in.ServerRef != nil { in, out := &in.ServerRef, &out.ServerRef *out = new(v1.ObjectReference) **out = **in } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetalMachineSpec. func (in *MetalMachineSpec) DeepCopy() *MetalMachineSpec { if in == nil { return nil } out := new(MetalMachineSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *MetalMachineStatus) DeepCopyInto(out *MetalMachineStatus) { *out = *in if in.ErrorReason != nil { in, out := &in.ErrorReason, &out.ErrorReason *out = new(errors.MachineStatusError) **out = **in } if in.ErrorMessage != nil { in, out := &in.ErrorMessage, &out.ErrorMessage *out = new(string) **out = **in } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetalMachineStatus. func (in *MetalMachineStatus) DeepCopy() *MetalMachineStatus { if in == nil { return nil } out := new(MetalMachineStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *MetalMachineTemplate) DeepCopyInto(out *MetalMachineTemplate) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) in.Spec.DeepCopyInto(&out.Spec) out.Status = in.Status } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetalMachineTemplate. func (in *MetalMachineTemplate) DeepCopy() *MetalMachineTemplate { if in == nil { return nil } out := new(MetalMachineTemplate) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *MetalMachineTemplate) 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 *MetalMachineTemplateList) DeepCopyInto(out *MetalMachineTemplateList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]MetalMachineTemplate, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetalMachineTemplateList. func (in *MetalMachineTemplateList) DeepCopy() *MetalMachineTemplateList { if in == nil { return nil } out := new(MetalMachineTemplateList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *MetalMachineTemplateList) 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 *MetalMachineTemplateResource) DeepCopyInto(out *MetalMachineTemplateResource) { *out = *in in.Spec.DeepCopyInto(&out.Spec) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetalMachineTemplateResource. func (in *MetalMachineTemplateResource) DeepCopy() *MetalMachineTemplateResource { if in == nil { return nil } out := new(MetalMachineTemplateResource) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *MetalMachineTemplateSpec) DeepCopyInto(out *MetalMachineTemplateSpec) { *out = *in in.Template.DeepCopyInto(&out.Template) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetalMachineTemplateSpec. func (in *MetalMachineTemplateSpec) DeepCopy() *MetalMachineTemplateSpec { if in == nil { return nil } out := new(MetalMachineTemplateSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *MetalMachineTemplateStatus) DeepCopyInto(out *MetalMachineTemplateStatus) { *out = *in } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetalMachineTemplateStatus. func (in *MetalMachineTemplateStatus) DeepCopy() *MetalMachineTemplateStatus { if in == nil { return nil } out := new(MetalMachineTemplateStatus) in.DeepCopyInto(out) return out }