sigs.k8s.io/cluster-api@v1.7.1/internal/apis/core/v1alpha3/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 v1alpha3 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.Data != nil { 55 in, out := &in.Data, &out.Data 56 *out = new(string) 57 **out = **in 58 } 59 if in.DataSecretName != nil { 60 in, out := &in.DataSecretName, &out.DataSecretName 61 *out = new(string) 62 **out = **in 63 } 64 } 65 66 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Bootstrap. 67 func (in *Bootstrap) DeepCopy() *Bootstrap { 68 if in == nil { 69 return nil 70 } 71 out := new(Bootstrap) 72 in.DeepCopyInto(out) 73 return out 74 } 75 76 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 77 func (in *Cluster) DeepCopyInto(out *Cluster) { 78 *out = *in 79 out.TypeMeta = in.TypeMeta 80 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 81 in.Spec.DeepCopyInto(&out.Spec) 82 in.Status.DeepCopyInto(&out.Status) 83 } 84 85 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster. 86 func (in *Cluster) DeepCopy() *Cluster { 87 if in == nil { 88 return nil 89 } 90 out := new(Cluster) 91 in.DeepCopyInto(out) 92 return out 93 } 94 95 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 96 func (in *Cluster) DeepCopyObject() runtime.Object { 97 if c := in.DeepCopy(); c != nil { 98 return c 99 } 100 return nil 101 } 102 103 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 104 func (in *ClusterList) DeepCopyInto(out *ClusterList) { 105 *out = *in 106 out.TypeMeta = in.TypeMeta 107 in.ListMeta.DeepCopyInto(&out.ListMeta) 108 if in.Items != nil { 109 in, out := &in.Items, &out.Items 110 *out = make([]Cluster, len(*in)) 111 for i := range *in { 112 (*in)[i].DeepCopyInto(&(*out)[i]) 113 } 114 } 115 } 116 117 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterList. 118 func (in *ClusterList) DeepCopy() *ClusterList { 119 if in == nil { 120 return nil 121 } 122 out := new(ClusterList) 123 in.DeepCopyInto(out) 124 return out 125 } 126 127 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 128 func (in *ClusterList) DeepCopyObject() runtime.Object { 129 if c := in.DeepCopy(); c != nil { 130 return c 131 } 132 return nil 133 } 134 135 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 136 func (in *ClusterNetwork) DeepCopyInto(out *ClusterNetwork) { 137 *out = *in 138 if in.APIServerPort != nil { 139 in, out := &in.APIServerPort, &out.APIServerPort 140 *out = new(int32) 141 **out = **in 142 } 143 if in.Services != nil { 144 in, out := &in.Services, &out.Services 145 *out = new(NetworkRanges) 146 (*in).DeepCopyInto(*out) 147 } 148 if in.Pods != nil { 149 in, out := &in.Pods, &out.Pods 150 *out = new(NetworkRanges) 151 (*in).DeepCopyInto(*out) 152 } 153 } 154 155 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterNetwork. 156 func (in *ClusterNetwork) DeepCopy() *ClusterNetwork { 157 if in == nil { 158 return nil 159 } 160 out := new(ClusterNetwork) 161 in.DeepCopyInto(out) 162 return out 163 } 164 165 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 166 func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec) { 167 *out = *in 168 if in.ClusterNetwork != nil { 169 in, out := &in.ClusterNetwork, &out.ClusterNetwork 170 *out = new(ClusterNetwork) 171 (*in).DeepCopyInto(*out) 172 } 173 out.ControlPlaneEndpoint = in.ControlPlaneEndpoint 174 if in.ControlPlaneRef != nil { 175 in, out := &in.ControlPlaneRef, &out.ControlPlaneRef 176 *out = new(v1.ObjectReference) 177 **out = **in 178 } 179 if in.InfrastructureRef != nil { 180 in, out := &in.InfrastructureRef, &out.InfrastructureRef 181 *out = new(v1.ObjectReference) 182 **out = **in 183 } 184 } 185 186 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpec. 187 func (in *ClusterSpec) DeepCopy() *ClusterSpec { 188 if in == nil { 189 return nil 190 } 191 out := new(ClusterSpec) 192 in.DeepCopyInto(out) 193 return out 194 } 195 196 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 197 func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus) { 198 *out = *in 199 if in.FailureDomains != nil { 200 in, out := &in.FailureDomains, &out.FailureDomains 201 *out = make(FailureDomains, len(*in)) 202 for key, val := range *in { 203 (*out)[key] = *val.DeepCopy() 204 } 205 } 206 if in.FailureReason != nil { 207 in, out := &in.FailureReason, &out.FailureReason 208 *out = new(errors.ClusterStatusError) 209 **out = **in 210 } 211 if in.FailureMessage != nil { 212 in, out := &in.FailureMessage, &out.FailureMessage 213 *out = new(string) 214 **out = **in 215 } 216 if in.Conditions != nil { 217 in, out := &in.Conditions, &out.Conditions 218 *out = make(Conditions, len(*in)) 219 for i := range *in { 220 (*in)[i].DeepCopyInto(&(*out)[i]) 221 } 222 } 223 } 224 225 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus. 226 func (in *ClusterStatus) DeepCopy() *ClusterStatus { 227 if in == nil { 228 return nil 229 } 230 out := new(ClusterStatus) 231 in.DeepCopyInto(out) 232 return out 233 } 234 235 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 236 func (in *Condition) DeepCopyInto(out *Condition) { 237 *out = *in 238 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime) 239 } 240 241 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition. 242 func (in *Condition) DeepCopy() *Condition { 243 if in == nil { 244 return nil 245 } 246 out := new(Condition) 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 Conditions) DeepCopyInto(out *Conditions) { 253 { 254 in := &in 255 *out = make(Conditions, len(*in)) 256 for i := range *in { 257 (*in)[i].DeepCopyInto(&(*out)[i]) 258 } 259 } 260 } 261 262 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Conditions. 263 func (in Conditions) DeepCopy() Conditions { 264 if in == nil { 265 return nil 266 } 267 out := new(Conditions) 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 *FailureDomainSpec) DeepCopyInto(out *FailureDomainSpec) { 274 *out = *in 275 if in.Attributes != nil { 276 in, out := &in.Attributes, &out.Attributes 277 *out = make(map[string]string, len(*in)) 278 for key, val := range *in { 279 (*out)[key] = val 280 } 281 } 282 } 283 284 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FailureDomainSpec. 285 func (in *FailureDomainSpec) DeepCopy() *FailureDomainSpec { 286 if in == nil { 287 return nil 288 } 289 out := new(FailureDomainSpec) 290 in.DeepCopyInto(out) 291 return out 292 } 293 294 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 295 func (in FailureDomains) DeepCopyInto(out *FailureDomains) { 296 { 297 in := &in 298 *out = make(FailureDomains, len(*in)) 299 for key, val := range *in { 300 (*out)[key] = *val.DeepCopy() 301 } 302 } 303 } 304 305 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FailureDomains. 306 func (in FailureDomains) DeepCopy() FailureDomains { 307 if in == nil { 308 return nil 309 } 310 out := new(FailureDomains) 311 in.DeepCopyInto(out) 312 return *out 313 } 314 315 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 316 func (in *Machine) DeepCopyInto(out *Machine) { 317 *out = *in 318 out.TypeMeta = in.TypeMeta 319 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 320 in.Spec.DeepCopyInto(&out.Spec) 321 in.Status.DeepCopyInto(&out.Status) 322 } 323 324 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Machine. 325 func (in *Machine) DeepCopy() *Machine { 326 if in == nil { 327 return nil 328 } 329 out := new(Machine) 330 in.DeepCopyInto(out) 331 return out 332 } 333 334 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 335 func (in *Machine) DeepCopyObject() runtime.Object { 336 if c := in.DeepCopy(); c != nil { 337 return c 338 } 339 return nil 340 } 341 342 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 343 func (in *MachineAddress) DeepCopyInto(out *MachineAddress) { 344 *out = *in 345 } 346 347 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineAddress. 348 func (in *MachineAddress) DeepCopy() *MachineAddress { 349 if in == nil { 350 return nil 351 } 352 out := new(MachineAddress) 353 in.DeepCopyInto(out) 354 return out 355 } 356 357 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 358 func (in MachineAddresses) DeepCopyInto(out *MachineAddresses) { 359 { 360 in := &in 361 *out = make(MachineAddresses, len(*in)) 362 copy(*out, *in) 363 } 364 } 365 366 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineAddresses. 367 func (in MachineAddresses) DeepCopy() MachineAddresses { 368 if in == nil { 369 return nil 370 } 371 out := new(MachineAddresses) 372 in.DeepCopyInto(out) 373 return *out 374 } 375 376 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 377 func (in *MachineDeployment) DeepCopyInto(out *MachineDeployment) { 378 *out = *in 379 out.TypeMeta = in.TypeMeta 380 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 381 in.Spec.DeepCopyInto(&out.Spec) 382 out.Status = in.Status 383 } 384 385 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeployment. 386 func (in *MachineDeployment) DeepCopy() *MachineDeployment { 387 if in == nil { 388 return nil 389 } 390 out := new(MachineDeployment) 391 in.DeepCopyInto(out) 392 return out 393 } 394 395 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 396 func (in *MachineDeployment) DeepCopyObject() runtime.Object { 397 if c := in.DeepCopy(); c != nil { 398 return c 399 } 400 return nil 401 } 402 403 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 404 func (in *MachineDeploymentList) DeepCopyInto(out *MachineDeploymentList) { 405 *out = *in 406 out.TypeMeta = in.TypeMeta 407 in.ListMeta.DeepCopyInto(&out.ListMeta) 408 if in.Items != nil { 409 in, out := &in.Items, &out.Items 410 *out = make([]MachineDeployment, len(*in)) 411 for i := range *in { 412 (*in)[i].DeepCopyInto(&(*out)[i]) 413 } 414 } 415 } 416 417 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeploymentList. 418 func (in *MachineDeploymentList) DeepCopy() *MachineDeploymentList { 419 if in == nil { 420 return nil 421 } 422 out := new(MachineDeploymentList) 423 in.DeepCopyInto(out) 424 return out 425 } 426 427 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 428 func (in *MachineDeploymentList) DeepCopyObject() runtime.Object { 429 if c := in.DeepCopy(); c != nil { 430 return c 431 } 432 return nil 433 } 434 435 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 436 func (in *MachineDeploymentSpec) DeepCopyInto(out *MachineDeploymentSpec) { 437 *out = *in 438 if in.Replicas != nil { 439 in, out := &in.Replicas, &out.Replicas 440 *out = new(int32) 441 **out = **in 442 } 443 in.Selector.DeepCopyInto(&out.Selector) 444 in.Template.DeepCopyInto(&out.Template) 445 if in.Strategy != nil { 446 in, out := &in.Strategy, &out.Strategy 447 *out = new(MachineDeploymentStrategy) 448 (*in).DeepCopyInto(*out) 449 } 450 if in.MinReadySeconds != nil { 451 in, out := &in.MinReadySeconds, &out.MinReadySeconds 452 *out = new(int32) 453 **out = **in 454 } 455 if in.RevisionHistoryLimit != nil { 456 in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit 457 *out = new(int32) 458 **out = **in 459 } 460 if in.ProgressDeadlineSeconds != nil { 461 in, out := &in.ProgressDeadlineSeconds, &out.ProgressDeadlineSeconds 462 *out = new(int32) 463 **out = **in 464 } 465 } 466 467 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeploymentSpec. 468 func (in *MachineDeploymentSpec) DeepCopy() *MachineDeploymentSpec { 469 if in == nil { 470 return nil 471 } 472 out := new(MachineDeploymentSpec) 473 in.DeepCopyInto(out) 474 return out 475 } 476 477 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 478 func (in *MachineDeploymentStatus) DeepCopyInto(out *MachineDeploymentStatus) { 479 *out = *in 480 } 481 482 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeploymentStatus. 483 func (in *MachineDeploymentStatus) DeepCopy() *MachineDeploymentStatus { 484 if in == nil { 485 return nil 486 } 487 out := new(MachineDeploymentStatus) 488 in.DeepCopyInto(out) 489 return out 490 } 491 492 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 493 func (in *MachineDeploymentStrategy) DeepCopyInto(out *MachineDeploymentStrategy) { 494 *out = *in 495 if in.RollingUpdate != nil { 496 in, out := &in.RollingUpdate, &out.RollingUpdate 497 *out = new(MachineRollingUpdateDeployment) 498 (*in).DeepCopyInto(*out) 499 } 500 } 501 502 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeploymentStrategy. 503 func (in *MachineDeploymentStrategy) DeepCopy() *MachineDeploymentStrategy { 504 if in == nil { 505 return nil 506 } 507 out := new(MachineDeploymentStrategy) 508 in.DeepCopyInto(out) 509 return out 510 } 511 512 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 513 func (in *MachineHealthCheck) DeepCopyInto(out *MachineHealthCheck) { 514 *out = *in 515 out.TypeMeta = in.TypeMeta 516 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 517 in.Spec.DeepCopyInto(&out.Spec) 518 in.Status.DeepCopyInto(&out.Status) 519 } 520 521 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineHealthCheck. 522 func (in *MachineHealthCheck) DeepCopy() *MachineHealthCheck { 523 if in == nil { 524 return nil 525 } 526 out := new(MachineHealthCheck) 527 in.DeepCopyInto(out) 528 return out 529 } 530 531 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 532 func (in *MachineHealthCheck) DeepCopyObject() runtime.Object { 533 if c := in.DeepCopy(); c != nil { 534 return c 535 } 536 return nil 537 } 538 539 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 540 func (in *MachineHealthCheckList) DeepCopyInto(out *MachineHealthCheckList) { 541 *out = *in 542 out.TypeMeta = in.TypeMeta 543 in.ListMeta.DeepCopyInto(&out.ListMeta) 544 if in.Items != nil { 545 in, out := &in.Items, &out.Items 546 *out = make([]MachineHealthCheck, len(*in)) 547 for i := range *in { 548 (*in)[i].DeepCopyInto(&(*out)[i]) 549 } 550 } 551 } 552 553 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineHealthCheckList. 554 func (in *MachineHealthCheckList) DeepCopy() *MachineHealthCheckList { 555 if in == nil { 556 return nil 557 } 558 out := new(MachineHealthCheckList) 559 in.DeepCopyInto(out) 560 return out 561 } 562 563 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 564 func (in *MachineHealthCheckList) DeepCopyObject() runtime.Object { 565 if c := in.DeepCopy(); c != nil { 566 return c 567 } 568 return nil 569 } 570 571 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 572 func (in *MachineHealthCheckSpec) DeepCopyInto(out *MachineHealthCheckSpec) { 573 *out = *in 574 in.Selector.DeepCopyInto(&out.Selector) 575 if in.UnhealthyConditions != nil { 576 in, out := &in.UnhealthyConditions, &out.UnhealthyConditions 577 *out = make([]UnhealthyCondition, len(*in)) 578 copy(*out, *in) 579 } 580 if in.MaxUnhealthy != nil { 581 in, out := &in.MaxUnhealthy, &out.MaxUnhealthy 582 *out = new(intstr.IntOrString) 583 **out = **in 584 } 585 if in.NodeStartupTimeout != nil { 586 in, out := &in.NodeStartupTimeout, &out.NodeStartupTimeout 587 *out = new(metav1.Duration) 588 **out = **in 589 } 590 if in.RemediationTemplate != nil { 591 in, out := &in.RemediationTemplate, &out.RemediationTemplate 592 *out = new(v1.ObjectReference) 593 **out = **in 594 } 595 } 596 597 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineHealthCheckSpec. 598 func (in *MachineHealthCheckSpec) DeepCopy() *MachineHealthCheckSpec { 599 if in == nil { 600 return nil 601 } 602 out := new(MachineHealthCheckSpec) 603 in.DeepCopyInto(out) 604 return out 605 } 606 607 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 608 func (in *MachineHealthCheckStatus) DeepCopyInto(out *MachineHealthCheckStatus) { 609 *out = *in 610 if in.Targets != nil { 611 in, out := &in.Targets, &out.Targets 612 *out = make([]string, len(*in)) 613 copy(*out, *in) 614 } 615 if in.Conditions != nil { 616 in, out := &in.Conditions, &out.Conditions 617 *out = make(Conditions, len(*in)) 618 for i := range *in { 619 (*in)[i].DeepCopyInto(&(*out)[i]) 620 } 621 } 622 } 623 624 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineHealthCheckStatus. 625 func (in *MachineHealthCheckStatus) DeepCopy() *MachineHealthCheckStatus { 626 if in == nil { 627 return nil 628 } 629 out := new(MachineHealthCheckStatus) 630 in.DeepCopyInto(out) 631 return out 632 } 633 634 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 635 func (in *MachineList) DeepCopyInto(out *MachineList) { 636 *out = *in 637 out.TypeMeta = in.TypeMeta 638 in.ListMeta.DeepCopyInto(&out.ListMeta) 639 if in.Items != nil { 640 in, out := &in.Items, &out.Items 641 *out = make([]Machine, len(*in)) 642 for i := range *in { 643 (*in)[i].DeepCopyInto(&(*out)[i]) 644 } 645 } 646 } 647 648 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineList. 649 func (in *MachineList) DeepCopy() *MachineList { 650 if in == nil { 651 return nil 652 } 653 out := new(MachineList) 654 in.DeepCopyInto(out) 655 return out 656 } 657 658 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 659 func (in *MachineList) DeepCopyObject() runtime.Object { 660 if c := in.DeepCopy(); c != nil { 661 return c 662 } 663 return nil 664 } 665 666 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 667 func (in *MachineRollingUpdateDeployment) DeepCopyInto(out *MachineRollingUpdateDeployment) { 668 *out = *in 669 if in.MaxUnavailable != nil { 670 in, out := &in.MaxUnavailable, &out.MaxUnavailable 671 *out = new(intstr.IntOrString) 672 **out = **in 673 } 674 if in.MaxSurge != nil { 675 in, out := &in.MaxSurge, &out.MaxSurge 676 *out = new(intstr.IntOrString) 677 **out = **in 678 } 679 } 680 681 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineRollingUpdateDeployment. 682 func (in *MachineRollingUpdateDeployment) DeepCopy() *MachineRollingUpdateDeployment { 683 if in == nil { 684 return nil 685 } 686 out := new(MachineRollingUpdateDeployment) 687 in.DeepCopyInto(out) 688 return out 689 } 690 691 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 692 func (in *MachineSet) DeepCopyInto(out *MachineSet) { 693 *out = *in 694 out.TypeMeta = in.TypeMeta 695 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 696 in.Spec.DeepCopyInto(&out.Spec) 697 in.Status.DeepCopyInto(&out.Status) 698 } 699 700 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSet. 701 func (in *MachineSet) DeepCopy() *MachineSet { 702 if in == nil { 703 return nil 704 } 705 out := new(MachineSet) 706 in.DeepCopyInto(out) 707 return out 708 } 709 710 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 711 func (in *MachineSet) DeepCopyObject() runtime.Object { 712 if c := in.DeepCopy(); c != nil { 713 return c 714 } 715 return nil 716 } 717 718 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 719 func (in *MachineSetList) DeepCopyInto(out *MachineSetList) { 720 *out = *in 721 out.TypeMeta = in.TypeMeta 722 in.ListMeta.DeepCopyInto(&out.ListMeta) 723 if in.Items != nil { 724 in, out := &in.Items, &out.Items 725 *out = make([]MachineSet, len(*in)) 726 for i := range *in { 727 (*in)[i].DeepCopyInto(&(*out)[i]) 728 } 729 } 730 } 731 732 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSetList. 733 func (in *MachineSetList) DeepCopy() *MachineSetList { 734 if in == nil { 735 return nil 736 } 737 out := new(MachineSetList) 738 in.DeepCopyInto(out) 739 return out 740 } 741 742 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 743 func (in *MachineSetList) DeepCopyObject() runtime.Object { 744 if c := in.DeepCopy(); c != nil { 745 return c 746 } 747 return nil 748 } 749 750 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 751 func (in *MachineSetSpec) DeepCopyInto(out *MachineSetSpec) { 752 *out = *in 753 if in.Replicas != nil { 754 in, out := &in.Replicas, &out.Replicas 755 *out = new(int32) 756 **out = **in 757 } 758 in.Selector.DeepCopyInto(&out.Selector) 759 in.Template.DeepCopyInto(&out.Template) 760 } 761 762 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSetSpec. 763 func (in *MachineSetSpec) DeepCopy() *MachineSetSpec { 764 if in == nil { 765 return nil 766 } 767 out := new(MachineSetSpec) 768 in.DeepCopyInto(out) 769 return out 770 } 771 772 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 773 func (in *MachineSetStatus) DeepCopyInto(out *MachineSetStatus) { 774 *out = *in 775 if in.FailureReason != nil { 776 in, out := &in.FailureReason, &out.FailureReason 777 *out = new(errors.MachineSetStatusError) 778 **out = **in 779 } 780 if in.FailureMessage != nil { 781 in, out := &in.FailureMessage, &out.FailureMessage 782 *out = new(string) 783 **out = **in 784 } 785 } 786 787 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSetStatus. 788 func (in *MachineSetStatus) DeepCopy() *MachineSetStatus { 789 if in == nil { 790 return nil 791 } 792 out := new(MachineSetStatus) 793 in.DeepCopyInto(out) 794 return out 795 } 796 797 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 798 func (in *MachineSpec) DeepCopyInto(out *MachineSpec) { 799 *out = *in 800 in.Bootstrap.DeepCopyInto(&out.Bootstrap) 801 out.InfrastructureRef = in.InfrastructureRef 802 if in.Version != nil { 803 in, out := &in.Version, &out.Version 804 *out = new(string) 805 **out = **in 806 } 807 if in.ProviderID != nil { 808 in, out := &in.ProviderID, &out.ProviderID 809 *out = new(string) 810 **out = **in 811 } 812 if in.FailureDomain != nil { 813 in, out := &in.FailureDomain, &out.FailureDomain 814 *out = new(string) 815 **out = **in 816 } 817 if in.NodeDrainTimeout != nil { 818 in, out := &in.NodeDrainTimeout, &out.NodeDrainTimeout 819 *out = new(metav1.Duration) 820 **out = **in 821 } 822 } 823 824 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSpec. 825 func (in *MachineSpec) DeepCopy() *MachineSpec { 826 if in == nil { 827 return nil 828 } 829 out := new(MachineSpec) 830 in.DeepCopyInto(out) 831 return out 832 } 833 834 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 835 func (in *MachineStatus) DeepCopyInto(out *MachineStatus) { 836 *out = *in 837 if in.NodeRef != nil { 838 in, out := &in.NodeRef, &out.NodeRef 839 *out = new(v1.ObjectReference) 840 **out = **in 841 } 842 if in.LastUpdated != nil { 843 in, out := &in.LastUpdated, &out.LastUpdated 844 *out = (*in).DeepCopy() 845 } 846 if in.Version != nil { 847 in, out := &in.Version, &out.Version 848 *out = new(string) 849 **out = **in 850 } 851 if in.FailureReason != nil { 852 in, out := &in.FailureReason, &out.FailureReason 853 *out = new(errors.MachineStatusError) 854 **out = **in 855 } 856 if in.FailureMessage != nil { 857 in, out := &in.FailureMessage, &out.FailureMessage 858 *out = new(string) 859 **out = **in 860 } 861 if in.Addresses != nil { 862 in, out := &in.Addresses, &out.Addresses 863 *out = make(MachineAddresses, len(*in)) 864 copy(*out, *in) 865 } 866 if in.Conditions != nil { 867 in, out := &in.Conditions, &out.Conditions 868 *out = make(Conditions, len(*in)) 869 for i := range *in { 870 (*in)[i].DeepCopyInto(&(*out)[i]) 871 } 872 } 873 } 874 875 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineStatus. 876 func (in *MachineStatus) DeepCopy() *MachineStatus { 877 if in == nil { 878 return nil 879 } 880 out := new(MachineStatus) 881 in.DeepCopyInto(out) 882 return out 883 } 884 885 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 886 func (in *MachineTemplateSpec) DeepCopyInto(out *MachineTemplateSpec) { 887 *out = *in 888 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 889 in.Spec.DeepCopyInto(&out.Spec) 890 } 891 892 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineTemplateSpec. 893 func (in *MachineTemplateSpec) DeepCopy() *MachineTemplateSpec { 894 if in == nil { 895 return nil 896 } 897 out := new(MachineTemplateSpec) 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 *NetworkRanges) DeepCopyInto(out *NetworkRanges) { 904 *out = *in 905 if in.CIDRBlocks != nil { 906 in, out := &in.CIDRBlocks, &out.CIDRBlocks 907 *out = make([]string, len(*in)) 908 copy(*out, *in) 909 } 910 } 911 912 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkRanges. 913 func (in *NetworkRanges) DeepCopy() *NetworkRanges { 914 if in == nil { 915 return nil 916 } 917 out := new(NetworkRanges) 918 in.DeepCopyInto(out) 919 return out 920 } 921 922 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 923 func (in *ObjectMeta) DeepCopyInto(out *ObjectMeta) { 924 *out = *in 925 if in.Labels != nil { 926 in, out := &in.Labels, &out.Labels 927 *out = make(map[string]string, len(*in)) 928 for key, val := range *in { 929 (*out)[key] = val 930 } 931 } 932 if in.Annotations != nil { 933 in, out := &in.Annotations, &out.Annotations 934 *out = make(map[string]string, len(*in)) 935 for key, val := range *in { 936 (*out)[key] = val 937 } 938 } 939 if in.OwnerReferences != nil { 940 in, out := &in.OwnerReferences, &out.OwnerReferences 941 *out = make([]metav1.OwnerReference, len(*in)) 942 for i := range *in { 943 (*in)[i].DeepCopyInto(&(*out)[i]) 944 } 945 } 946 } 947 948 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMeta. 949 func (in *ObjectMeta) DeepCopy() *ObjectMeta { 950 if in == nil { 951 return nil 952 } 953 out := new(ObjectMeta) 954 in.DeepCopyInto(out) 955 return out 956 } 957 958 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 959 func (in *UnhealthyCondition) DeepCopyInto(out *UnhealthyCondition) { 960 *out = *in 961 out.Timeout = in.Timeout 962 } 963 964 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UnhealthyCondition. 965 func (in *UnhealthyCondition) DeepCopy() *UnhealthyCondition { 966 if in == nil { 967 return nil 968 } 969 out := new(UnhealthyCondition) 970 in.DeepCopyInto(out) 971 return out 972 }