//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 v1alpha1 import ( "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/runtime" ) // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *AMI) DeepCopyInto(out *AMI) { *out = *in 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]) } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AMI. func (in *AMI) DeepCopy() *AMI { if in == nil { return nil } out := new(AMI) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *AWS) DeepCopyInto(out *AWS) { *out = *in out.TypeMeta = in.TypeMeta if in.AMIFamily != nil { in, out := &in.AMIFamily, &out.AMIFamily *out = new(string) **out = **in } if in.Context != nil { in, out := &in.Context, &out.Context *out = new(string) **out = **in } if in.InstanceProfile != nil { in, out := &in.InstanceProfile, &out.InstanceProfile *out = new(string) **out = **in } if in.SubnetSelector != nil { in, out := &in.SubnetSelector, &out.SubnetSelector *out = make(map[string]string, len(*in)) for key, val := range *in { (*out)[key] = val } } if in.SecurityGroupSelector != nil { in, out := &in.SecurityGroupSelector, &out.SecurityGroupSelector *out = make(map[string]string, len(*in)) for key, val := range *in { (*out)[key] = val } } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]string, len(*in)) for key, val := range *in { (*out)[key] = val } } in.LaunchTemplate.DeepCopyInto(&out.LaunchTemplate) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWS. func (in *AWS) DeepCopy() *AWS { if in == nil { return nil } out := new(AWS) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *AWS) 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 *AWSNodeTemplate) DeepCopyInto(out *AWSNodeTemplate) { *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 AWSNodeTemplate. func (in *AWSNodeTemplate) DeepCopy() *AWSNodeTemplate { if in == nil { return nil } out := new(AWSNodeTemplate) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *AWSNodeTemplate) 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 *AWSNodeTemplateList) DeepCopyInto(out *AWSNodeTemplateList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]AWSNodeTemplate, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSNodeTemplateList. func (in *AWSNodeTemplateList) DeepCopy() *AWSNodeTemplateList { if in == nil { return nil } out := new(AWSNodeTemplateList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *AWSNodeTemplateList) 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 *AWSNodeTemplateSpec) DeepCopyInto(out *AWSNodeTemplateSpec) { *out = *in if in.UserData != nil { in, out := &in.UserData, &out.UserData *out = new(string) **out = **in } in.AWS.DeepCopyInto(&out.AWS) if in.AMISelector != nil { in, out := &in.AMISelector, &out.AMISelector *out = make(map[string]string, len(*in)) for key, val := range *in { (*out)[key] = val } } if in.DetailedMonitoring != nil { in, out := &in.DetailedMonitoring, &out.DetailedMonitoring *out = new(bool) **out = **in } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSNodeTemplateSpec. func (in *AWSNodeTemplateSpec) DeepCopy() *AWSNodeTemplateSpec { if in == nil { return nil } out := new(AWSNodeTemplateSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *AWSNodeTemplateStatus) DeepCopyInto(out *AWSNodeTemplateStatus) { *out = *in if in.Subnets != nil { in, out := &in.Subnets, &out.Subnets *out = make([]Subnet, len(*in)) copy(*out, *in) } if in.SecurityGroups != nil { in, out := &in.SecurityGroups, &out.SecurityGroups *out = make([]SecurityGroup, len(*in)) copy(*out, *in) } if in.AMIs != nil { in, out := &in.AMIs, &out.AMIs *out = make([]AMI, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSNodeTemplateStatus. func (in *AWSNodeTemplateStatus) DeepCopy() *AWSNodeTemplateStatus { if in == nil { return nil } out := new(AWSNodeTemplateStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *BlockDevice) DeepCopyInto(out *BlockDevice) { *out = *in if in.DeleteOnTermination != nil { in, out := &in.DeleteOnTermination, &out.DeleteOnTermination *out = new(bool) **out = **in } if in.Encrypted != nil { in, out := &in.Encrypted, &out.Encrypted *out = new(bool) **out = **in } if in.IOPS != nil { in, out := &in.IOPS, &out.IOPS *out = new(int64) **out = **in } if in.KMSKeyID != nil { in, out := &in.KMSKeyID, &out.KMSKeyID *out = new(string) **out = **in } if in.SnapshotID != nil { in, out := &in.SnapshotID, &out.SnapshotID *out = new(string) **out = **in } if in.Throughput != nil { in, out := &in.Throughput, &out.Throughput *out = new(int64) **out = **in } if in.VolumeSize != nil { in, out := &in.VolumeSize, &out.VolumeSize x := (*in).DeepCopy() *out = &x } if in.VolumeType != nil { in, out := &in.VolumeType, &out.VolumeType *out = new(string) **out = **in } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlockDevice. func (in *BlockDevice) DeepCopy() *BlockDevice { if in == nil { return nil } out := new(BlockDevice) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *BlockDeviceMapping) DeepCopyInto(out *BlockDeviceMapping) { *out = *in if in.DeviceName != nil { in, out := &in.DeviceName, &out.DeviceName *out = new(string) **out = **in } if in.EBS != nil { in, out := &in.EBS, &out.EBS *out = new(BlockDevice) (*in).DeepCopyInto(*out) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlockDeviceMapping. func (in *BlockDeviceMapping) DeepCopy() *BlockDeviceMapping { if in == nil { return nil } out := new(BlockDeviceMapping) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *LaunchTemplate) DeepCopyInto(out *LaunchTemplate) { *out = *in if in.LaunchTemplateName != nil { in, out := &in.LaunchTemplateName, &out.LaunchTemplateName *out = new(string) **out = **in } if in.MetadataOptions != nil { in, out := &in.MetadataOptions, &out.MetadataOptions *out = new(MetadataOptions) (*in).DeepCopyInto(*out) } if in.BlockDeviceMappings != nil { in, out := &in.BlockDeviceMappings, &out.BlockDeviceMappings *out = make([]*BlockDeviceMapping, len(*in)) for i := range *in { if (*in)[i] != nil { in, out := &(*in)[i], &(*out)[i] *out = new(BlockDeviceMapping) (*in).DeepCopyInto(*out) } } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchTemplate. func (in *LaunchTemplate) DeepCopy() *LaunchTemplate { if in == nil { return nil } out := new(LaunchTemplate) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *MetadataOptions) DeepCopyInto(out *MetadataOptions) { *out = *in if in.HTTPEndpoint != nil { in, out := &in.HTTPEndpoint, &out.HTTPEndpoint *out = new(string) **out = **in } if in.HTTPProtocolIPv6 != nil { in, out := &in.HTTPProtocolIPv6, &out.HTTPProtocolIPv6 *out = new(string) **out = **in } if in.HTTPPutResponseHopLimit != nil { in, out := &in.HTTPPutResponseHopLimit, &out.HTTPPutResponseHopLimit *out = new(int64) **out = **in } if in.HTTPTokens != nil { in, out := &in.HTTPTokens, &out.HTTPTokens *out = new(string) **out = **in } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataOptions. func (in *MetadataOptions) DeepCopy() *MetadataOptions { if in == nil { return nil } out := new(MetadataOptions) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *SecurityGroup) DeepCopyInto(out *SecurityGroup) { *out = *in } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroup. func (in *SecurityGroup) DeepCopy() *SecurityGroup { if in == nil { return nil } out := new(SecurityGroup) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Subnet) DeepCopyInto(out *Subnet) { *out = *in } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subnet. func (in *Subnet) DeepCopy() *Subnet { if in == nil { return nil } out := new(Subnet) in.DeepCopyInto(out) return out }