//go:build !ignore_autogenerated // +build !ignore_autogenerated /* 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 v1alpha5 import ( "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "knative.dev/pkg/apis" ) // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Consolidation) DeepCopyInto(out *Consolidation) { *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 Consolidation. func (in *Consolidation) DeepCopy() *Consolidation { if in == nil { return nil } out := new(Consolidation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *KubeletConfiguration) DeepCopyInto(out *KubeletConfiguration) { *out = *in if in.ClusterDNS != nil { in, out := &in.ClusterDNS, &out.ClusterDNS *out = make([]string, len(*in)) copy(*out, *in) } if in.ContainerRuntime != nil { in, out := &in.ContainerRuntime, &out.ContainerRuntime *out = new(string) **out = **in } if in.MaxPods != nil { in, out := &in.MaxPods, &out.MaxPods *out = new(int32) **out = **in } if in.PodsPerCore != nil { in, out := &in.PodsPerCore, &out.PodsPerCore *out = new(int32) **out = **in } if in.SystemReserved != nil { in, out := &in.SystemReserved, &out.SystemReserved *out = make(v1.ResourceList, len(*in)) for key, val := range *in { (*out)[key] = val.DeepCopy() } } if in.KubeReserved != nil { in, out := &in.KubeReserved, &out.KubeReserved *out = make(v1.ResourceList, len(*in)) for key, val := range *in { (*out)[key] = val.DeepCopy() } } if in.EvictionHard != nil { in, out := &in.EvictionHard, &out.EvictionHard *out = make(map[string]string, len(*in)) for key, val := range *in { (*out)[key] = val } } if in.EvictionSoft != nil { in, out := &in.EvictionSoft, &out.EvictionSoft *out = make(map[string]string, len(*in)) for key, val := range *in { (*out)[key] = val } } if in.EvictionSoftGracePeriod != nil { in, out := &in.EvictionSoftGracePeriod, &out.EvictionSoftGracePeriod *out = make(map[string]metav1.Duration, len(*in)) for key, val := range *in { (*out)[key] = val } } if in.EvictionMaxPodGracePeriod != nil { in, out := &in.EvictionMaxPodGracePeriod, &out.EvictionMaxPodGracePeriod *out = new(int32) **out = **in } if in.ImageGCHighThresholdPercent != nil { in, out := &in.ImageGCHighThresholdPercent, &out.ImageGCHighThresholdPercent *out = new(int32) **out = **in } if in.ImageGCLowThresholdPercent != nil { in, out := &in.ImageGCLowThresholdPercent, &out.ImageGCLowThresholdPercent *out = new(int32) **out = **in } if in.CPUCFSQuota != nil { in, out := &in.CPUCFSQuota, &out.CPUCFSQuota *out = new(bool) **out = **in } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletConfiguration. func (in *KubeletConfiguration) DeepCopy() *KubeletConfiguration { if in == nil { return nil } out := new(KubeletConfiguration) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Limits) DeepCopyInto(out *Limits) { *out = *in if in.Resources != nil { in, out := &in.Resources, &out.Resources *out = make(v1.ResourceList, len(*in)) for key, val := range *in { (*out)[key] = val.DeepCopy() } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Limits. func (in *Limits) DeepCopy() *Limits { if in == nil { return nil } out := new(Limits) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Machine) DeepCopyInto(out *Machine) { *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 Machine. func (in *Machine) DeepCopy() *Machine { if in == nil { return nil } out := new(Machine) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *Machine) 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 *MachineList) DeepCopyInto(out *MachineList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Machine, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineList. func (in *MachineList) DeepCopy() *MachineList { if in == nil { return nil } out := new(MachineList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *MachineList) 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 *MachineSpec) DeepCopyInto(out *MachineSpec) { *out = *in if in.Taints != nil { in, out := &in.Taints, &out.Taints *out = make([]v1.Taint, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.StartupTaints != nil { in, out := &in.StartupTaints, &out.StartupTaints *out = make([]v1.Taint, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.Requirements != nil { in, out := &in.Requirements, &out.Requirements *out = make([]v1.NodeSelectorRequirement, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } in.Resources.DeepCopyInto(&out.Resources) if in.Kubelet != nil { in, out := &in.Kubelet, &out.Kubelet *out = new(KubeletConfiguration) (*in).DeepCopyInto(*out) } if in.MachineTemplateRef != nil { in, out := &in.MachineTemplateRef, &out.MachineTemplateRef *out = new(MachineTemplateRef) **out = **in } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSpec. func (in *MachineSpec) DeepCopy() *MachineSpec { if in == nil { return nil } out := new(MachineSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *MachineStatus) DeepCopyInto(out *MachineStatus) { *out = *in if in.Capacity != nil { in, out := &in.Capacity, &out.Capacity *out = make(v1.ResourceList, len(*in)) for key, val := range *in { (*out)[key] = val.DeepCopy() } } if in.Allocatable != nil { in, out := &in.Allocatable, &out.Allocatable *out = make(v1.ResourceList, len(*in)) for key, val := range *in { (*out)[key] = val.DeepCopy() } } if in.Conditions != nil { in, out := &in.Conditions, &out.Conditions *out = make(apis.Conditions, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineStatus. func (in *MachineStatus) DeepCopy() *MachineStatus { if in == nil { return nil } out := new(MachineStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *MachineTemplateRef) DeepCopyInto(out *MachineTemplateRef) { *out = *in } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineTemplateRef. func (in *MachineTemplateRef) DeepCopy() *MachineTemplateRef { if in == nil { return nil } out := new(MachineTemplateRef) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Provisioner) DeepCopyInto(out *Provisioner) { *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 Provisioner. func (in *Provisioner) DeepCopy() *Provisioner { if in == nil { return nil } out := new(Provisioner) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *Provisioner) 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 *ProvisionerList) DeepCopyInto(out *ProvisionerList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Provisioner, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProvisionerList. func (in *ProvisionerList) DeepCopy() *ProvisionerList { if in == nil { return nil } out := new(ProvisionerList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *ProvisionerList) 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 *ProvisionerSpec) DeepCopyInto(out *ProvisionerSpec) { *out = *in if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations *out = make(map[string]string, len(*in)) for key, val := range *in { (*out)[key] = val } } if in.Labels != nil { in, out := &in.Labels, &out.Labels *out = make(map[string]string, len(*in)) for key, val := range *in { (*out)[key] = val } } if in.Taints != nil { in, out := &in.Taints, &out.Taints *out = make([]v1.Taint, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.StartupTaints != nil { in, out := &in.StartupTaints, &out.StartupTaints *out = make([]v1.Taint, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.Requirements != nil { in, out := &in.Requirements, &out.Requirements *out = make([]v1.NodeSelectorRequirement, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.KubeletConfiguration != nil { in, out := &in.KubeletConfiguration, &out.KubeletConfiguration *out = new(KubeletConfiguration) (*in).DeepCopyInto(*out) } if in.Provider != nil { in, out := &in.Provider, &out.Provider *out = new(runtime.RawExtension) (*in).DeepCopyInto(*out) } if in.ProviderRef != nil { in, out := &in.ProviderRef, &out.ProviderRef *out = new(MachineTemplateRef) **out = **in } if in.TTLSecondsAfterEmpty != nil { in, out := &in.TTLSecondsAfterEmpty, &out.TTLSecondsAfterEmpty *out = new(int64) **out = **in } if in.TTLSecondsUntilExpired != nil { in, out := &in.TTLSecondsUntilExpired, &out.TTLSecondsUntilExpired *out = new(int64) **out = **in } if in.Limits != nil { in, out := &in.Limits, &out.Limits *out = new(Limits) (*in).DeepCopyInto(*out) } if in.Weight != nil { in, out := &in.Weight, &out.Weight *out = new(int32) **out = **in } if in.Consolidation != nil { in, out := &in.Consolidation, &out.Consolidation *out = new(Consolidation) (*in).DeepCopyInto(*out) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProvisionerSpec. func (in *ProvisionerSpec) DeepCopy() *ProvisionerSpec { if in == nil { return nil } out := new(ProvisionerSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ProvisionerStatus) DeepCopyInto(out *ProvisionerStatus) { *out = *in if in.LastScaleTime != nil { in, out := &in.LastScaleTime, &out.LastScaleTime *out = new(apis.VolatileTime) (*in).DeepCopyInto(*out) } if in.Conditions != nil { in, out := &in.Conditions, &out.Conditions *out = make(apis.Conditions, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.Resources != nil { in, out := &in.Resources, &out.Resources *out = make(v1.ResourceList, len(*in)) for key, val := range *in { (*out)[key] = val.DeepCopy() } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProvisionerStatus. func (in *ProvisionerStatus) DeepCopy() *ProvisionerStatus { if in == nil { return nil } out := new(ProvisionerStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ResourceRequirements) DeepCopyInto(out *ResourceRequirements) { *out = *in if in.Requests != nil { in, out := &in.Requests, &out.Requests *out = make(v1.ResourceList, len(*in)) for key, val := range *in { (*out)[key] = val.DeepCopy() } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceRequirements. func (in *ResourceRequirements) DeepCopy() *ResourceRequirements { if in == nil { return nil } out := new(ResourceRequirements) in.DeepCopyInto(out) return out }