sigs.k8s.io/cluster-api@v1.7.1/bootstrap/kubeadm/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 corev1 "k8s.io/api/core/v1" 25 "k8s.io/apimachinery/pkg/apis/meta/v1" 26 "k8s.io/apimachinery/pkg/runtime" 27 apiv1beta1 "sigs.k8s.io/cluster-api/api/v1beta1" 28 ) 29 30 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 31 func (in *APIEndpoint) DeepCopyInto(out *APIEndpoint) { 32 *out = *in 33 } 34 35 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIEndpoint. 36 func (in *APIEndpoint) DeepCopy() *APIEndpoint { 37 if in == nil { 38 return nil 39 } 40 out := new(APIEndpoint) 41 in.DeepCopyInto(out) 42 return out 43 } 44 45 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 46 func (in *APIServer) DeepCopyInto(out *APIServer) { 47 *out = *in 48 in.ControlPlaneComponent.DeepCopyInto(&out.ControlPlaneComponent) 49 if in.CertSANs != nil { 50 in, out := &in.CertSANs, &out.CertSANs 51 *out = make([]string, len(*in)) 52 copy(*out, *in) 53 } 54 if in.TimeoutForControlPlane != nil { 55 in, out := &in.TimeoutForControlPlane, &out.TimeoutForControlPlane 56 *out = new(v1.Duration) 57 **out = **in 58 } 59 } 60 61 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServer. 62 func (in *APIServer) DeepCopy() *APIServer { 63 if in == nil { 64 return nil 65 } 66 out := new(APIServer) 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 *BootstrapToken) DeepCopyInto(out *BootstrapToken) { 73 *out = *in 74 if in.Token != nil { 75 in, out := &in.Token, &out.Token 76 *out = new(BootstrapTokenString) 77 **out = **in 78 } 79 if in.TTL != nil { 80 in, out := &in.TTL, &out.TTL 81 *out = new(v1.Duration) 82 **out = **in 83 } 84 if in.Expires != nil { 85 in, out := &in.Expires, &out.Expires 86 *out = (*in).DeepCopy() 87 } 88 if in.Usages != nil { 89 in, out := &in.Usages, &out.Usages 90 *out = make([]string, len(*in)) 91 copy(*out, *in) 92 } 93 if in.Groups != nil { 94 in, out := &in.Groups, &out.Groups 95 *out = make([]string, len(*in)) 96 copy(*out, *in) 97 } 98 } 99 100 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootstrapToken. 101 func (in *BootstrapToken) DeepCopy() *BootstrapToken { 102 if in == nil { 103 return nil 104 } 105 out := new(BootstrapToken) 106 in.DeepCopyInto(out) 107 return out 108 } 109 110 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 111 func (in *BootstrapTokenDiscovery) DeepCopyInto(out *BootstrapTokenDiscovery) { 112 *out = *in 113 if in.CACertHashes != nil { 114 in, out := &in.CACertHashes, &out.CACertHashes 115 *out = make([]string, len(*in)) 116 copy(*out, *in) 117 } 118 } 119 120 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootstrapTokenDiscovery. 121 func (in *BootstrapTokenDiscovery) DeepCopy() *BootstrapTokenDiscovery { 122 if in == nil { 123 return nil 124 } 125 out := new(BootstrapTokenDiscovery) 126 in.DeepCopyInto(out) 127 return out 128 } 129 130 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 131 func (in *BootstrapTokenString) DeepCopyInto(out *BootstrapTokenString) { 132 *out = *in 133 } 134 135 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootstrapTokenString. 136 func (in *BootstrapTokenString) DeepCopy() *BootstrapTokenString { 137 if in == nil { 138 return nil 139 } 140 out := new(BootstrapTokenString) 141 in.DeepCopyInto(out) 142 return out 143 } 144 145 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 146 func (in *ClusterConfiguration) DeepCopyInto(out *ClusterConfiguration) { 147 *out = *in 148 out.TypeMeta = in.TypeMeta 149 in.Etcd.DeepCopyInto(&out.Etcd) 150 out.Networking = in.Networking 151 in.APIServer.DeepCopyInto(&out.APIServer) 152 in.ControllerManager.DeepCopyInto(&out.ControllerManager) 153 in.Scheduler.DeepCopyInto(&out.Scheduler) 154 out.DNS = in.DNS 155 if in.FeatureGates != nil { 156 in, out := &in.FeatureGates, &out.FeatureGates 157 *out = make(map[string]bool, len(*in)) 158 for key, val := range *in { 159 (*out)[key] = val 160 } 161 } 162 } 163 164 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterConfiguration. 165 func (in *ClusterConfiguration) DeepCopy() *ClusterConfiguration { 166 if in == nil { 167 return nil 168 } 169 out := new(ClusterConfiguration) 170 in.DeepCopyInto(out) 171 return out 172 } 173 174 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 175 func (in *ClusterConfiguration) DeepCopyObject() runtime.Object { 176 if c := in.DeepCopy(); c != nil { 177 return c 178 } 179 return nil 180 } 181 182 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 183 func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus) { 184 *out = *in 185 out.TypeMeta = in.TypeMeta 186 if in.APIEndpoints != nil { 187 in, out := &in.APIEndpoints, &out.APIEndpoints 188 *out = make(map[string]APIEndpoint, len(*in)) 189 for key, val := range *in { 190 (*out)[key] = val 191 } 192 } 193 } 194 195 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus. 196 func (in *ClusterStatus) DeepCopy() *ClusterStatus { 197 if in == nil { 198 return nil 199 } 200 out := new(ClusterStatus) 201 in.DeepCopyInto(out) 202 return out 203 } 204 205 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 206 func (in *ClusterStatus) DeepCopyObject() runtime.Object { 207 if c := in.DeepCopy(); c != nil { 208 return c 209 } 210 return nil 211 } 212 213 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 214 func (in *ContainerLinuxConfig) DeepCopyInto(out *ContainerLinuxConfig) { 215 *out = *in 216 } 217 218 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerLinuxConfig. 219 func (in *ContainerLinuxConfig) DeepCopy() *ContainerLinuxConfig { 220 if in == nil { 221 return nil 222 } 223 out := new(ContainerLinuxConfig) 224 in.DeepCopyInto(out) 225 return out 226 } 227 228 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 229 func (in *ControlPlaneComponent) DeepCopyInto(out *ControlPlaneComponent) { 230 *out = *in 231 if in.ExtraArgs != nil { 232 in, out := &in.ExtraArgs, &out.ExtraArgs 233 *out = make(map[string]string, len(*in)) 234 for key, val := range *in { 235 (*out)[key] = val 236 } 237 } 238 if in.ExtraVolumes != nil { 239 in, out := &in.ExtraVolumes, &out.ExtraVolumes 240 *out = make([]HostPathMount, len(*in)) 241 copy(*out, *in) 242 } 243 } 244 245 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneComponent. 246 func (in *ControlPlaneComponent) DeepCopy() *ControlPlaneComponent { 247 if in == nil { 248 return nil 249 } 250 out := new(ControlPlaneComponent) 251 in.DeepCopyInto(out) 252 return out 253 } 254 255 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 256 func (in *DNS) DeepCopyInto(out *DNS) { 257 *out = *in 258 out.ImageMeta = in.ImageMeta 259 } 260 261 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNS. 262 func (in *DNS) DeepCopy() *DNS { 263 if in == nil { 264 return nil 265 } 266 out := new(DNS) 267 in.DeepCopyInto(out) 268 return out 269 } 270 271 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 272 func (in *Discovery) DeepCopyInto(out *Discovery) { 273 *out = *in 274 if in.BootstrapToken != nil { 275 in, out := &in.BootstrapToken, &out.BootstrapToken 276 *out = new(BootstrapTokenDiscovery) 277 (*in).DeepCopyInto(*out) 278 } 279 if in.File != nil { 280 in, out := &in.File, &out.File 281 *out = new(FileDiscovery) 282 **out = **in 283 } 284 if in.Timeout != nil { 285 in, out := &in.Timeout, &out.Timeout 286 *out = new(v1.Duration) 287 **out = **in 288 } 289 } 290 291 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Discovery. 292 func (in *Discovery) DeepCopy() *Discovery { 293 if in == nil { 294 return nil 295 } 296 out := new(Discovery) 297 in.DeepCopyInto(out) 298 return out 299 } 300 301 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 302 func (in *DiskSetup) DeepCopyInto(out *DiskSetup) { 303 *out = *in 304 if in.Partitions != nil { 305 in, out := &in.Partitions, &out.Partitions 306 *out = make([]Partition, len(*in)) 307 for i := range *in { 308 (*in)[i].DeepCopyInto(&(*out)[i]) 309 } 310 } 311 if in.Filesystems != nil { 312 in, out := &in.Filesystems, &out.Filesystems 313 *out = make([]Filesystem, len(*in)) 314 for i := range *in { 315 (*in)[i].DeepCopyInto(&(*out)[i]) 316 } 317 } 318 } 319 320 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiskSetup. 321 func (in *DiskSetup) DeepCopy() *DiskSetup { 322 if in == nil { 323 return nil 324 } 325 out := new(DiskSetup) 326 in.DeepCopyInto(out) 327 return out 328 } 329 330 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 331 func (in *Etcd) DeepCopyInto(out *Etcd) { 332 *out = *in 333 if in.Local != nil { 334 in, out := &in.Local, &out.Local 335 *out = new(LocalEtcd) 336 (*in).DeepCopyInto(*out) 337 } 338 if in.External != nil { 339 in, out := &in.External, &out.External 340 *out = new(ExternalEtcd) 341 (*in).DeepCopyInto(*out) 342 } 343 } 344 345 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Etcd. 346 func (in *Etcd) DeepCopy() *Etcd { 347 if in == nil { 348 return nil 349 } 350 out := new(Etcd) 351 in.DeepCopyInto(out) 352 return out 353 } 354 355 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 356 func (in *ExternalEtcd) DeepCopyInto(out *ExternalEtcd) { 357 *out = *in 358 if in.Endpoints != nil { 359 in, out := &in.Endpoints, &out.Endpoints 360 *out = make([]string, len(*in)) 361 copy(*out, *in) 362 } 363 } 364 365 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalEtcd. 366 func (in *ExternalEtcd) DeepCopy() *ExternalEtcd { 367 if in == nil { 368 return nil 369 } 370 out := new(ExternalEtcd) 371 in.DeepCopyInto(out) 372 return out 373 } 374 375 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 376 func (in *File) DeepCopyInto(out *File) { 377 *out = *in 378 if in.ContentFrom != nil { 379 in, out := &in.ContentFrom, &out.ContentFrom 380 *out = new(FileSource) 381 **out = **in 382 } 383 } 384 385 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new File. 386 func (in *File) DeepCopy() *File { 387 if in == nil { 388 return nil 389 } 390 out := new(File) 391 in.DeepCopyInto(out) 392 return out 393 } 394 395 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 396 func (in *FileDiscovery) DeepCopyInto(out *FileDiscovery) { 397 *out = *in 398 } 399 400 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileDiscovery. 401 func (in *FileDiscovery) DeepCopy() *FileDiscovery { 402 if in == nil { 403 return nil 404 } 405 out := new(FileDiscovery) 406 in.DeepCopyInto(out) 407 return out 408 } 409 410 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 411 func (in *FileSource) DeepCopyInto(out *FileSource) { 412 *out = *in 413 out.Secret = in.Secret 414 } 415 416 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileSource. 417 func (in *FileSource) DeepCopy() *FileSource { 418 if in == nil { 419 return nil 420 } 421 out := new(FileSource) 422 in.DeepCopyInto(out) 423 return out 424 } 425 426 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 427 func (in *Filesystem) DeepCopyInto(out *Filesystem) { 428 *out = *in 429 if in.Partition != nil { 430 in, out := &in.Partition, &out.Partition 431 *out = new(string) 432 **out = **in 433 } 434 if in.Overwrite != nil { 435 in, out := &in.Overwrite, &out.Overwrite 436 *out = new(bool) 437 **out = **in 438 } 439 if in.ReplaceFS != nil { 440 in, out := &in.ReplaceFS, &out.ReplaceFS 441 *out = new(string) 442 **out = **in 443 } 444 if in.ExtraOpts != nil { 445 in, out := &in.ExtraOpts, &out.ExtraOpts 446 *out = make([]string, len(*in)) 447 copy(*out, *in) 448 } 449 } 450 451 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Filesystem. 452 func (in *Filesystem) DeepCopy() *Filesystem { 453 if in == nil { 454 return nil 455 } 456 out := new(Filesystem) 457 in.DeepCopyInto(out) 458 return out 459 } 460 461 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 462 func (in *HostPathMount) DeepCopyInto(out *HostPathMount) { 463 *out = *in 464 } 465 466 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPathMount. 467 func (in *HostPathMount) DeepCopy() *HostPathMount { 468 if in == nil { 469 return nil 470 } 471 out := new(HostPathMount) 472 in.DeepCopyInto(out) 473 return out 474 } 475 476 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 477 func (in *IgnitionSpec) DeepCopyInto(out *IgnitionSpec) { 478 *out = *in 479 if in.ContainerLinuxConfig != nil { 480 in, out := &in.ContainerLinuxConfig, &out.ContainerLinuxConfig 481 *out = new(ContainerLinuxConfig) 482 **out = **in 483 } 484 } 485 486 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IgnitionSpec. 487 func (in *IgnitionSpec) DeepCopy() *IgnitionSpec { 488 if in == nil { 489 return nil 490 } 491 out := new(IgnitionSpec) 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 *ImageMeta) DeepCopyInto(out *ImageMeta) { 498 *out = *in 499 } 500 501 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageMeta. 502 func (in *ImageMeta) DeepCopy() *ImageMeta { 503 if in == nil { 504 return nil 505 } 506 out := new(ImageMeta) 507 in.DeepCopyInto(out) 508 return out 509 } 510 511 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 512 func (in *InitConfiguration) DeepCopyInto(out *InitConfiguration) { 513 *out = *in 514 out.TypeMeta = in.TypeMeta 515 if in.BootstrapTokens != nil { 516 in, out := &in.BootstrapTokens, &out.BootstrapTokens 517 *out = make([]BootstrapToken, len(*in)) 518 for i := range *in { 519 (*in)[i].DeepCopyInto(&(*out)[i]) 520 } 521 } 522 in.NodeRegistration.DeepCopyInto(&out.NodeRegistration) 523 out.LocalAPIEndpoint = in.LocalAPIEndpoint 524 if in.SkipPhases != nil { 525 in, out := &in.SkipPhases, &out.SkipPhases 526 *out = make([]string, len(*in)) 527 copy(*out, *in) 528 } 529 if in.Patches != nil { 530 in, out := &in.Patches, &out.Patches 531 *out = new(Patches) 532 **out = **in 533 } 534 } 535 536 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InitConfiguration. 537 func (in *InitConfiguration) DeepCopy() *InitConfiguration { 538 if in == nil { 539 return nil 540 } 541 out := new(InitConfiguration) 542 in.DeepCopyInto(out) 543 return out 544 } 545 546 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 547 func (in *InitConfiguration) DeepCopyObject() runtime.Object { 548 if c := in.DeepCopy(); c != nil { 549 return c 550 } 551 return nil 552 } 553 554 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 555 func (in *JoinConfiguration) DeepCopyInto(out *JoinConfiguration) { 556 *out = *in 557 out.TypeMeta = in.TypeMeta 558 in.NodeRegistration.DeepCopyInto(&out.NodeRegistration) 559 in.Discovery.DeepCopyInto(&out.Discovery) 560 if in.ControlPlane != nil { 561 in, out := &in.ControlPlane, &out.ControlPlane 562 *out = new(JoinControlPlane) 563 **out = **in 564 } 565 if in.SkipPhases != nil { 566 in, out := &in.SkipPhases, &out.SkipPhases 567 *out = make([]string, len(*in)) 568 copy(*out, *in) 569 } 570 if in.Patches != nil { 571 in, out := &in.Patches, &out.Patches 572 *out = new(Patches) 573 **out = **in 574 } 575 } 576 577 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JoinConfiguration. 578 func (in *JoinConfiguration) DeepCopy() *JoinConfiguration { 579 if in == nil { 580 return nil 581 } 582 out := new(JoinConfiguration) 583 in.DeepCopyInto(out) 584 return out 585 } 586 587 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 588 func (in *JoinConfiguration) DeepCopyObject() runtime.Object { 589 if c := in.DeepCopy(); c != nil { 590 return c 591 } 592 return nil 593 } 594 595 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 596 func (in *JoinControlPlane) DeepCopyInto(out *JoinControlPlane) { 597 *out = *in 598 out.LocalAPIEndpoint = in.LocalAPIEndpoint 599 } 600 601 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JoinControlPlane. 602 func (in *JoinControlPlane) DeepCopy() *JoinControlPlane { 603 if in == nil { 604 return nil 605 } 606 out := new(JoinControlPlane) 607 in.DeepCopyInto(out) 608 return out 609 } 610 611 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 612 func (in *KubeadmConfig) DeepCopyInto(out *KubeadmConfig) { 613 *out = *in 614 out.TypeMeta = in.TypeMeta 615 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 616 in.Spec.DeepCopyInto(&out.Spec) 617 in.Status.DeepCopyInto(&out.Status) 618 } 619 620 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeadmConfig. 621 func (in *KubeadmConfig) DeepCopy() *KubeadmConfig { 622 if in == nil { 623 return nil 624 } 625 out := new(KubeadmConfig) 626 in.DeepCopyInto(out) 627 return out 628 } 629 630 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 631 func (in *KubeadmConfig) DeepCopyObject() runtime.Object { 632 if c := in.DeepCopy(); c != nil { 633 return c 634 } 635 return nil 636 } 637 638 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 639 func (in *KubeadmConfigList) DeepCopyInto(out *KubeadmConfigList) { 640 *out = *in 641 out.TypeMeta = in.TypeMeta 642 in.ListMeta.DeepCopyInto(&out.ListMeta) 643 if in.Items != nil { 644 in, out := &in.Items, &out.Items 645 *out = make([]KubeadmConfig, len(*in)) 646 for i := range *in { 647 (*in)[i].DeepCopyInto(&(*out)[i]) 648 } 649 } 650 } 651 652 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeadmConfigList. 653 func (in *KubeadmConfigList) DeepCopy() *KubeadmConfigList { 654 if in == nil { 655 return nil 656 } 657 out := new(KubeadmConfigList) 658 in.DeepCopyInto(out) 659 return out 660 } 661 662 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 663 func (in *KubeadmConfigList) DeepCopyObject() runtime.Object { 664 if c := in.DeepCopy(); c != nil { 665 return c 666 } 667 return nil 668 } 669 670 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 671 func (in *KubeadmConfigSpec) DeepCopyInto(out *KubeadmConfigSpec) { 672 *out = *in 673 if in.ClusterConfiguration != nil { 674 in, out := &in.ClusterConfiguration, &out.ClusterConfiguration 675 *out = new(ClusterConfiguration) 676 (*in).DeepCopyInto(*out) 677 } 678 if in.InitConfiguration != nil { 679 in, out := &in.InitConfiguration, &out.InitConfiguration 680 *out = new(InitConfiguration) 681 (*in).DeepCopyInto(*out) 682 } 683 if in.JoinConfiguration != nil { 684 in, out := &in.JoinConfiguration, &out.JoinConfiguration 685 *out = new(JoinConfiguration) 686 (*in).DeepCopyInto(*out) 687 } 688 if in.Files != nil { 689 in, out := &in.Files, &out.Files 690 *out = make([]File, len(*in)) 691 for i := range *in { 692 (*in)[i].DeepCopyInto(&(*out)[i]) 693 } 694 } 695 if in.DiskSetup != nil { 696 in, out := &in.DiskSetup, &out.DiskSetup 697 *out = new(DiskSetup) 698 (*in).DeepCopyInto(*out) 699 } 700 if in.Mounts != nil { 701 in, out := &in.Mounts, &out.Mounts 702 *out = make([]MountPoints, len(*in)) 703 for i := range *in { 704 if (*in)[i] != nil { 705 in, out := &(*in)[i], &(*out)[i] 706 *out = make(MountPoints, len(*in)) 707 copy(*out, *in) 708 } 709 } 710 } 711 if in.PreKubeadmCommands != nil { 712 in, out := &in.PreKubeadmCommands, &out.PreKubeadmCommands 713 *out = make([]string, len(*in)) 714 copy(*out, *in) 715 } 716 if in.PostKubeadmCommands != nil { 717 in, out := &in.PostKubeadmCommands, &out.PostKubeadmCommands 718 *out = make([]string, len(*in)) 719 copy(*out, *in) 720 } 721 if in.Users != nil { 722 in, out := &in.Users, &out.Users 723 *out = make([]User, len(*in)) 724 for i := range *in { 725 (*in)[i].DeepCopyInto(&(*out)[i]) 726 } 727 } 728 if in.NTP != nil { 729 in, out := &in.NTP, &out.NTP 730 *out = new(NTP) 731 (*in).DeepCopyInto(*out) 732 } 733 if in.Verbosity != nil { 734 in, out := &in.Verbosity, &out.Verbosity 735 *out = new(int32) 736 **out = **in 737 } 738 if in.Ignition != nil { 739 in, out := &in.Ignition, &out.Ignition 740 *out = new(IgnitionSpec) 741 (*in).DeepCopyInto(*out) 742 } 743 } 744 745 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeadmConfigSpec. 746 func (in *KubeadmConfigSpec) DeepCopy() *KubeadmConfigSpec { 747 if in == nil { 748 return nil 749 } 750 out := new(KubeadmConfigSpec) 751 in.DeepCopyInto(out) 752 return out 753 } 754 755 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 756 func (in *KubeadmConfigStatus) DeepCopyInto(out *KubeadmConfigStatus) { 757 *out = *in 758 if in.DataSecretName != nil { 759 in, out := &in.DataSecretName, &out.DataSecretName 760 *out = new(string) 761 **out = **in 762 } 763 if in.Conditions != nil { 764 in, out := &in.Conditions, &out.Conditions 765 *out = make(apiv1beta1.Conditions, len(*in)) 766 for i := range *in { 767 (*in)[i].DeepCopyInto(&(*out)[i]) 768 } 769 } 770 } 771 772 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeadmConfigStatus. 773 func (in *KubeadmConfigStatus) DeepCopy() *KubeadmConfigStatus { 774 if in == nil { 775 return nil 776 } 777 out := new(KubeadmConfigStatus) 778 in.DeepCopyInto(out) 779 return out 780 } 781 782 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 783 func (in *KubeadmConfigTemplate) DeepCopyInto(out *KubeadmConfigTemplate) { 784 *out = *in 785 out.TypeMeta = in.TypeMeta 786 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 787 in.Spec.DeepCopyInto(&out.Spec) 788 } 789 790 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeadmConfigTemplate. 791 func (in *KubeadmConfigTemplate) DeepCopy() *KubeadmConfigTemplate { 792 if in == nil { 793 return nil 794 } 795 out := new(KubeadmConfigTemplate) 796 in.DeepCopyInto(out) 797 return out 798 } 799 800 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 801 func (in *KubeadmConfigTemplate) DeepCopyObject() runtime.Object { 802 if c := in.DeepCopy(); c != nil { 803 return c 804 } 805 return nil 806 } 807 808 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 809 func (in *KubeadmConfigTemplateList) DeepCopyInto(out *KubeadmConfigTemplateList) { 810 *out = *in 811 out.TypeMeta = in.TypeMeta 812 in.ListMeta.DeepCopyInto(&out.ListMeta) 813 if in.Items != nil { 814 in, out := &in.Items, &out.Items 815 *out = make([]KubeadmConfigTemplate, len(*in)) 816 for i := range *in { 817 (*in)[i].DeepCopyInto(&(*out)[i]) 818 } 819 } 820 } 821 822 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeadmConfigTemplateList. 823 func (in *KubeadmConfigTemplateList) DeepCopy() *KubeadmConfigTemplateList { 824 if in == nil { 825 return nil 826 } 827 out := new(KubeadmConfigTemplateList) 828 in.DeepCopyInto(out) 829 return out 830 } 831 832 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 833 func (in *KubeadmConfigTemplateList) DeepCopyObject() runtime.Object { 834 if c := in.DeepCopy(); c != nil { 835 return c 836 } 837 return nil 838 } 839 840 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 841 func (in *KubeadmConfigTemplateResource) DeepCopyInto(out *KubeadmConfigTemplateResource) { 842 *out = *in 843 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 844 in.Spec.DeepCopyInto(&out.Spec) 845 } 846 847 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeadmConfigTemplateResource. 848 func (in *KubeadmConfigTemplateResource) DeepCopy() *KubeadmConfigTemplateResource { 849 if in == nil { 850 return nil 851 } 852 out := new(KubeadmConfigTemplateResource) 853 in.DeepCopyInto(out) 854 return out 855 } 856 857 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 858 func (in *KubeadmConfigTemplateSpec) DeepCopyInto(out *KubeadmConfigTemplateSpec) { 859 *out = *in 860 in.Template.DeepCopyInto(&out.Template) 861 } 862 863 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeadmConfigTemplateSpec. 864 func (in *KubeadmConfigTemplateSpec) DeepCopy() *KubeadmConfigTemplateSpec { 865 if in == nil { 866 return nil 867 } 868 out := new(KubeadmConfigTemplateSpec) 869 in.DeepCopyInto(out) 870 return out 871 } 872 873 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 874 func (in *LocalEtcd) DeepCopyInto(out *LocalEtcd) { 875 *out = *in 876 out.ImageMeta = in.ImageMeta 877 if in.ExtraArgs != nil { 878 in, out := &in.ExtraArgs, &out.ExtraArgs 879 *out = make(map[string]string, len(*in)) 880 for key, val := range *in { 881 (*out)[key] = val 882 } 883 } 884 if in.ServerCertSANs != nil { 885 in, out := &in.ServerCertSANs, &out.ServerCertSANs 886 *out = make([]string, len(*in)) 887 copy(*out, *in) 888 } 889 if in.PeerCertSANs != nil { 890 in, out := &in.PeerCertSANs, &out.PeerCertSANs 891 *out = make([]string, len(*in)) 892 copy(*out, *in) 893 } 894 } 895 896 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalEtcd. 897 func (in *LocalEtcd) DeepCopy() *LocalEtcd { 898 if in == nil { 899 return nil 900 } 901 out := new(LocalEtcd) 902 in.DeepCopyInto(out) 903 return out 904 } 905 906 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 907 func (in MountPoints) DeepCopyInto(out *MountPoints) { 908 { 909 in := &in 910 *out = make(MountPoints, len(*in)) 911 copy(*out, *in) 912 } 913 } 914 915 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MountPoints. 916 func (in MountPoints) DeepCopy() MountPoints { 917 if in == nil { 918 return nil 919 } 920 out := new(MountPoints) 921 in.DeepCopyInto(out) 922 return *out 923 } 924 925 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 926 func (in *NTP) DeepCopyInto(out *NTP) { 927 *out = *in 928 if in.Servers != nil { 929 in, out := &in.Servers, &out.Servers 930 *out = make([]string, len(*in)) 931 copy(*out, *in) 932 } 933 if in.Enabled != nil { 934 in, out := &in.Enabled, &out.Enabled 935 *out = new(bool) 936 **out = **in 937 } 938 } 939 940 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NTP. 941 func (in *NTP) DeepCopy() *NTP { 942 if in == nil { 943 return nil 944 } 945 out := new(NTP) 946 in.DeepCopyInto(out) 947 return out 948 } 949 950 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 951 func (in *Networking) DeepCopyInto(out *Networking) { 952 *out = *in 953 } 954 955 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Networking. 956 func (in *Networking) DeepCopy() *Networking { 957 if in == nil { 958 return nil 959 } 960 out := new(Networking) 961 in.DeepCopyInto(out) 962 return out 963 } 964 965 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 966 func (in *NodeRegistrationOptions) DeepCopyInto(out *NodeRegistrationOptions) { 967 *out = *in 968 if in.Taints != nil { 969 in, out := &in.Taints, &out.Taints 970 *out = make([]corev1.Taint, len(*in)) 971 for i := range *in { 972 (*in)[i].DeepCopyInto(&(*out)[i]) 973 } 974 } 975 if in.KubeletExtraArgs != nil { 976 in, out := &in.KubeletExtraArgs, &out.KubeletExtraArgs 977 *out = make(map[string]string, len(*in)) 978 for key, val := range *in { 979 (*out)[key] = val 980 } 981 } 982 if in.IgnorePreflightErrors != nil { 983 in, out := &in.IgnorePreflightErrors, &out.IgnorePreflightErrors 984 *out = make([]string, len(*in)) 985 copy(*out, *in) 986 } 987 } 988 989 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeRegistrationOptions. 990 func (in *NodeRegistrationOptions) DeepCopy() *NodeRegistrationOptions { 991 if in == nil { 992 return nil 993 } 994 out := new(NodeRegistrationOptions) 995 in.DeepCopyInto(out) 996 return out 997 } 998 999 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1000 func (in *Partition) DeepCopyInto(out *Partition) { 1001 *out = *in 1002 if in.Overwrite != nil { 1003 in, out := &in.Overwrite, &out.Overwrite 1004 *out = new(bool) 1005 **out = **in 1006 } 1007 if in.TableType != nil { 1008 in, out := &in.TableType, &out.TableType 1009 *out = new(string) 1010 **out = **in 1011 } 1012 } 1013 1014 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Partition. 1015 func (in *Partition) DeepCopy() *Partition { 1016 if in == nil { 1017 return nil 1018 } 1019 out := new(Partition) 1020 in.DeepCopyInto(out) 1021 return out 1022 } 1023 1024 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1025 func (in *PasswdSource) DeepCopyInto(out *PasswdSource) { 1026 *out = *in 1027 out.Secret = in.Secret 1028 } 1029 1030 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PasswdSource. 1031 func (in *PasswdSource) DeepCopy() *PasswdSource { 1032 if in == nil { 1033 return nil 1034 } 1035 out := new(PasswdSource) 1036 in.DeepCopyInto(out) 1037 return out 1038 } 1039 1040 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1041 func (in *Patches) DeepCopyInto(out *Patches) { 1042 *out = *in 1043 } 1044 1045 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Patches. 1046 func (in *Patches) DeepCopy() *Patches { 1047 if in == nil { 1048 return nil 1049 } 1050 out := new(Patches) 1051 in.DeepCopyInto(out) 1052 return out 1053 } 1054 1055 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1056 func (in *SecretFileSource) DeepCopyInto(out *SecretFileSource) { 1057 *out = *in 1058 } 1059 1060 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretFileSource. 1061 func (in *SecretFileSource) DeepCopy() *SecretFileSource { 1062 if in == nil { 1063 return nil 1064 } 1065 out := new(SecretFileSource) 1066 in.DeepCopyInto(out) 1067 return out 1068 } 1069 1070 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1071 func (in *SecretPasswdSource) DeepCopyInto(out *SecretPasswdSource) { 1072 *out = *in 1073 } 1074 1075 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretPasswdSource. 1076 func (in *SecretPasswdSource) DeepCopy() *SecretPasswdSource { 1077 if in == nil { 1078 return nil 1079 } 1080 out := new(SecretPasswdSource) 1081 in.DeepCopyInto(out) 1082 return out 1083 } 1084 1085 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1086 func (in *User) DeepCopyInto(out *User) { 1087 *out = *in 1088 if in.Gecos != nil { 1089 in, out := &in.Gecos, &out.Gecos 1090 *out = new(string) 1091 **out = **in 1092 } 1093 if in.Groups != nil { 1094 in, out := &in.Groups, &out.Groups 1095 *out = new(string) 1096 **out = **in 1097 } 1098 if in.HomeDir != nil { 1099 in, out := &in.HomeDir, &out.HomeDir 1100 *out = new(string) 1101 **out = **in 1102 } 1103 if in.Inactive != nil { 1104 in, out := &in.Inactive, &out.Inactive 1105 *out = new(bool) 1106 **out = **in 1107 } 1108 if in.Shell != nil { 1109 in, out := &in.Shell, &out.Shell 1110 *out = new(string) 1111 **out = **in 1112 } 1113 if in.Passwd != nil { 1114 in, out := &in.Passwd, &out.Passwd 1115 *out = new(string) 1116 **out = **in 1117 } 1118 if in.PasswdFrom != nil { 1119 in, out := &in.PasswdFrom, &out.PasswdFrom 1120 *out = new(PasswdSource) 1121 **out = **in 1122 } 1123 if in.PrimaryGroup != nil { 1124 in, out := &in.PrimaryGroup, &out.PrimaryGroup 1125 *out = new(string) 1126 **out = **in 1127 } 1128 if in.LockPassword != nil { 1129 in, out := &in.LockPassword, &out.LockPassword 1130 *out = new(bool) 1131 **out = **in 1132 } 1133 if in.Sudo != nil { 1134 in, out := &in.Sudo, &out.Sudo 1135 *out = new(string) 1136 **out = **in 1137 } 1138 if in.SSHAuthorizedKeys != nil { 1139 in, out := &in.SSHAuthorizedKeys, &out.SSHAuthorizedKeys 1140 *out = make([]string, len(*in)) 1141 copy(*out, *in) 1142 } 1143 } 1144 1145 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new User. 1146 func (in *User) DeepCopy() *User { 1147 if in == nil { 1148 return nil 1149 } 1150 out := new(User) 1151 in.DeepCopyInto(out) 1152 return out 1153 }