sigs.k8s.io/cluster-api-provider-aws@v1.5.5/bootstrap/eks/api/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 apiv1beta1 "sigs.k8s.io/cluster-api/api/v1beta1" 27 ) 28 29 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 30 func (in *EKSConfig) DeepCopyInto(out *EKSConfig) { 31 *out = *in 32 out.TypeMeta = in.TypeMeta 33 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 34 in.Spec.DeepCopyInto(&out.Spec) 35 in.Status.DeepCopyInto(&out.Status) 36 } 37 38 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSConfig. 39 func (in *EKSConfig) DeepCopy() *EKSConfig { 40 if in == nil { 41 return nil 42 } 43 out := new(EKSConfig) 44 in.DeepCopyInto(out) 45 return out 46 } 47 48 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 49 func (in *EKSConfig) DeepCopyObject() runtime.Object { 50 if c := in.DeepCopy(); c != nil { 51 return c 52 } 53 return nil 54 } 55 56 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 57 func (in *EKSConfigList) DeepCopyInto(out *EKSConfigList) { 58 *out = *in 59 out.TypeMeta = in.TypeMeta 60 in.ListMeta.DeepCopyInto(&out.ListMeta) 61 if in.Items != nil { 62 in, out := &in.Items, &out.Items 63 *out = make([]EKSConfig, len(*in)) 64 for i := range *in { 65 (*in)[i].DeepCopyInto(&(*out)[i]) 66 } 67 } 68 } 69 70 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSConfigList. 71 func (in *EKSConfigList) DeepCopy() *EKSConfigList { 72 if in == nil { 73 return nil 74 } 75 out := new(EKSConfigList) 76 in.DeepCopyInto(out) 77 return out 78 } 79 80 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 81 func (in *EKSConfigList) DeepCopyObject() runtime.Object { 82 if c := in.DeepCopy(); c != nil { 83 return c 84 } 85 return nil 86 } 87 88 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 89 func (in *EKSConfigSpec) DeepCopyInto(out *EKSConfigSpec) { 90 *out = *in 91 if in.KubeletExtraArgs != nil { 92 in, out := &in.KubeletExtraArgs, &out.KubeletExtraArgs 93 *out = make(map[string]string, len(*in)) 94 for key, val := range *in { 95 (*out)[key] = val 96 } 97 } 98 if in.ContainerRuntime != nil { 99 in, out := &in.ContainerRuntime, &out.ContainerRuntime 100 *out = new(string) 101 **out = **in 102 } 103 if in.DNSClusterIP != nil { 104 in, out := &in.DNSClusterIP, &out.DNSClusterIP 105 *out = new(string) 106 **out = **in 107 } 108 if in.DockerConfigJSON != nil { 109 in, out := &in.DockerConfigJSON, &out.DockerConfigJSON 110 *out = new(string) 111 **out = **in 112 } 113 if in.APIRetryAttempts != nil { 114 in, out := &in.APIRetryAttempts, &out.APIRetryAttempts 115 *out = new(int) 116 **out = **in 117 } 118 if in.PauseContainer != nil { 119 in, out := &in.PauseContainer, &out.PauseContainer 120 *out = new(PauseContainer) 121 **out = **in 122 } 123 if in.UseMaxPods != nil { 124 in, out := &in.UseMaxPods, &out.UseMaxPods 125 *out = new(bool) 126 **out = **in 127 } 128 } 129 130 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSConfigSpec. 131 func (in *EKSConfigSpec) DeepCopy() *EKSConfigSpec { 132 if in == nil { 133 return nil 134 } 135 out := new(EKSConfigSpec) 136 in.DeepCopyInto(out) 137 return out 138 } 139 140 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 141 func (in *EKSConfigStatus) DeepCopyInto(out *EKSConfigStatus) { 142 *out = *in 143 if in.DataSecretName != nil { 144 in, out := &in.DataSecretName, &out.DataSecretName 145 *out = new(string) 146 **out = **in 147 } 148 if in.Conditions != nil { 149 in, out := &in.Conditions, &out.Conditions 150 *out = make(apiv1beta1.Conditions, len(*in)) 151 for i := range *in { 152 (*in)[i].DeepCopyInto(&(*out)[i]) 153 } 154 } 155 } 156 157 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSConfigStatus. 158 func (in *EKSConfigStatus) DeepCopy() *EKSConfigStatus { 159 if in == nil { 160 return nil 161 } 162 out := new(EKSConfigStatus) 163 in.DeepCopyInto(out) 164 return out 165 } 166 167 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 168 func (in *EKSConfigTemplate) DeepCopyInto(out *EKSConfigTemplate) { 169 *out = *in 170 out.TypeMeta = in.TypeMeta 171 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 172 in.Spec.DeepCopyInto(&out.Spec) 173 } 174 175 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSConfigTemplate. 176 func (in *EKSConfigTemplate) DeepCopy() *EKSConfigTemplate { 177 if in == nil { 178 return nil 179 } 180 out := new(EKSConfigTemplate) 181 in.DeepCopyInto(out) 182 return out 183 } 184 185 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 186 func (in *EKSConfigTemplate) DeepCopyObject() runtime.Object { 187 if c := in.DeepCopy(); c != nil { 188 return c 189 } 190 return nil 191 } 192 193 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 194 func (in *EKSConfigTemplateList) DeepCopyInto(out *EKSConfigTemplateList) { 195 *out = *in 196 out.TypeMeta = in.TypeMeta 197 in.ListMeta.DeepCopyInto(&out.ListMeta) 198 if in.Items != nil { 199 in, out := &in.Items, &out.Items 200 *out = make([]EKSConfigTemplate, len(*in)) 201 for i := range *in { 202 (*in)[i].DeepCopyInto(&(*out)[i]) 203 } 204 } 205 } 206 207 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSConfigTemplateList. 208 func (in *EKSConfigTemplateList) DeepCopy() *EKSConfigTemplateList { 209 if in == nil { 210 return nil 211 } 212 out := new(EKSConfigTemplateList) 213 in.DeepCopyInto(out) 214 return out 215 } 216 217 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 218 func (in *EKSConfigTemplateList) DeepCopyObject() runtime.Object { 219 if c := in.DeepCopy(); c != nil { 220 return c 221 } 222 return nil 223 } 224 225 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 226 func (in *EKSConfigTemplateResource) DeepCopyInto(out *EKSConfigTemplateResource) { 227 *out = *in 228 in.Spec.DeepCopyInto(&out.Spec) 229 } 230 231 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSConfigTemplateResource. 232 func (in *EKSConfigTemplateResource) DeepCopy() *EKSConfigTemplateResource { 233 if in == nil { 234 return nil 235 } 236 out := new(EKSConfigTemplateResource) 237 in.DeepCopyInto(out) 238 return out 239 } 240 241 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 242 func (in *EKSConfigTemplateSpec) DeepCopyInto(out *EKSConfigTemplateSpec) { 243 *out = *in 244 in.Template.DeepCopyInto(&out.Template) 245 } 246 247 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSConfigTemplateSpec. 248 func (in *EKSConfigTemplateSpec) DeepCopy() *EKSConfigTemplateSpec { 249 if in == nil { 250 return nil 251 } 252 out := new(EKSConfigTemplateSpec) 253 in.DeepCopyInto(out) 254 return out 255 } 256 257 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 258 func (in *PauseContainer) DeepCopyInto(out *PauseContainer) { 259 *out = *in 260 } 261 262 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PauseContainer. 263 func (in *PauseContainer) DeepCopy() *PauseContainer { 264 if in == nil { 265 return nil 266 } 267 out := new(PauseContainer) 268 in.DeepCopyInto(out) 269 return out 270 }