sigs.k8s.io/cluster-api-provider-aws@v1.5.5/api/v1alpha4/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 v1alpha4 23 24 import ( 25 "k8s.io/apimachinery/pkg/runtime" 26 apiv1alpha4 "sigs.k8s.io/cluster-api/api/v1alpha4" 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 } 317 318 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterSpec. 319 func (in *AWSClusterSpec) DeepCopy() *AWSClusterSpec { 320 if in == nil { 321 return nil 322 } 323 out := new(AWSClusterSpec) 324 in.DeepCopyInto(out) 325 return out 326 } 327 328 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 329 func (in *AWSClusterStaticIdentity) DeepCopyInto(out *AWSClusterStaticIdentity) { 330 *out = *in 331 out.TypeMeta = in.TypeMeta 332 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 333 in.Spec.DeepCopyInto(&out.Spec) 334 } 335 336 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterStaticIdentity. 337 func (in *AWSClusterStaticIdentity) DeepCopy() *AWSClusterStaticIdentity { 338 if in == nil { 339 return nil 340 } 341 out := new(AWSClusterStaticIdentity) 342 in.DeepCopyInto(out) 343 return out 344 } 345 346 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 347 func (in *AWSClusterStaticIdentity) DeepCopyObject() runtime.Object { 348 if c := in.DeepCopy(); c != nil { 349 return c 350 } 351 return nil 352 } 353 354 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 355 func (in *AWSClusterStaticIdentityList) DeepCopyInto(out *AWSClusterStaticIdentityList) { 356 *out = *in 357 out.TypeMeta = in.TypeMeta 358 in.ListMeta.DeepCopyInto(&out.ListMeta) 359 if in.Items != nil { 360 in, out := &in.Items, &out.Items 361 *out = make([]AWSClusterStaticIdentity, len(*in)) 362 for i := range *in { 363 (*in)[i].DeepCopyInto(&(*out)[i]) 364 } 365 } 366 } 367 368 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterStaticIdentityList. 369 func (in *AWSClusterStaticIdentityList) DeepCopy() *AWSClusterStaticIdentityList { 370 if in == nil { 371 return nil 372 } 373 out := new(AWSClusterStaticIdentityList) 374 in.DeepCopyInto(out) 375 return out 376 } 377 378 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 379 func (in *AWSClusterStaticIdentityList) DeepCopyObject() runtime.Object { 380 if c := in.DeepCopy(); c != nil { 381 return c 382 } 383 return nil 384 } 385 386 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 387 func (in *AWSClusterStaticIdentitySpec) DeepCopyInto(out *AWSClusterStaticIdentitySpec) { 388 *out = *in 389 in.AWSClusterIdentitySpec.DeepCopyInto(&out.AWSClusterIdentitySpec) 390 } 391 392 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterStaticIdentitySpec. 393 func (in *AWSClusterStaticIdentitySpec) DeepCopy() *AWSClusterStaticIdentitySpec { 394 if in == nil { 395 return nil 396 } 397 out := new(AWSClusterStaticIdentitySpec) 398 in.DeepCopyInto(out) 399 return out 400 } 401 402 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 403 func (in *AWSClusterStatus) DeepCopyInto(out *AWSClusterStatus) { 404 *out = *in 405 in.Network.DeepCopyInto(&out.Network) 406 if in.FailureDomains != nil { 407 in, out := &in.FailureDomains, &out.FailureDomains 408 *out = make(apiv1alpha4.FailureDomains, len(*in)) 409 for key, val := range *in { 410 (*out)[key] = *val.DeepCopy() 411 } 412 } 413 if in.Bastion != nil { 414 in, out := &in.Bastion, &out.Bastion 415 *out = new(Instance) 416 (*in).DeepCopyInto(*out) 417 } 418 if in.Conditions != nil { 419 in, out := &in.Conditions, &out.Conditions 420 *out = make(apiv1alpha4.Conditions, len(*in)) 421 for i := range *in { 422 (*in)[i].DeepCopyInto(&(*out)[i]) 423 } 424 } 425 } 426 427 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterStatus. 428 func (in *AWSClusterStatus) DeepCopy() *AWSClusterStatus { 429 if in == nil { 430 return nil 431 } 432 out := new(AWSClusterStatus) 433 in.DeepCopyInto(out) 434 return out 435 } 436 437 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 438 func (in *AWSClusterTemplate) DeepCopyInto(out *AWSClusterTemplate) { 439 *out = *in 440 out.TypeMeta = in.TypeMeta 441 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 442 in.Spec.DeepCopyInto(&out.Spec) 443 } 444 445 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterTemplate. 446 func (in *AWSClusterTemplate) DeepCopy() *AWSClusterTemplate { 447 if in == nil { 448 return nil 449 } 450 out := new(AWSClusterTemplate) 451 in.DeepCopyInto(out) 452 return out 453 } 454 455 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 456 func (in *AWSClusterTemplate) DeepCopyObject() runtime.Object { 457 if c := in.DeepCopy(); c != nil { 458 return c 459 } 460 return nil 461 } 462 463 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 464 func (in *AWSClusterTemplateList) DeepCopyInto(out *AWSClusterTemplateList) { 465 *out = *in 466 out.TypeMeta = in.TypeMeta 467 in.ListMeta.DeepCopyInto(&out.ListMeta) 468 if in.Items != nil { 469 in, out := &in.Items, &out.Items 470 *out = make([]AWSClusterTemplate, len(*in)) 471 for i := range *in { 472 (*in)[i].DeepCopyInto(&(*out)[i]) 473 } 474 } 475 } 476 477 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterTemplateList. 478 func (in *AWSClusterTemplateList) DeepCopy() *AWSClusterTemplateList { 479 if in == nil { 480 return nil 481 } 482 out := new(AWSClusterTemplateList) 483 in.DeepCopyInto(out) 484 return out 485 } 486 487 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 488 func (in *AWSClusterTemplateList) DeepCopyObject() runtime.Object { 489 if c := in.DeepCopy(); c != nil { 490 return c 491 } 492 return nil 493 } 494 495 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 496 func (in *AWSClusterTemplateResource) DeepCopyInto(out *AWSClusterTemplateResource) { 497 *out = *in 498 in.Spec.DeepCopyInto(&out.Spec) 499 } 500 501 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterTemplateResource. 502 func (in *AWSClusterTemplateResource) DeepCopy() *AWSClusterTemplateResource { 503 if in == nil { 504 return nil 505 } 506 out := new(AWSClusterTemplateResource) 507 in.DeepCopyInto(out) 508 return out 509 } 510 511 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 512 func (in *AWSClusterTemplateSpec) DeepCopyInto(out *AWSClusterTemplateSpec) { 513 *out = *in 514 in.Template.DeepCopyInto(&out.Template) 515 } 516 517 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterTemplateSpec. 518 func (in *AWSClusterTemplateSpec) DeepCopy() *AWSClusterTemplateSpec { 519 if in == nil { 520 return nil 521 } 522 out := new(AWSClusterTemplateSpec) 523 in.DeepCopyInto(out) 524 return out 525 } 526 527 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 528 func (in *AWSIdentityReference) DeepCopyInto(out *AWSIdentityReference) { 529 *out = *in 530 } 531 532 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSIdentityReference. 533 func (in *AWSIdentityReference) DeepCopy() *AWSIdentityReference { 534 if in == nil { 535 return nil 536 } 537 out := new(AWSIdentityReference) 538 in.DeepCopyInto(out) 539 return out 540 } 541 542 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 543 func (in *AWSLoadBalancerSpec) DeepCopyInto(out *AWSLoadBalancerSpec) { 544 *out = *in 545 if in.Scheme != nil { 546 in, out := &in.Scheme, &out.Scheme 547 *out = new(ClassicELBScheme) 548 **out = **in 549 } 550 if in.Subnets != nil { 551 in, out := &in.Subnets, &out.Subnets 552 *out = make([]string, len(*in)) 553 copy(*out, *in) 554 } 555 if in.AdditionalSecurityGroups != nil { 556 in, out := &in.AdditionalSecurityGroups, &out.AdditionalSecurityGroups 557 *out = make([]string, len(*in)) 558 copy(*out, *in) 559 } 560 } 561 562 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSLoadBalancerSpec. 563 func (in *AWSLoadBalancerSpec) DeepCopy() *AWSLoadBalancerSpec { 564 if in == nil { 565 return nil 566 } 567 out := new(AWSLoadBalancerSpec) 568 in.DeepCopyInto(out) 569 return out 570 } 571 572 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 573 func (in *AWSMachine) DeepCopyInto(out *AWSMachine) { 574 *out = *in 575 out.TypeMeta = in.TypeMeta 576 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 577 in.Spec.DeepCopyInto(&out.Spec) 578 in.Status.DeepCopyInto(&out.Status) 579 } 580 581 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachine. 582 func (in *AWSMachine) DeepCopy() *AWSMachine { 583 if in == nil { 584 return nil 585 } 586 out := new(AWSMachine) 587 in.DeepCopyInto(out) 588 return out 589 } 590 591 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 592 func (in *AWSMachine) DeepCopyObject() runtime.Object { 593 if c := in.DeepCopy(); c != nil { 594 return c 595 } 596 return nil 597 } 598 599 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 600 func (in *AWSMachineList) DeepCopyInto(out *AWSMachineList) { 601 *out = *in 602 out.TypeMeta = in.TypeMeta 603 in.ListMeta.DeepCopyInto(&out.ListMeta) 604 if in.Items != nil { 605 in, out := &in.Items, &out.Items 606 *out = make([]AWSMachine, len(*in)) 607 for i := range *in { 608 (*in)[i].DeepCopyInto(&(*out)[i]) 609 } 610 } 611 } 612 613 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachineList. 614 func (in *AWSMachineList) DeepCopy() *AWSMachineList { 615 if in == nil { 616 return nil 617 } 618 out := new(AWSMachineList) 619 in.DeepCopyInto(out) 620 return out 621 } 622 623 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 624 func (in *AWSMachineList) DeepCopyObject() runtime.Object { 625 if c := in.DeepCopy(); c != nil { 626 return c 627 } 628 return nil 629 } 630 631 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 632 func (in *AWSMachineSpec) DeepCopyInto(out *AWSMachineSpec) { 633 *out = *in 634 if in.ProviderID != nil { 635 in, out := &in.ProviderID, &out.ProviderID 636 *out = new(string) 637 **out = **in 638 } 639 if in.InstanceID != nil { 640 in, out := &in.InstanceID, &out.InstanceID 641 *out = new(string) 642 **out = **in 643 } 644 in.AMI.DeepCopyInto(&out.AMI) 645 if in.AdditionalTags != nil { 646 in, out := &in.AdditionalTags, &out.AdditionalTags 647 *out = make(Tags, len(*in)) 648 for key, val := range *in { 649 (*out)[key] = val 650 } 651 } 652 if in.PublicIP != nil { 653 in, out := &in.PublicIP, &out.PublicIP 654 *out = new(bool) 655 **out = **in 656 } 657 if in.AdditionalSecurityGroups != nil { 658 in, out := &in.AdditionalSecurityGroups, &out.AdditionalSecurityGroups 659 *out = make([]AWSResourceReference, len(*in)) 660 for i := range *in { 661 (*in)[i].DeepCopyInto(&(*out)[i]) 662 } 663 } 664 if in.FailureDomain != nil { 665 in, out := &in.FailureDomain, &out.FailureDomain 666 *out = new(string) 667 **out = **in 668 } 669 if in.Subnet != nil { 670 in, out := &in.Subnet, &out.Subnet 671 *out = new(AWSResourceReference) 672 (*in).DeepCopyInto(*out) 673 } 674 if in.SSHKeyName != nil { 675 in, out := &in.SSHKeyName, &out.SSHKeyName 676 *out = new(string) 677 **out = **in 678 } 679 if in.RootVolume != nil { 680 in, out := &in.RootVolume, &out.RootVolume 681 *out = new(Volume) 682 (*in).DeepCopyInto(*out) 683 } 684 if in.NonRootVolumes != nil { 685 in, out := &in.NonRootVolumes, &out.NonRootVolumes 686 *out = make([]Volume, len(*in)) 687 for i := range *in { 688 (*in)[i].DeepCopyInto(&(*out)[i]) 689 } 690 } 691 if in.NetworkInterfaces != nil { 692 in, out := &in.NetworkInterfaces, &out.NetworkInterfaces 693 *out = make([]string, len(*in)) 694 copy(*out, *in) 695 } 696 if in.UncompressedUserData != nil { 697 in, out := &in.UncompressedUserData, &out.UncompressedUserData 698 *out = new(bool) 699 **out = **in 700 } 701 out.CloudInit = in.CloudInit 702 if in.SpotMarketOptions != nil { 703 in, out := &in.SpotMarketOptions, &out.SpotMarketOptions 704 *out = new(SpotMarketOptions) 705 (*in).DeepCopyInto(*out) 706 } 707 } 708 709 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachineSpec. 710 func (in *AWSMachineSpec) DeepCopy() *AWSMachineSpec { 711 if in == nil { 712 return nil 713 } 714 out := new(AWSMachineSpec) 715 in.DeepCopyInto(out) 716 return out 717 } 718 719 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 720 func (in *AWSMachineStatus) DeepCopyInto(out *AWSMachineStatus) { 721 *out = *in 722 if in.Addresses != nil { 723 in, out := &in.Addresses, &out.Addresses 724 *out = make([]apiv1alpha4.MachineAddress, len(*in)) 725 copy(*out, *in) 726 } 727 if in.InstanceState != nil { 728 in, out := &in.InstanceState, &out.InstanceState 729 *out = new(InstanceState) 730 **out = **in 731 } 732 if in.FailureReason != nil { 733 in, out := &in.FailureReason, &out.FailureReason 734 *out = new(errors.MachineStatusError) 735 **out = **in 736 } 737 if in.FailureMessage != nil { 738 in, out := &in.FailureMessage, &out.FailureMessage 739 *out = new(string) 740 **out = **in 741 } 742 if in.Conditions != nil { 743 in, out := &in.Conditions, &out.Conditions 744 *out = make(apiv1alpha4.Conditions, len(*in)) 745 for i := range *in { 746 (*in)[i].DeepCopyInto(&(*out)[i]) 747 } 748 } 749 } 750 751 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachineStatus. 752 func (in *AWSMachineStatus) DeepCopy() *AWSMachineStatus { 753 if in == nil { 754 return nil 755 } 756 out := new(AWSMachineStatus) 757 in.DeepCopyInto(out) 758 return out 759 } 760 761 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 762 func (in *AWSMachineTemplate) DeepCopyInto(out *AWSMachineTemplate) { 763 *out = *in 764 out.TypeMeta = in.TypeMeta 765 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 766 in.Spec.DeepCopyInto(&out.Spec) 767 } 768 769 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachineTemplate. 770 func (in *AWSMachineTemplate) DeepCopy() *AWSMachineTemplate { 771 if in == nil { 772 return nil 773 } 774 out := new(AWSMachineTemplate) 775 in.DeepCopyInto(out) 776 return out 777 } 778 779 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 780 func (in *AWSMachineTemplate) DeepCopyObject() runtime.Object { 781 if c := in.DeepCopy(); c != nil { 782 return c 783 } 784 return nil 785 } 786 787 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 788 func (in *AWSMachineTemplateList) DeepCopyInto(out *AWSMachineTemplateList) { 789 *out = *in 790 out.TypeMeta = in.TypeMeta 791 in.ListMeta.DeepCopyInto(&out.ListMeta) 792 if in.Items != nil { 793 in, out := &in.Items, &out.Items 794 *out = make([]AWSMachineTemplate, len(*in)) 795 for i := range *in { 796 (*in)[i].DeepCopyInto(&(*out)[i]) 797 } 798 } 799 } 800 801 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachineTemplateList. 802 func (in *AWSMachineTemplateList) DeepCopy() *AWSMachineTemplateList { 803 if in == nil { 804 return nil 805 } 806 out := new(AWSMachineTemplateList) 807 in.DeepCopyInto(out) 808 return out 809 } 810 811 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 812 func (in *AWSMachineTemplateList) DeepCopyObject() runtime.Object { 813 if c := in.DeepCopy(); c != nil { 814 return c 815 } 816 return nil 817 } 818 819 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 820 func (in *AWSMachineTemplateResource) DeepCopyInto(out *AWSMachineTemplateResource) { 821 *out = *in 822 in.Spec.DeepCopyInto(&out.Spec) 823 } 824 825 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachineTemplateResource. 826 func (in *AWSMachineTemplateResource) DeepCopy() *AWSMachineTemplateResource { 827 if in == nil { 828 return nil 829 } 830 out := new(AWSMachineTemplateResource) 831 in.DeepCopyInto(out) 832 return out 833 } 834 835 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 836 func (in *AWSMachineTemplateSpec) DeepCopyInto(out *AWSMachineTemplateSpec) { 837 *out = *in 838 in.Template.DeepCopyInto(&out.Template) 839 } 840 841 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachineTemplateSpec. 842 func (in *AWSMachineTemplateSpec) DeepCopy() *AWSMachineTemplateSpec { 843 if in == nil { 844 return nil 845 } 846 out := new(AWSMachineTemplateSpec) 847 in.DeepCopyInto(out) 848 return out 849 } 850 851 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 852 func (in *AWSResourceReference) DeepCopyInto(out *AWSResourceReference) { 853 *out = *in 854 if in.ID != nil { 855 in, out := &in.ID, &out.ID 856 *out = new(string) 857 **out = **in 858 } 859 if in.ARN != nil { 860 in, out := &in.ARN, &out.ARN 861 *out = new(string) 862 **out = **in 863 } 864 if in.Filters != nil { 865 in, out := &in.Filters, &out.Filters 866 *out = make([]Filter, len(*in)) 867 for i := range *in { 868 (*in)[i].DeepCopyInto(&(*out)[i]) 869 } 870 } 871 } 872 873 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSResourceReference. 874 func (in *AWSResourceReference) DeepCopy() *AWSResourceReference { 875 if in == nil { 876 return nil 877 } 878 out := new(AWSResourceReference) 879 in.DeepCopyInto(out) 880 return out 881 } 882 883 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 884 func (in *AWSRoleSpec) DeepCopyInto(out *AWSRoleSpec) { 885 *out = *in 886 if in.PolicyARNs != nil { 887 in, out := &in.PolicyARNs, &out.PolicyARNs 888 *out = make([]string, len(*in)) 889 copy(*out, *in) 890 } 891 } 892 893 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSRoleSpec. 894 func (in *AWSRoleSpec) DeepCopy() *AWSRoleSpec { 895 if in == nil { 896 return nil 897 } 898 out := new(AWSRoleSpec) 899 in.DeepCopyInto(out) 900 return out 901 } 902 903 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 904 func (in Actions) DeepCopyInto(out *Actions) { 905 { 906 in := &in 907 *out = make(Actions, len(*in)) 908 copy(*out, *in) 909 } 910 } 911 912 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Actions. 913 func (in Actions) DeepCopy() Actions { 914 if in == nil { 915 return nil 916 } 917 out := new(Actions) 918 in.DeepCopyInto(out) 919 return *out 920 } 921 922 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 923 func (in *AllowedNamespaces) DeepCopyInto(out *AllowedNamespaces) { 924 *out = *in 925 if in.NamespaceList != nil { 926 in, out := &in.NamespaceList, &out.NamespaceList 927 *out = make([]string, len(*in)) 928 copy(*out, *in) 929 } 930 in.Selector.DeepCopyInto(&out.Selector) 931 } 932 933 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedNamespaces. 934 func (in *AllowedNamespaces) DeepCopy() *AllowedNamespaces { 935 if in == nil { 936 return nil 937 } 938 out := new(AllowedNamespaces) 939 in.DeepCopyInto(out) 940 return out 941 } 942 943 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 944 func (in *Bastion) DeepCopyInto(out *Bastion) { 945 *out = *in 946 if in.AllowedCIDRBlocks != nil { 947 in, out := &in.AllowedCIDRBlocks, &out.AllowedCIDRBlocks 948 *out = make([]string, len(*in)) 949 copy(*out, *in) 950 } 951 } 952 953 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Bastion. 954 func (in *Bastion) DeepCopy() *Bastion { 955 if in == nil { 956 return nil 957 } 958 out := new(Bastion) 959 in.DeepCopyInto(out) 960 return out 961 } 962 963 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 964 func (in *BuildParams) DeepCopyInto(out *BuildParams) { 965 *out = *in 966 if in.Name != nil { 967 in, out := &in.Name, &out.Name 968 *out = new(string) 969 **out = **in 970 } 971 if in.Role != nil { 972 in, out := &in.Role, &out.Role 973 *out = new(string) 974 **out = **in 975 } 976 if in.Additional != nil { 977 in, out := &in.Additional, &out.Additional 978 *out = make(Tags, len(*in)) 979 for key, val := range *in { 980 (*out)[key] = val 981 } 982 } 983 } 984 985 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildParams. 986 func (in *BuildParams) DeepCopy() *BuildParams { 987 if in == nil { 988 return nil 989 } 990 out := new(BuildParams) 991 in.DeepCopyInto(out) 992 return out 993 } 994 995 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 996 func (in *CNIIngressRule) DeepCopyInto(out *CNIIngressRule) { 997 *out = *in 998 } 999 1000 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CNIIngressRule. 1001 func (in *CNIIngressRule) DeepCopy() *CNIIngressRule { 1002 if in == nil { 1003 return nil 1004 } 1005 out := new(CNIIngressRule) 1006 in.DeepCopyInto(out) 1007 return out 1008 } 1009 1010 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1011 func (in CNIIngressRules) DeepCopyInto(out *CNIIngressRules) { 1012 { 1013 in := &in 1014 *out = make(CNIIngressRules, len(*in)) 1015 copy(*out, *in) 1016 } 1017 } 1018 1019 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CNIIngressRules. 1020 func (in CNIIngressRules) DeepCopy() CNIIngressRules { 1021 if in == nil { 1022 return nil 1023 } 1024 out := new(CNIIngressRules) 1025 in.DeepCopyInto(out) 1026 return *out 1027 } 1028 1029 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1030 func (in *CNISpec) DeepCopyInto(out *CNISpec) { 1031 *out = *in 1032 if in.CNIIngressRules != nil { 1033 in, out := &in.CNIIngressRules, &out.CNIIngressRules 1034 *out = make(CNIIngressRules, len(*in)) 1035 copy(*out, *in) 1036 } 1037 } 1038 1039 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CNISpec. 1040 func (in *CNISpec) DeepCopy() *CNISpec { 1041 if in == nil { 1042 return nil 1043 } 1044 out := new(CNISpec) 1045 in.DeepCopyInto(out) 1046 return out 1047 } 1048 1049 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1050 func (in *ClassicELB) DeepCopyInto(out *ClassicELB) { 1051 *out = *in 1052 if in.AvailabilityZones != nil { 1053 in, out := &in.AvailabilityZones, &out.AvailabilityZones 1054 *out = make([]string, len(*in)) 1055 copy(*out, *in) 1056 } 1057 if in.SubnetIDs != nil { 1058 in, out := &in.SubnetIDs, &out.SubnetIDs 1059 *out = make([]string, len(*in)) 1060 copy(*out, *in) 1061 } 1062 if in.SecurityGroupIDs != nil { 1063 in, out := &in.SecurityGroupIDs, &out.SecurityGroupIDs 1064 *out = make([]string, len(*in)) 1065 copy(*out, *in) 1066 } 1067 if in.Listeners != nil { 1068 in, out := &in.Listeners, &out.Listeners 1069 *out = make([]ClassicELBListener, len(*in)) 1070 copy(*out, *in) 1071 } 1072 if in.HealthCheck != nil { 1073 in, out := &in.HealthCheck, &out.HealthCheck 1074 *out = new(ClassicELBHealthCheck) 1075 **out = **in 1076 } 1077 out.Attributes = in.Attributes 1078 if in.Tags != nil { 1079 in, out := &in.Tags, &out.Tags 1080 *out = make(map[string]string, len(*in)) 1081 for key, val := range *in { 1082 (*out)[key] = val 1083 } 1084 } 1085 } 1086 1087 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClassicELB. 1088 func (in *ClassicELB) DeepCopy() *ClassicELB { 1089 if in == nil { 1090 return nil 1091 } 1092 out := new(ClassicELB) 1093 in.DeepCopyInto(out) 1094 return out 1095 } 1096 1097 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1098 func (in *ClassicELBAttributes) DeepCopyInto(out *ClassicELBAttributes) { 1099 *out = *in 1100 } 1101 1102 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClassicELBAttributes. 1103 func (in *ClassicELBAttributes) DeepCopy() *ClassicELBAttributes { 1104 if in == nil { 1105 return nil 1106 } 1107 out := new(ClassicELBAttributes) 1108 in.DeepCopyInto(out) 1109 return out 1110 } 1111 1112 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1113 func (in *ClassicELBHealthCheck) DeepCopyInto(out *ClassicELBHealthCheck) { 1114 *out = *in 1115 } 1116 1117 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClassicELBHealthCheck. 1118 func (in *ClassicELBHealthCheck) DeepCopy() *ClassicELBHealthCheck { 1119 if in == nil { 1120 return nil 1121 } 1122 out := new(ClassicELBHealthCheck) 1123 in.DeepCopyInto(out) 1124 return out 1125 } 1126 1127 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1128 func (in *ClassicELBListener) DeepCopyInto(out *ClassicELBListener) { 1129 *out = *in 1130 } 1131 1132 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClassicELBListener. 1133 func (in *ClassicELBListener) DeepCopy() *ClassicELBListener { 1134 if in == nil { 1135 return nil 1136 } 1137 out := new(ClassicELBListener) 1138 in.DeepCopyInto(out) 1139 return out 1140 } 1141 1142 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1143 func (in *CloudInit) DeepCopyInto(out *CloudInit) { 1144 *out = *in 1145 } 1146 1147 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudInit. 1148 func (in *CloudInit) DeepCopy() *CloudInit { 1149 if in == nil { 1150 return nil 1151 } 1152 out := new(CloudInit) 1153 in.DeepCopyInto(out) 1154 return out 1155 } 1156 1157 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1158 func (in *Filter) DeepCopyInto(out *Filter) { 1159 *out = *in 1160 if in.Values != nil { 1161 in, out := &in.Values, &out.Values 1162 *out = make([]string, len(*in)) 1163 copy(*out, *in) 1164 } 1165 } 1166 1167 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Filter. 1168 func (in *Filter) DeepCopy() *Filter { 1169 if in == nil { 1170 return nil 1171 } 1172 out := new(Filter) 1173 in.DeepCopyInto(out) 1174 return out 1175 } 1176 1177 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1178 func (in *IngressRule) DeepCopyInto(out *IngressRule) { 1179 *out = *in 1180 if in.CidrBlocks != nil { 1181 in, out := &in.CidrBlocks, &out.CidrBlocks 1182 *out = make([]string, len(*in)) 1183 copy(*out, *in) 1184 } 1185 if in.SourceSecurityGroupIDs != nil { 1186 in, out := &in.SourceSecurityGroupIDs, &out.SourceSecurityGroupIDs 1187 *out = make([]string, len(*in)) 1188 copy(*out, *in) 1189 } 1190 } 1191 1192 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRule. 1193 func (in *IngressRule) DeepCopy() *IngressRule { 1194 if in == nil { 1195 return nil 1196 } 1197 out := new(IngressRule) 1198 in.DeepCopyInto(out) 1199 return out 1200 } 1201 1202 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1203 func (in IngressRules) DeepCopyInto(out *IngressRules) { 1204 { 1205 in := &in 1206 *out = make(IngressRules, len(*in)) 1207 for i := range *in { 1208 (*in)[i].DeepCopyInto(&(*out)[i]) 1209 } 1210 } 1211 } 1212 1213 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRules. 1214 func (in IngressRules) DeepCopy() IngressRules { 1215 if in == nil { 1216 return nil 1217 } 1218 out := new(IngressRules) 1219 in.DeepCopyInto(out) 1220 return *out 1221 } 1222 1223 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1224 func (in *Instance) DeepCopyInto(out *Instance) { 1225 *out = *in 1226 if in.SSHKeyName != nil { 1227 in, out := &in.SSHKeyName, &out.SSHKeyName 1228 *out = new(string) 1229 **out = **in 1230 } 1231 if in.SecurityGroupIDs != nil { 1232 in, out := &in.SecurityGroupIDs, &out.SecurityGroupIDs 1233 *out = make([]string, len(*in)) 1234 copy(*out, *in) 1235 } 1236 if in.UserData != nil { 1237 in, out := &in.UserData, &out.UserData 1238 *out = new(string) 1239 **out = **in 1240 } 1241 if in.Addresses != nil { 1242 in, out := &in.Addresses, &out.Addresses 1243 *out = make([]apiv1alpha4.MachineAddress, len(*in)) 1244 copy(*out, *in) 1245 } 1246 if in.PrivateIP != nil { 1247 in, out := &in.PrivateIP, &out.PrivateIP 1248 *out = new(string) 1249 **out = **in 1250 } 1251 if in.PublicIP != nil { 1252 in, out := &in.PublicIP, &out.PublicIP 1253 *out = new(string) 1254 **out = **in 1255 } 1256 if in.ENASupport != nil { 1257 in, out := &in.ENASupport, &out.ENASupport 1258 *out = new(bool) 1259 **out = **in 1260 } 1261 if in.EBSOptimized != nil { 1262 in, out := &in.EBSOptimized, &out.EBSOptimized 1263 *out = new(bool) 1264 **out = **in 1265 } 1266 if in.RootVolume != nil { 1267 in, out := &in.RootVolume, &out.RootVolume 1268 *out = new(Volume) 1269 (*in).DeepCopyInto(*out) 1270 } 1271 if in.NonRootVolumes != nil { 1272 in, out := &in.NonRootVolumes, &out.NonRootVolumes 1273 *out = make([]Volume, len(*in)) 1274 for i := range *in { 1275 (*in)[i].DeepCopyInto(&(*out)[i]) 1276 } 1277 } 1278 if in.NetworkInterfaces != nil { 1279 in, out := &in.NetworkInterfaces, &out.NetworkInterfaces 1280 *out = make([]string, len(*in)) 1281 copy(*out, *in) 1282 } 1283 if in.Tags != nil { 1284 in, out := &in.Tags, &out.Tags 1285 *out = make(map[string]string, len(*in)) 1286 for key, val := range *in { 1287 (*out)[key] = val 1288 } 1289 } 1290 if in.SpotMarketOptions != nil { 1291 in, out := &in.SpotMarketOptions, &out.SpotMarketOptions 1292 *out = new(SpotMarketOptions) 1293 (*in).DeepCopyInto(*out) 1294 } 1295 if in.VolumeIDs != nil { 1296 in, out := &in.VolumeIDs, &out.VolumeIDs 1297 *out = make([]string, len(*in)) 1298 copy(*out, *in) 1299 } 1300 } 1301 1302 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Instance. 1303 func (in *Instance) DeepCopy() *Instance { 1304 if in == nil { 1305 return nil 1306 } 1307 out := new(Instance) 1308 in.DeepCopyInto(out) 1309 return out 1310 } 1311 1312 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1313 func (in *NetworkSpec) DeepCopyInto(out *NetworkSpec) { 1314 *out = *in 1315 in.VPC.DeepCopyInto(&out.VPC) 1316 if in.Subnets != nil { 1317 in, out := &in.Subnets, &out.Subnets 1318 *out = make(Subnets, len(*in)) 1319 for i := range *in { 1320 (*in)[i].DeepCopyInto(&(*out)[i]) 1321 } 1322 } 1323 if in.CNI != nil { 1324 in, out := &in.CNI, &out.CNI 1325 *out = new(CNISpec) 1326 (*in).DeepCopyInto(*out) 1327 } 1328 if in.SecurityGroupOverrides != nil { 1329 in, out := &in.SecurityGroupOverrides, &out.SecurityGroupOverrides 1330 *out = make(map[SecurityGroupRole]string, len(*in)) 1331 for key, val := range *in { 1332 (*out)[key] = val 1333 } 1334 } 1335 } 1336 1337 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkSpec. 1338 func (in *NetworkSpec) DeepCopy() *NetworkSpec { 1339 if in == nil { 1340 return nil 1341 } 1342 out := new(NetworkSpec) 1343 in.DeepCopyInto(out) 1344 return out 1345 } 1346 1347 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1348 func (in *NetworkStatus) DeepCopyInto(out *NetworkStatus) { 1349 *out = *in 1350 if in.SecurityGroups != nil { 1351 in, out := &in.SecurityGroups, &out.SecurityGroups 1352 *out = make(map[SecurityGroupRole]SecurityGroup, len(*in)) 1353 for key, val := range *in { 1354 (*out)[key] = *val.DeepCopy() 1355 } 1356 } 1357 in.APIServerELB.DeepCopyInto(&out.APIServerELB) 1358 } 1359 1360 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkStatus. 1361 func (in *NetworkStatus) DeepCopy() *NetworkStatus { 1362 if in == nil { 1363 return nil 1364 } 1365 out := new(NetworkStatus) 1366 in.DeepCopyInto(out) 1367 return out 1368 } 1369 1370 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1371 func (in *PolicyDocument) DeepCopyInto(out *PolicyDocument) { 1372 *out = *in 1373 if in.Statement != nil { 1374 in, out := &in.Statement, &out.Statement 1375 *out = make(Statements, len(*in)) 1376 for i := range *in { 1377 (*in)[i].DeepCopyInto(&(*out)[i]) 1378 } 1379 } 1380 } 1381 1382 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyDocument. 1383 func (in *PolicyDocument) DeepCopy() *PolicyDocument { 1384 if in == nil { 1385 return nil 1386 } 1387 out := new(PolicyDocument) 1388 in.DeepCopyInto(out) 1389 return out 1390 } 1391 1392 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1393 func (in PrincipalID) DeepCopyInto(out *PrincipalID) { 1394 { 1395 in := &in 1396 *out = make(PrincipalID, len(*in)) 1397 copy(*out, *in) 1398 } 1399 } 1400 1401 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrincipalID. 1402 func (in PrincipalID) DeepCopy() PrincipalID { 1403 if in == nil { 1404 return nil 1405 } 1406 out := new(PrincipalID) 1407 in.DeepCopyInto(out) 1408 return *out 1409 } 1410 1411 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1412 func (in Principals) DeepCopyInto(out *Principals) { 1413 { 1414 in := &in 1415 *out = make(Principals, len(*in)) 1416 for key, val := range *in { 1417 var outVal []string 1418 if val == nil { 1419 (*out)[key] = nil 1420 } else { 1421 in, out := &val, &outVal 1422 *out = make(PrincipalID, len(*in)) 1423 copy(*out, *in) 1424 } 1425 (*out)[key] = outVal 1426 } 1427 } 1428 } 1429 1430 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Principals. 1431 func (in Principals) DeepCopy() Principals { 1432 if in == nil { 1433 return nil 1434 } 1435 out := new(Principals) 1436 in.DeepCopyInto(out) 1437 return *out 1438 } 1439 1440 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1441 func (in Resources) DeepCopyInto(out *Resources) { 1442 { 1443 in := &in 1444 *out = make(Resources, len(*in)) 1445 copy(*out, *in) 1446 } 1447 } 1448 1449 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Resources. 1450 func (in Resources) DeepCopy() Resources { 1451 if in == nil { 1452 return nil 1453 } 1454 out := new(Resources) 1455 in.DeepCopyInto(out) 1456 return *out 1457 } 1458 1459 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1460 func (in *RouteTable) DeepCopyInto(out *RouteTable) { 1461 *out = *in 1462 } 1463 1464 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteTable. 1465 func (in *RouteTable) DeepCopy() *RouteTable { 1466 if in == nil { 1467 return nil 1468 } 1469 out := new(RouteTable) 1470 in.DeepCopyInto(out) 1471 return out 1472 } 1473 1474 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1475 func (in *SecurityGroup) DeepCopyInto(out *SecurityGroup) { 1476 *out = *in 1477 if in.IngressRules != nil { 1478 in, out := &in.IngressRules, &out.IngressRules 1479 *out = make(IngressRules, len(*in)) 1480 for i := range *in { 1481 (*in)[i].DeepCopyInto(&(*out)[i]) 1482 } 1483 } 1484 if in.Tags != nil { 1485 in, out := &in.Tags, &out.Tags 1486 *out = make(Tags, len(*in)) 1487 for key, val := range *in { 1488 (*out)[key] = val 1489 } 1490 } 1491 } 1492 1493 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroup. 1494 func (in *SecurityGroup) DeepCopy() *SecurityGroup { 1495 if in == nil { 1496 return nil 1497 } 1498 out := new(SecurityGroup) 1499 in.DeepCopyInto(out) 1500 return out 1501 } 1502 1503 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1504 func (in *SpotMarketOptions) DeepCopyInto(out *SpotMarketOptions) { 1505 *out = *in 1506 if in.MaxPrice != nil { 1507 in, out := &in.MaxPrice, &out.MaxPrice 1508 *out = new(string) 1509 **out = **in 1510 } 1511 } 1512 1513 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpotMarketOptions. 1514 func (in *SpotMarketOptions) DeepCopy() *SpotMarketOptions { 1515 if in == nil { 1516 return nil 1517 } 1518 out := new(SpotMarketOptions) 1519 in.DeepCopyInto(out) 1520 return out 1521 } 1522 1523 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1524 func (in *StatementEntry) DeepCopyInto(out *StatementEntry) { 1525 *out = *in 1526 if in.Principal != nil { 1527 in, out := &in.Principal, &out.Principal 1528 *out = make(Principals, len(*in)) 1529 for key, val := range *in { 1530 var outVal []string 1531 if val == nil { 1532 (*out)[key] = nil 1533 } else { 1534 in, out := &val, &outVal 1535 *out = make(PrincipalID, len(*in)) 1536 copy(*out, *in) 1537 } 1538 (*out)[key] = outVal 1539 } 1540 } 1541 if in.NotPrincipal != nil { 1542 in, out := &in.NotPrincipal, &out.NotPrincipal 1543 *out = make(Principals, len(*in)) 1544 for key, val := range *in { 1545 var outVal []string 1546 if val == nil { 1547 (*out)[key] = nil 1548 } else { 1549 in, out := &val, &outVal 1550 *out = make(PrincipalID, len(*in)) 1551 copy(*out, *in) 1552 } 1553 (*out)[key] = outVal 1554 } 1555 } 1556 if in.Action != nil { 1557 in, out := &in.Action, &out.Action 1558 *out = make(Actions, len(*in)) 1559 copy(*out, *in) 1560 } 1561 if in.Resource != nil { 1562 in, out := &in.Resource, &out.Resource 1563 *out = make(Resources, len(*in)) 1564 copy(*out, *in) 1565 } 1566 out.Condition = in.Condition.DeepCopy() 1567 } 1568 1569 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatementEntry. 1570 func (in *StatementEntry) DeepCopy() *StatementEntry { 1571 if in == nil { 1572 return nil 1573 } 1574 out := new(StatementEntry) 1575 in.DeepCopyInto(out) 1576 return out 1577 } 1578 1579 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1580 func (in Statements) DeepCopyInto(out *Statements) { 1581 { 1582 in := &in 1583 *out = make(Statements, len(*in)) 1584 for i := range *in { 1585 (*in)[i].DeepCopyInto(&(*out)[i]) 1586 } 1587 } 1588 } 1589 1590 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Statements. 1591 func (in Statements) DeepCopy() Statements { 1592 if in == nil { 1593 return nil 1594 } 1595 out := new(Statements) 1596 in.DeepCopyInto(out) 1597 return *out 1598 } 1599 1600 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1601 func (in *SubnetSpec) DeepCopyInto(out *SubnetSpec) { 1602 *out = *in 1603 if in.RouteTableID != nil { 1604 in, out := &in.RouteTableID, &out.RouteTableID 1605 *out = new(string) 1606 **out = **in 1607 } 1608 if in.NatGatewayID != nil { 1609 in, out := &in.NatGatewayID, &out.NatGatewayID 1610 *out = new(string) 1611 **out = **in 1612 } 1613 if in.Tags != nil { 1614 in, out := &in.Tags, &out.Tags 1615 *out = make(Tags, len(*in)) 1616 for key, val := range *in { 1617 (*out)[key] = val 1618 } 1619 } 1620 } 1621 1622 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetSpec. 1623 func (in *SubnetSpec) DeepCopy() *SubnetSpec { 1624 if in == nil { 1625 return nil 1626 } 1627 out := new(SubnetSpec) 1628 in.DeepCopyInto(out) 1629 return out 1630 } 1631 1632 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1633 func (in Subnets) DeepCopyInto(out *Subnets) { 1634 { 1635 in := &in 1636 *out = make(Subnets, len(*in)) 1637 for i := range *in { 1638 (*in)[i].DeepCopyInto(&(*out)[i]) 1639 } 1640 } 1641 } 1642 1643 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subnets. 1644 func (in Subnets) DeepCopy() Subnets { 1645 if in == nil { 1646 return nil 1647 } 1648 out := new(Subnets) 1649 in.DeepCopyInto(out) 1650 return *out 1651 } 1652 1653 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1654 func (in Tags) DeepCopyInto(out *Tags) { 1655 { 1656 in := &in 1657 *out = make(Tags, len(*in)) 1658 for key, val := range *in { 1659 (*out)[key] = val 1660 } 1661 } 1662 } 1663 1664 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tags. 1665 func (in Tags) DeepCopy() Tags { 1666 if in == nil { 1667 return nil 1668 } 1669 out := new(Tags) 1670 in.DeepCopyInto(out) 1671 return *out 1672 } 1673 1674 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1675 func (in *VPCSpec) DeepCopyInto(out *VPCSpec) { 1676 *out = *in 1677 if in.InternetGatewayID != nil { 1678 in, out := &in.InternetGatewayID, &out.InternetGatewayID 1679 *out = new(string) 1680 **out = **in 1681 } 1682 if in.Tags != nil { 1683 in, out := &in.Tags, &out.Tags 1684 *out = make(Tags, len(*in)) 1685 for key, val := range *in { 1686 (*out)[key] = val 1687 } 1688 } 1689 if in.AvailabilityZoneUsageLimit != nil { 1690 in, out := &in.AvailabilityZoneUsageLimit, &out.AvailabilityZoneUsageLimit 1691 *out = new(int) 1692 **out = **in 1693 } 1694 if in.AvailabilityZoneSelection != nil { 1695 in, out := &in.AvailabilityZoneSelection, &out.AvailabilityZoneSelection 1696 *out = new(AZSelectionScheme) 1697 **out = **in 1698 } 1699 } 1700 1701 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCSpec. 1702 func (in *VPCSpec) DeepCopy() *VPCSpec { 1703 if in == nil { 1704 return nil 1705 } 1706 out := new(VPCSpec) 1707 in.DeepCopyInto(out) 1708 return out 1709 } 1710 1711 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1712 func (in *Volume) DeepCopyInto(out *Volume) { 1713 *out = *in 1714 if in.Throughput != nil { 1715 in, out := &in.Throughput, &out.Throughput 1716 *out = new(int64) 1717 **out = **in 1718 } 1719 if in.Encrypted != nil { 1720 in, out := &in.Encrypted, &out.Encrypted 1721 *out = new(bool) 1722 **out = **in 1723 } 1724 } 1725 1726 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Volume. 1727 func (in *Volume) DeepCopy() *Volume { 1728 if in == nil { 1729 return nil 1730 } 1731 out := new(Volume) 1732 in.DeepCopyInto(out) 1733 return out 1734 }