sigs.k8s.io/cluster-api@v1.7.1/internal/apis/core/v1alpha4/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 v1alpha4 22 23 import ( 24 "k8s.io/api/core/v1" 25 metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" 26 "k8s.io/apimachinery/pkg/runtime" 27 "k8s.io/apimachinery/pkg/util/intstr" 28 "sigs.k8s.io/cluster-api/errors" 29 ) 30 31 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 32 func (in *APIEndpoint) DeepCopyInto(out *APIEndpoint) { 33 *out = *in 34 } 35 36 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIEndpoint. 37 func (in *APIEndpoint) DeepCopy() *APIEndpoint { 38 if in == nil { 39 return nil 40 } 41 out := new(APIEndpoint) 42 in.DeepCopyInto(out) 43 return out 44 } 45 46 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 47 func (in *Bootstrap) DeepCopyInto(out *Bootstrap) { 48 *out = *in 49 if in.ConfigRef != nil { 50 in, out := &in.ConfigRef, &out.ConfigRef 51 *out = new(v1.ObjectReference) 52 **out = **in 53 } 54 if in.DataSecretName != nil { 55 in, out := &in.DataSecretName, &out.DataSecretName 56 *out = new(string) 57 **out = **in 58 } 59 } 60 61 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Bootstrap. 62 func (in *Bootstrap) DeepCopy() *Bootstrap { 63 if in == nil { 64 return nil 65 } 66 out := new(Bootstrap) 67 in.DeepCopyInto(out) 68 return out 69 } 70 71 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 72 func (in *Cluster) DeepCopyInto(out *Cluster) { 73 *out = *in 74 out.TypeMeta = in.TypeMeta 75 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 76 in.Spec.DeepCopyInto(&out.Spec) 77 in.Status.DeepCopyInto(&out.Status) 78 } 79 80 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster. 81 func (in *Cluster) DeepCopy() *Cluster { 82 if in == nil { 83 return nil 84 } 85 out := new(Cluster) 86 in.DeepCopyInto(out) 87 return out 88 } 89 90 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 91 func (in *Cluster) DeepCopyObject() runtime.Object { 92 if c := in.DeepCopy(); c != nil { 93 return c 94 } 95 return nil 96 } 97 98 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 99 func (in *ClusterClass) DeepCopyInto(out *ClusterClass) { 100 *out = *in 101 out.TypeMeta = in.TypeMeta 102 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 103 in.Spec.DeepCopyInto(&out.Spec) 104 } 105 106 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterClass. 107 func (in *ClusterClass) DeepCopy() *ClusterClass { 108 if in == nil { 109 return nil 110 } 111 out := new(ClusterClass) 112 in.DeepCopyInto(out) 113 return out 114 } 115 116 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 117 func (in *ClusterClass) DeepCopyObject() runtime.Object { 118 if c := in.DeepCopy(); c != nil { 119 return c 120 } 121 return nil 122 } 123 124 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 125 func (in *ClusterClassList) DeepCopyInto(out *ClusterClassList) { 126 *out = *in 127 out.TypeMeta = in.TypeMeta 128 in.ListMeta.DeepCopyInto(&out.ListMeta) 129 if in.Items != nil { 130 in, out := &in.Items, &out.Items 131 *out = make([]ClusterClass, len(*in)) 132 for i := range *in { 133 (*in)[i].DeepCopyInto(&(*out)[i]) 134 } 135 } 136 } 137 138 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterClassList. 139 func (in *ClusterClassList) DeepCopy() *ClusterClassList { 140 if in == nil { 141 return nil 142 } 143 out := new(ClusterClassList) 144 in.DeepCopyInto(out) 145 return out 146 } 147 148 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 149 func (in *ClusterClassList) DeepCopyObject() runtime.Object { 150 if c := in.DeepCopy(); c != nil { 151 return c 152 } 153 return nil 154 } 155 156 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 157 func (in *ClusterClassSpec) DeepCopyInto(out *ClusterClassSpec) { 158 *out = *in 159 in.Infrastructure.DeepCopyInto(&out.Infrastructure) 160 in.ControlPlane.DeepCopyInto(&out.ControlPlane) 161 in.Workers.DeepCopyInto(&out.Workers) 162 } 163 164 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterClassSpec. 165 func (in *ClusterClassSpec) DeepCopy() *ClusterClassSpec { 166 if in == nil { 167 return nil 168 } 169 out := new(ClusterClassSpec) 170 in.DeepCopyInto(out) 171 return out 172 } 173 174 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 175 func (in *ClusterList) DeepCopyInto(out *ClusterList) { 176 *out = *in 177 out.TypeMeta = in.TypeMeta 178 in.ListMeta.DeepCopyInto(&out.ListMeta) 179 if in.Items != nil { 180 in, out := &in.Items, &out.Items 181 *out = make([]Cluster, len(*in)) 182 for i := range *in { 183 (*in)[i].DeepCopyInto(&(*out)[i]) 184 } 185 } 186 } 187 188 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterList. 189 func (in *ClusterList) DeepCopy() *ClusterList { 190 if in == nil { 191 return nil 192 } 193 out := new(ClusterList) 194 in.DeepCopyInto(out) 195 return out 196 } 197 198 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 199 func (in *ClusterList) DeepCopyObject() runtime.Object { 200 if c := in.DeepCopy(); c != nil { 201 return c 202 } 203 return nil 204 } 205 206 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 207 func (in *ClusterNetwork) DeepCopyInto(out *ClusterNetwork) { 208 *out = *in 209 if in.APIServerPort != nil { 210 in, out := &in.APIServerPort, &out.APIServerPort 211 *out = new(int32) 212 **out = **in 213 } 214 if in.Services != nil { 215 in, out := &in.Services, &out.Services 216 *out = new(NetworkRanges) 217 (*in).DeepCopyInto(*out) 218 } 219 if in.Pods != nil { 220 in, out := &in.Pods, &out.Pods 221 *out = new(NetworkRanges) 222 (*in).DeepCopyInto(*out) 223 } 224 } 225 226 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterNetwork. 227 func (in *ClusterNetwork) DeepCopy() *ClusterNetwork { 228 if in == nil { 229 return nil 230 } 231 out := new(ClusterNetwork) 232 in.DeepCopyInto(out) 233 return out 234 } 235 236 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 237 func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec) { 238 *out = *in 239 if in.ClusterNetwork != nil { 240 in, out := &in.ClusterNetwork, &out.ClusterNetwork 241 *out = new(ClusterNetwork) 242 (*in).DeepCopyInto(*out) 243 } 244 out.ControlPlaneEndpoint = in.ControlPlaneEndpoint 245 if in.ControlPlaneRef != nil { 246 in, out := &in.ControlPlaneRef, &out.ControlPlaneRef 247 *out = new(v1.ObjectReference) 248 **out = **in 249 } 250 if in.InfrastructureRef != nil { 251 in, out := &in.InfrastructureRef, &out.InfrastructureRef 252 *out = new(v1.ObjectReference) 253 **out = **in 254 } 255 if in.Topology != nil { 256 in, out := &in.Topology, &out.Topology 257 *out = new(Topology) 258 (*in).DeepCopyInto(*out) 259 } 260 } 261 262 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpec. 263 func (in *ClusterSpec) DeepCopy() *ClusterSpec { 264 if in == nil { 265 return nil 266 } 267 out := new(ClusterSpec) 268 in.DeepCopyInto(out) 269 return out 270 } 271 272 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 273 func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus) { 274 *out = *in 275 if in.FailureDomains != nil { 276 in, out := &in.FailureDomains, &out.FailureDomains 277 *out = make(FailureDomains, len(*in)) 278 for key, val := range *in { 279 (*out)[key] = *val.DeepCopy() 280 } 281 } 282 if in.FailureReason != nil { 283 in, out := &in.FailureReason, &out.FailureReason 284 *out = new(errors.ClusterStatusError) 285 **out = **in 286 } 287 if in.FailureMessage != nil { 288 in, out := &in.FailureMessage, &out.FailureMessage 289 *out = new(string) 290 **out = **in 291 } 292 if in.Conditions != nil { 293 in, out := &in.Conditions, &out.Conditions 294 *out = make(Conditions, len(*in)) 295 for i := range *in { 296 (*in)[i].DeepCopyInto(&(*out)[i]) 297 } 298 } 299 } 300 301 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus. 302 func (in *ClusterStatus) DeepCopy() *ClusterStatus { 303 if in == nil { 304 return nil 305 } 306 out := new(ClusterStatus) 307 in.DeepCopyInto(out) 308 return out 309 } 310 311 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 312 func (in *Condition) DeepCopyInto(out *Condition) { 313 *out = *in 314 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime) 315 } 316 317 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition. 318 func (in *Condition) DeepCopy() *Condition { 319 if in == nil { 320 return nil 321 } 322 out := new(Condition) 323 in.DeepCopyInto(out) 324 return out 325 } 326 327 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 328 func (in Conditions) DeepCopyInto(out *Conditions) { 329 { 330 in := &in 331 *out = make(Conditions, len(*in)) 332 for i := range *in { 333 (*in)[i].DeepCopyInto(&(*out)[i]) 334 } 335 } 336 } 337 338 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Conditions. 339 func (in Conditions) DeepCopy() Conditions { 340 if in == nil { 341 return nil 342 } 343 out := new(Conditions) 344 in.DeepCopyInto(out) 345 return *out 346 } 347 348 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 349 func (in *ControlPlaneClass) DeepCopyInto(out *ControlPlaneClass) { 350 *out = *in 351 in.Metadata.DeepCopyInto(&out.Metadata) 352 in.LocalObjectTemplate.DeepCopyInto(&out.LocalObjectTemplate) 353 if in.MachineInfrastructure != nil { 354 in, out := &in.MachineInfrastructure, &out.MachineInfrastructure 355 *out = new(LocalObjectTemplate) 356 (*in).DeepCopyInto(*out) 357 } 358 } 359 360 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneClass. 361 func (in *ControlPlaneClass) DeepCopy() *ControlPlaneClass { 362 if in == nil { 363 return nil 364 } 365 out := new(ControlPlaneClass) 366 in.DeepCopyInto(out) 367 return out 368 } 369 370 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 371 func (in *ControlPlaneTopology) DeepCopyInto(out *ControlPlaneTopology) { 372 *out = *in 373 in.Metadata.DeepCopyInto(&out.Metadata) 374 if in.Replicas != nil { 375 in, out := &in.Replicas, &out.Replicas 376 *out = new(int32) 377 **out = **in 378 } 379 } 380 381 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneTopology. 382 func (in *ControlPlaneTopology) DeepCopy() *ControlPlaneTopology { 383 if in == nil { 384 return nil 385 } 386 out := new(ControlPlaneTopology) 387 in.DeepCopyInto(out) 388 return out 389 } 390 391 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 392 func (in *FailureDomainSpec) DeepCopyInto(out *FailureDomainSpec) { 393 *out = *in 394 if in.Attributes != nil { 395 in, out := &in.Attributes, &out.Attributes 396 *out = make(map[string]string, len(*in)) 397 for key, val := range *in { 398 (*out)[key] = val 399 } 400 } 401 } 402 403 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FailureDomainSpec. 404 func (in *FailureDomainSpec) DeepCopy() *FailureDomainSpec { 405 if in == nil { 406 return nil 407 } 408 out := new(FailureDomainSpec) 409 in.DeepCopyInto(out) 410 return out 411 } 412 413 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 414 func (in FailureDomains) DeepCopyInto(out *FailureDomains) { 415 { 416 in := &in 417 *out = make(FailureDomains, len(*in)) 418 for key, val := range *in { 419 (*out)[key] = *val.DeepCopy() 420 } 421 } 422 } 423 424 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FailureDomains. 425 func (in FailureDomains) DeepCopy() FailureDomains { 426 if in == nil { 427 return nil 428 } 429 out := new(FailureDomains) 430 in.DeepCopyInto(out) 431 return *out 432 } 433 434 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 435 func (in *LocalObjectTemplate) DeepCopyInto(out *LocalObjectTemplate) { 436 *out = *in 437 if in.Ref != nil { 438 in, out := &in.Ref, &out.Ref 439 *out = new(v1.ObjectReference) 440 **out = **in 441 } 442 } 443 444 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalObjectTemplate. 445 func (in *LocalObjectTemplate) DeepCopy() *LocalObjectTemplate { 446 if in == nil { 447 return nil 448 } 449 out := new(LocalObjectTemplate) 450 in.DeepCopyInto(out) 451 return out 452 } 453 454 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 455 func (in *Machine) DeepCopyInto(out *Machine) { 456 *out = *in 457 out.TypeMeta = in.TypeMeta 458 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 459 in.Spec.DeepCopyInto(&out.Spec) 460 in.Status.DeepCopyInto(&out.Status) 461 } 462 463 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Machine. 464 func (in *Machine) DeepCopy() *Machine { 465 if in == nil { 466 return nil 467 } 468 out := new(Machine) 469 in.DeepCopyInto(out) 470 return out 471 } 472 473 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 474 func (in *Machine) DeepCopyObject() runtime.Object { 475 if c := in.DeepCopy(); c != nil { 476 return c 477 } 478 return nil 479 } 480 481 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 482 func (in *MachineAddress) DeepCopyInto(out *MachineAddress) { 483 *out = *in 484 } 485 486 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineAddress. 487 func (in *MachineAddress) DeepCopy() *MachineAddress { 488 if in == nil { 489 return nil 490 } 491 out := new(MachineAddress) 492 in.DeepCopyInto(out) 493 return out 494 } 495 496 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 497 func (in MachineAddresses) DeepCopyInto(out *MachineAddresses) { 498 { 499 in := &in 500 *out = make(MachineAddresses, len(*in)) 501 copy(*out, *in) 502 } 503 } 504 505 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineAddresses. 506 func (in MachineAddresses) DeepCopy() MachineAddresses { 507 if in == nil { 508 return nil 509 } 510 out := new(MachineAddresses) 511 in.DeepCopyInto(out) 512 return *out 513 } 514 515 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 516 func (in *MachineDeployment) DeepCopyInto(out *MachineDeployment) { 517 *out = *in 518 out.TypeMeta = in.TypeMeta 519 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 520 in.Spec.DeepCopyInto(&out.Spec) 521 in.Status.DeepCopyInto(&out.Status) 522 } 523 524 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeployment. 525 func (in *MachineDeployment) DeepCopy() *MachineDeployment { 526 if in == nil { 527 return nil 528 } 529 out := new(MachineDeployment) 530 in.DeepCopyInto(out) 531 return out 532 } 533 534 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 535 func (in *MachineDeployment) DeepCopyObject() runtime.Object { 536 if c := in.DeepCopy(); c != nil { 537 return c 538 } 539 return nil 540 } 541 542 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 543 func (in *MachineDeploymentClass) DeepCopyInto(out *MachineDeploymentClass) { 544 *out = *in 545 in.Template.DeepCopyInto(&out.Template) 546 } 547 548 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeploymentClass. 549 func (in *MachineDeploymentClass) DeepCopy() *MachineDeploymentClass { 550 if in == nil { 551 return nil 552 } 553 out := new(MachineDeploymentClass) 554 in.DeepCopyInto(out) 555 return out 556 } 557 558 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 559 func (in *MachineDeploymentClassTemplate) DeepCopyInto(out *MachineDeploymentClassTemplate) { 560 *out = *in 561 in.Metadata.DeepCopyInto(&out.Metadata) 562 in.Bootstrap.DeepCopyInto(&out.Bootstrap) 563 in.Infrastructure.DeepCopyInto(&out.Infrastructure) 564 } 565 566 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeploymentClassTemplate. 567 func (in *MachineDeploymentClassTemplate) DeepCopy() *MachineDeploymentClassTemplate { 568 if in == nil { 569 return nil 570 } 571 out := new(MachineDeploymentClassTemplate) 572 in.DeepCopyInto(out) 573 return out 574 } 575 576 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 577 func (in *MachineDeploymentList) DeepCopyInto(out *MachineDeploymentList) { 578 *out = *in 579 out.TypeMeta = in.TypeMeta 580 in.ListMeta.DeepCopyInto(&out.ListMeta) 581 if in.Items != nil { 582 in, out := &in.Items, &out.Items 583 *out = make([]MachineDeployment, len(*in)) 584 for i := range *in { 585 (*in)[i].DeepCopyInto(&(*out)[i]) 586 } 587 } 588 } 589 590 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeploymentList. 591 func (in *MachineDeploymentList) DeepCopy() *MachineDeploymentList { 592 if in == nil { 593 return nil 594 } 595 out := new(MachineDeploymentList) 596 in.DeepCopyInto(out) 597 return out 598 } 599 600 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 601 func (in *MachineDeploymentList) DeepCopyObject() runtime.Object { 602 if c := in.DeepCopy(); c != nil { 603 return c 604 } 605 return nil 606 } 607 608 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 609 func (in *MachineDeploymentSpec) DeepCopyInto(out *MachineDeploymentSpec) { 610 *out = *in 611 if in.Replicas != nil { 612 in, out := &in.Replicas, &out.Replicas 613 *out = new(int32) 614 **out = **in 615 } 616 in.Selector.DeepCopyInto(&out.Selector) 617 in.Template.DeepCopyInto(&out.Template) 618 if in.Strategy != nil { 619 in, out := &in.Strategy, &out.Strategy 620 *out = new(MachineDeploymentStrategy) 621 (*in).DeepCopyInto(*out) 622 } 623 if in.MinReadySeconds != nil { 624 in, out := &in.MinReadySeconds, &out.MinReadySeconds 625 *out = new(int32) 626 **out = **in 627 } 628 if in.RevisionHistoryLimit != nil { 629 in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit 630 *out = new(int32) 631 **out = **in 632 } 633 if in.ProgressDeadlineSeconds != nil { 634 in, out := &in.ProgressDeadlineSeconds, &out.ProgressDeadlineSeconds 635 *out = new(int32) 636 **out = **in 637 } 638 } 639 640 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeploymentSpec. 641 func (in *MachineDeploymentSpec) DeepCopy() *MachineDeploymentSpec { 642 if in == nil { 643 return nil 644 } 645 out := new(MachineDeploymentSpec) 646 in.DeepCopyInto(out) 647 return out 648 } 649 650 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 651 func (in *MachineDeploymentStatus) DeepCopyInto(out *MachineDeploymentStatus) { 652 *out = *in 653 if in.Conditions != nil { 654 in, out := &in.Conditions, &out.Conditions 655 *out = make(Conditions, len(*in)) 656 for i := range *in { 657 (*in)[i].DeepCopyInto(&(*out)[i]) 658 } 659 } 660 } 661 662 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeploymentStatus. 663 func (in *MachineDeploymentStatus) DeepCopy() *MachineDeploymentStatus { 664 if in == nil { 665 return nil 666 } 667 out := new(MachineDeploymentStatus) 668 in.DeepCopyInto(out) 669 return out 670 } 671 672 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 673 func (in *MachineDeploymentStrategy) DeepCopyInto(out *MachineDeploymentStrategy) { 674 *out = *in 675 if in.RollingUpdate != nil { 676 in, out := &in.RollingUpdate, &out.RollingUpdate 677 *out = new(MachineRollingUpdateDeployment) 678 (*in).DeepCopyInto(*out) 679 } 680 } 681 682 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeploymentStrategy. 683 func (in *MachineDeploymentStrategy) DeepCopy() *MachineDeploymentStrategy { 684 if in == nil { 685 return nil 686 } 687 out := new(MachineDeploymentStrategy) 688 in.DeepCopyInto(out) 689 return out 690 } 691 692 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 693 func (in *MachineDeploymentTopology) DeepCopyInto(out *MachineDeploymentTopology) { 694 *out = *in 695 in.Metadata.DeepCopyInto(&out.Metadata) 696 if in.Replicas != nil { 697 in, out := &in.Replicas, &out.Replicas 698 *out = new(int32) 699 **out = **in 700 } 701 } 702 703 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeploymentTopology. 704 func (in *MachineDeploymentTopology) DeepCopy() *MachineDeploymentTopology { 705 if in == nil { 706 return nil 707 } 708 out := new(MachineDeploymentTopology) 709 in.DeepCopyInto(out) 710 return out 711 } 712 713 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 714 func (in *MachineHealthCheck) DeepCopyInto(out *MachineHealthCheck) { 715 *out = *in 716 out.TypeMeta = in.TypeMeta 717 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 718 in.Spec.DeepCopyInto(&out.Spec) 719 in.Status.DeepCopyInto(&out.Status) 720 } 721 722 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineHealthCheck. 723 func (in *MachineHealthCheck) DeepCopy() *MachineHealthCheck { 724 if in == nil { 725 return nil 726 } 727 out := new(MachineHealthCheck) 728 in.DeepCopyInto(out) 729 return out 730 } 731 732 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 733 func (in *MachineHealthCheck) DeepCopyObject() runtime.Object { 734 if c := in.DeepCopy(); c != nil { 735 return c 736 } 737 return nil 738 } 739 740 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 741 func (in *MachineHealthCheckList) DeepCopyInto(out *MachineHealthCheckList) { 742 *out = *in 743 out.TypeMeta = in.TypeMeta 744 in.ListMeta.DeepCopyInto(&out.ListMeta) 745 if in.Items != nil { 746 in, out := &in.Items, &out.Items 747 *out = make([]MachineHealthCheck, len(*in)) 748 for i := range *in { 749 (*in)[i].DeepCopyInto(&(*out)[i]) 750 } 751 } 752 } 753 754 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineHealthCheckList. 755 func (in *MachineHealthCheckList) DeepCopy() *MachineHealthCheckList { 756 if in == nil { 757 return nil 758 } 759 out := new(MachineHealthCheckList) 760 in.DeepCopyInto(out) 761 return out 762 } 763 764 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 765 func (in *MachineHealthCheckList) DeepCopyObject() runtime.Object { 766 if c := in.DeepCopy(); c != nil { 767 return c 768 } 769 return nil 770 } 771 772 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 773 func (in *MachineHealthCheckSpec) DeepCopyInto(out *MachineHealthCheckSpec) { 774 *out = *in 775 in.Selector.DeepCopyInto(&out.Selector) 776 if in.UnhealthyConditions != nil { 777 in, out := &in.UnhealthyConditions, &out.UnhealthyConditions 778 *out = make([]UnhealthyCondition, len(*in)) 779 copy(*out, *in) 780 } 781 if in.MaxUnhealthy != nil { 782 in, out := &in.MaxUnhealthy, &out.MaxUnhealthy 783 *out = new(intstr.IntOrString) 784 **out = **in 785 } 786 if in.UnhealthyRange != nil { 787 in, out := &in.UnhealthyRange, &out.UnhealthyRange 788 *out = new(string) 789 **out = **in 790 } 791 if in.NodeStartupTimeout != nil { 792 in, out := &in.NodeStartupTimeout, &out.NodeStartupTimeout 793 *out = new(metav1.Duration) 794 **out = **in 795 } 796 if in.RemediationTemplate != nil { 797 in, out := &in.RemediationTemplate, &out.RemediationTemplate 798 *out = new(v1.ObjectReference) 799 **out = **in 800 } 801 } 802 803 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineHealthCheckSpec. 804 func (in *MachineHealthCheckSpec) DeepCopy() *MachineHealthCheckSpec { 805 if in == nil { 806 return nil 807 } 808 out := new(MachineHealthCheckSpec) 809 in.DeepCopyInto(out) 810 return out 811 } 812 813 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 814 func (in *MachineHealthCheckStatus) DeepCopyInto(out *MachineHealthCheckStatus) { 815 *out = *in 816 if in.Targets != nil { 817 in, out := &in.Targets, &out.Targets 818 *out = make([]string, len(*in)) 819 copy(*out, *in) 820 } 821 if in.Conditions != nil { 822 in, out := &in.Conditions, &out.Conditions 823 *out = make(Conditions, len(*in)) 824 for i := range *in { 825 (*in)[i].DeepCopyInto(&(*out)[i]) 826 } 827 } 828 } 829 830 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineHealthCheckStatus. 831 func (in *MachineHealthCheckStatus) DeepCopy() *MachineHealthCheckStatus { 832 if in == nil { 833 return nil 834 } 835 out := new(MachineHealthCheckStatus) 836 in.DeepCopyInto(out) 837 return out 838 } 839 840 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 841 func (in *MachineList) DeepCopyInto(out *MachineList) { 842 *out = *in 843 out.TypeMeta = in.TypeMeta 844 in.ListMeta.DeepCopyInto(&out.ListMeta) 845 if in.Items != nil { 846 in, out := &in.Items, &out.Items 847 *out = make([]Machine, len(*in)) 848 for i := range *in { 849 (*in)[i].DeepCopyInto(&(*out)[i]) 850 } 851 } 852 } 853 854 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineList. 855 func (in *MachineList) DeepCopy() *MachineList { 856 if in == nil { 857 return nil 858 } 859 out := new(MachineList) 860 in.DeepCopyInto(out) 861 return out 862 } 863 864 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 865 func (in *MachineList) DeepCopyObject() runtime.Object { 866 if c := in.DeepCopy(); c != nil { 867 return c 868 } 869 return nil 870 } 871 872 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 873 func (in *MachineRollingUpdateDeployment) DeepCopyInto(out *MachineRollingUpdateDeployment) { 874 *out = *in 875 if in.MaxUnavailable != nil { 876 in, out := &in.MaxUnavailable, &out.MaxUnavailable 877 *out = new(intstr.IntOrString) 878 **out = **in 879 } 880 if in.MaxSurge != nil { 881 in, out := &in.MaxSurge, &out.MaxSurge 882 *out = new(intstr.IntOrString) 883 **out = **in 884 } 885 if in.DeletePolicy != nil { 886 in, out := &in.DeletePolicy, &out.DeletePolicy 887 *out = new(string) 888 **out = **in 889 } 890 } 891 892 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineRollingUpdateDeployment. 893 func (in *MachineRollingUpdateDeployment) DeepCopy() *MachineRollingUpdateDeployment { 894 if in == nil { 895 return nil 896 } 897 out := new(MachineRollingUpdateDeployment) 898 in.DeepCopyInto(out) 899 return out 900 } 901 902 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 903 func (in *MachineSet) DeepCopyInto(out *MachineSet) { 904 *out = *in 905 out.TypeMeta = in.TypeMeta 906 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 907 in.Spec.DeepCopyInto(&out.Spec) 908 in.Status.DeepCopyInto(&out.Status) 909 } 910 911 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSet. 912 func (in *MachineSet) DeepCopy() *MachineSet { 913 if in == nil { 914 return nil 915 } 916 out := new(MachineSet) 917 in.DeepCopyInto(out) 918 return out 919 } 920 921 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 922 func (in *MachineSet) DeepCopyObject() runtime.Object { 923 if c := in.DeepCopy(); c != nil { 924 return c 925 } 926 return nil 927 } 928 929 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 930 func (in *MachineSetList) DeepCopyInto(out *MachineSetList) { 931 *out = *in 932 out.TypeMeta = in.TypeMeta 933 in.ListMeta.DeepCopyInto(&out.ListMeta) 934 if in.Items != nil { 935 in, out := &in.Items, &out.Items 936 *out = make([]MachineSet, len(*in)) 937 for i := range *in { 938 (*in)[i].DeepCopyInto(&(*out)[i]) 939 } 940 } 941 } 942 943 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSetList. 944 func (in *MachineSetList) DeepCopy() *MachineSetList { 945 if in == nil { 946 return nil 947 } 948 out := new(MachineSetList) 949 in.DeepCopyInto(out) 950 return out 951 } 952 953 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 954 func (in *MachineSetList) DeepCopyObject() runtime.Object { 955 if c := in.DeepCopy(); c != nil { 956 return c 957 } 958 return nil 959 } 960 961 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 962 func (in *MachineSetSpec) DeepCopyInto(out *MachineSetSpec) { 963 *out = *in 964 if in.Replicas != nil { 965 in, out := &in.Replicas, &out.Replicas 966 *out = new(int32) 967 **out = **in 968 } 969 in.Selector.DeepCopyInto(&out.Selector) 970 in.Template.DeepCopyInto(&out.Template) 971 } 972 973 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSetSpec. 974 func (in *MachineSetSpec) DeepCopy() *MachineSetSpec { 975 if in == nil { 976 return nil 977 } 978 out := new(MachineSetSpec) 979 in.DeepCopyInto(out) 980 return out 981 } 982 983 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 984 func (in *MachineSetStatus) DeepCopyInto(out *MachineSetStatus) { 985 *out = *in 986 if in.FailureReason != nil { 987 in, out := &in.FailureReason, &out.FailureReason 988 *out = new(errors.MachineSetStatusError) 989 **out = **in 990 } 991 if in.FailureMessage != nil { 992 in, out := &in.FailureMessage, &out.FailureMessage 993 *out = new(string) 994 **out = **in 995 } 996 if in.Conditions != nil { 997 in, out := &in.Conditions, &out.Conditions 998 *out = make(Conditions, len(*in)) 999 for i := range *in { 1000 (*in)[i].DeepCopyInto(&(*out)[i]) 1001 } 1002 } 1003 } 1004 1005 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSetStatus. 1006 func (in *MachineSetStatus) DeepCopy() *MachineSetStatus { 1007 if in == nil { 1008 return nil 1009 } 1010 out := new(MachineSetStatus) 1011 in.DeepCopyInto(out) 1012 return out 1013 } 1014 1015 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1016 func (in *MachineSpec) DeepCopyInto(out *MachineSpec) { 1017 *out = *in 1018 in.Bootstrap.DeepCopyInto(&out.Bootstrap) 1019 out.InfrastructureRef = in.InfrastructureRef 1020 if in.Version != nil { 1021 in, out := &in.Version, &out.Version 1022 *out = new(string) 1023 **out = **in 1024 } 1025 if in.ProviderID != nil { 1026 in, out := &in.ProviderID, &out.ProviderID 1027 *out = new(string) 1028 **out = **in 1029 } 1030 if in.FailureDomain != nil { 1031 in, out := &in.FailureDomain, &out.FailureDomain 1032 *out = new(string) 1033 **out = **in 1034 } 1035 if in.NodeDrainTimeout != nil { 1036 in, out := &in.NodeDrainTimeout, &out.NodeDrainTimeout 1037 *out = new(metav1.Duration) 1038 **out = **in 1039 } 1040 } 1041 1042 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSpec. 1043 func (in *MachineSpec) DeepCopy() *MachineSpec { 1044 if in == nil { 1045 return nil 1046 } 1047 out := new(MachineSpec) 1048 in.DeepCopyInto(out) 1049 return out 1050 } 1051 1052 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1053 func (in *MachineStatus) DeepCopyInto(out *MachineStatus) { 1054 *out = *in 1055 if in.NodeRef != nil { 1056 in, out := &in.NodeRef, &out.NodeRef 1057 *out = new(v1.ObjectReference) 1058 **out = **in 1059 } 1060 if in.NodeInfo != nil { 1061 in, out := &in.NodeInfo, &out.NodeInfo 1062 *out = new(v1.NodeSystemInfo) 1063 **out = **in 1064 } 1065 if in.LastUpdated != nil { 1066 in, out := &in.LastUpdated, &out.LastUpdated 1067 *out = (*in).DeepCopy() 1068 } 1069 if in.Version != nil { 1070 in, out := &in.Version, &out.Version 1071 *out = new(string) 1072 **out = **in 1073 } 1074 if in.FailureReason != nil { 1075 in, out := &in.FailureReason, &out.FailureReason 1076 *out = new(errors.MachineStatusError) 1077 **out = **in 1078 } 1079 if in.FailureMessage != nil { 1080 in, out := &in.FailureMessage, &out.FailureMessage 1081 *out = new(string) 1082 **out = **in 1083 } 1084 if in.Addresses != nil { 1085 in, out := &in.Addresses, &out.Addresses 1086 *out = make(MachineAddresses, len(*in)) 1087 copy(*out, *in) 1088 } 1089 if in.Conditions != nil { 1090 in, out := &in.Conditions, &out.Conditions 1091 *out = make(Conditions, len(*in)) 1092 for i := range *in { 1093 (*in)[i].DeepCopyInto(&(*out)[i]) 1094 } 1095 } 1096 } 1097 1098 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineStatus. 1099 func (in *MachineStatus) DeepCopy() *MachineStatus { 1100 if in == nil { 1101 return nil 1102 } 1103 out := new(MachineStatus) 1104 in.DeepCopyInto(out) 1105 return out 1106 } 1107 1108 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1109 func (in *MachineTemplateSpec) DeepCopyInto(out *MachineTemplateSpec) { 1110 *out = *in 1111 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 1112 in.Spec.DeepCopyInto(&out.Spec) 1113 } 1114 1115 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineTemplateSpec. 1116 func (in *MachineTemplateSpec) DeepCopy() *MachineTemplateSpec { 1117 if in == nil { 1118 return nil 1119 } 1120 out := new(MachineTemplateSpec) 1121 in.DeepCopyInto(out) 1122 return out 1123 } 1124 1125 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1126 func (in *NetworkRanges) DeepCopyInto(out *NetworkRanges) { 1127 *out = *in 1128 if in.CIDRBlocks != nil { 1129 in, out := &in.CIDRBlocks, &out.CIDRBlocks 1130 *out = make([]string, len(*in)) 1131 copy(*out, *in) 1132 } 1133 } 1134 1135 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkRanges. 1136 func (in *NetworkRanges) DeepCopy() *NetworkRanges { 1137 if in == nil { 1138 return nil 1139 } 1140 out := new(NetworkRanges) 1141 in.DeepCopyInto(out) 1142 return out 1143 } 1144 1145 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1146 func (in *ObjectMeta) DeepCopyInto(out *ObjectMeta) { 1147 *out = *in 1148 if in.Labels != nil { 1149 in, out := &in.Labels, &out.Labels 1150 *out = make(map[string]string, len(*in)) 1151 for key, val := range *in { 1152 (*out)[key] = val 1153 } 1154 } 1155 if in.Annotations != nil { 1156 in, out := &in.Annotations, &out.Annotations 1157 *out = make(map[string]string, len(*in)) 1158 for key, val := range *in { 1159 (*out)[key] = val 1160 } 1161 } 1162 } 1163 1164 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMeta. 1165 func (in *ObjectMeta) DeepCopy() *ObjectMeta { 1166 if in == nil { 1167 return nil 1168 } 1169 out := new(ObjectMeta) 1170 in.DeepCopyInto(out) 1171 return out 1172 } 1173 1174 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1175 func (in *Topology) DeepCopyInto(out *Topology) { 1176 *out = *in 1177 if in.RolloutAfter != nil { 1178 in, out := &in.RolloutAfter, &out.RolloutAfter 1179 *out = (*in).DeepCopy() 1180 } 1181 in.ControlPlane.DeepCopyInto(&out.ControlPlane) 1182 if in.Workers != nil { 1183 in, out := &in.Workers, &out.Workers 1184 *out = new(WorkersTopology) 1185 (*in).DeepCopyInto(*out) 1186 } 1187 } 1188 1189 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Topology. 1190 func (in *Topology) DeepCopy() *Topology { 1191 if in == nil { 1192 return nil 1193 } 1194 out := new(Topology) 1195 in.DeepCopyInto(out) 1196 return out 1197 } 1198 1199 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1200 func (in *UnhealthyCondition) DeepCopyInto(out *UnhealthyCondition) { 1201 *out = *in 1202 out.Timeout = in.Timeout 1203 } 1204 1205 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UnhealthyCondition. 1206 func (in *UnhealthyCondition) DeepCopy() *UnhealthyCondition { 1207 if in == nil { 1208 return nil 1209 } 1210 out := new(UnhealthyCondition) 1211 in.DeepCopyInto(out) 1212 return out 1213 } 1214 1215 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1216 func (in *WorkersClass) DeepCopyInto(out *WorkersClass) { 1217 *out = *in 1218 if in.MachineDeployments != nil { 1219 in, out := &in.MachineDeployments, &out.MachineDeployments 1220 *out = make([]MachineDeploymentClass, len(*in)) 1221 for i := range *in { 1222 (*in)[i].DeepCopyInto(&(*out)[i]) 1223 } 1224 } 1225 } 1226 1227 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkersClass. 1228 func (in *WorkersClass) DeepCopy() *WorkersClass { 1229 if in == nil { 1230 return nil 1231 } 1232 out := new(WorkersClass) 1233 in.DeepCopyInto(out) 1234 return out 1235 } 1236 1237 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1238 func (in *WorkersTopology) DeepCopyInto(out *WorkersTopology) { 1239 *out = *in 1240 if in.MachineDeployments != nil { 1241 in, out := &in.MachineDeployments, &out.MachineDeployments 1242 *out = make([]MachineDeploymentTopology, len(*in)) 1243 for i := range *in { 1244 (*in)[i].DeepCopyInto(&(*out)[i]) 1245 } 1246 } 1247 } 1248 1249 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkersTopology. 1250 func (in *WorkersTopology) DeepCopy() *WorkersTopology { 1251 if in == nil { 1252 return nil 1253 } 1254 out := new(WorkersTopology) 1255 in.DeepCopyInto(out) 1256 return out 1257 }