sigs.k8s.io/cluster-api@v1.6.3/api/v1beta1/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 v1beta1 22 23 import ( 24 "k8s.io/api/core/v1" 25 apiextensionsv1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1" 26 metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" 27 "k8s.io/apimachinery/pkg/runtime" 28 "k8s.io/apimachinery/pkg/util/intstr" 29 "sigs.k8s.io/cluster-api/errors" 30 ) 31 32 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 33 func (in *APIEndpoint) DeepCopyInto(out *APIEndpoint) { 34 *out = *in 35 } 36 37 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIEndpoint. 38 func (in *APIEndpoint) DeepCopy() *APIEndpoint { 39 if in == nil { 40 return nil 41 } 42 out := new(APIEndpoint) 43 in.DeepCopyInto(out) 44 return out 45 } 46 47 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 48 func (in *Bootstrap) DeepCopyInto(out *Bootstrap) { 49 *out = *in 50 if in.ConfigRef != nil { 51 in, out := &in.ConfigRef, &out.ConfigRef 52 *out = new(v1.ObjectReference) 53 **out = **in 54 } 55 if in.DataSecretName != nil { 56 in, out := &in.DataSecretName, &out.DataSecretName 57 *out = new(string) 58 **out = **in 59 } 60 } 61 62 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Bootstrap. 63 func (in *Bootstrap) DeepCopy() *Bootstrap { 64 if in == nil { 65 return nil 66 } 67 out := new(Bootstrap) 68 in.DeepCopyInto(out) 69 return out 70 } 71 72 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 73 func (in *Cluster) DeepCopyInto(out *Cluster) { 74 *out = *in 75 out.TypeMeta = in.TypeMeta 76 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 77 in.Spec.DeepCopyInto(&out.Spec) 78 in.Status.DeepCopyInto(&out.Status) 79 } 80 81 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster. 82 func (in *Cluster) DeepCopy() *Cluster { 83 if in == nil { 84 return nil 85 } 86 out := new(Cluster) 87 in.DeepCopyInto(out) 88 return out 89 } 90 91 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 92 func (in *Cluster) DeepCopyObject() runtime.Object { 93 if c := in.DeepCopy(); c != nil { 94 return c 95 } 96 return nil 97 } 98 99 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 100 func (in *ClusterClass) DeepCopyInto(out *ClusterClass) { 101 *out = *in 102 out.TypeMeta = in.TypeMeta 103 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 104 in.Spec.DeepCopyInto(&out.Spec) 105 in.Status.DeepCopyInto(&out.Status) 106 } 107 108 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterClass. 109 func (in *ClusterClass) DeepCopy() *ClusterClass { 110 if in == nil { 111 return nil 112 } 113 out := new(ClusterClass) 114 in.DeepCopyInto(out) 115 return out 116 } 117 118 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 119 func (in *ClusterClass) DeepCopyObject() runtime.Object { 120 if c := in.DeepCopy(); c != nil { 121 return c 122 } 123 return nil 124 } 125 126 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 127 func (in *ClusterClassList) DeepCopyInto(out *ClusterClassList) { 128 *out = *in 129 out.TypeMeta = in.TypeMeta 130 in.ListMeta.DeepCopyInto(&out.ListMeta) 131 if in.Items != nil { 132 in, out := &in.Items, &out.Items 133 *out = make([]ClusterClass, len(*in)) 134 for i := range *in { 135 (*in)[i].DeepCopyInto(&(*out)[i]) 136 } 137 } 138 } 139 140 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterClassList. 141 func (in *ClusterClassList) DeepCopy() *ClusterClassList { 142 if in == nil { 143 return nil 144 } 145 out := new(ClusterClassList) 146 in.DeepCopyInto(out) 147 return out 148 } 149 150 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 151 func (in *ClusterClassList) DeepCopyObject() runtime.Object { 152 if c := in.DeepCopy(); c != nil { 153 return c 154 } 155 return nil 156 } 157 158 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 159 func (in *ClusterClassPatch) DeepCopyInto(out *ClusterClassPatch) { 160 *out = *in 161 if in.EnabledIf != nil { 162 in, out := &in.EnabledIf, &out.EnabledIf 163 *out = new(string) 164 **out = **in 165 } 166 if in.Definitions != nil { 167 in, out := &in.Definitions, &out.Definitions 168 *out = make([]PatchDefinition, len(*in)) 169 for i := range *in { 170 (*in)[i].DeepCopyInto(&(*out)[i]) 171 } 172 } 173 if in.External != nil { 174 in, out := &in.External, &out.External 175 *out = new(ExternalPatchDefinition) 176 (*in).DeepCopyInto(*out) 177 } 178 } 179 180 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterClassPatch. 181 func (in *ClusterClassPatch) DeepCopy() *ClusterClassPatch { 182 if in == nil { 183 return nil 184 } 185 out := new(ClusterClassPatch) 186 in.DeepCopyInto(out) 187 return out 188 } 189 190 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 191 func (in *ClusterClassSpec) DeepCopyInto(out *ClusterClassSpec) { 192 *out = *in 193 in.Infrastructure.DeepCopyInto(&out.Infrastructure) 194 in.ControlPlane.DeepCopyInto(&out.ControlPlane) 195 in.Workers.DeepCopyInto(&out.Workers) 196 if in.Variables != nil { 197 in, out := &in.Variables, &out.Variables 198 *out = make([]ClusterClassVariable, len(*in)) 199 for i := range *in { 200 (*in)[i].DeepCopyInto(&(*out)[i]) 201 } 202 } 203 if in.Patches != nil { 204 in, out := &in.Patches, &out.Patches 205 *out = make([]ClusterClassPatch, len(*in)) 206 for i := range *in { 207 (*in)[i].DeepCopyInto(&(*out)[i]) 208 } 209 } 210 } 211 212 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterClassSpec. 213 func (in *ClusterClassSpec) DeepCopy() *ClusterClassSpec { 214 if in == nil { 215 return nil 216 } 217 out := new(ClusterClassSpec) 218 in.DeepCopyInto(out) 219 return out 220 } 221 222 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 223 func (in *ClusterClassStatus) DeepCopyInto(out *ClusterClassStatus) { 224 *out = *in 225 if in.Variables != nil { 226 in, out := &in.Variables, &out.Variables 227 *out = make([]ClusterClassStatusVariable, len(*in)) 228 for i := range *in { 229 (*in)[i].DeepCopyInto(&(*out)[i]) 230 } 231 } 232 if in.Conditions != nil { 233 in, out := &in.Conditions, &out.Conditions 234 *out = make(Conditions, len(*in)) 235 for i := range *in { 236 (*in)[i].DeepCopyInto(&(*out)[i]) 237 } 238 } 239 } 240 241 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterClassStatus. 242 func (in *ClusterClassStatus) DeepCopy() *ClusterClassStatus { 243 if in == nil { 244 return nil 245 } 246 out := new(ClusterClassStatus) 247 in.DeepCopyInto(out) 248 return out 249 } 250 251 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 252 func (in *ClusterClassStatusVariable) DeepCopyInto(out *ClusterClassStatusVariable) { 253 *out = *in 254 if in.Definitions != nil { 255 in, out := &in.Definitions, &out.Definitions 256 *out = make([]ClusterClassStatusVariableDefinition, len(*in)) 257 for i := range *in { 258 (*in)[i].DeepCopyInto(&(*out)[i]) 259 } 260 } 261 } 262 263 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterClassStatusVariable. 264 func (in *ClusterClassStatusVariable) DeepCopy() *ClusterClassStatusVariable { 265 if in == nil { 266 return nil 267 } 268 out := new(ClusterClassStatusVariable) 269 in.DeepCopyInto(out) 270 return out 271 } 272 273 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 274 func (in *ClusterClassStatusVariableDefinition) DeepCopyInto(out *ClusterClassStatusVariableDefinition) { 275 *out = *in 276 in.Schema.DeepCopyInto(&out.Schema) 277 } 278 279 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterClassStatusVariableDefinition. 280 func (in *ClusterClassStatusVariableDefinition) DeepCopy() *ClusterClassStatusVariableDefinition { 281 if in == nil { 282 return nil 283 } 284 out := new(ClusterClassStatusVariableDefinition) 285 in.DeepCopyInto(out) 286 return out 287 } 288 289 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 290 func (in *ClusterClassVariable) DeepCopyInto(out *ClusterClassVariable) { 291 *out = *in 292 in.Schema.DeepCopyInto(&out.Schema) 293 } 294 295 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterClassVariable. 296 func (in *ClusterClassVariable) DeepCopy() *ClusterClassVariable { 297 if in == nil { 298 return nil 299 } 300 out := new(ClusterClassVariable) 301 in.DeepCopyInto(out) 302 return out 303 } 304 305 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 306 func (in *ClusterList) DeepCopyInto(out *ClusterList) { 307 *out = *in 308 out.TypeMeta = in.TypeMeta 309 in.ListMeta.DeepCopyInto(&out.ListMeta) 310 if in.Items != nil { 311 in, out := &in.Items, &out.Items 312 *out = make([]Cluster, len(*in)) 313 for i := range *in { 314 (*in)[i].DeepCopyInto(&(*out)[i]) 315 } 316 } 317 } 318 319 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterList. 320 func (in *ClusterList) DeepCopy() *ClusterList { 321 if in == nil { 322 return nil 323 } 324 out := new(ClusterList) 325 in.DeepCopyInto(out) 326 return out 327 } 328 329 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 330 func (in *ClusterList) DeepCopyObject() runtime.Object { 331 if c := in.DeepCopy(); c != nil { 332 return c 333 } 334 return nil 335 } 336 337 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 338 func (in *ClusterNetwork) DeepCopyInto(out *ClusterNetwork) { 339 *out = *in 340 if in.APIServerPort != nil { 341 in, out := &in.APIServerPort, &out.APIServerPort 342 *out = new(int32) 343 **out = **in 344 } 345 if in.Services != nil { 346 in, out := &in.Services, &out.Services 347 *out = new(NetworkRanges) 348 (*in).DeepCopyInto(*out) 349 } 350 if in.Pods != nil { 351 in, out := &in.Pods, &out.Pods 352 *out = new(NetworkRanges) 353 (*in).DeepCopyInto(*out) 354 } 355 } 356 357 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterNetwork. 358 func (in *ClusterNetwork) DeepCopy() *ClusterNetwork { 359 if in == nil { 360 return nil 361 } 362 out := new(ClusterNetwork) 363 in.DeepCopyInto(out) 364 return out 365 } 366 367 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 368 func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec) { 369 *out = *in 370 if in.ClusterNetwork != nil { 371 in, out := &in.ClusterNetwork, &out.ClusterNetwork 372 *out = new(ClusterNetwork) 373 (*in).DeepCopyInto(*out) 374 } 375 out.ControlPlaneEndpoint = in.ControlPlaneEndpoint 376 if in.ControlPlaneRef != nil { 377 in, out := &in.ControlPlaneRef, &out.ControlPlaneRef 378 *out = new(v1.ObjectReference) 379 **out = **in 380 } 381 if in.InfrastructureRef != nil { 382 in, out := &in.InfrastructureRef, &out.InfrastructureRef 383 *out = new(v1.ObjectReference) 384 **out = **in 385 } 386 if in.Topology != nil { 387 in, out := &in.Topology, &out.Topology 388 *out = new(Topology) 389 (*in).DeepCopyInto(*out) 390 } 391 } 392 393 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpec. 394 func (in *ClusterSpec) DeepCopy() *ClusterSpec { 395 if in == nil { 396 return nil 397 } 398 out := new(ClusterSpec) 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 *ClusterStatus) DeepCopyInto(out *ClusterStatus) { 405 *out = *in 406 if in.FailureDomains != nil { 407 in, out := &in.FailureDomains, &out.FailureDomains 408 *out = make(FailureDomains, len(*in)) 409 for key, val := range *in { 410 (*out)[key] = *val.DeepCopy() 411 } 412 } 413 if in.FailureReason != nil { 414 in, out := &in.FailureReason, &out.FailureReason 415 *out = new(errors.ClusterStatusError) 416 **out = **in 417 } 418 if in.FailureMessage != nil { 419 in, out := &in.FailureMessage, &out.FailureMessage 420 *out = new(string) 421 **out = **in 422 } 423 if in.Conditions != nil { 424 in, out := &in.Conditions, &out.Conditions 425 *out = make(Conditions, len(*in)) 426 for i := range *in { 427 (*in)[i].DeepCopyInto(&(*out)[i]) 428 } 429 } 430 } 431 432 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus. 433 func (in *ClusterStatus) DeepCopy() *ClusterStatus { 434 if in == nil { 435 return nil 436 } 437 out := new(ClusterStatus) 438 in.DeepCopyInto(out) 439 return out 440 } 441 442 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 443 func (in *ClusterVariable) DeepCopyInto(out *ClusterVariable) { 444 *out = *in 445 in.Value.DeepCopyInto(&out.Value) 446 } 447 448 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterVariable. 449 func (in *ClusterVariable) DeepCopy() *ClusterVariable { 450 if in == nil { 451 return nil 452 } 453 out := new(ClusterVariable) 454 in.DeepCopyInto(out) 455 return out 456 } 457 458 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 459 func (in *Condition) DeepCopyInto(out *Condition) { 460 *out = *in 461 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime) 462 } 463 464 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition. 465 func (in *Condition) DeepCopy() *Condition { 466 if in == nil { 467 return nil 468 } 469 out := new(Condition) 470 in.DeepCopyInto(out) 471 return out 472 } 473 474 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 475 func (in Conditions) DeepCopyInto(out *Conditions) { 476 { 477 in := &in 478 *out = make(Conditions, len(*in)) 479 for i := range *in { 480 (*in)[i].DeepCopyInto(&(*out)[i]) 481 } 482 } 483 } 484 485 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Conditions. 486 func (in Conditions) DeepCopy() Conditions { 487 if in == nil { 488 return nil 489 } 490 out := new(Conditions) 491 in.DeepCopyInto(out) 492 return *out 493 } 494 495 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 496 func (in *ControlPlaneClass) DeepCopyInto(out *ControlPlaneClass) { 497 *out = *in 498 in.Metadata.DeepCopyInto(&out.Metadata) 499 in.LocalObjectTemplate.DeepCopyInto(&out.LocalObjectTemplate) 500 if in.MachineInfrastructure != nil { 501 in, out := &in.MachineInfrastructure, &out.MachineInfrastructure 502 *out = new(LocalObjectTemplate) 503 (*in).DeepCopyInto(*out) 504 } 505 if in.MachineHealthCheck != nil { 506 in, out := &in.MachineHealthCheck, &out.MachineHealthCheck 507 *out = new(MachineHealthCheckClass) 508 (*in).DeepCopyInto(*out) 509 } 510 if in.NamingStrategy != nil { 511 in, out := &in.NamingStrategy, &out.NamingStrategy 512 *out = new(ControlPlaneClassNamingStrategy) 513 (*in).DeepCopyInto(*out) 514 } 515 if in.NodeDrainTimeout != nil { 516 in, out := &in.NodeDrainTimeout, &out.NodeDrainTimeout 517 *out = new(metav1.Duration) 518 **out = **in 519 } 520 if in.NodeVolumeDetachTimeout != nil { 521 in, out := &in.NodeVolumeDetachTimeout, &out.NodeVolumeDetachTimeout 522 *out = new(metav1.Duration) 523 **out = **in 524 } 525 if in.NodeDeletionTimeout != nil { 526 in, out := &in.NodeDeletionTimeout, &out.NodeDeletionTimeout 527 *out = new(metav1.Duration) 528 **out = **in 529 } 530 } 531 532 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneClass. 533 func (in *ControlPlaneClass) DeepCopy() *ControlPlaneClass { 534 if in == nil { 535 return nil 536 } 537 out := new(ControlPlaneClass) 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 *ControlPlaneClassNamingStrategy) DeepCopyInto(out *ControlPlaneClassNamingStrategy) { 544 *out = *in 545 if in.Template != nil { 546 in, out := &in.Template, &out.Template 547 *out = new(string) 548 **out = **in 549 } 550 } 551 552 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneClassNamingStrategy. 553 func (in *ControlPlaneClassNamingStrategy) DeepCopy() *ControlPlaneClassNamingStrategy { 554 if in == nil { 555 return nil 556 } 557 out := new(ControlPlaneClassNamingStrategy) 558 in.DeepCopyInto(out) 559 return out 560 } 561 562 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 563 func (in *ControlPlaneTopology) DeepCopyInto(out *ControlPlaneTopology) { 564 *out = *in 565 in.Metadata.DeepCopyInto(&out.Metadata) 566 if in.Replicas != nil { 567 in, out := &in.Replicas, &out.Replicas 568 *out = new(int32) 569 **out = **in 570 } 571 if in.MachineHealthCheck != nil { 572 in, out := &in.MachineHealthCheck, &out.MachineHealthCheck 573 *out = new(MachineHealthCheckTopology) 574 (*in).DeepCopyInto(*out) 575 } 576 if in.NodeDrainTimeout != nil { 577 in, out := &in.NodeDrainTimeout, &out.NodeDrainTimeout 578 *out = new(metav1.Duration) 579 **out = **in 580 } 581 if in.NodeVolumeDetachTimeout != nil { 582 in, out := &in.NodeVolumeDetachTimeout, &out.NodeVolumeDetachTimeout 583 *out = new(metav1.Duration) 584 **out = **in 585 } 586 if in.NodeDeletionTimeout != nil { 587 in, out := &in.NodeDeletionTimeout, &out.NodeDeletionTimeout 588 *out = new(metav1.Duration) 589 **out = **in 590 } 591 } 592 593 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneTopology. 594 func (in *ControlPlaneTopology) DeepCopy() *ControlPlaneTopology { 595 if in == nil { 596 return nil 597 } 598 out := new(ControlPlaneTopology) 599 in.DeepCopyInto(out) 600 return out 601 } 602 603 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 604 func (in *ExternalPatchDefinition) DeepCopyInto(out *ExternalPatchDefinition) { 605 *out = *in 606 if in.GenerateExtension != nil { 607 in, out := &in.GenerateExtension, &out.GenerateExtension 608 *out = new(string) 609 **out = **in 610 } 611 if in.ValidateExtension != nil { 612 in, out := &in.ValidateExtension, &out.ValidateExtension 613 *out = new(string) 614 **out = **in 615 } 616 if in.DiscoverVariablesExtension != nil { 617 in, out := &in.DiscoverVariablesExtension, &out.DiscoverVariablesExtension 618 *out = new(string) 619 **out = **in 620 } 621 if in.Settings != nil { 622 in, out := &in.Settings, &out.Settings 623 *out = make(map[string]string, len(*in)) 624 for key, val := range *in { 625 (*out)[key] = val 626 } 627 } 628 } 629 630 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalPatchDefinition. 631 func (in *ExternalPatchDefinition) DeepCopy() *ExternalPatchDefinition { 632 if in == nil { 633 return nil 634 } 635 out := new(ExternalPatchDefinition) 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 *FailureDomainSpec) DeepCopyInto(out *FailureDomainSpec) { 642 *out = *in 643 if in.Attributes != nil { 644 in, out := &in.Attributes, &out.Attributes 645 *out = make(map[string]string, len(*in)) 646 for key, val := range *in { 647 (*out)[key] = val 648 } 649 } 650 } 651 652 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FailureDomainSpec. 653 func (in *FailureDomainSpec) DeepCopy() *FailureDomainSpec { 654 if in == nil { 655 return nil 656 } 657 out := new(FailureDomainSpec) 658 in.DeepCopyInto(out) 659 return out 660 } 661 662 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 663 func (in FailureDomains) DeepCopyInto(out *FailureDomains) { 664 { 665 in := &in 666 *out = make(FailureDomains, len(*in)) 667 for key, val := range *in { 668 (*out)[key] = *val.DeepCopy() 669 } 670 } 671 } 672 673 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FailureDomains. 674 func (in FailureDomains) DeepCopy() FailureDomains { 675 if in == nil { 676 return nil 677 } 678 out := new(FailureDomains) 679 in.DeepCopyInto(out) 680 return *out 681 } 682 683 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 684 func (in *JSONPatch) DeepCopyInto(out *JSONPatch) { 685 *out = *in 686 if in.Value != nil { 687 in, out := &in.Value, &out.Value 688 *out = new(apiextensionsv1.JSON) 689 (*in).DeepCopyInto(*out) 690 } 691 if in.ValueFrom != nil { 692 in, out := &in.ValueFrom, &out.ValueFrom 693 *out = new(JSONPatchValue) 694 (*in).DeepCopyInto(*out) 695 } 696 } 697 698 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSONPatch. 699 func (in *JSONPatch) DeepCopy() *JSONPatch { 700 if in == nil { 701 return nil 702 } 703 out := new(JSONPatch) 704 in.DeepCopyInto(out) 705 return out 706 } 707 708 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 709 func (in *JSONPatchValue) DeepCopyInto(out *JSONPatchValue) { 710 *out = *in 711 if in.Variable != nil { 712 in, out := &in.Variable, &out.Variable 713 *out = new(string) 714 **out = **in 715 } 716 if in.Template != nil { 717 in, out := &in.Template, &out.Template 718 *out = new(string) 719 **out = **in 720 } 721 } 722 723 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSONPatchValue. 724 func (in *JSONPatchValue) DeepCopy() *JSONPatchValue { 725 if in == nil { 726 return nil 727 } 728 out := new(JSONPatchValue) 729 in.DeepCopyInto(out) 730 return out 731 } 732 733 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 734 func (in *JSONSchemaProps) DeepCopyInto(out *JSONSchemaProps) { 735 *out = *in 736 if in.Example != nil { 737 in, out := &in.Example, &out.Example 738 *out = new(apiextensionsv1.JSON) 739 (*in).DeepCopyInto(*out) 740 } 741 if in.Properties != nil { 742 in, out := &in.Properties, &out.Properties 743 *out = make(map[string]JSONSchemaProps, len(*in)) 744 for key, val := range *in { 745 (*out)[key] = *val.DeepCopy() 746 } 747 } 748 if in.AdditionalProperties != nil { 749 in, out := &in.AdditionalProperties, &out.AdditionalProperties 750 *out = new(JSONSchemaProps) 751 (*in).DeepCopyInto(*out) 752 } 753 if in.Required != nil { 754 in, out := &in.Required, &out.Required 755 *out = make([]string, len(*in)) 756 copy(*out, *in) 757 } 758 if in.Items != nil { 759 in, out := &in.Items, &out.Items 760 *out = new(JSONSchemaProps) 761 (*in).DeepCopyInto(*out) 762 } 763 if in.MaxItems != nil { 764 in, out := &in.MaxItems, &out.MaxItems 765 *out = new(int64) 766 **out = **in 767 } 768 if in.MinItems != nil { 769 in, out := &in.MinItems, &out.MinItems 770 *out = new(int64) 771 **out = **in 772 } 773 if in.MaxLength != nil { 774 in, out := &in.MaxLength, &out.MaxLength 775 *out = new(int64) 776 **out = **in 777 } 778 if in.MinLength != nil { 779 in, out := &in.MinLength, &out.MinLength 780 *out = new(int64) 781 **out = **in 782 } 783 if in.Maximum != nil { 784 in, out := &in.Maximum, &out.Maximum 785 *out = new(int64) 786 **out = **in 787 } 788 if in.Minimum != nil { 789 in, out := &in.Minimum, &out.Minimum 790 *out = new(int64) 791 **out = **in 792 } 793 if in.Enum != nil { 794 in, out := &in.Enum, &out.Enum 795 *out = make([]apiextensionsv1.JSON, len(*in)) 796 for i := range *in { 797 (*in)[i].DeepCopyInto(&(*out)[i]) 798 } 799 } 800 if in.Default != nil { 801 in, out := &in.Default, &out.Default 802 *out = new(apiextensionsv1.JSON) 803 (*in).DeepCopyInto(*out) 804 } 805 } 806 807 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSONSchemaProps. 808 func (in *JSONSchemaProps) DeepCopy() *JSONSchemaProps { 809 if in == nil { 810 return nil 811 } 812 out := new(JSONSchemaProps) 813 in.DeepCopyInto(out) 814 return out 815 } 816 817 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 818 func (in *LocalObjectTemplate) DeepCopyInto(out *LocalObjectTemplate) { 819 *out = *in 820 if in.Ref != nil { 821 in, out := &in.Ref, &out.Ref 822 *out = new(v1.ObjectReference) 823 **out = **in 824 } 825 } 826 827 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalObjectTemplate. 828 func (in *LocalObjectTemplate) DeepCopy() *LocalObjectTemplate { 829 if in == nil { 830 return nil 831 } 832 out := new(LocalObjectTemplate) 833 in.DeepCopyInto(out) 834 return out 835 } 836 837 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 838 func (in *Machine) DeepCopyInto(out *Machine) { 839 *out = *in 840 out.TypeMeta = in.TypeMeta 841 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 842 in.Spec.DeepCopyInto(&out.Spec) 843 in.Status.DeepCopyInto(&out.Status) 844 } 845 846 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Machine. 847 func (in *Machine) DeepCopy() *Machine { 848 if in == nil { 849 return nil 850 } 851 out := new(Machine) 852 in.DeepCopyInto(out) 853 return out 854 } 855 856 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 857 func (in *Machine) DeepCopyObject() runtime.Object { 858 if c := in.DeepCopy(); c != nil { 859 return c 860 } 861 return nil 862 } 863 864 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 865 func (in *MachineAddress) DeepCopyInto(out *MachineAddress) { 866 *out = *in 867 } 868 869 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineAddress. 870 func (in *MachineAddress) DeepCopy() *MachineAddress { 871 if in == nil { 872 return nil 873 } 874 out := new(MachineAddress) 875 in.DeepCopyInto(out) 876 return out 877 } 878 879 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 880 func (in MachineAddresses) DeepCopyInto(out *MachineAddresses) { 881 { 882 in := &in 883 *out = make(MachineAddresses, len(*in)) 884 copy(*out, *in) 885 } 886 } 887 888 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineAddresses. 889 func (in MachineAddresses) DeepCopy() MachineAddresses { 890 if in == nil { 891 return nil 892 } 893 out := new(MachineAddresses) 894 in.DeepCopyInto(out) 895 return *out 896 } 897 898 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 899 func (in *MachineDeployment) DeepCopyInto(out *MachineDeployment) { 900 *out = *in 901 out.TypeMeta = in.TypeMeta 902 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 903 in.Spec.DeepCopyInto(&out.Spec) 904 in.Status.DeepCopyInto(&out.Status) 905 } 906 907 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeployment. 908 func (in *MachineDeployment) DeepCopy() *MachineDeployment { 909 if in == nil { 910 return nil 911 } 912 out := new(MachineDeployment) 913 in.DeepCopyInto(out) 914 return out 915 } 916 917 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 918 func (in *MachineDeployment) DeepCopyObject() runtime.Object { 919 if c := in.DeepCopy(); c != nil { 920 return c 921 } 922 return nil 923 } 924 925 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 926 func (in *MachineDeploymentClass) DeepCopyInto(out *MachineDeploymentClass) { 927 *out = *in 928 in.Template.DeepCopyInto(&out.Template) 929 if in.MachineHealthCheck != nil { 930 in, out := &in.MachineHealthCheck, &out.MachineHealthCheck 931 *out = new(MachineHealthCheckClass) 932 (*in).DeepCopyInto(*out) 933 } 934 if in.FailureDomain != nil { 935 in, out := &in.FailureDomain, &out.FailureDomain 936 *out = new(string) 937 **out = **in 938 } 939 if in.NamingStrategy != nil { 940 in, out := &in.NamingStrategy, &out.NamingStrategy 941 *out = new(MachineDeploymentClassNamingStrategy) 942 (*in).DeepCopyInto(*out) 943 } 944 if in.NodeDrainTimeout != nil { 945 in, out := &in.NodeDrainTimeout, &out.NodeDrainTimeout 946 *out = new(metav1.Duration) 947 **out = **in 948 } 949 if in.NodeVolumeDetachTimeout != nil { 950 in, out := &in.NodeVolumeDetachTimeout, &out.NodeVolumeDetachTimeout 951 *out = new(metav1.Duration) 952 **out = **in 953 } 954 if in.NodeDeletionTimeout != nil { 955 in, out := &in.NodeDeletionTimeout, &out.NodeDeletionTimeout 956 *out = new(metav1.Duration) 957 **out = **in 958 } 959 if in.MinReadySeconds != nil { 960 in, out := &in.MinReadySeconds, &out.MinReadySeconds 961 *out = new(int32) 962 **out = **in 963 } 964 if in.Strategy != nil { 965 in, out := &in.Strategy, &out.Strategy 966 *out = new(MachineDeploymentStrategy) 967 (*in).DeepCopyInto(*out) 968 } 969 } 970 971 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeploymentClass. 972 func (in *MachineDeploymentClass) DeepCopy() *MachineDeploymentClass { 973 if in == nil { 974 return nil 975 } 976 out := new(MachineDeploymentClass) 977 in.DeepCopyInto(out) 978 return out 979 } 980 981 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 982 func (in *MachineDeploymentClassNamingStrategy) DeepCopyInto(out *MachineDeploymentClassNamingStrategy) { 983 *out = *in 984 if in.Template != nil { 985 in, out := &in.Template, &out.Template 986 *out = new(string) 987 **out = **in 988 } 989 } 990 991 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeploymentClassNamingStrategy. 992 func (in *MachineDeploymentClassNamingStrategy) DeepCopy() *MachineDeploymentClassNamingStrategy { 993 if in == nil { 994 return nil 995 } 996 out := new(MachineDeploymentClassNamingStrategy) 997 in.DeepCopyInto(out) 998 return out 999 } 1000 1001 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1002 func (in *MachineDeploymentClassTemplate) DeepCopyInto(out *MachineDeploymentClassTemplate) { 1003 *out = *in 1004 in.Metadata.DeepCopyInto(&out.Metadata) 1005 in.Bootstrap.DeepCopyInto(&out.Bootstrap) 1006 in.Infrastructure.DeepCopyInto(&out.Infrastructure) 1007 } 1008 1009 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeploymentClassTemplate. 1010 func (in *MachineDeploymentClassTemplate) DeepCopy() *MachineDeploymentClassTemplate { 1011 if in == nil { 1012 return nil 1013 } 1014 out := new(MachineDeploymentClassTemplate) 1015 in.DeepCopyInto(out) 1016 return out 1017 } 1018 1019 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1020 func (in *MachineDeploymentList) DeepCopyInto(out *MachineDeploymentList) { 1021 *out = *in 1022 out.TypeMeta = in.TypeMeta 1023 in.ListMeta.DeepCopyInto(&out.ListMeta) 1024 if in.Items != nil { 1025 in, out := &in.Items, &out.Items 1026 *out = make([]MachineDeployment, len(*in)) 1027 for i := range *in { 1028 (*in)[i].DeepCopyInto(&(*out)[i]) 1029 } 1030 } 1031 } 1032 1033 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeploymentList. 1034 func (in *MachineDeploymentList) DeepCopy() *MachineDeploymentList { 1035 if in == nil { 1036 return nil 1037 } 1038 out := new(MachineDeploymentList) 1039 in.DeepCopyInto(out) 1040 return out 1041 } 1042 1043 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 1044 func (in *MachineDeploymentList) DeepCopyObject() runtime.Object { 1045 if c := in.DeepCopy(); c != nil { 1046 return c 1047 } 1048 return nil 1049 } 1050 1051 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1052 func (in *MachineDeploymentSpec) DeepCopyInto(out *MachineDeploymentSpec) { 1053 *out = *in 1054 if in.Replicas != nil { 1055 in, out := &in.Replicas, &out.Replicas 1056 *out = new(int32) 1057 **out = **in 1058 } 1059 if in.RolloutAfter != nil { 1060 in, out := &in.RolloutAfter, &out.RolloutAfter 1061 *out = (*in).DeepCopy() 1062 } 1063 in.Selector.DeepCopyInto(&out.Selector) 1064 in.Template.DeepCopyInto(&out.Template) 1065 if in.Strategy != nil { 1066 in, out := &in.Strategy, &out.Strategy 1067 *out = new(MachineDeploymentStrategy) 1068 (*in).DeepCopyInto(*out) 1069 } 1070 if in.MinReadySeconds != nil { 1071 in, out := &in.MinReadySeconds, &out.MinReadySeconds 1072 *out = new(int32) 1073 **out = **in 1074 } 1075 if in.RevisionHistoryLimit != nil { 1076 in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit 1077 *out = new(int32) 1078 **out = **in 1079 } 1080 if in.ProgressDeadlineSeconds != nil { 1081 in, out := &in.ProgressDeadlineSeconds, &out.ProgressDeadlineSeconds 1082 *out = new(int32) 1083 **out = **in 1084 } 1085 } 1086 1087 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeploymentSpec. 1088 func (in *MachineDeploymentSpec) DeepCopy() *MachineDeploymentSpec { 1089 if in == nil { 1090 return nil 1091 } 1092 out := new(MachineDeploymentSpec) 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 *MachineDeploymentStatus) DeepCopyInto(out *MachineDeploymentStatus) { 1099 *out = *in 1100 if in.Conditions != nil { 1101 in, out := &in.Conditions, &out.Conditions 1102 *out = make(Conditions, len(*in)) 1103 for i := range *in { 1104 (*in)[i].DeepCopyInto(&(*out)[i]) 1105 } 1106 } 1107 } 1108 1109 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeploymentStatus. 1110 func (in *MachineDeploymentStatus) DeepCopy() *MachineDeploymentStatus { 1111 if in == nil { 1112 return nil 1113 } 1114 out := new(MachineDeploymentStatus) 1115 in.DeepCopyInto(out) 1116 return out 1117 } 1118 1119 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1120 func (in *MachineDeploymentStrategy) DeepCopyInto(out *MachineDeploymentStrategy) { 1121 *out = *in 1122 if in.RollingUpdate != nil { 1123 in, out := &in.RollingUpdate, &out.RollingUpdate 1124 *out = new(MachineRollingUpdateDeployment) 1125 (*in).DeepCopyInto(*out) 1126 } 1127 } 1128 1129 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeploymentStrategy. 1130 func (in *MachineDeploymentStrategy) DeepCopy() *MachineDeploymentStrategy { 1131 if in == nil { 1132 return nil 1133 } 1134 out := new(MachineDeploymentStrategy) 1135 in.DeepCopyInto(out) 1136 return out 1137 } 1138 1139 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1140 func (in *MachineDeploymentTopology) DeepCopyInto(out *MachineDeploymentTopology) { 1141 *out = *in 1142 in.Metadata.DeepCopyInto(&out.Metadata) 1143 if in.FailureDomain != nil { 1144 in, out := &in.FailureDomain, &out.FailureDomain 1145 *out = new(string) 1146 **out = **in 1147 } 1148 if in.Replicas != nil { 1149 in, out := &in.Replicas, &out.Replicas 1150 *out = new(int32) 1151 **out = **in 1152 } 1153 if in.MachineHealthCheck != nil { 1154 in, out := &in.MachineHealthCheck, &out.MachineHealthCheck 1155 *out = new(MachineHealthCheckTopology) 1156 (*in).DeepCopyInto(*out) 1157 } 1158 if in.NodeDrainTimeout != nil { 1159 in, out := &in.NodeDrainTimeout, &out.NodeDrainTimeout 1160 *out = new(metav1.Duration) 1161 **out = **in 1162 } 1163 if in.NodeVolumeDetachTimeout != nil { 1164 in, out := &in.NodeVolumeDetachTimeout, &out.NodeVolumeDetachTimeout 1165 *out = new(metav1.Duration) 1166 **out = **in 1167 } 1168 if in.NodeDeletionTimeout != nil { 1169 in, out := &in.NodeDeletionTimeout, &out.NodeDeletionTimeout 1170 *out = new(metav1.Duration) 1171 **out = **in 1172 } 1173 if in.MinReadySeconds != nil { 1174 in, out := &in.MinReadySeconds, &out.MinReadySeconds 1175 *out = new(int32) 1176 **out = **in 1177 } 1178 if in.Strategy != nil { 1179 in, out := &in.Strategy, &out.Strategy 1180 *out = new(MachineDeploymentStrategy) 1181 (*in).DeepCopyInto(*out) 1182 } 1183 if in.Variables != nil { 1184 in, out := &in.Variables, &out.Variables 1185 *out = new(MachineDeploymentVariables) 1186 (*in).DeepCopyInto(*out) 1187 } 1188 } 1189 1190 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeploymentTopology. 1191 func (in *MachineDeploymentTopology) DeepCopy() *MachineDeploymentTopology { 1192 if in == nil { 1193 return nil 1194 } 1195 out := new(MachineDeploymentTopology) 1196 in.DeepCopyInto(out) 1197 return out 1198 } 1199 1200 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1201 func (in *MachineDeploymentVariables) DeepCopyInto(out *MachineDeploymentVariables) { 1202 *out = *in 1203 if in.Overrides != nil { 1204 in, out := &in.Overrides, &out.Overrides 1205 *out = make([]ClusterVariable, len(*in)) 1206 for i := range *in { 1207 (*in)[i].DeepCopyInto(&(*out)[i]) 1208 } 1209 } 1210 } 1211 1212 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeploymentVariables. 1213 func (in *MachineDeploymentVariables) DeepCopy() *MachineDeploymentVariables { 1214 if in == nil { 1215 return nil 1216 } 1217 out := new(MachineDeploymentVariables) 1218 in.DeepCopyInto(out) 1219 return out 1220 } 1221 1222 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1223 func (in *MachineHealthCheck) DeepCopyInto(out *MachineHealthCheck) { 1224 *out = *in 1225 out.TypeMeta = in.TypeMeta 1226 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 1227 in.Spec.DeepCopyInto(&out.Spec) 1228 in.Status.DeepCopyInto(&out.Status) 1229 } 1230 1231 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineHealthCheck. 1232 func (in *MachineHealthCheck) DeepCopy() *MachineHealthCheck { 1233 if in == nil { 1234 return nil 1235 } 1236 out := new(MachineHealthCheck) 1237 in.DeepCopyInto(out) 1238 return out 1239 } 1240 1241 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 1242 func (in *MachineHealthCheck) DeepCopyObject() runtime.Object { 1243 if c := in.DeepCopy(); c != nil { 1244 return c 1245 } 1246 return nil 1247 } 1248 1249 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1250 func (in *MachineHealthCheckClass) DeepCopyInto(out *MachineHealthCheckClass) { 1251 *out = *in 1252 if in.UnhealthyConditions != nil { 1253 in, out := &in.UnhealthyConditions, &out.UnhealthyConditions 1254 *out = make([]UnhealthyCondition, len(*in)) 1255 copy(*out, *in) 1256 } 1257 if in.MaxUnhealthy != nil { 1258 in, out := &in.MaxUnhealthy, &out.MaxUnhealthy 1259 *out = new(intstr.IntOrString) 1260 **out = **in 1261 } 1262 if in.UnhealthyRange != nil { 1263 in, out := &in.UnhealthyRange, &out.UnhealthyRange 1264 *out = new(string) 1265 **out = **in 1266 } 1267 if in.NodeStartupTimeout != nil { 1268 in, out := &in.NodeStartupTimeout, &out.NodeStartupTimeout 1269 *out = new(metav1.Duration) 1270 **out = **in 1271 } 1272 if in.RemediationTemplate != nil { 1273 in, out := &in.RemediationTemplate, &out.RemediationTemplate 1274 *out = new(v1.ObjectReference) 1275 **out = **in 1276 } 1277 } 1278 1279 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineHealthCheckClass. 1280 func (in *MachineHealthCheckClass) DeepCopy() *MachineHealthCheckClass { 1281 if in == nil { 1282 return nil 1283 } 1284 out := new(MachineHealthCheckClass) 1285 in.DeepCopyInto(out) 1286 return out 1287 } 1288 1289 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1290 func (in *MachineHealthCheckList) DeepCopyInto(out *MachineHealthCheckList) { 1291 *out = *in 1292 out.TypeMeta = in.TypeMeta 1293 in.ListMeta.DeepCopyInto(&out.ListMeta) 1294 if in.Items != nil { 1295 in, out := &in.Items, &out.Items 1296 *out = make([]MachineHealthCheck, len(*in)) 1297 for i := range *in { 1298 (*in)[i].DeepCopyInto(&(*out)[i]) 1299 } 1300 } 1301 } 1302 1303 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineHealthCheckList. 1304 func (in *MachineHealthCheckList) DeepCopy() *MachineHealthCheckList { 1305 if in == nil { 1306 return nil 1307 } 1308 out := new(MachineHealthCheckList) 1309 in.DeepCopyInto(out) 1310 return out 1311 } 1312 1313 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 1314 func (in *MachineHealthCheckList) DeepCopyObject() runtime.Object { 1315 if c := in.DeepCopy(); c != nil { 1316 return c 1317 } 1318 return nil 1319 } 1320 1321 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1322 func (in *MachineHealthCheckSpec) DeepCopyInto(out *MachineHealthCheckSpec) { 1323 *out = *in 1324 in.Selector.DeepCopyInto(&out.Selector) 1325 if in.UnhealthyConditions != nil { 1326 in, out := &in.UnhealthyConditions, &out.UnhealthyConditions 1327 *out = make([]UnhealthyCondition, len(*in)) 1328 copy(*out, *in) 1329 } 1330 if in.MaxUnhealthy != nil { 1331 in, out := &in.MaxUnhealthy, &out.MaxUnhealthy 1332 *out = new(intstr.IntOrString) 1333 **out = **in 1334 } 1335 if in.UnhealthyRange != nil { 1336 in, out := &in.UnhealthyRange, &out.UnhealthyRange 1337 *out = new(string) 1338 **out = **in 1339 } 1340 if in.NodeStartupTimeout != nil { 1341 in, out := &in.NodeStartupTimeout, &out.NodeStartupTimeout 1342 *out = new(metav1.Duration) 1343 **out = **in 1344 } 1345 if in.RemediationTemplate != nil { 1346 in, out := &in.RemediationTemplate, &out.RemediationTemplate 1347 *out = new(v1.ObjectReference) 1348 **out = **in 1349 } 1350 } 1351 1352 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineHealthCheckSpec. 1353 func (in *MachineHealthCheckSpec) DeepCopy() *MachineHealthCheckSpec { 1354 if in == nil { 1355 return nil 1356 } 1357 out := new(MachineHealthCheckSpec) 1358 in.DeepCopyInto(out) 1359 return out 1360 } 1361 1362 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1363 func (in *MachineHealthCheckStatus) DeepCopyInto(out *MachineHealthCheckStatus) { 1364 *out = *in 1365 if in.Targets != nil { 1366 in, out := &in.Targets, &out.Targets 1367 *out = make([]string, len(*in)) 1368 copy(*out, *in) 1369 } 1370 if in.Conditions != nil { 1371 in, out := &in.Conditions, &out.Conditions 1372 *out = make(Conditions, len(*in)) 1373 for i := range *in { 1374 (*in)[i].DeepCopyInto(&(*out)[i]) 1375 } 1376 } 1377 } 1378 1379 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineHealthCheckStatus. 1380 func (in *MachineHealthCheckStatus) DeepCopy() *MachineHealthCheckStatus { 1381 if in == nil { 1382 return nil 1383 } 1384 out := new(MachineHealthCheckStatus) 1385 in.DeepCopyInto(out) 1386 return out 1387 } 1388 1389 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1390 func (in *MachineHealthCheckTopology) DeepCopyInto(out *MachineHealthCheckTopology) { 1391 *out = *in 1392 if in.Enable != nil { 1393 in, out := &in.Enable, &out.Enable 1394 *out = new(bool) 1395 **out = **in 1396 } 1397 in.MachineHealthCheckClass.DeepCopyInto(&out.MachineHealthCheckClass) 1398 } 1399 1400 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineHealthCheckTopology. 1401 func (in *MachineHealthCheckTopology) DeepCopy() *MachineHealthCheckTopology { 1402 if in == nil { 1403 return nil 1404 } 1405 out := new(MachineHealthCheckTopology) 1406 in.DeepCopyInto(out) 1407 return out 1408 } 1409 1410 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1411 func (in *MachineList) DeepCopyInto(out *MachineList) { 1412 *out = *in 1413 out.TypeMeta = in.TypeMeta 1414 in.ListMeta.DeepCopyInto(&out.ListMeta) 1415 if in.Items != nil { 1416 in, out := &in.Items, &out.Items 1417 *out = make([]Machine, len(*in)) 1418 for i := range *in { 1419 (*in)[i].DeepCopyInto(&(*out)[i]) 1420 } 1421 } 1422 } 1423 1424 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineList. 1425 func (in *MachineList) DeepCopy() *MachineList { 1426 if in == nil { 1427 return nil 1428 } 1429 out := new(MachineList) 1430 in.DeepCopyInto(out) 1431 return out 1432 } 1433 1434 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 1435 func (in *MachineList) DeepCopyObject() runtime.Object { 1436 if c := in.DeepCopy(); c != nil { 1437 return c 1438 } 1439 return nil 1440 } 1441 1442 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1443 func (in *MachinePoolClass) DeepCopyInto(out *MachinePoolClass) { 1444 *out = *in 1445 in.Template.DeepCopyInto(&out.Template) 1446 if in.FailureDomains != nil { 1447 in, out := &in.FailureDomains, &out.FailureDomains 1448 *out = make([]string, len(*in)) 1449 copy(*out, *in) 1450 } 1451 if in.NamingStrategy != nil { 1452 in, out := &in.NamingStrategy, &out.NamingStrategy 1453 *out = new(MachinePoolClassNamingStrategy) 1454 (*in).DeepCopyInto(*out) 1455 } 1456 if in.NodeDrainTimeout != nil { 1457 in, out := &in.NodeDrainTimeout, &out.NodeDrainTimeout 1458 *out = new(metav1.Duration) 1459 **out = **in 1460 } 1461 if in.NodeVolumeDetachTimeout != nil { 1462 in, out := &in.NodeVolumeDetachTimeout, &out.NodeVolumeDetachTimeout 1463 *out = new(metav1.Duration) 1464 **out = **in 1465 } 1466 if in.NodeDeletionTimeout != nil { 1467 in, out := &in.NodeDeletionTimeout, &out.NodeDeletionTimeout 1468 *out = new(metav1.Duration) 1469 **out = **in 1470 } 1471 if in.MinReadySeconds != nil { 1472 in, out := &in.MinReadySeconds, &out.MinReadySeconds 1473 *out = new(int32) 1474 **out = **in 1475 } 1476 } 1477 1478 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachinePoolClass. 1479 func (in *MachinePoolClass) DeepCopy() *MachinePoolClass { 1480 if in == nil { 1481 return nil 1482 } 1483 out := new(MachinePoolClass) 1484 in.DeepCopyInto(out) 1485 return out 1486 } 1487 1488 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1489 func (in *MachinePoolClassNamingStrategy) DeepCopyInto(out *MachinePoolClassNamingStrategy) { 1490 *out = *in 1491 if in.Template != nil { 1492 in, out := &in.Template, &out.Template 1493 *out = new(string) 1494 **out = **in 1495 } 1496 } 1497 1498 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachinePoolClassNamingStrategy. 1499 func (in *MachinePoolClassNamingStrategy) DeepCopy() *MachinePoolClassNamingStrategy { 1500 if in == nil { 1501 return nil 1502 } 1503 out := new(MachinePoolClassNamingStrategy) 1504 in.DeepCopyInto(out) 1505 return out 1506 } 1507 1508 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1509 func (in *MachinePoolClassTemplate) DeepCopyInto(out *MachinePoolClassTemplate) { 1510 *out = *in 1511 in.Metadata.DeepCopyInto(&out.Metadata) 1512 in.Bootstrap.DeepCopyInto(&out.Bootstrap) 1513 in.Infrastructure.DeepCopyInto(&out.Infrastructure) 1514 } 1515 1516 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachinePoolClassTemplate. 1517 func (in *MachinePoolClassTemplate) DeepCopy() *MachinePoolClassTemplate { 1518 if in == nil { 1519 return nil 1520 } 1521 out := new(MachinePoolClassTemplate) 1522 in.DeepCopyInto(out) 1523 return out 1524 } 1525 1526 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1527 func (in *MachinePoolTopology) DeepCopyInto(out *MachinePoolTopology) { 1528 *out = *in 1529 in.Metadata.DeepCopyInto(&out.Metadata) 1530 if in.FailureDomains != nil { 1531 in, out := &in.FailureDomains, &out.FailureDomains 1532 *out = make([]string, len(*in)) 1533 copy(*out, *in) 1534 } 1535 if in.NodeDrainTimeout != nil { 1536 in, out := &in.NodeDrainTimeout, &out.NodeDrainTimeout 1537 *out = new(metav1.Duration) 1538 **out = **in 1539 } 1540 if in.NodeVolumeDetachTimeout != nil { 1541 in, out := &in.NodeVolumeDetachTimeout, &out.NodeVolumeDetachTimeout 1542 *out = new(metav1.Duration) 1543 **out = **in 1544 } 1545 if in.NodeDeletionTimeout != nil { 1546 in, out := &in.NodeDeletionTimeout, &out.NodeDeletionTimeout 1547 *out = new(metav1.Duration) 1548 **out = **in 1549 } 1550 if in.MinReadySeconds != nil { 1551 in, out := &in.MinReadySeconds, &out.MinReadySeconds 1552 *out = new(int32) 1553 **out = **in 1554 } 1555 if in.Replicas != nil { 1556 in, out := &in.Replicas, &out.Replicas 1557 *out = new(int32) 1558 **out = **in 1559 } 1560 if in.Variables != nil { 1561 in, out := &in.Variables, &out.Variables 1562 *out = new(MachinePoolVariables) 1563 (*in).DeepCopyInto(*out) 1564 } 1565 } 1566 1567 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachinePoolTopology. 1568 func (in *MachinePoolTopology) DeepCopy() *MachinePoolTopology { 1569 if in == nil { 1570 return nil 1571 } 1572 out := new(MachinePoolTopology) 1573 in.DeepCopyInto(out) 1574 return out 1575 } 1576 1577 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1578 func (in *MachinePoolVariables) DeepCopyInto(out *MachinePoolVariables) { 1579 *out = *in 1580 if in.Overrides != nil { 1581 in, out := &in.Overrides, &out.Overrides 1582 *out = make([]ClusterVariable, len(*in)) 1583 for i := range *in { 1584 (*in)[i].DeepCopyInto(&(*out)[i]) 1585 } 1586 } 1587 } 1588 1589 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachinePoolVariables. 1590 func (in *MachinePoolVariables) DeepCopy() *MachinePoolVariables { 1591 if in == nil { 1592 return nil 1593 } 1594 out := new(MachinePoolVariables) 1595 in.DeepCopyInto(out) 1596 return out 1597 } 1598 1599 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1600 func (in *MachineRollingUpdateDeployment) DeepCopyInto(out *MachineRollingUpdateDeployment) { 1601 *out = *in 1602 if in.MaxUnavailable != nil { 1603 in, out := &in.MaxUnavailable, &out.MaxUnavailable 1604 *out = new(intstr.IntOrString) 1605 **out = **in 1606 } 1607 if in.MaxSurge != nil { 1608 in, out := &in.MaxSurge, &out.MaxSurge 1609 *out = new(intstr.IntOrString) 1610 **out = **in 1611 } 1612 if in.DeletePolicy != nil { 1613 in, out := &in.DeletePolicy, &out.DeletePolicy 1614 *out = new(string) 1615 **out = **in 1616 } 1617 } 1618 1619 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineRollingUpdateDeployment. 1620 func (in *MachineRollingUpdateDeployment) DeepCopy() *MachineRollingUpdateDeployment { 1621 if in == nil { 1622 return nil 1623 } 1624 out := new(MachineRollingUpdateDeployment) 1625 in.DeepCopyInto(out) 1626 return out 1627 } 1628 1629 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1630 func (in *MachineSet) DeepCopyInto(out *MachineSet) { 1631 *out = *in 1632 out.TypeMeta = in.TypeMeta 1633 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 1634 in.Spec.DeepCopyInto(&out.Spec) 1635 in.Status.DeepCopyInto(&out.Status) 1636 } 1637 1638 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSet. 1639 func (in *MachineSet) DeepCopy() *MachineSet { 1640 if in == nil { 1641 return nil 1642 } 1643 out := new(MachineSet) 1644 in.DeepCopyInto(out) 1645 return out 1646 } 1647 1648 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 1649 func (in *MachineSet) DeepCopyObject() runtime.Object { 1650 if c := in.DeepCopy(); c != nil { 1651 return c 1652 } 1653 return nil 1654 } 1655 1656 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1657 func (in *MachineSetList) DeepCopyInto(out *MachineSetList) { 1658 *out = *in 1659 out.TypeMeta = in.TypeMeta 1660 in.ListMeta.DeepCopyInto(&out.ListMeta) 1661 if in.Items != nil { 1662 in, out := &in.Items, &out.Items 1663 *out = make([]MachineSet, len(*in)) 1664 for i := range *in { 1665 (*in)[i].DeepCopyInto(&(*out)[i]) 1666 } 1667 } 1668 } 1669 1670 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSetList. 1671 func (in *MachineSetList) DeepCopy() *MachineSetList { 1672 if in == nil { 1673 return nil 1674 } 1675 out := new(MachineSetList) 1676 in.DeepCopyInto(out) 1677 return out 1678 } 1679 1680 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 1681 func (in *MachineSetList) DeepCopyObject() runtime.Object { 1682 if c := in.DeepCopy(); c != nil { 1683 return c 1684 } 1685 return nil 1686 } 1687 1688 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1689 func (in *MachineSetSpec) DeepCopyInto(out *MachineSetSpec) { 1690 *out = *in 1691 if in.Replicas != nil { 1692 in, out := &in.Replicas, &out.Replicas 1693 *out = new(int32) 1694 **out = **in 1695 } 1696 in.Selector.DeepCopyInto(&out.Selector) 1697 in.Template.DeepCopyInto(&out.Template) 1698 } 1699 1700 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSetSpec. 1701 func (in *MachineSetSpec) DeepCopy() *MachineSetSpec { 1702 if in == nil { 1703 return nil 1704 } 1705 out := new(MachineSetSpec) 1706 in.DeepCopyInto(out) 1707 return out 1708 } 1709 1710 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1711 func (in *MachineSetStatus) DeepCopyInto(out *MachineSetStatus) { 1712 *out = *in 1713 if in.FailureReason != nil { 1714 in, out := &in.FailureReason, &out.FailureReason 1715 *out = new(errors.MachineSetStatusError) 1716 **out = **in 1717 } 1718 if in.FailureMessage != nil { 1719 in, out := &in.FailureMessage, &out.FailureMessage 1720 *out = new(string) 1721 **out = **in 1722 } 1723 if in.Conditions != nil { 1724 in, out := &in.Conditions, &out.Conditions 1725 *out = make(Conditions, len(*in)) 1726 for i := range *in { 1727 (*in)[i].DeepCopyInto(&(*out)[i]) 1728 } 1729 } 1730 } 1731 1732 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSetStatus. 1733 func (in *MachineSetStatus) DeepCopy() *MachineSetStatus { 1734 if in == nil { 1735 return nil 1736 } 1737 out := new(MachineSetStatus) 1738 in.DeepCopyInto(out) 1739 return out 1740 } 1741 1742 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1743 func (in *MachineSpec) DeepCopyInto(out *MachineSpec) { 1744 *out = *in 1745 in.Bootstrap.DeepCopyInto(&out.Bootstrap) 1746 out.InfrastructureRef = in.InfrastructureRef 1747 if in.Version != nil { 1748 in, out := &in.Version, &out.Version 1749 *out = new(string) 1750 **out = **in 1751 } 1752 if in.ProviderID != nil { 1753 in, out := &in.ProviderID, &out.ProviderID 1754 *out = new(string) 1755 **out = **in 1756 } 1757 if in.FailureDomain != nil { 1758 in, out := &in.FailureDomain, &out.FailureDomain 1759 *out = new(string) 1760 **out = **in 1761 } 1762 if in.NodeDrainTimeout != nil { 1763 in, out := &in.NodeDrainTimeout, &out.NodeDrainTimeout 1764 *out = new(metav1.Duration) 1765 **out = **in 1766 } 1767 if in.NodeVolumeDetachTimeout != nil { 1768 in, out := &in.NodeVolumeDetachTimeout, &out.NodeVolumeDetachTimeout 1769 *out = new(metav1.Duration) 1770 **out = **in 1771 } 1772 if in.NodeDeletionTimeout != nil { 1773 in, out := &in.NodeDeletionTimeout, &out.NodeDeletionTimeout 1774 *out = new(metav1.Duration) 1775 **out = **in 1776 } 1777 } 1778 1779 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSpec. 1780 func (in *MachineSpec) DeepCopy() *MachineSpec { 1781 if in == nil { 1782 return nil 1783 } 1784 out := new(MachineSpec) 1785 in.DeepCopyInto(out) 1786 return out 1787 } 1788 1789 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1790 func (in *MachineStatus) DeepCopyInto(out *MachineStatus) { 1791 *out = *in 1792 if in.NodeRef != nil { 1793 in, out := &in.NodeRef, &out.NodeRef 1794 *out = new(v1.ObjectReference) 1795 **out = **in 1796 } 1797 if in.NodeInfo != nil { 1798 in, out := &in.NodeInfo, &out.NodeInfo 1799 *out = new(v1.NodeSystemInfo) 1800 **out = **in 1801 } 1802 if in.LastUpdated != nil { 1803 in, out := &in.LastUpdated, &out.LastUpdated 1804 *out = (*in).DeepCopy() 1805 } 1806 if in.FailureReason != nil { 1807 in, out := &in.FailureReason, &out.FailureReason 1808 *out = new(errors.MachineStatusError) 1809 **out = **in 1810 } 1811 if in.FailureMessage != nil { 1812 in, out := &in.FailureMessage, &out.FailureMessage 1813 *out = new(string) 1814 **out = **in 1815 } 1816 if in.Addresses != nil { 1817 in, out := &in.Addresses, &out.Addresses 1818 *out = make(MachineAddresses, len(*in)) 1819 copy(*out, *in) 1820 } 1821 if in.CertificatesExpiryDate != nil { 1822 in, out := &in.CertificatesExpiryDate, &out.CertificatesExpiryDate 1823 *out = (*in).DeepCopy() 1824 } 1825 if in.Conditions != nil { 1826 in, out := &in.Conditions, &out.Conditions 1827 *out = make(Conditions, len(*in)) 1828 for i := range *in { 1829 (*in)[i].DeepCopyInto(&(*out)[i]) 1830 } 1831 } 1832 } 1833 1834 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineStatus. 1835 func (in *MachineStatus) DeepCopy() *MachineStatus { 1836 if in == nil { 1837 return nil 1838 } 1839 out := new(MachineStatus) 1840 in.DeepCopyInto(out) 1841 return out 1842 } 1843 1844 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1845 func (in *MachineTemplateSpec) DeepCopyInto(out *MachineTemplateSpec) { 1846 *out = *in 1847 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 1848 in.Spec.DeepCopyInto(&out.Spec) 1849 } 1850 1851 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineTemplateSpec. 1852 func (in *MachineTemplateSpec) DeepCopy() *MachineTemplateSpec { 1853 if in == nil { 1854 return nil 1855 } 1856 out := new(MachineTemplateSpec) 1857 in.DeepCopyInto(out) 1858 return out 1859 } 1860 1861 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1862 func (in *NetworkRanges) DeepCopyInto(out *NetworkRanges) { 1863 *out = *in 1864 if in.CIDRBlocks != nil { 1865 in, out := &in.CIDRBlocks, &out.CIDRBlocks 1866 *out = make([]string, len(*in)) 1867 copy(*out, *in) 1868 } 1869 } 1870 1871 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkRanges. 1872 func (in *NetworkRanges) DeepCopy() *NetworkRanges { 1873 if in == nil { 1874 return nil 1875 } 1876 out := new(NetworkRanges) 1877 in.DeepCopyInto(out) 1878 return out 1879 } 1880 1881 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1882 func (in *ObjectMeta) DeepCopyInto(out *ObjectMeta) { 1883 *out = *in 1884 if in.Labels != nil { 1885 in, out := &in.Labels, &out.Labels 1886 *out = make(map[string]string, len(*in)) 1887 for key, val := range *in { 1888 (*out)[key] = val 1889 } 1890 } 1891 if in.Annotations != nil { 1892 in, out := &in.Annotations, &out.Annotations 1893 *out = make(map[string]string, len(*in)) 1894 for key, val := range *in { 1895 (*out)[key] = val 1896 } 1897 } 1898 } 1899 1900 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMeta. 1901 func (in *ObjectMeta) DeepCopy() *ObjectMeta { 1902 if in == nil { 1903 return nil 1904 } 1905 out := new(ObjectMeta) 1906 in.DeepCopyInto(out) 1907 return out 1908 } 1909 1910 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1911 func (in *PatchDefinition) DeepCopyInto(out *PatchDefinition) { 1912 *out = *in 1913 in.Selector.DeepCopyInto(&out.Selector) 1914 if in.JSONPatches != nil { 1915 in, out := &in.JSONPatches, &out.JSONPatches 1916 *out = make([]JSONPatch, len(*in)) 1917 for i := range *in { 1918 (*in)[i].DeepCopyInto(&(*out)[i]) 1919 } 1920 } 1921 } 1922 1923 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PatchDefinition. 1924 func (in *PatchDefinition) DeepCopy() *PatchDefinition { 1925 if in == nil { 1926 return nil 1927 } 1928 out := new(PatchDefinition) 1929 in.DeepCopyInto(out) 1930 return out 1931 } 1932 1933 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1934 func (in *PatchSelector) DeepCopyInto(out *PatchSelector) { 1935 *out = *in 1936 in.MatchResources.DeepCopyInto(&out.MatchResources) 1937 } 1938 1939 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PatchSelector. 1940 func (in *PatchSelector) DeepCopy() *PatchSelector { 1941 if in == nil { 1942 return nil 1943 } 1944 out := new(PatchSelector) 1945 in.DeepCopyInto(out) 1946 return out 1947 } 1948 1949 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1950 func (in *PatchSelectorMatch) DeepCopyInto(out *PatchSelectorMatch) { 1951 *out = *in 1952 if in.MachineDeploymentClass != nil { 1953 in, out := &in.MachineDeploymentClass, &out.MachineDeploymentClass 1954 *out = new(PatchSelectorMatchMachineDeploymentClass) 1955 (*in).DeepCopyInto(*out) 1956 } 1957 if in.MachinePoolClass != nil { 1958 in, out := &in.MachinePoolClass, &out.MachinePoolClass 1959 *out = new(PatchSelectorMatchMachinePoolClass) 1960 (*in).DeepCopyInto(*out) 1961 } 1962 } 1963 1964 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PatchSelectorMatch. 1965 func (in *PatchSelectorMatch) DeepCopy() *PatchSelectorMatch { 1966 if in == nil { 1967 return nil 1968 } 1969 out := new(PatchSelectorMatch) 1970 in.DeepCopyInto(out) 1971 return out 1972 } 1973 1974 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1975 func (in *PatchSelectorMatchMachineDeploymentClass) DeepCopyInto(out *PatchSelectorMatchMachineDeploymentClass) { 1976 *out = *in 1977 if in.Names != nil { 1978 in, out := &in.Names, &out.Names 1979 *out = make([]string, len(*in)) 1980 copy(*out, *in) 1981 } 1982 } 1983 1984 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PatchSelectorMatchMachineDeploymentClass. 1985 func (in *PatchSelectorMatchMachineDeploymentClass) DeepCopy() *PatchSelectorMatchMachineDeploymentClass { 1986 if in == nil { 1987 return nil 1988 } 1989 out := new(PatchSelectorMatchMachineDeploymentClass) 1990 in.DeepCopyInto(out) 1991 return out 1992 } 1993 1994 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1995 func (in *PatchSelectorMatchMachinePoolClass) DeepCopyInto(out *PatchSelectorMatchMachinePoolClass) { 1996 *out = *in 1997 if in.Names != nil { 1998 in, out := &in.Names, &out.Names 1999 *out = make([]string, len(*in)) 2000 copy(*out, *in) 2001 } 2002 } 2003 2004 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PatchSelectorMatchMachinePoolClass. 2005 func (in *PatchSelectorMatchMachinePoolClass) DeepCopy() *PatchSelectorMatchMachinePoolClass { 2006 if in == nil { 2007 return nil 2008 } 2009 out := new(PatchSelectorMatchMachinePoolClass) 2010 in.DeepCopyInto(out) 2011 return out 2012 } 2013 2014 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 2015 func (in *Topology) DeepCopyInto(out *Topology) { 2016 *out = *in 2017 if in.RolloutAfter != nil { 2018 in, out := &in.RolloutAfter, &out.RolloutAfter 2019 *out = (*in).DeepCopy() 2020 } 2021 in.ControlPlane.DeepCopyInto(&out.ControlPlane) 2022 if in.Workers != nil { 2023 in, out := &in.Workers, &out.Workers 2024 *out = new(WorkersTopology) 2025 (*in).DeepCopyInto(*out) 2026 } 2027 if in.Variables != nil { 2028 in, out := &in.Variables, &out.Variables 2029 *out = make([]ClusterVariable, len(*in)) 2030 for i := range *in { 2031 (*in)[i].DeepCopyInto(&(*out)[i]) 2032 } 2033 } 2034 } 2035 2036 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Topology. 2037 func (in *Topology) DeepCopy() *Topology { 2038 if in == nil { 2039 return nil 2040 } 2041 out := new(Topology) 2042 in.DeepCopyInto(out) 2043 return out 2044 } 2045 2046 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 2047 func (in *UnhealthyCondition) DeepCopyInto(out *UnhealthyCondition) { 2048 *out = *in 2049 out.Timeout = in.Timeout 2050 } 2051 2052 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UnhealthyCondition. 2053 func (in *UnhealthyCondition) DeepCopy() *UnhealthyCondition { 2054 if in == nil { 2055 return nil 2056 } 2057 out := new(UnhealthyCondition) 2058 in.DeepCopyInto(out) 2059 return out 2060 } 2061 2062 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 2063 func (in *VariableSchema) DeepCopyInto(out *VariableSchema) { 2064 *out = *in 2065 in.OpenAPIV3Schema.DeepCopyInto(&out.OpenAPIV3Schema) 2066 } 2067 2068 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VariableSchema. 2069 func (in *VariableSchema) DeepCopy() *VariableSchema { 2070 if in == nil { 2071 return nil 2072 } 2073 out := new(VariableSchema) 2074 in.DeepCopyInto(out) 2075 return out 2076 } 2077 2078 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 2079 func (in *WorkersClass) DeepCopyInto(out *WorkersClass) { 2080 *out = *in 2081 if in.MachineDeployments != nil { 2082 in, out := &in.MachineDeployments, &out.MachineDeployments 2083 *out = make([]MachineDeploymentClass, len(*in)) 2084 for i := range *in { 2085 (*in)[i].DeepCopyInto(&(*out)[i]) 2086 } 2087 } 2088 if in.MachinePools != nil { 2089 in, out := &in.MachinePools, &out.MachinePools 2090 *out = make([]MachinePoolClass, len(*in)) 2091 for i := range *in { 2092 (*in)[i].DeepCopyInto(&(*out)[i]) 2093 } 2094 } 2095 } 2096 2097 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkersClass. 2098 func (in *WorkersClass) DeepCopy() *WorkersClass { 2099 if in == nil { 2100 return nil 2101 } 2102 out := new(WorkersClass) 2103 in.DeepCopyInto(out) 2104 return out 2105 } 2106 2107 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 2108 func (in *WorkersTopology) DeepCopyInto(out *WorkersTopology) { 2109 *out = *in 2110 if in.MachineDeployments != nil { 2111 in, out := &in.MachineDeployments, &out.MachineDeployments 2112 *out = make([]MachineDeploymentTopology, len(*in)) 2113 for i := range *in { 2114 (*in)[i].DeepCopyInto(&(*out)[i]) 2115 } 2116 } 2117 if in.MachinePools != nil { 2118 in, out := &in.MachinePools, &out.MachinePools 2119 *out = make([]MachinePoolTopology, len(*in)) 2120 for i := range *in { 2121 (*in)[i].DeepCopyInto(&(*out)[i]) 2122 } 2123 } 2124 } 2125 2126 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkersTopology. 2127 func (in *WorkersTopology) DeepCopy() *WorkersTopology { 2128 if in == nil { 2129 return nil 2130 } 2131 out := new(WorkersTopology) 2132 in.DeepCopyInto(out) 2133 return out 2134 }