sigs.k8s.io/cluster-api@v1.7.1/exp/runtime/hooks/api/v1alpha1/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 v1alpha1 22 23 import ( 24 "k8s.io/apimachinery/pkg/runtime" 25 "sigs.k8s.io/cluster-api/api/v1beta1" 26 ) 27 28 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 29 func (in *AfterClusterUpgradeRequest) DeepCopyInto(out *AfterClusterUpgradeRequest) { 30 *out = *in 31 out.TypeMeta = in.TypeMeta 32 in.CommonRequest.DeepCopyInto(&out.CommonRequest) 33 in.Cluster.DeepCopyInto(&out.Cluster) 34 } 35 36 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AfterClusterUpgradeRequest. 37 func (in *AfterClusterUpgradeRequest) DeepCopy() *AfterClusterUpgradeRequest { 38 if in == nil { 39 return nil 40 } 41 out := new(AfterClusterUpgradeRequest) 42 in.DeepCopyInto(out) 43 return out 44 } 45 46 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 47 func (in *AfterClusterUpgradeRequest) DeepCopyObject() runtime.Object { 48 if c := in.DeepCopy(); c != nil { 49 return c 50 } 51 return nil 52 } 53 54 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 55 func (in *AfterClusterUpgradeResponse) DeepCopyInto(out *AfterClusterUpgradeResponse) { 56 *out = *in 57 out.TypeMeta = in.TypeMeta 58 out.CommonResponse = in.CommonResponse 59 } 60 61 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AfterClusterUpgradeResponse. 62 func (in *AfterClusterUpgradeResponse) DeepCopy() *AfterClusterUpgradeResponse { 63 if in == nil { 64 return nil 65 } 66 out := new(AfterClusterUpgradeResponse) 67 in.DeepCopyInto(out) 68 return out 69 } 70 71 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 72 func (in *AfterClusterUpgradeResponse) DeepCopyObject() runtime.Object { 73 if c := in.DeepCopy(); c != nil { 74 return c 75 } 76 return nil 77 } 78 79 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 80 func (in *AfterControlPlaneInitializedRequest) DeepCopyInto(out *AfterControlPlaneInitializedRequest) { 81 *out = *in 82 out.TypeMeta = in.TypeMeta 83 in.CommonRequest.DeepCopyInto(&out.CommonRequest) 84 in.Cluster.DeepCopyInto(&out.Cluster) 85 } 86 87 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AfterControlPlaneInitializedRequest. 88 func (in *AfterControlPlaneInitializedRequest) DeepCopy() *AfterControlPlaneInitializedRequest { 89 if in == nil { 90 return nil 91 } 92 out := new(AfterControlPlaneInitializedRequest) 93 in.DeepCopyInto(out) 94 return out 95 } 96 97 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 98 func (in *AfterControlPlaneInitializedRequest) DeepCopyObject() runtime.Object { 99 if c := in.DeepCopy(); c != nil { 100 return c 101 } 102 return nil 103 } 104 105 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 106 func (in *AfterControlPlaneInitializedResponse) DeepCopyInto(out *AfterControlPlaneInitializedResponse) { 107 *out = *in 108 out.TypeMeta = in.TypeMeta 109 out.CommonResponse = in.CommonResponse 110 } 111 112 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AfterControlPlaneInitializedResponse. 113 func (in *AfterControlPlaneInitializedResponse) DeepCopy() *AfterControlPlaneInitializedResponse { 114 if in == nil { 115 return nil 116 } 117 out := new(AfterControlPlaneInitializedResponse) 118 in.DeepCopyInto(out) 119 return out 120 } 121 122 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 123 func (in *AfterControlPlaneInitializedResponse) DeepCopyObject() runtime.Object { 124 if c := in.DeepCopy(); c != nil { 125 return c 126 } 127 return nil 128 } 129 130 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 131 func (in *AfterControlPlaneUpgradeRequest) DeepCopyInto(out *AfterControlPlaneUpgradeRequest) { 132 *out = *in 133 out.TypeMeta = in.TypeMeta 134 in.CommonRequest.DeepCopyInto(&out.CommonRequest) 135 in.Cluster.DeepCopyInto(&out.Cluster) 136 } 137 138 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AfterControlPlaneUpgradeRequest. 139 func (in *AfterControlPlaneUpgradeRequest) DeepCopy() *AfterControlPlaneUpgradeRequest { 140 if in == nil { 141 return nil 142 } 143 out := new(AfterControlPlaneUpgradeRequest) 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 *AfterControlPlaneUpgradeRequest) 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 *AfterControlPlaneUpgradeResponse) DeepCopyInto(out *AfterControlPlaneUpgradeResponse) { 158 *out = *in 159 out.TypeMeta = in.TypeMeta 160 out.CommonRetryResponse = in.CommonRetryResponse 161 } 162 163 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AfterControlPlaneUpgradeResponse. 164 func (in *AfterControlPlaneUpgradeResponse) DeepCopy() *AfterControlPlaneUpgradeResponse { 165 if in == nil { 166 return nil 167 } 168 out := new(AfterControlPlaneUpgradeResponse) 169 in.DeepCopyInto(out) 170 return out 171 } 172 173 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 174 func (in *AfterControlPlaneUpgradeResponse) DeepCopyObject() runtime.Object { 175 if c := in.DeepCopy(); c != nil { 176 return c 177 } 178 return nil 179 } 180 181 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 182 func (in *BeforeClusterCreateRequest) DeepCopyInto(out *BeforeClusterCreateRequest) { 183 *out = *in 184 out.TypeMeta = in.TypeMeta 185 in.CommonRequest.DeepCopyInto(&out.CommonRequest) 186 in.Cluster.DeepCopyInto(&out.Cluster) 187 } 188 189 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BeforeClusterCreateRequest. 190 func (in *BeforeClusterCreateRequest) DeepCopy() *BeforeClusterCreateRequest { 191 if in == nil { 192 return nil 193 } 194 out := new(BeforeClusterCreateRequest) 195 in.DeepCopyInto(out) 196 return out 197 } 198 199 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 200 func (in *BeforeClusterCreateRequest) DeepCopyObject() runtime.Object { 201 if c := in.DeepCopy(); c != nil { 202 return c 203 } 204 return nil 205 } 206 207 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 208 func (in *BeforeClusterCreateResponse) DeepCopyInto(out *BeforeClusterCreateResponse) { 209 *out = *in 210 out.TypeMeta = in.TypeMeta 211 out.CommonRetryResponse = in.CommonRetryResponse 212 } 213 214 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BeforeClusterCreateResponse. 215 func (in *BeforeClusterCreateResponse) DeepCopy() *BeforeClusterCreateResponse { 216 if in == nil { 217 return nil 218 } 219 out := new(BeforeClusterCreateResponse) 220 in.DeepCopyInto(out) 221 return out 222 } 223 224 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 225 func (in *BeforeClusterCreateResponse) DeepCopyObject() runtime.Object { 226 if c := in.DeepCopy(); c != nil { 227 return c 228 } 229 return nil 230 } 231 232 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 233 func (in *BeforeClusterDeleteRequest) DeepCopyInto(out *BeforeClusterDeleteRequest) { 234 *out = *in 235 out.TypeMeta = in.TypeMeta 236 in.CommonRequest.DeepCopyInto(&out.CommonRequest) 237 in.Cluster.DeepCopyInto(&out.Cluster) 238 } 239 240 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BeforeClusterDeleteRequest. 241 func (in *BeforeClusterDeleteRequest) DeepCopy() *BeforeClusterDeleteRequest { 242 if in == nil { 243 return nil 244 } 245 out := new(BeforeClusterDeleteRequest) 246 in.DeepCopyInto(out) 247 return out 248 } 249 250 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 251 func (in *BeforeClusterDeleteRequest) DeepCopyObject() runtime.Object { 252 if c := in.DeepCopy(); c != nil { 253 return c 254 } 255 return nil 256 } 257 258 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 259 func (in *BeforeClusterDeleteResponse) DeepCopyInto(out *BeforeClusterDeleteResponse) { 260 *out = *in 261 out.TypeMeta = in.TypeMeta 262 out.CommonRetryResponse = in.CommonRetryResponse 263 } 264 265 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BeforeClusterDeleteResponse. 266 func (in *BeforeClusterDeleteResponse) DeepCopy() *BeforeClusterDeleteResponse { 267 if in == nil { 268 return nil 269 } 270 out := new(BeforeClusterDeleteResponse) 271 in.DeepCopyInto(out) 272 return out 273 } 274 275 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 276 func (in *BeforeClusterDeleteResponse) DeepCopyObject() runtime.Object { 277 if c := in.DeepCopy(); c != nil { 278 return c 279 } 280 return nil 281 } 282 283 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 284 func (in *BeforeClusterUpgradeRequest) DeepCopyInto(out *BeforeClusterUpgradeRequest) { 285 *out = *in 286 out.TypeMeta = in.TypeMeta 287 in.CommonRequest.DeepCopyInto(&out.CommonRequest) 288 in.Cluster.DeepCopyInto(&out.Cluster) 289 } 290 291 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BeforeClusterUpgradeRequest. 292 func (in *BeforeClusterUpgradeRequest) DeepCopy() *BeforeClusterUpgradeRequest { 293 if in == nil { 294 return nil 295 } 296 out := new(BeforeClusterUpgradeRequest) 297 in.DeepCopyInto(out) 298 return out 299 } 300 301 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 302 func (in *BeforeClusterUpgradeRequest) DeepCopyObject() runtime.Object { 303 if c := in.DeepCopy(); c != nil { 304 return c 305 } 306 return nil 307 } 308 309 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 310 func (in *BeforeClusterUpgradeResponse) DeepCopyInto(out *BeforeClusterUpgradeResponse) { 311 *out = *in 312 out.TypeMeta = in.TypeMeta 313 out.CommonRetryResponse = in.CommonRetryResponse 314 } 315 316 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BeforeClusterUpgradeResponse. 317 func (in *BeforeClusterUpgradeResponse) DeepCopy() *BeforeClusterUpgradeResponse { 318 if in == nil { 319 return nil 320 } 321 out := new(BeforeClusterUpgradeResponse) 322 in.DeepCopyInto(out) 323 return out 324 } 325 326 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 327 func (in *BeforeClusterUpgradeResponse) DeepCopyObject() runtime.Object { 328 if c := in.DeepCopy(); c != nil { 329 return c 330 } 331 return nil 332 } 333 334 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 335 func (in *Builtins) DeepCopyInto(out *Builtins) { 336 *out = *in 337 if in.Cluster != nil { 338 in, out := &in.Cluster, &out.Cluster 339 *out = new(ClusterBuiltins) 340 (*in).DeepCopyInto(*out) 341 } 342 if in.ControlPlane != nil { 343 in, out := &in.ControlPlane, &out.ControlPlane 344 *out = new(ControlPlaneBuiltins) 345 (*in).DeepCopyInto(*out) 346 } 347 if in.MachineDeployment != nil { 348 in, out := &in.MachineDeployment, &out.MachineDeployment 349 *out = new(MachineDeploymentBuiltins) 350 (*in).DeepCopyInto(*out) 351 } 352 if in.MachinePool != nil { 353 in, out := &in.MachinePool, &out.MachinePool 354 *out = new(MachinePoolBuiltins) 355 (*in).DeepCopyInto(*out) 356 } 357 } 358 359 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Builtins. 360 func (in *Builtins) DeepCopy() *Builtins { 361 if in == nil { 362 return nil 363 } 364 out := new(Builtins) 365 in.DeepCopyInto(out) 366 return out 367 } 368 369 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 370 func (in *ClusterBuiltins) DeepCopyInto(out *ClusterBuiltins) { 371 *out = *in 372 if in.Topology != nil { 373 in, out := &in.Topology, &out.Topology 374 *out = new(ClusterTopologyBuiltins) 375 **out = **in 376 } 377 if in.Network != nil { 378 in, out := &in.Network, &out.Network 379 *out = new(ClusterNetworkBuiltins) 380 (*in).DeepCopyInto(*out) 381 } 382 } 383 384 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterBuiltins. 385 func (in *ClusterBuiltins) DeepCopy() *ClusterBuiltins { 386 if in == nil { 387 return nil 388 } 389 out := new(ClusterBuiltins) 390 in.DeepCopyInto(out) 391 return out 392 } 393 394 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 395 func (in *ClusterNetworkBuiltins) DeepCopyInto(out *ClusterNetworkBuiltins) { 396 *out = *in 397 if in.ServiceDomain != nil { 398 in, out := &in.ServiceDomain, &out.ServiceDomain 399 *out = new(string) 400 **out = **in 401 } 402 if in.Services != nil { 403 in, out := &in.Services, &out.Services 404 *out = make([]string, len(*in)) 405 copy(*out, *in) 406 } 407 if in.Pods != nil { 408 in, out := &in.Pods, &out.Pods 409 *out = make([]string, len(*in)) 410 copy(*out, *in) 411 } 412 } 413 414 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterNetworkBuiltins. 415 func (in *ClusterNetworkBuiltins) DeepCopy() *ClusterNetworkBuiltins { 416 if in == nil { 417 return nil 418 } 419 out := new(ClusterNetworkBuiltins) 420 in.DeepCopyInto(out) 421 return out 422 } 423 424 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 425 func (in *ClusterTopologyBuiltins) DeepCopyInto(out *ClusterTopologyBuiltins) { 426 *out = *in 427 } 428 429 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterTopologyBuiltins. 430 func (in *ClusterTopologyBuiltins) DeepCopy() *ClusterTopologyBuiltins { 431 if in == nil { 432 return nil 433 } 434 out := new(ClusterTopologyBuiltins) 435 in.DeepCopyInto(out) 436 return out 437 } 438 439 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 440 func (in *CommonRequest) DeepCopyInto(out *CommonRequest) { 441 *out = *in 442 if in.Settings != nil { 443 in, out := &in.Settings, &out.Settings 444 *out = make(map[string]string, len(*in)) 445 for key, val := range *in { 446 (*out)[key] = val 447 } 448 } 449 } 450 451 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonRequest. 452 func (in *CommonRequest) DeepCopy() *CommonRequest { 453 if in == nil { 454 return nil 455 } 456 out := new(CommonRequest) 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 *CommonResponse) DeepCopyInto(out *CommonResponse) { 463 *out = *in 464 } 465 466 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonResponse. 467 func (in *CommonResponse) DeepCopy() *CommonResponse { 468 if in == nil { 469 return nil 470 } 471 out := new(CommonResponse) 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 *CommonRetryResponse) DeepCopyInto(out *CommonRetryResponse) { 478 *out = *in 479 out.CommonResponse = in.CommonResponse 480 } 481 482 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonRetryResponse. 483 func (in *CommonRetryResponse) DeepCopy() *CommonRetryResponse { 484 if in == nil { 485 return nil 486 } 487 out := new(CommonRetryResponse) 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 *ControlPlaneBuiltins) DeepCopyInto(out *ControlPlaneBuiltins) { 494 *out = *in 495 if in.Replicas != nil { 496 in, out := &in.Replicas, &out.Replicas 497 *out = new(int64) 498 **out = **in 499 } 500 if in.MachineTemplate != nil { 501 in, out := &in.MachineTemplate, &out.MachineTemplate 502 *out = new(ControlPlaneMachineTemplateBuiltins) 503 **out = **in 504 } 505 } 506 507 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneBuiltins. 508 func (in *ControlPlaneBuiltins) DeepCopy() *ControlPlaneBuiltins { 509 if in == nil { 510 return nil 511 } 512 out := new(ControlPlaneBuiltins) 513 in.DeepCopyInto(out) 514 return out 515 } 516 517 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 518 func (in *ControlPlaneMachineTemplateBuiltins) DeepCopyInto(out *ControlPlaneMachineTemplateBuiltins) { 519 *out = *in 520 out.InfrastructureRef = in.InfrastructureRef 521 } 522 523 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneMachineTemplateBuiltins. 524 func (in *ControlPlaneMachineTemplateBuiltins) DeepCopy() *ControlPlaneMachineTemplateBuiltins { 525 if in == nil { 526 return nil 527 } 528 out := new(ControlPlaneMachineTemplateBuiltins) 529 in.DeepCopyInto(out) 530 return out 531 } 532 533 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 534 func (in *ControlPlaneMachineTemplateInfrastructureRefBuiltins) DeepCopyInto(out *ControlPlaneMachineTemplateInfrastructureRefBuiltins) { 535 *out = *in 536 } 537 538 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneMachineTemplateInfrastructureRefBuiltins. 539 func (in *ControlPlaneMachineTemplateInfrastructureRefBuiltins) DeepCopy() *ControlPlaneMachineTemplateInfrastructureRefBuiltins { 540 if in == nil { 541 return nil 542 } 543 out := new(ControlPlaneMachineTemplateInfrastructureRefBuiltins) 544 in.DeepCopyInto(out) 545 return out 546 } 547 548 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 549 func (in *DiscoverVariablesRequest) DeepCopyInto(out *DiscoverVariablesRequest) { 550 *out = *in 551 out.TypeMeta = in.TypeMeta 552 in.CommonRequest.DeepCopyInto(&out.CommonRequest) 553 } 554 555 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiscoverVariablesRequest. 556 func (in *DiscoverVariablesRequest) DeepCopy() *DiscoverVariablesRequest { 557 if in == nil { 558 return nil 559 } 560 out := new(DiscoverVariablesRequest) 561 in.DeepCopyInto(out) 562 return out 563 } 564 565 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 566 func (in *DiscoverVariablesRequest) DeepCopyObject() runtime.Object { 567 if c := in.DeepCopy(); c != nil { 568 return c 569 } 570 return nil 571 } 572 573 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 574 func (in *DiscoverVariablesResponse) DeepCopyInto(out *DiscoverVariablesResponse) { 575 *out = *in 576 out.TypeMeta = in.TypeMeta 577 out.CommonResponse = in.CommonResponse 578 if in.Variables != nil { 579 in, out := &in.Variables, &out.Variables 580 *out = make([]v1beta1.ClusterClassVariable, len(*in)) 581 for i := range *in { 582 (*in)[i].DeepCopyInto(&(*out)[i]) 583 } 584 } 585 } 586 587 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiscoverVariablesResponse. 588 func (in *DiscoverVariablesResponse) DeepCopy() *DiscoverVariablesResponse { 589 if in == nil { 590 return nil 591 } 592 out := new(DiscoverVariablesResponse) 593 in.DeepCopyInto(out) 594 return out 595 } 596 597 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 598 func (in *DiscoverVariablesResponse) DeepCopyObject() runtime.Object { 599 if c := in.DeepCopy(); c != nil { 600 return c 601 } 602 return nil 603 } 604 605 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 606 func (in *DiscoveryRequest) DeepCopyInto(out *DiscoveryRequest) { 607 *out = *in 608 out.TypeMeta = in.TypeMeta 609 } 610 611 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiscoveryRequest. 612 func (in *DiscoveryRequest) DeepCopy() *DiscoveryRequest { 613 if in == nil { 614 return nil 615 } 616 out := new(DiscoveryRequest) 617 in.DeepCopyInto(out) 618 return out 619 } 620 621 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 622 func (in *DiscoveryRequest) DeepCopyObject() runtime.Object { 623 if c := in.DeepCopy(); c != nil { 624 return c 625 } 626 return nil 627 } 628 629 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 630 func (in *DiscoveryResponse) DeepCopyInto(out *DiscoveryResponse) { 631 *out = *in 632 out.TypeMeta = in.TypeMeta 633 out.CommonResponse = in.CommonResponse 634 if in.Handlers != nil { 635 in, out := &in.Handlers, &out.Handlers 636 *out = make([]ExtensionHandler, len(*in)) 637 for i := range *in { 638 (*in)[i].DeepCopyInto(&(*out)[i]) 639 } 640 } 641 } 642 643 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiscoveryResponse. 644 func (in *DiscoveryResponse) DeepCopy() *DiscoveryResponse { 645 if in == nil { 646 return nil 647 } 648 out := new(DiscoveryResponse) 649 in.DeepCopyInto(out) 650 return out 651 } 652 653 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 654 func (in *DiscoveryResponse) DeepCopyObject() runtime.Object { 655 if c := in.DeepCopy(); c != nil { 656 return c 657 } 658 return nil 659 } 660 661 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 662 func (in *ExtensionHandler) DeepCopyInto(out *ExtensionHandler) { 663 *out = *in 664 out.RequestHook = in.RequestHook 665 if in.TimeoutSeconds != nil { 666 in, out := &in.TimeoutSeconds, &out.TimeoutSeconds 667 *out = new(int32) 668 **out = **in 669 } 670 if in.FailurePolicy != nil { 671 in, out := &in.FailurePolicy, &out.FailurePolicy 672 *out = new(FailurePolicy) 673 **out = **in 674 } 675 } 676 677 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionHandler. 678 func (in *ExtensionHandler) DeepCopy() *ExtensionHandler { 679 if in == nil { 680 return nil 681 } 682 out := new(ExtensionHandler) 683 in.DeepCopyInto(out) 684 return out 685 } 686 687 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 688 func (in *GeneratePatchesRequest) DeepCopyInto(out *GeneratePatchesRequest) { 689 *out = *in 690 out.TypeMeta = in.TypeMeta 691 in.CommonRequest.DeepCopyInto(&out.CommonRequest) 692 if in.Variables != nil { 693 in, out := &in.Variables, &out.Variables 694 *out = make([]Variable, len(*in)) 695 for i := range *in { 696 (*in)[i].DeepCopyInto(&(*out)[i]) 697 } 698 } 699 if in.Items != nil { 700 in, out := &in.Items, &out.Items 701 *out = make([]GeneratePatchesRequestItem, len(*in)) 702 for i := range *in { 703 (*in)[i].DeepCopyInto(&(*out)[i]) 704 } 705 } 706 } 707 708 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeneratePatchesRequest. 709 func (in *GeneratePatchesRequest) DeepCopy() *GeneratePatchesRequest { 710 if in == nil { 711 return nil 712 } 713 out := new(GeneratePatchesRequest) 714 in.DeepCopyInto(out) 715 return out 716 } 717 718 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 719 func (in *GeneratePatchesRequest) DeepCopyObject() runtime.Object { 720 if c := in.DeepCopy(); c != nil { 721 return c 722 } 723 return nil 724 } 725 726 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 727 func (in *GeneratePatchesRequestItem) DeepCopyInto(out *GeneratePatchesRequestItem) { 728 *out = *in 729 out.HolderReference = in.HolderReference 730 in.Object.DeepCopyInto(&out.Object) 731 if in.Variables != nil { 732 in, out := &in.Variables, &out.Variables 733 *out = make([]Variable, len(*in)) 734 for i := range *in { 735 (*in)[i].DeepCopyInto(&(*out)[i]) 736 } 737 } 738 } 739 740 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeneratePatchesRequestItem. 741 func (in *GeneratePatchesRequestItem) DeepCopy() *GeneratePatchesRequestItem { 742 if in == nil { 743 return nil 744 } 745 out := new(GeneratePatchesRequestItem) 746 in.DeepCopyInto(out) 747 return out 748 } 749 750 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 751 func (in *GeneratePatchesResponse) DeepCopyInto(out *GeneratePatchesResponse) { 752 *out = *in 753 out.TypeMeta = in.TypeMeta 754 out.CommonResponse = in.CommonResponse 755 if in.Items != nil { 756 in, out := &in.Items, &out.Items 757 *out = make([]GeneratePatchesResponseItem, len(*in)) 758 for i := range *in { 759 (*in)[i].DeepCopyInto(&(*out)[i]) 760 } 761 } 762 } 763 764 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeneratePatchesResponse. 765 func (in *GeneratePatchesResponse) DeepCopy() *GeneratePatchesResponse { 766 if in == nil { 767 return nil 768 } 769 out := new(GeneratePatchesResponse) 770 in.DeepCopyInto(out) 771 return out 772 } 773 774 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 775 func (in *GeneratePatchesResponse) DeepCopyObject() runtime.Object { 776 if c := in.DeepCopy(); c != nil { 777 return c 778 } 779 return nil 780 } 781 782 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 783 func (in *GeneratePatchesResponseItem) DeepCopyInto(out *GeneratePatchesResponseItem) { 784 *out = *in 785 if in.Patch != nil { 786 in, out := &in.Patch, &out.Patch 787 *out = make([]byte, len(*in)) 788 copy(*out, *in) 789 } 790 } 791 792 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeneratePatchesResponseItem. 793 func (in *GeneratePatchesResponseItem) DeepCopy() *GeneratePatchesResponseItem { 794 if in == nil { 795 return nil 796 } 797 out := new(GeneratePatchesResponseItem) 798 in.DeepCopyInto(out) 799 return out 800 } 801 802 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 803 func (in *GroupVersionHook) DeepCopyInto(out *GroupVersionHook) { 804 *out = *in 805 } 806 807 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupVersionHook. 808 func (in *GroupVersionHook) DeepCopy() *GroupVersionHook { 809 if in == nil { 810 return nil 811 } 812 out := new(GroupVersionHook) 813 in.DeepCopyInto(out) 814 return out 815 } 816 817 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 818 func (in *HolderReference) DeepCopyInto(out *HolderReference) { 819 *out = *in 820 } 821 822 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HolderReference. 823 func (in *HolderReference) DeepCopy() *HolderReference { 824 if in == nil { 825 return nil 826 } 827 out := new(HolderReference) 828 in.DeepCopyInto(out) 829 return out 830 } 831 832 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 833 func (in *MachineBootstrapBuiltins) DeepCopyInto(out *MachineBootstrapBuiltins) { 834 *out = *in 835 if in.ConfigRef != nil { 836 in, out := &in.ConfigRef, &out.ConfigRef 837 *out = new(MachineBootstrapConfigRefBuiltins) 838 **out = **in 839 } 840 } 841 842 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineBootstrapBuiltins. 843 func (in *MachineBootstrapBuiltins) DeepCopy() *MachineBootstrapBuiltins { 844 if in == nil { 845 return nil 846 } 847 out := new(MachineBootstrapBuiltins) 848 in.DeepCopyInto(out) 849 return out 850 } 851 852 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 853 func (in *MachineBootstrapConfigRefBuiltins) DeepCopyInto(out *MachineBootstrapConfigRefBuiltins) { 854 *out = *in 855 } 856 857 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineBootstrapConfigRefBuiltins. 858 func (in *MachineBootstrapConfigRefBuiltins) DeepCopy() *MachineBootstrapConfigRefBuiltins { 859 if in == nil { 860 return nil 861 } 862 out := new(MachineBootstrapConfigRefBuiltins) 863 in.DeepCopyInto(out) 864 return out 865 } 866 867 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 868 func (in *MachineDeploymentBuiltins) DeepCopyInto(out *MachineDeploymentBuiltins) { 869 *out = *in 870 if in.Replicas != nil { 871 in, out := &in.Replicas, &out.Replicas 872 *out = new(int64) 873 **out = **in 874 } 875 if in.Bootstrap != nil { 876 in, out := &in.Bootstrap, &out.Bootstrap 877 *out = new(MachineBootstrapBuiltins) 878 (*in).DeepCopyInto(*out) 879 } 880 if in.InfrastructureRef != nil { 881 in, out := &in.InfrastructureRef, &out.InfrastructureRef 882 *out = new(MachineInfrastructureRefBuiltins) 883 **out = **in 884 } 885 } 886 887 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeploymentBuiltins. 888 func (in *MachineDeploymentBuiltins) DeepCopy() *MachineDeploymentBuiltins { 889 if in == nil { 890 return nil 891 } 892 out := new(MachineDeploymentBuiltins) 893 in.DeepCopyInto(out) 894 return out 895 } 896 897 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 898 func (in *MachineInfrastructureRefBuiltins) DeepCopyInto(out *MachineInfrastructureRefBuiltins) { 899 *out = *in 900 } 901 902 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineInfrastructureRefBuiltins. 903 func (in *MachineInfrastructureRefBuiltins) DeepCopy() *MachineInfrastructureRefBuiltins { 904 if in == nil { 905 return nil 906 } 907 out := new(MachineInfrastructureRefBuiltins) 908 in.DeepCopyInto(out) 909 return out 910 } 911 912 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 913 func (in *MachinePoolBuiltins) DeepCopyInto(out *MachinePoolBuiltins) { 914 *out = *in 915 if in.Replicas != nil { 916 in, out := &in.Replicas, &out.Replicas 917 *out = new(int64) 918 **out = **in 919 } 920 if in.Bootstrap != nil { 921 in, out := &in.Bootstrap, &out.Bootstrap 922 *out = new(MachineBootstrapBuiltins) 923 (*in).DeepCopyInto(*out) 924 } 925 if in.InfrastructureRef != nil { 926 in, out := &in.InfrastructureRef, &out.InfrastructureRef 927 *out = new(MachineInfrastructureRefBuiltins) 928 **out = **in 929 } 930 } 931 932 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachinePoolBuiltins. 933 func (in *MachinePoolBuiltins) DeepCopy() *MachinePoolBuiltins { 934 if in == nil { 935 return nil 936 } 937 out := new(MachinePoolBuiltins) 938 in.DeepCopyInto(out) 939 return out 940 } 941 942 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 943 func (in *ValidateTopologyRequest) DeepCopyInto(out *ValidateTopologyRequest) { 944 *out = *in 945 out.TypeMeta = in.TypeMeta 946 in.CommonRequest.DeepCopyInto(&out.CommonRequest) 947 if in.Variables != nil { 948 in, out := &in.Variables, &out.Variables 949 *out = make([]Variable, len(*in)) 950 for i := range *in { 951 (*in)[i].DeepCopyInto(&(*out)[i]) 952 } 953 } 954 if in.Items != nil { 955 in, out := &in.Items, &out.Items 956 *out = make([]*ValidateTopologyRequestItem, len(*in)) 957 for i := range *in { 958 if (*in)[i] != nil { 959 in, out := &(*in)[i], &(*out)[i] 960 *out = new(ValidateTopologyRequestItem) 961 (*in).DeepCopyInto(*out) 962 } 963 } 964 } 965 } 966 967 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidateTopologyRequest. 968 func (in *ValidateTopologyRequest) DeepCopy() *ValidateTopologyRequest { 969 if in == nil { 970 return nil 971 } 972 out := new(ValidateTopologyRequest) 973 in.DeepCopyInto(out) 974 return out 975 } 976 977 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 978 func (in *ValidateTopologyRequest) DeepCopyObject() runtime.Object { 979 if c := in.DeepCopy(); c != nil { 980 return c 981 } 982 return nil 983 } 984 985 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 986 func (in *ValidateTopologyRequestItem) DeepCopyInto(out *ValidateTopologyRequestItem) { 987 *out = *in 988 out.HolderReference = in.HolderReference 989 in.Object.DeepCopyInto(&out.Object) 990 if in.Variables != nil { 991 in, out := &in.Variables, &out.Variables 992 *out = make([]Variable, len(*in)) 993 for i := range *in { 994 (*in)[i].DeepCopyInto(&(*out)[i]) 995 } 996 } 997 } 998 999 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidateTopologyRequestItem. 1000 func (in *ValidateTopologyRequestItem) DeepCopy() *ValidateTopologyRequestItem { 1001 if in == nil { 1002 return nil 1003 } 1004 out := new(ValidateTopologyRequestItem) 1005 in.DeepCopyInto(out) 1006 return out 1007 } 1008 1009 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1010 func (in *ValidateTopologyResponse) DeepCopyInto(out *ValidateTopologyResponse) { 1011 *out = *in 1012 out.TypeMeta = in.TypeMeta 1013 out.CommonResponse = in.CommonResponse 1014 } 1015 1016 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidateTopologyResponse. 1017 func (in *ValidateTopologyResponse) DeepCopy() *ValidateTopologyResponse { 1018 if in == nil { 1019 return nil 1020 } 1021 out := new(ValidateTopologyResponse) 1022 in.DeepCopyInto(out) 1023 return out 1024 } 1025 1026 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 1027 func (in *ValidateTopologyResponse) DeepCopyObject() runtime.Object { 1028 if c := in.DeepCopy(); c != nil { 1029 return c 1030 } 1031 return nil 1032 } 1033 1034 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1035 func (in *Variable) DeepCopyInto(out *Variable) { 1036 *out = *in 1037 in.Value.DeepCopyInto(&out.Value) 1038 } 1039 1040 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Variable. 1041 func (in *Variable) DeepCopy() *Variable { 1042 if in == nil { 1043 return nil 1044 } 1045 out := new(Variable) 1046 in.DeepCopyInto(out) 1047 return out 1048 }