sigs.k8s.io/cluster-api-provider-aws@v1.5.5/exp/api/v1alpha3/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 v1alpha3 23 24 import ( 25 "k8s.io/apimachinery/pkg/runtime" 26 apiv1alpha3 "sigs.k8s.io/cluster-api-provider-aws/api/v1alpha3" 27 cluster_apiapiv1alpha3 "sigs.k8s.io/cluster-api/api/v1alpha3" 28 "sigs.k8s.io/cluster-api/errors" 29 ) 30 31 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 32 func (in *AWSFargateProfile) DeepCopyInto(out *AWSFargateProfile) { 33 *out = *in 34 out.TypeMeta = in.TypeMeta 35 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 36 in.Spec.DeepCopyInto(&out.Spec) 37 in.Status.DeepCopyInto(&out.Status) 38 } 39 40 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSFargateProfile. 41 func (in *AWSFargateProfile) DeepCopy() *AWSFargateProfile { 42 if in == nil { 43 return nil 44 } 45 out := new(AWSFargateProfile) 46 in.DeepCopyInto(out) 47 return out 48 } 49 50 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 51 func (in *AWSFargateProfile) DeepCopyObject() runtime.Object { 52 if c := in.DeepCopy(); c != nil { 53 return c 54 } 55 return nil 56 } 57 58 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 59 func (in *AWSFargateProfileList) DeepCopyInto(out *AWSFargateProfileList) { 60 *out = *in 61 out.TypeMeta = in.TypeMeta 62 in.ListMeta.DeepCopyInto(&out.ListMeta) 63 if in.Items != nil { 64 in, out := &in.Items, &out.Items 65 *out = make([]AWSFargateProfile, len(*in)) 66 for i := range *in { 67 (*in)[i].DeepCopyInto(&(*out)[i]) 68 } 69 } 70 } 71 72 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSFargateProfileList. 73 func (in *AWSFargateProfileList) DeepCopy() *AWSFargateProfileList { 74 if in == nil { 75 return nil 76 } 77 out := new(AWSFargateProfileList) 78 in.DeepCopyInto(out) 79 return out 80 } 81 82 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 83 func (in *AWSFargateProfileList) DeepCopyObject() runtime.Object { 84 if c := in.DeepCopy(); c != nil { 85 return c 86 } 87 return nil 88 } 89 90 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 91 func (in *AWSLaunchTemplate) DeepCopyInto(out *AWSLaunchTemplate) { 92 *out = *in 93 in.AMI.DeepCopyInto(&out.AMI) 94 if in.RootVolume != nil { 95 in, out := &in.RootVolume, &out.RootVolume 96 *out = new(apiv1alpha3.Volume) 97 **out = **in 98 } 99 if in.SSHKeyName != nil { 100 in, out := &in.SSHKeyName, &out.SSHKeyName 101 *out = new(string) 102 **out = **in 103 } 104 if in.VersionNumber != nil { 105 in, out := &in.VersionNumber, &out.VersionNumber 106 *out = new(int64) 107 **out = **in 108 } 109 if in.AdditionalSecurityGroups != nil { 110 in, out := &in.AdditionalSecurityGroups, &out.AdditionalSecurityGroups 111 *out = make([]apiv1alpha3.AWSResourceReference, len(*in)) 112 for i := range *in { 113 (*in)[i].DeepCopyInto(&(*out)[i]) 114 } 115 } 116 } 117 118 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSLaunchTemplate. 119 func (in *AWSLaunchTemplate) DeepCopy() *AWSLaunchTemplate { 120 if in == nil { 121 return nil 122 } 123 out := new(AWSLaunchTemplate) 124 in.DeepCopyInto(out) 125 return out 126 } 127 128 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 129 func (in *AWSMachinePool) DeepCopyInto(out *AWSMachinePool) { 130 *out = *in 131 out.TypeMeta = in.TypeMeta 132 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 133 in.Spec.DeepCopyInto(&out.Spec) 134 in.Status.DeepCopyInto(&out.Status) 135 } 136 137 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachinePool. 138 func (in *AWSMachinePool) DeepCopy() *AWSMachinePool { 139 if in == nil { 140 return nil 141 } 142 out := new(AWSMachinePool) 143 in.DeepCopyInto(out) 144 return out 145 } 146 147 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 148 func (in *AWSMachinePool) DeepCopyObject() runtime.Object { 149 if c := in.DeepCopy(); c != nil { 150 return c 151 } 152 return nil 153 } 154 155 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 156 func (in *AWSMachinePoolInstanceStatus) DeepCopyInto(out *AWSMachinePoolInstanceStatus) { 157 *out = *in 158 if in.Version != nil { 159 in, out := &in.Version, &out.Version 160 *out = new(string) 161 **out = **in 162 } 163 } 164 165 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachinePoolInstanceStatus. 166 func (in *AWSMachinePoolInstanceStatus) DeepCopy() *AWSMachinePoolInstanceStatus { 167 if in == nil { 168 return nil 169 } 170 out := new(AWSMachinePoolInstanceStatus) 171 in.DeepCopyInto(out) 172 return out 173 } 174 175 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 176 func (in *AWSMachinePoolList) DeepCopyInto(out *AWSMachinePoolList) { 177 *out = *in 178 out.TypeMeta = in.TypeMeta 179 in.ListMeta.DeepCopyInto(&out.ListMeta) 180 if in.Items != nil { 181 in, out := &in.Items, &out.Items 182 *out = make([]AWSMachinePool, len(*in)) 183 for i := range *in { 184 (*in)[i].DeepCopyInto(&(*out)[i]) 185 } 186 } 187 } 188 189 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachinePoolList. 190 func (in *AWSMachinePoolList) DeepCopy() *AWSMachinePoolList { 191 if in == nil { 192 return nil 193 } 194 out := new(AWSMachinePoolList) 195 in.DeepCopyInto(out) 196 return out 197 } 198 199 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 200 func (in *AWSMachinePoolList) DeepCopyObject() runtime.Object { 201 if c := in.DeepCopy(); c != nil { 202 return c 203 } 204 return nil 205 } 206 207 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 208 func (in *AWSMachinePoolSpec) DeepCopyInto(out *AWSMachinePoolSpec) { 209 *out = *in 210 if in.AvailabilityZones != nil { 211 in, out := &in.AvailabilityZones, &out.AvailabilityZones 212 *out = make([]string, len(*in)) 213 copy(*out, *in) 214 } 215 if in.Subnets != nil { 216 in, out := &in.Subnets, &out.Subnets 217 *out = make([]apiv1alpha3.AWSResourceReference, len(*in)) 218 for i := range *in { 219 (*in)[i].DeepCopyInto(&(*out)[i]) 220 } 221 } 222 if in.AdditionalTags != nil { 223 in, out := &in.AdditionalTags, &out.AdditionalTags 224 *out = make(apiv1alpha3.Tags, len(*in)) 225 for key, val := range *in { 226 (*out)[key] = val 227 } 228 } 229 in.AWSLaunchTemplate.DeepCopyInto(&out.AWSLaunchTemplate) 230 if in.MixedInstancesPolicy != nil { 231 in, out := &in.MixedInstancesPolicy, &out.MixedInstancesPolicy 232 *out = new(MixedInstancesPolicy) 233 (*in).DeepCopyInto(*out) 234 } 235 if in.ProviderIDList != nil { 236 in, out := &in.ProviderIDList, &out.ProviderIDList 237 *out = make([]string, len(*in)) 238 copy(*out, *in) 239 } 240 out.DefaultCoolDown = in.DefaultCoolDown 241 if in.RefreshPreferences != nil { 242 in, out := &in.RefreshPreferences, &out.RefreshPreferences 243 *out = new(RefreshPreferences) 244 (*in).DeepCopyInto(*out) 245 } 246 } 247 248 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachinePoolSpec. 249 func (in *AWSMachinePoolSpec) DeepCopy() *AWSMachinePoolSpec { 250 if in == nil { 251 return nil 252 } 253 out := new(AWSMachinePoolSpec) 254 in.DeepCopyInto(out) 255 return out 256 } 257 258 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 259 func (in *AWSMachinePoolStatus) DeepCopyInto(out *AWSMachinePoolStatus) { 260 *out = *in 261 if in.Conditions != nil { 262 in, out := &in.Conditions, &out.Conditions 263 *out = make(cluster_apiapiv1alpha3.Conditions, len(*in)) 264 for i := range *in { 265 (*in)[i].DeepCopyInto(&(*out)[i]) 266 } 267 } 268 if in.Instances != nil { 269 in, out := &in.Instances, &out.Instances 270 *out = make([]AWSMachinePoolInstanceStatus, len(*in)) 271 for i := range *in { 272 (*in)[i].DeepCopyInto(&(*out)[i]) 273 } 274 } 275 if in.FailureReason != nil { 276 in, out := &in.FailureReason, &out.FailureReason 277 *out = new(errors.MachineStatusError) 278 **out = **in 279 } 280 if in.FailureMessage != nil { 281 in, out := &in.FailureMessage, &out.FailureMessage 282 *out = new(string) 283 **out = **in 284 } 285 if in.ASGStatus != nil { 286 in, out := &in.ASGStatus, &out.ASGStatus 287 *out = new(ASGStatus) 288 **out = **in 289 } 290 } 291 292 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachinePoolStatus. 293 func (in *AWSMachinePoolStatus) DeepCopy() *AWSMachinePoolStatus { 294 if in == nil { 295 return nil 296 } 297 out := new(AWSMachinePoolStatus) 298 in.DeepCopyInto(out) 299 return out 300 } 301 302 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 303 func (in *AWSManagedCluster) DeepCopyInto(out *AWSManagedCluster) { 304 *out = *in 305 out.TypeMeta = in.TypeMeta 306 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 307 out.Spec = in.Spec 308 in.Status.DeepCopyInto(&out.Status) 309 } 310 311 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSManagedCluster. 312 func (in *AWSManagedCluster) DeepCopy() *AWSManagedCluster { 313 if in == nil { 314 return nil 315 } 316 out := new(AWSManagedCluster) 317 in.DeepCopyInto(out) 318 return out 319 } 320 321 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 322 func (in *AWSManagedCluster) DeepCopyObject() runtime.Object { 323 if c := in.DeepCopy(); c != nil { 324 return c 325 } 326 return nil 327 } 328 329 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 330 func (in *AWSManagedClusterList) DeepCopyInto(out *AWSManagedClusterList) { 331 *out = *in 332 out.TypeMeta = in.TypeMeta 333 in.ListMeta.DeepCopyInto(&out.ListMeta) 334 if in.Items != nil { 335 in, out := &in.Items, &out.Items 336 *out = make([]AWSManagedCluster, len(*in)) 337 for i := range *in { 338 (*in)[i].DeepCopyInto(&(*out)[i]) 339 } 340 } 341 } 342 343 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSManagedClusterList. 344 func (in *AWSManagedClusterList) DeepCopy() *AWSManagedClusterList { 345 if in == nil { 346 return nil 347 } 348 out := new(AWSManagedClusterList) 349 in.DeepCopyInto(out) 350 return out 351 } 352 353 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 354 func (in *AWSManagedClusterList) DeepCopyObject() runtime.Object { 355 if c := in.DeepCopy(); c != nil { 356 return c 357 } 358 return nil 359 } 360 361 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 362 func (in *AWSManagedClusterSpec) DeepCopyInto(out *AWSManagedClusterSpec) { 363 *out = *in 364 out.ControlPlaneEndpoint = in.ControlPlaneEndpoint 365 } 366 367 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSManagedClusterSpec. 368 func (in *AWSManagedClusterSpec) DeepCopy() *AWSManagedClusterSpec { 369 if in == nil { 370 return nil 371 } 372 out := new(AWSManagedClusterSpec) 373 in.DeepCopyInto(out) 374 return out 375 } 376 377 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 378 func (in *AWSManagedClusterStatus) DeepCopyInto(out *AWSManagedClusterStatus) { 379 *out = *in 380 if in.FailureDomains != nil { 381 in, out := &in.FailureDomains, &out.FailureDomains 382 *out = make(cluster_apiapiv1alpha3.FailureDomains, len(*in)) 383 for key, val := range *in { 384 (*out)[key] = *val.DeepCopy() 385 } 386 } 387 } 388 389 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSManagedClusterStatus. 390 func (in *AWSManagedClusterStatus) DeepCopy() *AWSManagedClusterStatus { 391 if in == nil { 392 return nil 393 } 394 out := new(AWSManagedClusterStatus) 395 in.DeepCopyInto(out) 396 return out 397 } 398 399 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 400 func (in *AWSManagedMachinePool) DeepCopyInto(out *AWSManagedMachinePool) { 401 *out = *in 402 out.TypeMeta = in.TypeMeta 403 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 404 in.Spec.DeepCopyInto(&out.Spec) 405 in.Status.DeepCopyInto(&out.Status) 406 } 407 408 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSManagedMachinePool. 409 func (in *AWSManagedMachinePool) DeepCopy() *AWSManagedMachinePool { 410 if in == nil { 411 return nil 412 } 413 out := new(AWSManagedMachinePool) 414 in.DeepCopyInto(out) 415 return out 416 } 417 418 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 419 func (in *AWSManagedMachinePool) DeepCopyObject() runtime.Object { 420 if c := in.DeepCopy(); c != nil { 421 return c 422 } 423 return nil 424 } 425 426 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 427 func (in *AWSManagedMachinePoolList) DeepCopyInto(out *AWSManagedMachinePoolList) { 428 *out = *in 429 out.TypeMeta = in.TypeMeta 430 in.ListMeta.DeepCopyInto(&out.ListMeta) 431 if in.Items != nil { 432 in, out := &in.Items, &out.Items 433 *out = make([]AWSManagedMachinePool, len(*in)) 434 for i := range *in { 435 (*in)[i].DeepCopyInto(&(*out)[i]) 436 } 437 } 438 } 439 440 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSManagedMachinePoolList. 441 func (in *AWSManagedMachinePoolList) DeepCopy() *AWSManagedMachinePoolList { 442 if in == nil { 443 return nil 444 } 445 out := new(AWSManagedMachinePoolList) 446 in.DeepCopyInto(out) 447 return out 448 } 449 450 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 451 func (in *AWSManagedMachinePoolList) DeepCopyObject() runtime.Object { 452 if c := in.DeepCopy(); c != nil { 453 return c 454 } 455 return nil 456 } 457 458 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 459 func (in *AWSManagedMachinePoolSpec) DeepCopyInto(out *AWSManagedMachinePoolSpec) { 460 *out = *in 461 if in.AvailabilityZones != nil { 462 in, out := &in.AvailabilityZones, &out.AvailabilityZones 463 *out = make([]string, len(*in)) 464 copy(*out, *in) 465 } 466 if in.SubnetIDs != nil { 467 in, out := &in.SubnetIDs, &out.SubnetIDs 468 *out = make([]string, len(*in)) 469 copy(*out, *in) 470 } 471 if in.AdditionalTags != nil { 472 in, out := &in.AdditionalTags, &out.AdditionalTags 473 *out = make(apiv1alpha3.Tags, len(*in)) 474 for key, val := range *in { 475 (*out)[key] = val 476 } 477 } 478 if in.AMIVersion != nil { 479 in, out := &in.AMIVersion, &out.AMIVersion 480 *out = new(string) 481 **out = **in 482 } 483 if in.AMIType != nil { 484 in, out := &in.AMIType, &out.AMIType 485 *out = new(ManagedMachineAMIType) 486 **out = **in 487 } 488 if in.Labels != nil { 489 in, out := &in.Labels, &out.Labels 490 *out = make(map[string]string, len(*in)) 491 for key, val := range *in { 492 (*out)[key] = val 493 } 494 } 495 if in.DiskSize != nil { 496 in, out := &in.DiskSize, &out.DiskSize 497 *out = new(int32) 498 **out = **in 499 } 500 if in.InstanceType != nil { 501 in, out := &in.InstanceType, &out.InstanceType 502 *out = new(string) 503 **out = **in 504 } 505 if in.Scaling != nil { 506 in, out := &in.Scaling, &out.Scaling 507 *out = new(ManagedMachinePoolScaling) 508 (*in).DeepCopyInto(*out) 509 } 510 if in.RemoteAccess != nil { 511 in, out := &in.RemoteAccess, &out.RemoteAccess 512 *out = new(ManagedRemoteAccess) 513 (*in).DeepCopyInto(*out) 514 } 515 if in.ProviderIDList != nil { 516 in, out := &in.ProviderIDList, &out.ProviderIDList 517 *out = make([]string, len(*in)) 518 copy(*out, *in) 519 } 520 } 521 522 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSManagedMachinePoolSpec. 523 func (in *AWSManagedMachinePoolSpec) DeepCopy() *AWSManagedMachinePoolSpec { 524 if in == nil { 525 return nil 526 } 527 out := new(AWSManagedMachinePoolSpec) 528 in.DeepCopyInto(out) 529 return out 530 } 531 532 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 533 func (in *AWSManagedMachinePoolStatus) DeepCopyInto(out *AWSManagedMachinePoolStatus) { 534 *out = *in 535 if in.FailureReason != nil { 536 in, out := &in.FailureReason, &out.FailureReason 537 *out = new(errors.MachineStatusError) 538 **out = **in 539 } 540 if in.FailureMessage != nil { 541 in, out := &in.FailureMessage, &out.FailureMessage 542 *out = new(string) 543 **out = **in 544 } 545 if in.Conditions != nil { 546 in, out := &in.Conditions, &out.Conditions 547 *out = make(cluster_apiapiv1alpha3.Conditions, len(*in)) 548 for i := range *in { 549 (*in)[i].DeepCopyInto(&(*out)[i]) 550 } 551 } 552 } 553 554 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSManagedMachinePoolStatus. 555 func (in *AWSManagedMachinePoolStatus) DeepCopy() *AWSManagedMachinePoolStatus { 556 if in == nil { 557 return nil 558 } 559 out := new(AWSManagedMachinePoolStatus) 560 in.DeepCopyInto(out) 561 return out 562 } 563 564 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 565 func (in *AutoScalingGroup) DeepCopyInto(out *AutoScalingGroup) { 566 *out = *in 567 if in.Tags != nil { 568 in, out := &in.Tags, &out.Tags 569 *out = make(apiv1alpha3.Tags, len(*in)) 570 for key, val := range *in { 571 (*out)[key] = val 572 } 573 } 574 if in.DesiredCapacity != nil { 575 in, out := &in.DesiredCapacity, &out.DesiredCapacity 576 *out = new(int32) 577 **out = **in 578 } 579 if in.Subnets != nil { 580 in, out := &in.Subnets, &out.Subnets 581 *out = make([]string, len(*in)) 582 copy(*out, *in) 583 } 584 out.DefaultCoolDown = in.DefaultCoolDown 585 if in.MixedInstancesPolicy != nil { 586 in, out := &in.MixedInstancesPolicy, &out.MixedInstancesPolicy 587 *out = new(MixedInstancesPolicy) 588 (*in).DeepCopyInto(*out) 589 } 590 if in.Instances != nil { 591 in, out := &in.Instances, &out.Instances 592 *out = make([]apiv1alpha3.Instance, len(*in)) 593 for i := range *in { 594 (*in)[i].DeepCopyInto(&(*out)[i]) 595 } 596 } 597 } 598 599 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoScalingGroup. 600 func (in *AutoScalingGroup) DeepCopy() *AutoScalingGroup { 601 if in == nil { 602 return nil 603 } 604 out := new(AutoScalingGroup) 605 in.DeepCopyInto(out) 606 return out 607 } 608 609 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 610 func (in *BlockDeviceMapping) DeepCopyInto(out *BlockDeviceMapping) { 611 *out = *in 612 out.Ebs = in.Ebs 613 } 614 615 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlockDeviceMapping. 616 func (in *BlockDeviceMapping) DeepCopy() *BlockDeviceMapping { 617 if in == nil { 618 return nil 619 } 620 out := new(BlockDeviceMapping) 621 in.DeepCopyInto(out) 622 return out 623 } 624 625 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 626 func (in *EBS) DeepCopyInto(out *EBS) { 627 *out = *in 628 } 629 630 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EBS. 631 func (in *EBS) DeepCopy() *EBS { 632 if in == nil { 633 return nil 634 } 635 out := new(EBS) 636 in.DeepCopyInto(out) 637 return out 638 } 639 640 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 641 func (in *FargateProfileSpec) DeepCopyInto(out *FargateProfileSpec) { 642 *out = *in 643 if in.SubnetIDs != nil { 644 in, out := &in.SubnetIDs, &out.SubnetIDs 645 *out = make([]string, len(*in)) 646 copy(*out, *in) 647 } 648 if in.AdditionalTags != nil { 649 in, out := &in.AdditionalTags, &out.AdditionalTags 650 *out = make(apiv1alpha3.Tags, len(*in)) 651 for key, val := range *in { 652 (*out)[key] = val 653 } 654 } 655 if in.Selectors != nil { 656 in, out := &in.Selectors, &out.Selectors 657 *out = make([]FargateSelector, len(*in)) 658 for i := range *in { 659 (*in)[i].DeepCopyInto(&(*out)[i]) 660 } 661 } 662 } 663 664 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FargateProfileSpec. 665 func (in *FargateProfileSpec) DeepCopy() *FargateProfileSpec { 666 if in == nil { 667 return nil 668 } 669 out := new(FargateProfileSpec) 670 in.DeepCopyInto(out) 671 return out 672 } 673 674 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 675 func (in *FargateProfileStatus) DeepCopyInto(out *FargateProfileStatus) { 676 *out = *in 677 if in.FailureReason != nil { 678 in, out := &in.FailureReason, &out.FailureReason 679 *out = new(errors.MachineStatusError) 680 **out = **in 681 } 682 if in.FailureMessage != nil { 683 in, out := &in.FailureMessage, &out.FailureMessage 684 *out = new(string) 685 **out = **in 686 } 687 if in.Conditions != nil { 688 in, out := &in.Conditions, &out.Conditions 689 *out = make(cluster_apiapiv1alpha3.Conditions, len(*in)) 690 for i := range *in { 691 (*in)[i].DeepCopyInto(&(*out)[i]) 692 } 693 } 694 } 695 696 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FargateProfileStatus. 697 func (in *FargateProfileStatus) DeepCopy() *FargateProfileStatus { 698 if in == nil { 699 return nil 700 } 701 out := new(FargateProfileStatus) 702 in.DeepCopyInto(out) 703 return out 704 } 705 706 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 707 func (in *FargateSelector) DeepCopyInto(out *FargateSelector) { 708 *out = *in 709 if in.Labels != nil { 710 in, out := &in.Labels, &out.Labels 711 *out = make(map[string]string, len(*in)) 712 for key, val := range *in { 713 (*out)[key] = val 714 } 715 } 716 } 717 718 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FargateSelector. 719 func (in *FargateSelector) DeepCopy() *FargateSelector { 720 if in == nil { 721 return nil 722 } 723 out := new(FargateSelector) 724 in.DeepCopyInto(out) 725 return out 726 } 727 728 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 729 func (in *InstancesDistribution) DeepCopyInto(out *InstancesDistribution) { 730 *out = *in 731 if in.OnDemandBaseCapacity != nil { 732 in, out := &in.OnDemandBaseCapacity, &out.OnDemandBaseCapacity 733 *out = new(int64) 734 **out = **in 735 } 736 if in.OnDemandPercentageAboveBaseCapacity != nil { 737 in, out := &in.OnDemandPercentageAboveBaseCapacity, &out.OnDemandPercentageAboveBaseCapacity 738 *out = new(int64) 739 **out = **in 740 } 741 } 742 743 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstancesDistribution. 744 func (in *InstancesDistribution) DeepCopy() *InstancesDistribution { 745 if in == nil { 746 return nil 747 } 748 out := new(InstancesDistribution) 749 in.DeepCopyInto(out) 750 return out 751 } 752 753 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 754 func (in *ManagedMachinePoolScaling) DeepCopyInto(out *ManagedMachinePoolScaling) { 755 *out = *in 756 if in.MinSize != nil { 757 in, out := &in.MinSize, &out.MinSize 758 *out = new(int32) 759 **out = **in 760 } 761 if in.MaxSize != nil { 762 in, out := &in.MaxSize, &out.MaxSize 763 *out = new(int32) 764 **out = **in 765 } 766 } 767 768 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedMachinePoolScaling. 769 func (in *ManagedMachinePoolScaling) DeepCopy() *ManagedMachinePoolScaling { 770 if in == nil { 771 return nil 772 } 773 out := new(ManagedMachinePoolScaling) 774 in.DeepCopyInto(out) 775 return out 776 } 777 778 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 779 func (in *ManagedRemoteAccess) DeepCopyInto(out *ManagedRemoteAccess) { 780 *out = *in 781 if in.SSHKeyName != nil { 782 in, out := &in.SSHKeyName, &out.SSHKeyName 783 *out = new(string) 784 **out = **in 785 } 786 if in.SourceSecurityGroups != nil { 787 in, out := &in.SourceSecurityGroups, &out.SourceSecurityGroups 788 *out = make([]string, len(*in)) 789 copy(*out, *in) 790 } 791 } 792 793 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedRemoteAccess. 794 func (in *ManagedRemoteAccess) DeepCopy() *ManagedRemoteAccess { 795 if in == nil { 796 return nil 797 } 798 out := new(ManagedRemoteAccess) 799 in.DeepCopyInto(out) 800 return out 801 } 802 803 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 804 func (in *MixedInstancesPolicy) DeepCopyInto(out *MixedInstancesPolicy) { 805 *out = *in 806 if in.InstancesDistribution != nil { 807 in, out := &in.InstancesDistribution, &out.InstancesDistribution 808 *out = new(InstancesDistribution) 809 (*in).DeepCopyInto(*out) 810 } 811 if in.Overrides != nil { 812 in, out := &in.Overrides, &out.Overrides 813 *out = make([]Overrides, len(*in)) 814 copy(*out, *in) 815 } 816 } 817 818 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MixedInstancesPolicy. 819 func (in *MixedInstancesPolicy) DeepCopy() *MixedInstancesPolicy { 820 if in == nil { 821 return nil 822 } 823 out := new(MixedInstancesPolicy) 824 in.DeepCopyInto(out) 825 return out 826 } 827 828 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 829 func (in *Overrides) DeepCopyInto(out *Overrides) { 830 *out = *in 831 } 832 833 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Overrides. 834 func (in *Overrides) DeepCopy() *Overrides { 835 if in == nil { 836 return nil 837 } 838 out := new(Overrides) 839 in.DeepCopyInto(out) 840 return out 841 } 842 843 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 844 func (in *RefreshPreferences) DeepCopyInto(out *RefreshPreferences) { 845 *out = *in 846 if in.Strategy != nil { 847 in, out := &in.Strategy, &out.Strategy 848 *out = new(string) 849 **out = **in 850 } 851 if in.InstanceWarmup != nil { 852 in, out := &in.InstanceWarmup, &out.InstanceWarmup 853 *out = new(int64) 854 **out = **in 855 } 856 if in.MinHealthyPercentage != nil { 857 in, out := &in.MinHealthyPercentage, &out.MinHealthyPercentage 858 *out = new(int64) 859 **out = **in 860 } 861 } 862 863 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RefreshPreferences. 864 func (in *RefreshPreferences) DeepCopy() *RefreshPreferences { 865 if in == nil { 866 return nil 867 } 868 out := new(RefreshPreferences) 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 Tags) DeepCopyInto(out *Tags) { 875 { 876 in := &in 877 *out = make(Tags, len(*in)) 878 for key, val := range *in { 879 (*out)[key] = val 880 } 881 } 882 } 883 884 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tags. 885 func (in Tags) DeepCopy() Tags { 886 if in == nil { 887 return nil 888 } 889 out := new(Tags) 890 in.DeepCopyInto(out) 891 return *out 892 }