sigs.k8s.io/cluster-api@v1.7.1/internal/test/builder/zz_generated.deepcopy.go (about) 1 //go:build !ignore_autogenerated 2 3 /* 4 Copyright The Kubernetes Authors. 5 6 Licensed under the Apache License, Version 2.0 (the "License"); 7 you may not use this file except in compliance with the License. 8 You may obtain a copy of the License at 9 10 http://www.apache.org/licenses/LICENSE-2.0 11 12 Unless required by applicable law or agreed to in writing, software 13 distributed under the License is distributed on an "AS IS" BASIS, 14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 See the License for the specific language governing permissions and 16 limitations under the License. 17 */ 18 19 // Code generated by controller-gen. DO NOT EDIT. 20 21 package builder 22 23 import ( 24 "k8s.io/apimachinery/pkg/apis/meta/v1" 25 "k8s.io/apimachinery/pkg/util/intstr" 26 "sigs.k8s.io/cluster-api/api/v1beta1" 27 apiv1beta1 "sigs.k8s.io/cluster-api/exp/api/v1beta1" 28 ) 29 30 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 31 func (in *BootstrapConfigBuilder) DeepCopyInto(out *BootstrapConfigBuilder) { 32 *out = *in 33 if in.obj != nil { 34 in, out := &in.obj, &out.obj 35 *out = (*in).DeepCopy() 36 } 37 } 38 39 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootstrapConfigBuilder. 40 func (in *BootstrapConfigBuilder) DeepCopy() *BootstrapConfigBuilder { 41 if in == nil { 42 return nil 43 } 44 out := new(BootstrapConfigBuilder) 45 in.DeepCopyInto(out) 46 return out 47 } 48 49 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 50 func (in *BootstrapTemplateBuilder) DeepCopyInto(out *BootstrapTemplateBuilder) { 51 *out = *in 52 if in.obj != nil { 53 in, out := &in.obj, &out.obj 54 *out = (*in).DeepCopy() 55 } 56 } 57 58 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootstrapTemplateBuilder. 59 func (in *BootstrapTemplateBuilder) DeepCopy() *BootstrapTemplateBuilder { 60 if in == nil { 61 return nil 62 } 63 out := new(BootstrapTemplateBuilder) 64 in.DeepCopyInto(out) 65 return out 66 } 67 68 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 69 func (in *ClusterBuilder) DeepCopyInto(out *ClusterBuilder) { 70 *out = *in 71 if in.labels != nil { 72 in, out := &in.labels, &out.labels 73 *out = make(map[string]string, len(*in)) 74 for key, val := range *in { 75 (*out)[key] = val 76 } 77 } 78 if in.annotations != nil { 79 in, out := &in.annotations, &out.annotations 80 *out = make(map[string]string, len(*in)) 81 for key, val := range *in { 82 (*out)[key] = val 83 } 84 } 85 if in.topology != nil { 86 in, out := &in.topology, &out.topology 87 *out = new(v1beta1.Topology) 88 (*in).DeepCopyInto(*out) 89 } 90 if in.infrastructureCluster != nil { 91 in, out := &in.infrastructureCluster, &out.infrastructureCluster 92 *out = (*in).DeepCopy() 93 } 94 if in.controlPlane != nil { 95 in, out := &in.controlPlane, &out.controlPlane 96 *out = (*in).DeepCopy() 97 } 98 if in.network != nil { 99 in, out := &in.network, &out.network 100 *out = new(v1beta1.ClusterNetwork) 101 (*in).DeepCopyInto(*out) 102 } 103 } 104 105 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterBuilder. 106 func (in *ClusterBuilder) DeepCopy() *ClusterBuilder { 107 if in == nil { 108 return nil 109 } 110 out := new(ClusterBuilder) 111 in.DeepCopyInto(out) 112 return out 113 } 114 115 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 116 func (in *ClusterClassBuilder) DeepCopyInto(out *ClusterClassBuilder) { 117 *out = *in 118 if in.infrastructureClusterTemplate != nil { 119 in, out := &in.infrastructureClusterTemplate, &out.infrastructureClusterTemplate 120 *out = (*in).DeepCopy() 121 } 122 if in.controlPlaneMetadata != nil { 123 in, out := &in.controlPlaneMetadata, &out.controlPlaneMetadata 124 *out = new(v1beta1.ObjectMeta) 125 (*in).DeepCopyInto(*out) 126 } 127 if in.controlPlaneTemplate != nil { 128 in, out := &in.controlPlaneTemplate, &out.controlPlaneTemplate 129 *out = (*in).DeepCopy() 130 } 131 if in.controlPlaneInfrastructureMachineTemplate != nil { 132 in, out := &in.controlPlaneInfrastructureMachineTemplate, &out.controlPlaneInfrastructureMachineTemplate 133 *out = (*in).DeepCopy() 134 } 135 if in.controlPlaneMHC != nil { 136 in, out := &in.controlPlaneMHC, &out.controlPlaneMHC 137 *out = new(v1beta1.MachineHealthCheckClass) 138 (*in).DeepCopyInto(*out) 139 } 140 if in.controlPlaneNodeDrainTimeout != nil { 141 in, out := &in.controlPlaneNodeDrainTimeout, &out.controlPlaneNodeDrainTimeout 142 *out = new(v1.Duration) 143 **out = **in 144 } 145 if in.controlPlaneNodeVolumeDetachTimeout != nil { 146 in, out := &in.controlPlaneNodeVolumeDetachTimeout, &out.controlPlaneNodeVolumeDetachTimeout 147 *out = new(v1.Duration) 148 **out = **in 149 } 150 if in.controlPlaneNodeDeletionTimeout != nil { 151 in, out := &in.controlPlaneNodeDeletionTimeout, &out.controlPlaneNodeDeletionTimeout 152 *out = new(v1.Duration) 153 **out = **in 154 } 155 if in.controlPlaneNamingStrategy != nil { 156 in, out := &in.controlPlaneNamingStrategy, &out.controlPlaneNamingStrategy 157 *out = new(v1beta1.ControlPlaneClassNamingStrategy) 158 (*in).DeepCopyInto(*out) 159 } 160 if in.machineDeploymentClasses != nil { 161 in, out := &in.machineDeploymentClasses, &out.machineDeploymentClasses 162 *out = make([]v1beta1.MachineDeploymentClass, len(*in)) 163 for i := range *in { 164 (*in)[i].DeepCopyInto(&(*out)[i]) 165 } 166 } 167 if in.machinePoolClasses != nil { 168 in, out := &in.machinePoolClasses, &out.machinePoolClasses 169 *out = make([]v1beta1.MachinePoolClass, len(*in)) 170 for i := range *in { 171 (*in)[i].DeepCopyInto(&(*out)[i]) 172 } 173 } 174 if in.variables != nil { 175 in, out := &in.variables, &out.variables 176 *out = make([]v1beta1.ClusterClassVariable, len(*in)) 177 for i := range *in { 178 (*in)[i].DeepCopyInto(&(*out)[i]) 179 } 180 } 181 if in.statusVariables != nil { 182 in, out := &in.statusVariables, &out.statusVariables 183 *out = make([]v1beta1.ClusterClassStatusVariable, len(*in)) 184 for i := range *in { 185 (*in)[i].DeepCopyInto(&(*out)[i]) 186 } 187 } 188 if in.patches != nil { 189 in, out := &in.patches, &out.patches 190 *out = make([]v1beta1.ClusterClassPatch, len(*in)) 191 for i := range *in { 192 (*in)[i].DeepCopyInto(&(*out)[i]) 193 } 194 } 195 } 196 197 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterClassBuilder. 198 func (in *ClusterClassBuilder) DeepCopy() *ClusterClassBuilder { 199 if in == nil { 200 return nil 201 } 202 out := new(ClusterClassBuilder) 203 in.DeepCopyInto(out) 204 return out 205 } 206 207 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 208 func (in *ClusterTopologyBuilder) DeepCopyInto(out *ClusterTopologyBuilder) { 209 *out = *in 210 if in.workers != nil { 211 in, out := &in.workers, &out.workers 212 *out = new(v1beta1.WorkersTopology) 213 (*in).DeepCopyInto(*out) 214 } 215 if in.controlPlaneMHC != nil { 216 in, out := &in.controlPlaneMHC, &out.controlPlaneMHC 217 *out = new(v1beta1.MachineHealthCheckTopology) 218 (*in).DeepCopyInto(*out) 219 } 220 if in.variables != nil { 221 in, out := &in.variables, &out.variables 222 *out = make([]v1beta1.ClusterVariable, len(*in)) 223 for i := range *in { 224 (*in)[i].DeepCopyInto(&(*out)[i]) 225 } 226 } 227 } 228 229 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterTopologyBuilder. 230 func (in *ClusterTopologyBuilder) DeepCopy() *ClusterTopologyBuilder { 231 if in == nil { 232 return nil 233 } 234 out := new(ClusterTopologyBuilder) 235 in.DeepCopyInto(out) 236 return out 237 } 238 239 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 240 func (in *ControlPlaneBuilder) DeepCopyInto(out *ControlPlaneBuilder) { 241 *out = *in 242 if in.obj != nil { 243 in, out := &in.obj, &out.obj 244 *out = (*in).DeepCopy() 245 } 246 } 247 248 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneBuilder. 249 func (in *ControlPlaneBuilder) DeepCopy() *ControlPlaneBuilder { 250 if in == nil { 251 return nil 252 } 253 out := new(ControlPlaneBuilder) 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 *ControlPlaneTemplateBuilder) DeepCopyInto(out *ControlPlaneTemplateBuilder) { 260 *out = *in 261 if in.obj != nil { 262 in, out := &in.obj, &out.obj 263 *out = (*in).DeepCopy() 264 } 265 } 266 267 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneTemplateBuilder. 268 func (in *ControlPlaneTemplateBuilder) DeepCopy() *ControlPlaneTemplateBuilder { 269 if in == nil { 270 return nil 271 } 272 out := new(ControlPlaneTemplateBuilder) 273 in.DeepCopyInto(out) 274 return out 275 } 276 277 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 278 func (in *InfrastructureClusterBuilder) DeepCopyInto(out *InfrastructureClusterBuilder) { 279 *out = *in 280 if in.obj != nil { 281 in, out := &in.obj, &out.obj 282 *out = (*in).DeepCopy() 283 } 284 } 285 286 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfrastructureClusterBuilder. 287 func (in *InfrastructureClusterBuilder) DeepCopy() *InfrastructureClusterBuilder { 288 if in == nil { 289 return nil 290 } 291 out := new(InfrastructureClusterBuilder) 292 in.DeepCopyInto(out) 293 return out 294 } 295 296 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 297 func (in *InfrastructureClusterTemplateBuilder) DeepCopyInto(out *InfrastructureClusterTemplateBuilder) { 298 *out = *in 299 if in.obj != nil { 300 in, out := &in.obj, &out.obj 301 *out = (*in).DeepCopy() 302 } 303 } 304 305 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfrastructureClusterTemplateBuilder. 306 func (in *InfrastructureClusterTemplateBuilder) DeepCopy() *InfrastructureClusterTemplateBuilder { 307 if in == nil { 308 return nil 309 } 310 out := new(InfrastructureClusterTemplateBuilder) 311 in.DeepCopyInto(out) 312 return out 313 } 314 315 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 316 func (in *InfrastructureMachinePoolBuilder) DeepCopyInto(out *InfrastructureMachinePoolBuilder) { 317 *out = *in 318 if in.obj != nil { 319 in, out := &in.obj, &out.obj 320 *out = (*in).DeepCopy() 321 } 322 } 323 324 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfrastructureMachinePoolBuilder. 325 func (in *InfrastructureMachinePoolBuilder) DeepCopy() *InfrastructureMachinePoolBuilder { 326 if in == nil { 327 return nil 328 } 329 out := new(InfrastructureMachinePoolBuilder) 330 in.DeepCopyInto(out) 331 return out 332 } 333 334 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 335 func (in *InfrastructureMachinePoolTemplateBuilder) DeepCopyInto(out *InfrastructureMachinePoolTemplateBuilder) { 336 *out = *in 337 if in.obj != nil { 338 in, out := &in.obj, &out.obj 339 *out = (*in).DeepCopy() 340 } 341 } 342 343 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfrastructureMachinePoolTemplateBuilder. 344 func (in *InfrastructureMachinePoolTemplateBuilder) DeepCopy() *InfrastructureMachinePoolTemplateBuilder { 345 if in == nil { 346 return nil 347 } 348 out := new(InfrastructureMachinePoolTemplateBuilder) 349 in.DeepCopyInto(out) 350 return out 351 } 352 353 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 354 func (in *InfrastructureMachineTemplateBuilder) DeepCopyInto(out *InfrastructureMachineTemplateBuilder) { 355 *out = *in 356 if in.obj != nil { 357 in, out := &in.obj, &out.obj 358 *out = (*in).DeepCopy() 359 } 360 } 361 362 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfrastructureMachineTemplateBuilder. 363 func (in *InfrastructureMachineTemplateBuilder) DeepCopy() *InfrastructureMachineTemplateBuilder { 364 if in == nil { 365 return nil 366 } 367 out := new(InfrastructureMachineTemplateBuilder) 368 in.DeepCopyInto(out) 369 return out 370 } 371 372 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 373 func (in *MachineBuilder) DeepCopyInto(out *MachineBuilder) { 374 *out = *in 375 if in.version != nil { 376 in, out := &in.version, &out.version 377 *out = new(string) 378 **out = **in 379 } 380 if in.bootstrap != nil { 381 in, out := &in.bootstrap, &out.bootstrap 382 *out = (*in).DeepCopy() 383 } 384 if in.labels != nil { 385 in, out := &in.labels, &out.labels 386 *out = make(map[string]string, len(*in)) 387 for key, val := range *in { 388 (*out)[key] = val 389 } 390 } 391 } 392 393 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineBuilder. 394 func (in *MachineBuilder) DeepCopy() *MachineBuilder { 395 if in == nil { 396 return nil 397 } 398 out := new(MachineBuilder) 399 in.DeepCopyInto(out) 400 return out 401 } 402 403 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 404 func (in *MachineDeploymentBuilder) DeepCopyInto(out *MachineDeploymentBuilder) { 405 *out = *in 406 if in.bootstrapTemplate != nil { 407 in, out := &in.bootstrapTemplate, &out.bootstrapTemplate 408 *out = (*in).DeepCopy() 409 } 410 if in.infrastructureTemplate != nil { 411 in, out := &in.infrastructureTemplate, &out.infrastructureTemplate 412 *out = (*in).DeepCopy() 413 } 414 if in.selector != nil { 415 in, out := &in.selector, &out.selector 416 *out = new(v1.LabelSelector) 417 (*in).DeepCopyInto(*out) 418 } 419 if in.version != nil { 420 in, out := &in.version, &out.version 421 *out = new(string) 422 **out = **in 423 } 424 if in.replicas != nil { 425 in, out := &in.replicas, &out.replicas 426 *out = new(int32) 427 **out = **in 428 } 429 if in.generation != nil { 430 in, out := &in.generation, &out.generation 431 *out = new(int64) 432 **out = **in 433 } 434 if in.labels != nil { 435 in, out := &in.labels, &out.labels 436 *out = make(map[string]string, len(*in)) 437 for key, val := range *in { 438 (*out)[key] = val 439 } 440 } 441 if in.status != nil { 442 in, out := &in.status, &out.status 443 *out = new(v1beta1.MachineDeploymentStatus) 444 (*in).DeepCopyInto(*out) 445 } 446 if in.minReadySeconds != nil { 447 in, out := &in.minReadySeconds, &out.minReadySeconds 448 *out = new(int32) 449 **out = **in 450 } 451 } 452 453 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeploymentBuilder. 454 func (in *MachineDeploymentBuilder) DeepCopy() *MachineDeploymentBuilder { 455 if in == nil { 456 return nil 457 } 458 out := new(MachineDeploymentBuilder) 459 in.DeepCopyInto(out) 460 return out 461 } 462 463 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 464 func (in *MachineDeploymentClassBuilder) DeepCopyInto(out *MachineDeploymentClassBuilder) { 465 *out = *in 466 if in.infrastructureMachineTemplate != nil { 467 in, out := &in.infrastructureMachineTemplate, &out.infrastructureMachineTemplate 468 *out = (*in).DeepCopy() 469 } 470 if in.bootstrapTemplate != nil { 471 in, out := &in.bootstrapTemplate, &out.bootstrapTemplate 472 *out = (*in).DeepCopy() 473 } 474 if in.labels != nil { 475 in, out := &in.labels, &out.labels 476 *out = make(map[string]string, len(*in)) 477 for key, val := range *in { 478 (*out)[key] = val 479 } 480 } 481 if in.annotations != nil { 482 in, out := &in.annotations, &out.annotations 483 *out = make(map[string]string, len(*in)) 484 for key, val := range *in { 485 (*out)[key] = val 486 } 487 } 488 if in.machineHealthCheckClass != nil { 489 in, out := &in.machineHealthCheckClass, &out.machineHealthCheckClass 490 *out = new(v1beta1.MachineHealthCheckClass) 491 (*in).DeepCopyInto(*out) 492 } 493 if in.failureDomain != nil { 494 in, out := &in.failureDomain, &out.failureDomain 495 *out = new(string) 496 **out = **in 497 } 498 if in.nodeDrainTimeout != nil { 499 in, out := &in.nodeDrainTimeout, &out.nodeDrainTimeout 500 *out = new(v1.Duration) 501 **out = **in 502 } 503 if in.nodeVolumeDetachTimeout != nil { 504 in, out := &in.nodeVolumeDetachTimeout, &out.nodeVolumeDetachTimeout 505 *out = new(v1.Duration) 506 **out = **in 507 } 508 if in.nodeDeletionTimeout != nil { 509 in, out := &in.nodeDeletionTimeout, &out.nodeDeletionTimeout 510 *out = new(v1.Duration) 511 **out = **in 512 } 513 if in.minReadySeconds != nil { 514 in, out := &in.minReadySeconds, &out.minReadySeconds 515 *out = new(int32) 516 **out = **in 517 } 518 if in.strategy != nil { 519 in, out := &in.strategy, &out.strategy 520 *out = new(v1beta1.MachineDeploymentStrategy) 521 (*in).DeepCopyInto(*out) 522 } 523 if in.namingStrategy != nil { 524 in, out := &in.namingStrategy, &out.namingStrategy 525 *out = new(v1beta1.MachineDeploymentClassNamingStrategy) 526 (*in).DeepCopyInto(*out) 527 } 528 } 529 530 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeploymentClassBuilder. 531 func (in *MachineDeploymentClassBuilder) DeepCopy() *MachineDeploymentClassBuilder { 532 if in == nil { 533 return nil 534 } 535 out := new(MachineDeploymentClassBuilder) 536 in.DeepCopyInto(out) 537 return out 538 } 539 540 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 541 func (in *MachineDeploymentTopologyBuilder) DeepCopyInto(out *MachineDeploymentTopologyBuilder) { 542 *out = *in 543 if in.replicas != nil { 544 in, out := &in.replicas, &out.replicas 545 *out = new(int32) 546 **out = **in 547 } 548 if in.mhc != nil { 549 in, out := &in.mhc, &out.mhc 550 *out = new(v1beta1.MachineHealthCheckTopology) 551 (*in).DeepCopyInto(*out) 552 } 553 if in.variables != nil { 554 in, out := &in.variables, &out.variables 555 *out = make([]v1beta1.ClusterVariable, len(*in)) 556 for i := range *in { 557 (*in)[i].DeepCopyInto(&(*out)[i]) 558 } 559 } 560 } 561 562 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeploymentTopologyBuilder. 563 func (in *MachineDeploymentTopologyBuilder) DeepCopy() *MachineDeploymentTopologyBuilder { 564 if in == nil { 565 return nil 566 } 567 out := new(MachineDeploymentTopologyBuilder) 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 *MachineHealthCheckBuilder) DeepCopyInto(out *MachineHealthCheckBuilder) { 574 *out = *in 575 if in.ownerRefs != nil { 576 in, out := &in.ownerRefs, &out.ownerRefs 577 *out = make([]v1.OwnerReference, len(*in)) 578 for i := range *in { 579 (*in)[i].DeepCopyInto(&(*out)[i]) 580 } 581 } 582 in.selector.DeepCopyInto(&out.selector) 583 if in.conditions != nil { 584 in, out := &in.conditions, &out.conditions 585 *out = make([]v1beta1.UnhealthyCondition, len(*in)) 586 copy(*out, *in) 587 } 588 if in.maxUnhealthy != nil { 589 in, out := &in.maxUnhealthy, &out.maxUnhealthy 590 *out = new(intstr.IntOrString) 591 **out = **in 592 } 593 } 594 595 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineHealthCheckBuilder. 596 func (in *MachineHealthCheckBuilder) DeepCopy() *MachineHealthCheckBuilder { 597 if in == nil { 598 return nil 599 } 600 out := new(MachineHealthCheckBuilder) 601 in.DeepCopyInto(out) 602 return out 603 } 604 605 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 606 func (in *MachinePoolBuilder) DeepCopyInto(out *MachinePoolBuilder) { 607 *out = *in 608 if in.bootstrap != nil { 609 in, out := &in.bootstrap, &out.bootstrap 610 *out = (*in).DeepCopy() 611 } 612 if in.infrastructure != nil { 613 in, out := &in.infrastructure, &out.infrastructure 614 *out = (*in).DeepCopy() 615 } 616 if in.version != nil { 617 in, out := &in.version, &out.version 618 *out = new(string) 619 **out = **in 620 } 621 if in.replicas != nil { 622 in, out := &in.replicas, &out.replicas 623 *out = new(int32) 624 **out = **in 625 } 626 if in.labels != nil { 627 in, out := &in.labels, &out.labels 628 *out = make(map[string]string, len(*in)) 629 for key, val := range *in { 630 (*out)[key] = val 631 } 632 } 633 if in.status != nil { 634 in, out := &in.status, &out.status 635 *out = new(apiv1beta1.MachinePoolStatus) 636 (*in).DeepCopyInto(*out) 637 } 638 if in.minReadySeconds != nil { 639 in, out := &in.minReadySeconds, &out.minReadySeconds 640 *out = new(int32) 641 **out = **in 642 } 643 } 644 645 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachinePoolBuilder. 646 func (in *MachinePoolBuilder) DeepCopy() *MachinePoolBuilder { 647 if in == nil { 648 return nil 649 } 650 out := new(MachinePoolBuilder) 651 in.DeepCopyInto(out) 652 return out 653 } 654 655 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 656 func (in *MachinePoolClassBuilder) DeepCopyInto(out *MachinePoolClassBuilder) { 657 *out = *in 658 if in.infrastructureMachinePoolTemplate != nil { 659 in, out := &in.infrastructureMachinePoolTemplate, &out.infrastructureMachinePoolTemplate 660 *out = (*in).DeepCopy() 661 } 662 if in.bootstrapTemplate != nil { 663 in, out := &in.bootstrapTemplate, &out.bootstrapTemplate 664 *out = (*in).DeepCopy() 665 } 666 if in.labels != nil { 667 in, out := &in.labels, &out.labels 668 *out = make(map[string]string, len(*in)) 669 for key, val := range *in { 670 (*out)[key] = val 671 } 672 } 673 if in.annotations != nil { 674 in, out := &in.annotations, &out.annotations 675 *out = make(map[string]string, len(*in)) 676 for key, val := range *in { 677 (*out)[key] = val 678 } 679 } 680 if in.failureDomains != nil { 681 in, out := &in.failureDomains, &out.failureDomains 682 *out = make([]string, len(*in)) 683 copy(*out, *in) 684 } 685 if in.nodeDrainTimeout != nil { 686 in, out := &in.nodeDrainTimeout, &out.nodeDrainTimeout 687 *out = new(v1.Duration) 688 **out = **in 689 } 690 if in.nodeVolumeDetachTimeout != nil { 691 in, out := &in.nodeVolumeDetachTimeout, &out.nodeVolumeDetachTimeout 692 *out = new(v1.Duration) 693 **out = **in 694 } 695 if in.nodeDeletionTimeout != nil { 696 in, out := &in.nodeDeletionTimeout, &out.nodeDeletionTimeout 697 *out = new(v1.Duration) 698 **out = **in 699 } 700 if in.minReadySeconds != nil { 701 in, out := &in.minReadySeconds, &out.minReadySeconds 702 *out = new(int32) 703 **out = **in 704 } 705 if in.namingStrategy != nil { 706 in, out := &in.namingStrategy, &out.namingStrategy 707 *out = new(v1beta1.MachinePoolClassNamingStrategy) 708 (*in).DeepCopyInto(*out) 709 } 710 } 711 712 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachinePoolClassBuilder. 713 func (in *MachinePoolClassBuilder) DeepCopy() *MachinePoolClassBuilder { 714 if in == nil { 715 return nil 716 } 717 out := new(MachinePoolClassBuilder) 718 in.DeepCopyInto(out) 719 return out 720 } 721 722 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 723 func (in *MachinePoolTopologyBuilder) DeepCopyInto(out *MachinePoolTopologyBuilder) { 724 *out = *in 725 if in.replicas != nil { 726 in, out := &in.replicas, &out.replicas 727 *out = new(int32) 728 **out = **in 729 } 730 if in.failureDomains != nil { 731 in, out := &in.failureDomains, &out.failureDomains 732 *out = make([]string, len(*in)) 733 copy(*out, *in) 734 } 735 if in.variables != nil { 736 in, out := &in.variables, &out.variables 737 *out = make([]v1beta1.ClusterVariable, len(*in)) 738 for i := range *in { 739 (*in)[i].DeepCopyInto(&(*out)[i]) 740 } 741 } 742 } 743 744 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachinePoolTopologyBuilder. 745 func (in *MachinePoolTopologyBuilder) DeepCopy() *MachinePoolTopologyBuilder { 746 if in == nil { 747 return nil 748 } 749 out := new(MachinePoolTopologyBuilder) 750 in.DeepCopyInto(out) 751 return out 752 } 753 754 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 755 func (in *MachineSetBuilder) DeepCopyInto(out *MachineSetBuilder) { 756 *out = *in 757 if in.bootstrapTemplate != nil { 758 in, out := &in.bootstrapTemplate, &out.bootstrapTemplate 759 *out = (*in).DeepCopy() 760 } 761 if in.infrastructureTemplate != nil { 762 in, out := &in.infrastructureTemplate, &out.infrastructureTemplate 763 *out = (*in).DeepCopy() 764 } 765 if in.replicas != nil { 766 in, out := &in.replicas, &out.replicas 767 *out = new(int32) 768 **out = **in 769 } 770 if in.labels != nil { 771 in, out := &in.labels, &out.labels 772 *out = make(map[string]string, len(*in)) 773 for key, val := range *in { 774 (*out)[key] = val 775 } 776 } 777 if in.ownerRefs != nil { 778 in, out := &in.ownerRefs, &out.ownerRefs 779 *out = make([]v1.OwnerReference, len(*in)) 780 for i := range *in { 781 (*in)[i].DeepCopyInto(&(*out)[i]) 782 } 783 } 784 } 785 786 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSetBuilder. 787 func (in *MachineSetBuilder) DeepCopy() *MachineSetBuilder { 788 if in == nil { 789 return nil 790 } 791 out := new(MachineSetBuilder) 792 in.DeepCopyInto(out) 793 return out 794 } 795 796 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 797 func (in *NodeBuilder) DeepCopyInto(out *NodeBuilder) { 798 *out = *in 799 in.status.DeepCopyInto(&out.status) 800 } 801 802 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeBuilder. 803 func (in *NodeBuilder) DeepCopy() *NodeBuilder { 804 if in == nil { 805 return nil 806 } 807 out := new(NodeBuilder) 808 in.DeepCopyInto(out) 809 return out 810 } 811 812 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 813 func (in *TestBootstrapConfigBuilder) DeepCopyInto(out *TestBootstrapConfigBuilder) { 814 *out = *in 815 if in.obj != nil { 816 in, out := &in.obj, &out.obj 817 *out = (*in).DeepCopy() 818 } 819 } 820 821 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestBootstrapConfigBuilder. 822 func (in *TestBootstrapConfigBuilder) DeepCopy() *TestBootstrapConfigBuilder { 823 if in == nil { 824 return nil 825 } 826 out := new(TestBootstrapConfigBuilder) 827 in.DeepCopyInto(out) 828 return out 829 } 830 831 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 832 func (in *TestBootstrapTemplateBuilder) DeepCopyInto(out *TestBootstrapTemplateBuilder) { 833 *out = *in 834 if in.obj != nil { 835 in, out := &in.obj, &out.obj 836 *out = (*in).DeepCopy() 837 } 838 } 839 840 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestBootstrapTemplateBuilder. 841 func (in *TestBootstrapTemplateBuilder) DeepCopy() *TestBootstrapTemplateBuilder { 842 if in == nil { 843 return nil 844 } 845 out := new(TestBootstrapTemplateBuilder) 846 in.DeepCopyInto(out) 847 return out 848 } 849 850 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 851 func (in *TestControlPlaneBuilder) DeepCopyInto(out *TestControlPlaneBuilder) { 852 *out = *in 853 if in.obj != nil { 854 in, out := &in.obj, &out.obj 855 *out = (*in).DeepCopy() 856 } 857 } 858 859 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestControlPlaneBuilder. 860 func (in *TestControlPlaneBuilder) DeepCopy() *TestControlPlaneBuilder { 861 if in == nil { 862 return nil 863 } 864 out := new(TestControlPlaneBuilder) 865 in.DeepCopyInto(out) 866 return out 867 } 868 869 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 870 func (in *TestControlPlaneTemplateBuilder) DeepCopyInto(out *TestControlPlaneTemplateBuilder) { 871 *out = *in 872 if in.obj != nil { 873 in, out := &in.obj, &out.obj 874 *out = (*in).DeepCopy() 875 } 876 } 877 878 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestControlPlaneTemplateBuilder. 879 func (in *TestControlPlaneTemplateBuilder) DeepCopy() *TestControlPlaneTemplateBuilder { 880 if in == nil { 881 return nil 882 } 883 out := new(TestControlPlaneTemplateBuilder) 884 in.DeepCopyInto(out) 885 return out 886 } 887 888 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 889 func (in *TestInfrastructureClusterBuilder) DeepCopyInto(out *TestInfrastructureClusterBuilder) { 890 *out = *in 891 if in.obj != nil { 892 in, out := &in.obj, &out.obj 893 *out = (*in).DeepCopy() 894 } 895 } 896 897 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestInfrastructureClusterBuilder. 898 func (in *TestInfrastructureClusterBuilder) DeepCopy() *TestInfrastructureClusterBuilder { 899 if in == nil { 900 return nil 901 } 902 out := new(TestInfrastructureClusterBuilder) 903 in.DeepCopyInto(out) 904 return out 905 } 906 907 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 908 func (in *TestInfrastructureClusterTemplateBuilder) DeepCopyInto(out *TestInfrastructureClusterTemplateBuilder) { 909 *out = *in 910 if in.obj != nil { 911 in, out := &in.obj, &out.obj 912 *out = (*in).DeepCopy() 913 } 914 } 915 916 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestInfrastructureClusterTemplateBuilder. 917 func (in *TestInfrastructureClusterTemplateBuilder) DeepCopy() *TestInfrastructureClusterTemplateBuilder { 918 if in == nil { 919 return nil 920 } 921 out := new(TestInfrastructureClusterTemplateBuilder) 922 in.DeepCopyInto(out) 923 return out 924 } 925 926 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 927 func (in *TestInfrastructureMachinePoolBuilder) DeepCopyInto(out *TestInfrastructureMachinePoolBuilder) { 928 *out = *in 929 if in.obj != nil { 930 in, out := &in.obj, &out.obj 931 *out = (*in).DeepCopy() 932 } 933 } 934 935 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestInfrastructureMachinePoolBuilder. 936 func (in *TestInfrastructureMachinePoolBuilder) DeepCopy() *TestInfrastructureMachinePoolBuilder { 937 if in == nil { 938 return nil 939 } 940 out := new(TestInfrastructureMachinePoolBuilder) 941 in.DeepCopyInto(out) 942 return out 943 } 944 945 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 946 func (in *TestInfrastructureMachinePoolTemplateBuilder) DeepCopyInto(out *TestInfrastructureMachinePoolTemplateBuilder) { 947 *out = *in 948 if in.obj != nil { 949 in, out := &in.obj, &out.obj 950 *out = (*in).DeepCopy() 951 } 952 } 953 954 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestInfrastructureMachinePoolTemplateBuilder. 955 func (in *TestInfrastructureMachinePoolTemplateBuilder) DeepCopy() *TestInfrastructureMachinePoolTemplateBuilder { 956 if in == nil { 957 return nil 958 } 959 out := new(TestInfrastructureMachinePoolTemplateBuilder) 960 in.DeepCopyInto(out) 961 return out 962 } 963 964 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 965 func (in *TestInfrastructureMachineTemplateBuilder) DeepCopyInto(out *TestInfrastructureMachineTemplateBuilder) { 966 *out = *in 967 if in.obj != nil { 968 in, out := &in.obj, &out.obj 969 *out = (*in).DeepCopy() 970 } 971 } 972 973 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestInfrastructureMachineTemplateBuilder. 974 func (in *TestInfrastructureMachineTemplateBuilder) DeepCopy() *TestInfrastructureMachineTemplateBuilder { 975 if in == nil { 976 return nil 977 } 978 out := new(TestInfrastructureMachineTemplateBuilder) 979 in.DeepCopyInto(out) 980 return out 981 }