sigs.k8s.io/cluster-api-provider-aws@v1.5.5/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 "sigs.k8s.io/cluster-api/errors" 28 ) 29 30 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 31 func (in *AMIReference) DeepCopyInto(out *AMIReference) { 32 *out = *in 33 if in.ID != nil { 34 in, out := &in.ID, &out.ID 35 *out = new(string) 36 **out = **in 37 } 38 if in.EKSOptimizedLookupType != nil { 39 in, out := &in.EKSOptimizedLookupType, &out.EKSOptimizedLookupType 40 *out = new(EKSAMILookupType) 41 **out = **in 42 } 43 } 44 45 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AMIReference. 46 func (in *AMIReference) DeepCopy() *AMIReference { 47 if in == nil { 48 return nil 49 } 50 out := new(AMIReference) 51 in.DeepCopyInto(out) 52 return out 53 } 54 55 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 56 func (in *AWSCluster) DeepCopyInto(out *AWSCluster) { 57 *out = *in 58 out.TypeMeta = in.TypeMeta 59 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 60 in.Spec.DeepCopyInto(&out.Spec) 61 in.Status.DeepCopyInto(&out.Status) 62 } 63 64 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSCluster. 65 func (in *AWSCluster) DeepCopy() *AWSCluster { 66 if in == nil { 67 return nil 68 } 69 out := new(AWSCluster) 70 in.DeepCopyInto(out) 71 return out 72 } 73 74 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 75 func (in *AWSCluster) DeepCopyObject() runtime.Object { 76 if c := in.DeepCopy(); c != nil { 77 return c 78 } 79 return nil 80 } 81 82 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 83 func (in *AWSClusterControllerIdentity) DeepCopyInto(out *AWSClusterControllerIdentity) { 84 *out = *in 85 out.TypeMeta = in.TypeMeta 86 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 87 in.Spec.DeepCopyInto(&out.Spec) 88 } 89 90 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterControllerIdentity. 91 func (in *AWSClusterControllerIdentity) DeepCopy() *AWSClusterControllerIdentity { 92 if in == nil { 93 return nil 94 } 95 out := new(AWSClusterControllerIdentity) 96 in.DeepCopyInto(out) 97 return out 98 } 99 100 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 101 func (in *AWSClusterControllerIdentity) DeepCopyObject() runtime.Object { 102 if c := in.DeepCopy(); c != nil { 103 return c 104 } 105 return nil 106 } 107 108 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 109 func (in *AWSClusterControllerIdentityList) DeepCopyInto(out *AWSClusterControllerIdentityList) { 110 *out = *in 111 out.TypeMeta = in.TypeMeta 112 in.ListMeta.DeepCopyInto(&out.ListMeta) 113 if in.Items != nil { 114 in, out := &in.Items, &out.Items 115 *out = make([]AWSClusterControllerIdentity, len(*in)) 116 for i := range *in { 117 (*in)[i].DeepCopyInto(&(*out)[i]) 118 } 119 } 120 } 121 122 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterControllerIdentityList. 123 func (in *AWSClusterControllerIdentityList) DeepCopy() *AWSClusterControllerIdentityList { 124 if in == nil { 125 return nil 126 } 127 out := new(AWSClusterControllerIdentityList) 128 in.DeepCopyInto(out) 129 return out 130 } 131 132 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 133 func (in *AWSClusterControllerIdentityList) DeepCopyObject() runtime.Object { 134 if c := in.DeepCopy(); c != nil { 135 return c 136 } 137 return nil 138 } 139 140 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 141 func (in *AWSClusterControllerIdentitySpec) DeepCopyInto(out *AWSClusterControllerIdentitySpec) { 142 *out = *in 143 in.AWSClusterIdentitySpec.DeepCopyInto(&out.AWSClusterIdentitySpec) 144 } 145 146 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterControllerIdentitySpec. 147 func (in *AWSClusterControllerIdentitySpec) DeepCopy() *AWSClusterControllerIdentitySpec { 148 if in == nil { 149 return nil 150 } 151 out := new(AWSClusterControllerIdentitySpec) 152 in.DeepCopyInto(out) 153 return out 154 } 155 156 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 157 func (in *AWSClusterIdentitySpec) DeepCopyInto(out *AWSClusterIdentitySpec) { 158 *out = *in 159 if in.AllowedNamespaces != nil { 160 in, out := &in.AllowedNamespaces, &out.AllowedNamespaces 161 *out = new(AllowedNamespaces) 162 (*in).DeepCopyInto(*out) 163 } 164 } 165 166 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterIdentitySpec. 167 func (in *AWSClusterIdentitySpec) DeepCopy() *AWSClusterIdentitySpec { 168 if in == nil { 169 return nil 170 } 171 out := new(AWSClusterIdentitySpec) 172 in.DeepCopyInto(out) 173 return out 174 } 175 176 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 177 func (in *AWSClusterList) DeepCopyInto(out *AWSClusterList) { 178 *out = *in 179 out.TypeMeta = in.TypeMeta 180 in.ListMeta.DeepCopyInto(&out.ListMeta) 181 if in.Items != nil { 182 in, out := &in.Items, &out.Items 183 *out = make([]AWSCluster, len(*in)) 184 for i := range *in { 185 (*in)[i].DeepCopyInto(&(*out)[i]) 186 } 187 } 188 } 189 190 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterList. 191 func (in *AWSClusterList) DeepCopy() *AWSClusterList { 192 if in == nil { 193 return nil 194 } 195 out := new(AWSClusterList) 196 in.DeepCopyInto(out) 197 return out 198 } 199 200 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 201 func (in *AWSClusterList) DeepCopyObject() runtime.Object { 202 if c := in.DeepCopy(); c != nil { 203 return c 204 } 205 return nil 206 } 207 208 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 209 func (in *AWSClusterRoleIdentity) DeepCopyInto(out *AWSClusterRoleIdentity) { 210 *out = *in 211 out.TypeMeta = in.TypeMeta 212 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 213 in.Spec.DeepCopyInto(&out.Spec) 214 } 215 216 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterRoleIdentity. 217 func (in *AWSClusterRoleIdentity) DeepCopy() *AWSClusterRoleIdentity { 218 if in == nil { 219 return nil 220 } 221 out := new(AWSClusterRoleIdentity) 222 in.DeepCopyInto(out) 223 return out 224 } 225 226 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 227 func (in *AWSClusterRoleIdentity) DeepCopyObject() runtime.Object { 228 if c := in.DeepCopy(); c != nil { 229 return c 230 } 231 return nil 232 } 233 234 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 235 func (in *AWSClusterRoleIdentityList) DeepCopyInto(out *AWSClusterRoleIdentityList) { 236 *out = *in 237 out.TypeMeta = in.TypeMeta 238 in.ListMeta.DeepCopyInto(&out.ListMeta) 239 if in.Items != nil { 240 in, out := &in.Items, &out.Items 241 *out = make([]AWSClusterRoleIdentity, len(*in)) 242 for i := range *in { 243 (*in)[i].DeepCopyInto(&(*out)[i]) 244 } 245 } 246 } 247 248 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterRoleIdentityList. 249 func (in *AWSClusterRoleIdentityList) DeepCopy() *AWSClusterRoleIdentityList { 250 if in == nil { 251 return nil 252 } 253 out := new(AWSClusterRoleIdentityList) 254 in.DeepCopyInto(out) 255 return out 256 } 257 258 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 259 func (in *AWSClusterRoleIdentityList) DeepCopyObject() runtime.Object { 260 if c := in.DeepCopy(); c != nil { 261 return c 262 } 263 return nil 264 } 265 266 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 267 func (in *AWSClusterRoleIdentitySpec) DeepCopyInto(out *AWSClusterRoleIdentitySpec) { 268 *out = *in 269 in.AWSClusterIdentitySpec.DeepCopyInto(&out.AWSClusterIdentitySpec) 270 in.AWSRoleSpec.DeepCopyInto(&out.AWSRoleSpec) 271 if in.SourceIdentityRef != nil { 272 in, out := &in.SourceIdentityRef, &out.SourceIdentityRef 273 *out = new(AWSIdentityReference) 274 **out = **in 275 } 276 } 277 278 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterRoleIdentitySpec. 279 func (in *AWSClusterRoleIdentitySpec) DeepCopy() *AWSClusterRoleIdentitySpec { 280 if in == nil { 281 return nil 282 } 283 out := new(AWSClusterRoleIdentitySpec) 284 in.DeepCopyInto(out) 285 return out 286 } 287 288 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 289 func (in *AWSClusterSpec) DeepCopyInto(out *AWSClusterSpec) { 290 *out = *in 291 in.NetworkSpec.DeepCopyInto(&out.NetworkSpec) 292 if in.SSHKeyName != nil { 293 in, out := &in.SSHKeyName, &out.SSHKeyName 294 *out = new(string) 295 **out = **in 296 } 297 out.ControlPlaneEndpoint = in.ControlPlaneEndpoint 298 if in.AdditionalTags != nil { 299 in, out := &in.AdditionalTags, &out.AdditionalTags 300 *out = make(Tags, len(*in)) 301 for key, val := range *in { 302 (*out)[key] = val 303 } 304 } 305 if in.ControlPlaneLoadBalancer != nil { 306 in, out := &in.ControlPlaneLoadBalancer, &out.ControlPlaneLoadBalancer 307 *out = new(AWSLoadBalancerSpec) 308 (*in).DeepCopyInto(*out) 309 } 310 in.Bastion.DeepCopyInto(&out.Bastion) 311 if in.IdentityRef != nil { 312 in, out := &in.IdentityRef, &out.IdentityRef 313 *out = new(AWSIdentityReference) 314 **out = **in 315 } 316 if in.S3Bucket != nil { 317 in, out := &in.S3Bucket, &out.S3Bucket 318 *out = new(S3Bucket) 319 (*in).DeepCopyInto(*out) 320 } 321 } 322 323 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterSpec. 324 func (in *AWSClusterSpec) DeepCopy() *AWSClusterSpec { 325 if in == nil { 326 return nil 327 } 328 out := new(AWSClusterSpec) 329 in.DeepCopyInto(out) 330 return out 331 } 332 333 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 334 func (in *AWSClusterStaticIdentity) DeepCopyInto(out *AWSClusterStaticIdentity) { 335 *out = *in 336 out.TypeMeta = in.TypeMeta 337 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 338 in.Spec.DeepCopyInto(&out.Spec) 339 } 340 341 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterStaticIdentity. 342 func (in *AWSClusterStaticIdentity) DeepCopy() *AWSClusterStaticIdentity { 343 if in == nil { 344 return nil 345 } 346 out := new(AWSClusterStaticIdentity) 347 in.DeepCopyInto(out) 348 return out 349 } 350 351 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 352 func (in *AWSClusterStaticIdentity) DeepCopyObject() runtime.Object { 353 if c := in.DeepCopy(); c != nil { 354 return c 355 } 356 return nil 357 } 358 359 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 360 func (in *AWSClusterStaticIdentityList) DeepCopyInto(out *AWSClusterStaticIdentityList) { 361 *out = *in 362 out.TypeMeta = in.TypeMeta 363 in.ListMeta.DeepCopyInto(&out.ListMeta) 364 if in.Items != nil { 365 in, out := &in.Items, &out.Items 366 *out = make([]AWSClusterStaticIdentity, len(*in)) 367 for i := range *in { 368 (*in)[i].DeepCopyInto(&(*out)[i]) 369 } 370 } 371 } 372 373 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterStaticIdentityList. 374 func (in *AWSClusterStaticIdentityList) DeepCopy() *AWSClusterStaticIdentityList { 375 if in == nil { 376 return nil 377 } 378 out := new(AWSClusterStaticIdentityList) 379 in.DeepCopyInto(out) 380 return out 381 } 382 383 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 384 func (in *AWSClusterStaticIdentityList) DeepCopyObject() runtime.Object { 385 if c := in.DeepCopy(); c != nil { 386 return c 387 } 388 return nil 389 } 390 391 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 392 func (in *AWSClusterStaticIdentitySpec) DeepCopyInto(out *AWSClusterStaticIdentitySpec) { 393 *out = *in 394 in.AWSClusterIdentitySpec.DeepCopyInto(&out.AWSClusterIdentitySpec) 395 } 396 397 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterStaticIdentitySpec. 398 func (in *AWSClusterStaticIdentitySpec) DeepCopy() *AWSClusterStaticIdentitySpec { 399 if in == nil { 400 return nil 401 } 402 out := new(AWSClusterStaticIdentitySpec) 403 in.DeepCopyInto(out) 404 return out 405 } 406 407 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 408 func (in *AWSClusterStatus) DeepCopyInto(out *AWSClusterStatus) { 409 *out = *in 410 in.Network.DeepCopyInto(&out.Network) 411 if in.FailureDomains != nil { 412 in, out := &in.FailureDomains, &out.FailureDomains 413 *out = make(apiv1beta1.FailureDomains, len(*in)) 414 for key, val := range *in { 415 (*out)[key] = *val.DeepCopy() 416 } 417 } 418 if in.Bastion != nil { 419 in, out := &in.Bastion, &out.Bastion 420 *out = new(Instance) 421 (*in).DeepCopyInto(*out) 422 } 423 if in.Conditions != nil { 424 in, out := &in.Conditions, &out.Conditions 425 *out = make(apiv1beta1.Conditions, len(*in)) 426 for i := range *in { 427 (*in)[i].DeepCopyInto(&(*out)[i]) 428 } 429 } 430 } 431 432 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterStatus. 433 func (in *AWSClusterStatus) DeepCopy() *AWSClusterStatus { 434 if in == nil { 435 return nil 436 } 437 out := new(AWSClusterStatus) 438 in.DeepCopyInto(out) 439 return out 440 } 441 442 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 443 func (in *AWSClusterTemplate) DeepCopyInto(out *AWSClusterTemplate) { 444 *out = *in 445 out.TypeMeta = in.TypeMeta 446 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 447 in.Spec.DeepCopyInto(&out.Spec) 448 } 449 450 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterTemplate. 451 func (in *AWSClusterTemplate) DeepCopy() *AWSClusterTemplate { 452 if in == nil { 453 return nil 454 } 455 out := new(AWSClusterTemplate) 456 in.DeepCopyInto(out) 457 return out 458 } 459 460 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 461 func (in *AWSClusterTemplate) DeepCopyObject() runtime.Object { 462 if c := in.DeepCopy(); c != nil { 463 return c 464 } 465 return nil 466 } 467 468 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 469 func (in *AWSClusterTemplateList) DeepCopyInto(out *AWSClusterTemplateList) { 470 *out = *in 471 out.TypeMeta = in.TypeMeta 472 in.ListMeta.DeepCopyInto(&out.ListMeta) 473 if in.Items != nil { 474 in, out := &in.Items, &out.Items 475 *out = make([]AWSClusterTemplate, len(*in)) 476 for i := range *in { 477 (*in)[i].DeepCopyInto(&(*out)[i]) 478 } 479 } 480 } 481 482 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterTemplateList. 483 func (in *AWSClusterTemplateList) DeepCopy() *AWSClusterTemplateList { 484 if in == nil { 485 return nil 486 } 487 out := new(AWSClusterTemplateList) 488 in.DeepCopyInto(out) 489 return out 490 } 491 492 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 493 func (in *AWSClusterTemplateList) DeepCopyObject() runtime.Object { 494 if c := in.DeepCopy(); c != nil { 495 return c 496 } 497 return nil 498 } 499 500 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 501 func (in *AWSClusterTemplateResource) DeepCopyInto(out *AWSClusterTemplateResource) { 502 *out = *in 503 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 504 in.Spec.DeepCopyInto(&out.Spec) 505 } 506 507 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterTemplateResource. 508 func (in *AWSClusterTemplateResource) DeepCopy() *AWSClusterTemplateResource { 509 if in == nil { 510 return nil 511 } 512 out := new(AWSClusterTemplateResource) 513 in.DeepCopyInto(out) 514 return out 515 } 516 517 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 518 func (in *AWSClusterTemplateSpec) DeepCopyInto(out *AWSClusterTemplateSpec) { 519 *out = *in 520 in.Template.DeepCopyInto(&out.Template) 521 } 522 523 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterTemplateSpec. 524 func (in *AWSClusterTemplateSpec) DeepCopy() *AWSClusterTemplateSpec { 525 if in == nil { 526 return nil 527 } 528 out := new(AWSClusterTemplateSpec) 529 in.DeepCopyInto(out) 530 return out 531 } 532 533 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 534 func (in *AWSIdentityReference) DeepCopyInto(out *AWSIdentityReference) { 535 *out = *in 536 } 537 538 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSIdentityReference. 539 func (in *AWSIdentityReference) DeepCopy() *AWSIdentityReference { 540 if in == nil { 541 return nil 542 } 543 out := new(AWSIdentityReference) 544 in.DeepCopyInto(out) 545 return out 546 } 547 548 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 549 func (in *AWSLoadBalancerSpec) DeepCopyInto(out *AWSLoadBalancerSpec) { 550 *out = *in 551 if in.Name != nil { 552 in, out := &in.Name, &out.Name 553 *out = new(string) 554 **out = **in 555 } 556 if in.Scheme != nil { 557 in, out := &in.Scheme, &out.Scheme 558 *out = new(ClassicELBScheme) 559 **out = **in 560 } 561 if in.Subnets != nil { 562 in, out := &in.Subnets, &out.Subnets 563 *out = make([]string, len(*in)) 564 copy(*out, *in) 565 } 566 if in.HealthCheckProtocol != nil { 567 in, out := &in.HealthCheckProtocol, &out.HealthCheckProtocol 568 *out = new(ClassicELBProtocol) 569 **out = **in 570 } 571 if in.AdditionalSecurityGroups != nil { 572 in, out := &in.AdditionalSecurityGroups, &out.AdditionalSecurityGroups 573 *out = make([]string, len(*in)) 574 copy(*out, *in) 575 } 576 } 577 578 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSLoadBalancerSpec. 579 func (in *AWSLoadBalancerSpec) DeepCopy() *AWSLoadBalancerSpec { 580 if in == nil { 581 return nil 582 } 583 out := new(AWSLoadBalancerSpec) 584 in.DeepCopyInto(out) 585 return out 586 } 587 588 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 589 func (in *AWSMachine) DeepCopyInto(out *AWSMachine) { 590 *out = *in 591 out.TypeMeta = in.TypeMeta 592 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 593 in.Spec.DeepCopyInto(&out.Spec) 594 in.Status.DeepCopyInto(&out.Status) 595 } 596 597 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachine. 598 func (in *AWSMachine) DeepCopy() *AWSMachine { 599 if in == nil { 600 return nil 601 } 602 out := new(AWSMachine) 603 in.DeepCopyInto(out) 604 return out 605 } 606 607 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 608 func (in *AWSMachine) DeepCopyObject() runtime.Object { 609 if c := in.DeepCopy(); c != nil { 610 return c 611 } 612 return nil 613 } 614 615 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 616 func (in *AWSMachineList) DeepCopyInto(out *AWSMachineList) { 617 *out = *in 618 out.TypeMeta = in.TypeMeta 619 in.ListMeta.DeepCopyInto(&out.ListMeta) 620 if in.Items != nil { 621 in, out := &in.Items, &out.Items 622 *out = make([]AWSMachine, len(*in)) 623 for i := range *in { 624 (*in)[i].DeepCopyInto(&(*out)[i]) 625 } 626 } 627 } 628 629 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachineList. 630 func (in *AWSMachineList) DeepCopy() *AWSMachineList { 631 if in == nil { 632 return nil 633 } 634 out := new(AWSMachineList) 635 in.DeepCopyInto(out) 636 return out 637 } 638 639 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 640 func (in *AWSMachineList) DeepCopyObject() runtime.Object { 641 if c := in.DeepCopy(); c != nil { 642 return c 643 } 644 return nil 645 } 646 647 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 648 func (in *AWSMachineSpec) DeepCopyInto(out *AWSMachineSpec) { 649 *out = *in 650 if in.ProviderID != nil { 651 in, out := &in.ProviderID, &out.ProviderID 652 *out = new(string) 653 **out = **in 654 } 655 if in.InstanceID != nil { 656 in, out := &in.InstanceID, &out.InstanceID 657 *out = new(string) 658 **out = **in 659 } 660 in.AMI.DeepCopyInto(&out.AMI) 661 if in.AdditionalTags != nil { 662 in, out := &in.AdditionalTags, &out.AdditionalTags 663 *out = make(Tags, len(*in)) 664 for key, val := range *in { 665 (*out)[key] = val 666 } 667 } 668 if in.PublicIP != nil { 669 in, out := &in.PublicIP, &out.PublicIP 670 *out = new(bool) 671 **out = **in 672 } 673 if in.AdditionalSecurityGroups != nil { 674 in, out := &in.AdditionalSecurityGroups, &out.AdditionalSecurityGroups 675 *out = make([]AWSResourceReference, len(*in)) 676 for i := range *in { 677 (*in)[i].DeepCopyInto(&(*out)[i]) 678 } 679 } 680 if in.FailureDomain != nil { 681 in, out := &in.FailureDomain, &out.FailureDomain 682 *out = new(string) 683 **out = **in 684 } 685 if in.Subnet != nil { 686 in, out := &in.Subnet, &out.Subnet 687 *out = new(AWSResourceReference) 688 (*in).DeepCopyInto(*out) 689 } 690 if in.SSHKeyName != nil { 691 in, out := &in.SSHKeyName, &out.SSHKeyName 692 *out = new(string) 693 **out = **in 694 } 695 if in.RootVolume != nil { 696 in, out := &in.RootVolume, &out.RootVolume 697 *out = new(Volume) 698 (*in).DeepCopyInto(*out) 699 } 700 if in.NonRootVolumes != nil { 701 in, out := &in.NonRootVolumes, &out.NonRootVolumes 702 *out = make([]Volume, len(*in)) 703 for i := range *in { 704 (*in)[i].DeepCopyInto(&(*out)[i]) 705 } 706 } 707 if in.NetworkInterfaces != nil { 708 in, out := &in.NetworkInterfaces, &out.NetworkInterfaces 709 *out = make([]string, len(*in)) 710 copy(*out, *in) 711 } 712 if in.UncompressedUserData != nil { 713 in, out := &in.UncompressedUserData, &out.UncompressedUserData 714 *out = new(bool) 715 **out = **in 716 } 717 out.CloudInit = in.CloudInit 718 if in.Ignition != nil { 719 in, out := &in.Ignition, &out.Ignition 720 *out = new(Ignition) 721 **out = **in 722 } 723 if in.SpotMarketOptions != nil { 724 in, out := &in.SpotMarketOptions, &out.SpotMarketOptions 725 *out = new(SpotMarketOptions) 726 (*in).DeepCopyInto(*out) 727 } 728 } 729 730 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachineSpec. 731 func (in *AWSMachineSpec) DeepCopy() *AWSMachineSpec { 732 if in == nil { 733 return nil 734 } 735 out := new(AWSMachineSpec) 736 in.DeepCopyInto(out) 737 return out 738 } 739 740 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 741 func (in *AWSMachineStatus) DeepCopyInto(out *AWSMachineStatus) { 742 *out = *in 743 if in.Addresses != nil { 744 in, out := &in.Addresses, &out.Addresses 745 *out = make([]apiv1beta1.MachineAddress, len(*in)) 746 copy(*out, *in) 747 } 748 if in.InstanceState != nil { 749 in, out := &in.InstanceState, &out.InstanceState 750 *out = new(InstanceState) 751 **out = **in 752 } 753 if in.FailureReason != nil { 754 in, out := &in.FailureReason, &out.FailureReason 755 *out = new(errors.MachineStatusError) 756 **out = **in 757 } 758 if in.FailureMessage != nil { 759 in, out := &in.FailureMessage, &out.FailureMessage 760 *out = new(string) 761 **out = **in 762 } 763 if in.Conditions != nil { 764 in, out := &in.Conditions, &out.Conditions 765 *out = make(apiv1beta1.Conditions, len(*in)) 766 for i := range *in { 767 (*in)[i].DeepCopyInto(&(*out)[i]) 768 } 769 } 770 } 771 772 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachineStatus. 773 func (in *AWSMachineStatus) DeepCopy() *AWSMachineStatus { 774 if in == nil { 775 return nil 776 } 777 out := new(AWSMachineStatus) 778 in.DeepCopyInto(out) 779 return out 780 } 781 782 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 783 func (in *AWSMachineTemplate) DeepCopyInto(out *AWSMachineTemplate) { 784 *out = *in 785 out.TypeMeta = in.TypeMeta 786 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 787 in.Spec.DeepCopyInto(&out.Spec) 788 } 789 790 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachineTemplate. 791 func (in *AWSMachineTemplate) DeepCopy() *AWSMachineTemplate { 792 if in == nil { 793 return nil 794 } 795 out := new(AWSMachineTemplate) 796 in.DeepCopyInto(out) 797 return out 798 } 799 800 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 801 func (in *AWSMachineTemplate) DeepCopyObject() runtime.Object { 802 if c := in.DeepCopy(); c != nil { 803 return c 804 } 805 return nil 806 } 807 808 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 809 func (in *AWSMachineTemplateList) DeepCopyInto(out *AWSMachineTemplateList) { 810 *out = *in 811 out.TypeMeta = in.TypeMeta 812 in.ListMeta.DeepCopyInto(&out.ListMeta) 813 if in.Items != nil { 814 in, out := &in.Items, &out.Items 815 *out = make([]AWSMachineTemplate, len(*in)) 816 for i := range *in { 817 (*in)[i].DeepCopyInto(&(*out)[i]) 818 } 819 } 820 } 821 822 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachineTemplateList. 823 func (in *AWSMachineTemplateList) DeepCopy() *AWSMachineTemplateList { 824 if in == nil { 825 return nil 826 } 827 out := new(AWSMachineTemplateList) 828 in.DeepCopyInto(out) 829 return out 830 } 831 832 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 833 func (in *AWSMachineTemplateList) DeepCopyObject() runtime.Object { 834 if c := in.DeepCopy(); c != nil { 835 return c 836 } 837 return nil 838 } 839 840 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 841 func (in *AWSMachineTemplateResource) DeepCopyInto(out *AWSMachineTemplateResource) { 842 *out = *in 843 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 844 in.Spec.DeepCopyInto(&out.Spec) 845 } 846 847 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachineTemplateResource. 848 func (in *AWSMachineTemplateResource) DeepCopy() *AWSMachineTemplateResource { 849 if in == nil { 850 return nil 851 } 852 out := new(AWSMachineTemplateResource) 853 in.DeepCopyInto(out) 854 return out 855 } 856 857 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 858 func (in *AWSMachineTemplateSpec) DeepCopyInto(out *AWSMachineTemplateSpec) { 859 *out = *in 860 in.Template.DeepCopyInto(&out.Template) 861 } 862 863 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachineTemplateSpec. 864 func (in *AWSMachineTemplateSpec) DeepCopy() *AWSMachineTemplateSpec { 865 if in == nil { 866 return nil 867 } 868 out := new(AWSMachineTemplateSpec) 869 in.DeepCopyInto(out) 870 return out 871 } 872 873 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 874 func (in *AWSResourceReference) DeepCopyInto(out *AWSResourceReference) { 875 *out = *in 876 if in.ID != nil { 877 in, out := &in.ID, &out.ID 878 *out = new(string) 879 **out = **in 880 } 881 if in.ARN != nil { 882 in, out := &in.ARN, &out.ARN 883 *out = new(string) 884 **out = **in 885 } 886 if in.Filters != nil { 887 in, out := &in.Filters, &out.Filters 888 *out = make([]Filter, len(*in)) 889 for i := range *in { 890 (*in)[i].DeepCopyInto(&(*out)[i]) 891 } 892 } 893 } 894 895 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSResourceReference. 896 func (in *AWSResourceReference) DeepCopy() *AWSResourceReference { 897 if in == nil { 898 return nil 899 } 900 out := new(AWSResourceReference) 901 in.DeepCopyInto(out) 902 return out 903 } 904 905 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 906 func (in *AWSRoleSpec) DeepCopyInto(out *AWSRoleSpec) { 907 *out = *in 908 if in.PolicyARNs != nil { 909 in, out := &in.PolicyARNs, &out.PolicyARNs 910 *out = make([]string, len(*in)) 911 copy(*out, *in) 912 } 913 } 914 915 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSRoleSpec. 916 func (in *AWSRoleSpec) DeepCopy() *AWSRoleSpec { 917 if in == nil { 918 return nil 919 } 920 out := new(AWSRoleSpec) 921 in.DeepCopyInto(out) 922 return out 923 } 924 925 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 926 func (in *AllowedNamespaces) DeepCopyInto(out *AllowedNamespaces) { 927 *out = *in 928 if in.NamespaceList != nil { 929 in, out := &in.NamespaceList, &out.NamespaceList 930 *out = make([]string, len(*in)) 931 copy(*out, *in) 932 } 933 in.Selector.DeepCopyInto(&out.Selector) 934 } 935 936 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedNamespaces. 937 func (in *AllowedNamespaces) DeepCopy() *AllowedNamespaces { 938 if in == nil { 939 return nil 940 } 941 out := new(AllowedNamespaces) 942 in.DeepCopyInto(out) 943 return out 944 } 945 946 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 947 func (in *Bastion) DeepCopyInto(out *Bastion) { 948 *out = *in 949 if in.AllowedCIDRBlocks != nil { 950 in, out := &in.AllowedCIDRBlocks, &out.AllowedCIDRBlocks 951 *out = make([]string, len(*in)) 952 copy(*out, *in) 953 } 954 } 955 956 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Bastion. 957 func (in *Bastion) DeepCopy() *Bastion { 958 if in == nil { 959 return nil 960 } 961 out := new(Bastion) 962 in.DeepCopyInto(out) 963 return out 964 } 965 966 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 967 func (in *BuildParams) DeepCopyInto(out *BuildParams) { 968 *out = *in 969 if in.Name != nil { 970 in, out := &in.Name, &out.Name 971 *out = new(string) 972 **out = **in 973 } 974 if in.Role != nil { 975 in, out := &in.Role, &out.Role 976 *out = new(string) 977 **out = **in 978 } 979 if in.Additional != nil { 980 in, out := &in.Additional, &out.Additional 981 *out = make(Tags, len(*in)) 982 for key, val := range *in { 983 (*out)[key] = val 984 } 985 } 986 } 987 988 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildParams. 989 func (in *BuildParams) DeepCopy() *BuildParams { 990 if in == nil { 991 return nil 992 } 993 out := new(BuildParams) 994 in.DeepCopyInto(out) 995 return out 996 } 997 998 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 999 func (in *CNIIngressRule) DeepCopyInto(out *CNIIngressRule) { 1000 *out = *in 1001 } 1002 1003 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CNIIngressRule. 1004 func (in *CNIIngressRule) DeepCopy() *CNIIngressRule { 1005 if in == nil { 1006 return nil 1007 } 1008 out := new(CNIIngressRule) 1009 in.DeepCopyInto(out) 1010 return out 1011 } 1012 1013 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1014 func (in CNIIngressRules) DeepCopyInto(out *CNIIngressRules) { 1015 { 1016 in := &in 1017 *out = make(CNIIngressRules, len(*in)) 1018 copy(*out, *in) 1019 } 1020 } 1021 1022 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CNIIngressRules. 1023 func (in CNIIngressRules) DeepCopy() CNIIngressRules { 1024 if in == nil { 1025 return nil 1026 } 1027 out := new(CNIIngressRules) 1028 in.DeepCopyInto(out) 1029 return *out 1030 } 1031 1032 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1033 func (in *CNISpec) DeepCopyInto(out *CNISpec) { 1034 *out = *in 1035 if in.CNIIngressRules != nil { 1036 in, out := &in.CNIIngressRules, &out.CNIIngressRules 1037 *out = make(CNIIngressRules, len(*in)) 1038 copy(*out, *in) 1039 } 1040 } 1041 1042 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CNISpec. 1043 func (in *CNISpec) DeepCopy() *CNISpec { 1044 if in == nil { 1045 return nil 1046 } 1047 out := new(CNISpec) 1048 in.DeepCopyInto(out) 1049 return out 1050 } 1051 1052 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1053 func (in *ClassicELB) DeepCopyInto(out *ClassicELB) { 1054 *out = *in 1055 if in.AvailabilityZones != nil { 1056 in, out := &in.AvailabilityZones, &out.AvailabilityZones 1057 *out = make([]string, len(*in)) 1058 copy(*out, *in) 1059 } 1060 if in.SubnetIDs != nil { 1061 in, out := &in.SubnetIDs, &out.SubnetIDs 1062 *out = make([]string, len(*in)) 1063 copy(*out, *in) 1064 } 1065 if in.SecurityGroupIDs != nil { 1066 in, out := &in.SecurityGroupIDs, &out.SecurityGroupIDs 1067 *out = make([]string, len(*in)) 1068 copy(*out, *in) 1069 } 1070 if in.Listeners != nil { 1071 in, out := &in.Listeners, &out.Listeners 1072 *out = make([]ClassicELBListener, len(*in)) 1073 copy(*out, *in) 1074 } 1075 if in.HealthCheck != nil { 1076 in, out := &in.HealthCheck, &out.HealthCheck 1077 *out = new(ClassicELBHealthCheck) 1078 **out = **in 1079 } 1080 out.Attributes = in.Attributes 1081 if in.Tags != nil { 1082 in, out := &in.Tags, &out.Tags 1083 *out = make(map[string]string, len(*in)) 1084 for key, val := range *in { 1085 (*out)[key] = val 1086 } 1087 } 1088 } 1089 1090 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClassicELB. 1091 func (in *ClassicELB) DeepCopy() *ClassicELB { 1092 if in == nil { 1093 return nil 1094 } 1095 out := new(ClassicELB) 1096 in.DeepCopyInto(out) 1097 return out 1098 } 1099 1100 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1101 func (in *ClassicELBAttributes) DeepCopyInto(out *ClassicELBAttributes) { 1102 *out = *in 1103 } 1104 1105 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClassicELBAttributes. 1106 func (in *ClassicELBAttributes) DeepCopy() *ClassicELBAttributes { 1107 if in == nil { 1108 return nil 1109 } 1110 out := new(ClassicELBAttributes) 1111 in.DeepCopyInto(out) 1112 return out 1113 } 1114 1115 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1116 func (in *ClassicELBHealthCheck) DeepCopyInto(out *ClassicELBHealthCheck) { 1117 *out = *in 1118 } 1119 1120 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClassicELBHealthCheck. 1121 func (in *ClassicELBHealthCheck) DeepCopy() *ClassicELBHealthCheck { 1122 if in == nil { 1123 return nil 1124 } 1125 out := new(ClassicELBHealthCheck) 1126 in.DeepCopyInto(out) 1127 return out 1128 } 1129 1130 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1131 func (in *ClassicELBListener) DeepCopyInto(out *ClassicELBListener) { 1132 *out = *in 1133 } 1134 1135 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClassicELBListener. 1136 func (in *ClassicELBListener) DeepCopy() *ClassicELBListener { 1137 if in == nil { 1138 return nil 1139 } 1140 out := new(ClassicELBListener) 1141 in.DeepCopyInto(out) 1142 return out 1143 } 1144 1145 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1146 func (in *CloudInit) DeepCopyInto(out *CloudInit) { 1147 *out = *in 1148 } 1149 1150 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudInit. 1151 func (in *CloudInit) DeepCopy() *CloudInit { 1152 if in == nil { 1153 return nil 1154 } 1155 out := new(CloudInit) 1156 in.DeepCopyInto(out) 1157 return out 1158 } 1159 1160 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1161 func (in *Filter) DeepCopyInto(out *Filter) { 1162 *out = *in 1163 if in.Values != nil { 1164 in, out := &in.Values, &out.Values 1165 *out = make([]string, len(*in)) 1166 copy(*out, *in) 1167 } 1168 } 1169 1170 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Filter. 1171 func (in *Filter) DeepCopy() *Filter { 1172 if in == nil { 1173 return nil 1174 } 1175 out := new(Filter) 1176 in.DeepCopyInto(out) 1177 return out 1178 } 1179 1180 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1181 func (in *Ignition) DeepCopyInto(out *Ignition) { 1182 *out = *in 1183 } 1184 1185 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ignition. 1186 func (in *Ignition) DeepCopy() *Ignition { 1187 if in == nil { 1188 return nil 1189 } 1190 out := new(Ignition) 1191 in.DeepCopyInto(out) 1192 return out 1193 } 1194 1195 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1196 func (in *IngressRule) DeepCopyInto(out *IngressRule) { 1197 *out = *in 1198 if in.CidrBlocks != nil { 1199 in, out := &in.CidrBlocks, &out.CidrBlocks 1200 *out = make([]string, len(*in)) 1201 copy(*out, *in) 1202 } 1203 if in.SourceSecurityGroupIDs != nil { 1204 in, out := &in.SourceSecurityGroupIDs, &out.SourceSecurityGroupIDs 1205 *out = make([]string, len(*in)) 1206 copy(*out, *in) 1207 } 1208 } 1209 1210 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRule. 1211 func (in *IngressRule) DeepCopy() *IngressRule { 1212 if in == nil { 1213 return nil 1214 } 1215 out := new(IngressRule) 1216 in.DeepCopyInto(out) 1217 return out 1218 } 1219 1220 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1221 func (in IngressRules) DeepCopyInto(out *IngressRules) { 1222 { 1223 in := &in 1224 *out = make(IngressRules, len(*in)) 1225 for i := range *in { 1226 (*in)[i].DeepCopyInto(&(*out)[i]) 1227 } 1228 } 1229 } 1230 1231 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRules. 1232 func (in IngressRules) DeepCopy() IngressRules { 1233 if in == nil { 1234 return nil 1235 } 1236 out := new(IngressRules) 1237 in.DeepCopyInto(out) 1238 return *out 1239 } 1240 1241 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1242 func (in *Instance) DeepCopyInto(out *Instance) { 1243 *out = *in 1244 if in.SSHKeyName != nil { 1245 in, out := &in.SSHKeyName, &out.SSHKeyName 1246 *out = new(string) 1247 **out = **in 1248 } 1249 if in.SecurityGroupIDs != nil { 1250 in, out := &in.SecurityGroupIDs, &out.SecurityGroupIDs 1251 *out = make([]string, len(*in)) 1252 copy(*out, *in) 1253 } 1254 if in.UserData != nil { 1255 in, out := &in.UserData, &out.UserData 1256 *out = new(string) 1257 **out = **in 1258 } 1259 if in.Addresses != nil { 1260 in, out := &in.Addresses, &out.Addresses 1261 *out = make([]apiv1beta1.MachineAddress, len(*in)) 1262 copy(*out, *in) 1263 } 1264 if in.PrivateIP != nil { 1265 in, out := &in.PrivateIP, &out.PrivateIP 1266 *out = new(string) 1267 **out = **in 1268 } 1269 if in.PublicIP != nil { 1270 in, out := &in.PublicIP, &out.PublicIP 1271 *out = new(string) 1272 **out = **in 1273 } 1274 if in.ENASupport != nil { 1275 in, out := &in.ENASupport, &out.ENASupport 1276 *out = new(bool) 1277 **out = **in 1278 } 1279 if in.EBSOptimized != nil { 1280 in, out := &in.EBSOptimized, &out.EBSOptimized 1281 *out = new(bool) 1282 **out = **in 1283 } 1284 if in.RootVolume != nil { 1285 in, out := &in.RootVolume, &out.RootVolume 1286 *out = new(Volume) 1287 (*in).DeepCopyInto(*out) 1288 } 1289 if in.NonRootVolumes != nil { 1290 in, out := &in.NonRootVolumes, &out.NonRootVolumes 1291 *out = make([]Volume, len(*in)) 1292 for i := range *in { 1293 (*in)[i].DeepCopyInto(&(*out)[i]) 1294 } 1295 } 1296 if in.NetworkInterfaces != nil { 1297 in, out := &in.NetworkInterfaces, &out.NetworkInterfaces 1298 *out = make([]string, len(*in)) 1299 copy(*out, *in) 1300 } 1301 if in.Tags != nil { 1302 in, out := &in.Tags, &out.Tags 1303 *out = make(map[string]string, len(*in)) 1304 for key, val := range *in { 1305 (*out)[key] = val 1306 } 1307 } 1308 if in.SpotMarketOptions != nil { 1309 in, out := &in.SpotMarketOptions, &out.SpotMarketOptions 1310 *out = new(SpotMarketOptions) 1311 (*in).DeepCopyInto(*out) 1312 } 1313 if in.VolumeIDs != nil { 1314 in, out := &in.VolumeIDs, &out.VolumeIDs 1315 *out = make([]string, len(*in)) 1316 copy(*out, *in) 1317 } 1318 } 1319 1320 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Instance. 1321 func (in *Instance) DeepCopy() *Instance { 1322 if in == nil { 1323 return nil 1324 } 1325 out := new(Instance) 1326 in.DeepCopyInto(out) 1327 return out 1328 } 1329 1330 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1331 func (in *NetworkSpec) DeepCopyInto(out *NetworkSpec) { 1332 *out = *in 1333 in.VPC.DeepCopyInto(&out.VPC) 1334 if in.Subnets != nil { 1335 in, out := &in.Subnets, &out.Subnets 1336 *out = make(Subnets, len(*in)) 1337 for i := range *in { 1338 (*in)[i].DeepCopyInto(&(*out)[i]) 1339 } 1340 } 1341 if in.CNI != nil { 1342 in, out := &in.CNI, &out.CNI 1343 *out = new(CNISpec) 1344 (*in).DeepCopyInto(*out) 1345 } 1346 if in.SecurityGroupOverrides != nil { 1347 in, out := &in.SecurityGroupOverrides, &out.SecurityGroupOverrides 1348 *out = make(map[SecurityGroupRole]string, len(*in)) 1349 for key, val := range *in { 1350 (*out)[key] = val 1351 } 1352 } 1353 } 1354 1355 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkSpec. 1356 func (in *NetworkSpec) DeepCopy() *NetworkSpec { 1357 if in == nil { 1358 return nil 1359 } 1360 out := new(NetworkSpec) 1361 in.DeepCopyInto(out) 1362 return out 1363 } 1364 1365 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1366 func (in *NetworkStatus) DeepCopyInto(out *NetworkStatus) { 1367 *out = *in 1368 if in.SecurityGroups != nil { 1369 in, out := &in.SecurityGroups, &out.SecurityGroups 1370 *out = make(map[SecurityGroupRole]SecurityGroup, len(*in)) 1371 for key, val := range *in { 1372 (*out)[key] = *val.DeepCopy() 1373 } 1374 } 1375 in.APIServerELB.DeepCopyInto(&out.APIServerELB) 1376 } 1377 1378 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkStatus. 1379 func (in *NetworkStatus) DeepCopy() *NetworkStatus { 1380 if in == nil { 1381 return nil 1382 } 1383 out := new(NetworkStatus) 1384 in.DeepCopyInto(out) 1385 return out 1386 } 1387 1388 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1389 func (in *RouteTable) DeepCopyInto(out *RouteTable) { 1390 *out = *in 1391 } 1392 1393 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteTable. 1394 func (in *RouteTable) DeepCopy() *RouteTable { 1395 if in == nil { 1396 return nil 1397 } 1398 out := new(RouteTable) 1399 in.DeepCopyInto(out) 1400 return out 1401 } 1402 1403 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1404 func (in *S3Bucket) DeepCopyInto(out *S3Bucket) { 1405 *out = *in 1406 if in.NodesIAMInstanceProfiles != nil { 1407 in, out := &in.NodesIAMInstanceProfiles, &out.NodesIAMInstanceProfiles 1408 *out = make([]string, len(*in)) 1409 copy(*out, *in) 1410 } 1411 } 1412 1413 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3Bucket. 1414 func (in *S3Bucket) DeepCopy() *S3Bucket { 1415 if in == nil { 1416 return nil 1417 } 1418 out := new(S3Bucket) 1419 in.DeepCopyInto(out) 1420 return out 1421 } 1422 1423 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1424 func (in *SecurityGroup) DeepCopyInto(out *SecurityGroup) { 1425 *out = *in 1426 if in.IngressRules != nil { 1427 in, out := &in.IngressRules, &out.IngressRules 1428 *out = make(IngressRules, len(*in)) 1429 for i := range *in { 1430 (*in)[i].DeepCopyInto(&(*out)[i]) 1431 } 1432 } 1433 if in.Tags != nil { 1434 in, out := &in.Tags, &out.Tags 1435 *out = make(Tags, len(*in)) 1436 for key, val := range *in { 1437 (*out)[key] = val 1438 } 1439 } 1440 } 1441 1442 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroup. 1443 func (in *SecurityGroup) DeepCopy() *SecurityGroup { 1444 if in == nil { 1445 return nil 1446 } 1447 out := new(SecurityGroup) 1448 in.DeepCopyInto(out) 1449 return out 1450 } 1451 1452 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1453 func (in *SpotMarketOptions) DeepCopyInto(out *SpotMarketOptions) { 1454 *out = *in 1455 if in.MaxPrice != nil { 1456 in, out := &in.MaxPrice, &out.MaxPrice 1457 *out = new(string) 1458 **out = **in 1459 } 1460 } 1461 1462 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpotMarketOptions. 1463 func (in *SpotMarketOptions) DeepCopy() *SpotMarketOptions { 1464 if in == nil { 1465 return nil 1466 } 1467 out := new(SpotMarketOptions) 1468 in.DeepCopyInto(out) 1469 return out 1470 } 1471 1472 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1473 func (in *SubnetSpec) DeepCopyInto(out *SubnetSpec) { 1474 *out = *in 1475 if in.RouteTableID != nil { 1476 in, out := &in.RouteTableID, &out.RouteTableID 1477 *out = new(string) 1478 **out = **in 1479 } 1480 if in.NatGatewayID != nil { 1481 in, out := &in.NatGatewayID, &out.NatGatewayID 1482 *out = new(string) 1483 **out = **in 1484 } 1485 if in.Tags != nil { 1486 in, out := &in.Tags, &out.Tags 1487 *out = make(Tags, len(*in)) 1488 for key, val := range *in { 1489 (*out)[key] = val 1490 } 1491 } 1492 } 1493 1494 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetSpec. 1495 func (in *SubnetSpec) DeepCopy() *SubnetSpec { 1496 if in == nil { 1497 return nil 1498 } 1499 out := new(SubnetSpec) 1500 in.DeepCopyInto(out) 1501 return out 1502 } 1503 1504 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1505 func (in Subnets) DeepCopyInto(out *Subnets) { 1506 { 1507 in := &in 1508 *out = make(Subnets, len(*in)) 1509 for i := range *in { 1510 (*in)[i].DeepCopyInto(&(*out)[i]) 1511 } 1512 } 1513 } 1514 1515 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subnets. 1516 func (in Subnets) DeepCopy() Subnets { 1517 if in == nil { 1518 return nil 1519 } 1520 out := new(Subnets) 1521 in.DeepCopyInto(out) 1522 return *out 1523 } 1524 1525 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1526 func (in Tags) DeepCopyInto(out *Tags) { 1527 { 1528 in := &in 1529 *out = make(Tags, len(*in)) 1530 for key, val := range *in { 1531 (*out)[key] = val 1532 } 1533 } 1534 } 1535 1536 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tags. 1537 func (in Tags) DeepCopy() Tags { 1538 if in == nil { 1539 return nil 1540 } 1541 out := new(Tags) 1542 in.DeepCopyInto(out) 1543 return *out 1544 } 1545 1546 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1547 func (in *VPCSpec) DeepCopyInto(out *VPCSpec) { 1548 *out = *in 1549 if in.InternetGatewayID != nil { 1550 in, out := &in.InternetGatewayID, &out.InternetGatewayID 1551 *out = new(string) 1552 **out = **in 1553 } 1554 if in.Tags != nil { 1555 in, out := &in.Tags, &out.Tags 1556 *out = make(Tags, len(*in)) 1557 for key, val := range *in { 1558 (*out)[key] = val 1559 } 1560 } 1561 if in.AvailabilityZoneUsageLimit != nil { 1562 in, out := &in.AvailabilityZoneUsageLimit, &out.AvailabilityZoneUsageLimit 1563 *out = new(int) 1564 **out = **in 1565 } 1566 if in.AvailabilityZoneSelection != nil { 1567 in, out := &in.AvailabilityZoneSelection, &out.AvailabilityZoneSelection 1568 *out = new(AZSelectionScheme) 1569 **out = **in 1570 } 1571 } 1572 1573 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCSpec. 1574 func (in *VPCSpec) DeepCopy() *VPCSpec { 1575 if in == nil { 1576 return nil 1577 } 1578 out := new(VPCSpec) 1579 in.DeepCopyInto(out) 1580 return out 1581 } 1582 1583 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1584 func (in *Volume) DeepCopyInto(out *Volume) { 1585 *out = *in 1586 if in.Throughput != nil { 1587 in, out := &in.Throughput, &out.Throughput 1588 *out = new(int64) 1589 **out = **in 1590 } 1591 if in.Encrypted != nil { 1592 in, out := &in.Encrypted, &out.Encrypted 1593 *out = new(bool) 1594 **out = **in 1595 } 1596 } 1597 1598 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Volume. 1599 func (in *Volume) DeepCopy() *Volume { 1600 if in == nil { 1601 return nil 1602 } 1603 out := new(Volume) 1604 in.DeepCopyInto(out) 1605 return out 1606 }