sigs.k8s.io/cluster-api-provider-aws@v1.5.5/cmd/clusterawsadm/api/ami/v1beta1/zz_generated.deepcopy.go (about) 1 //go:build !ignore_autogenerated 2 // +build !ignore_autogenerated 3 4 /* 5 Copyright The Kubernetes Authors. 6 7 Licensed under the Apache License, Version 2.0 (the "License"); 8 you may not use this file except in compliance with the License. 9 You may obtain a copy of the License at 10 11 http://www.apache.org/licenses/LICENSE-2.0 12 13 Unless required by applicable law or agreed to in writing, software 14 distributed under the License is distributed on an "AS IS" BASIS, 15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 See the License for the specific language governing permissions and 17 limitations under the License. 18 */ 19 20 // Code generated by controller-gen. DO NOT EDIT. 21 22 package v1beta1 23 24 import ( 25 "k8s.io/apimachinery/pkg/runtime" 26 ) 27 28 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 29 func (in *AWSAMI) DeepCopyInto(out *AWSAMI) { 30 *out = *in 31 out.TypeMeta = in.TypeMeta 32 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 33 out.Spec = in.Spec 34 } 35 36 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSAMI. 37 func (in *AWSAMI) DeepCopy() *AWSAMI { 38 if in == nil { 39 return nil 40 } 41 out := new(AWSAMI) 42 in.DeepCopyInto(out) 43 return out 44 } 45 46 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 47 func (in *AWSAMI) DeepCopyObject() runtime.Object { 48 if c := in.DeepCopy(); c != nil { 49 return c 50 } 51 return nil 52 } 53 54 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 55 func (in *AWSAMIList) DeepCopyInto(out *AWSAMIList) { 56 *out = *in 57 out.TypeMeta = in.TypeMeta 58 in.ListMeta.DeepCopyInto(&out.ListMeta) 59 if in.Items != nil { 60 in, out := &in.Items, &out.Items 61 *out = make([]AWSAMI, len(*in)) 62 for i := range *in { 63 (*in)[i].DeepCopyInto(&(*out)[i]) 64 } 65 } 66 } 67 68 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSAMIList. 69 func (in *AWSAMIList) DeepCopy() *AWSAMIList { 70 if in == nil { 71 return nil 72 } 73 out := new(AWSAMIList) 74 in.DeepCopyInto(out) 75 return out 76 } 77 78 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 79 func (in *AWSAMIList) DeepCopyObject() runtime.Object { 80 if c := in.DeepCopy(); c != nil { 81 return c 82 } 83 return nil 84 } 85 86 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 87 func (in *AWSAMISpec) DeepCopyInto(out *AWSAMISpec) { 88 *out = *in 89 } 90 91 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSAMISpec. 92 func (in *AWSAMISpec) DeepCopy() *AWSAMISpec { 93 if in == nil { 94 return nil 95 } 96 out := new(AWSAMISpec) 97 in.DeepCopyInto(out) 98 return out 99 }