k8s.io/kubernetes@v1.31.0-alpha.0.0.20240520171757-56147500dadc/pkg/apis/resource/zz_generated.deepcopy.go (about) 1 //go:build !ignore_autogenerated 2 // +build !ignore_autogenerated 3 4 /* 5 Copyright The Kubernetes Authors. 6 7 Licensed under the Apache License, Version 2.0 (the "License"); 8 you may not use this file except in compliance with the License. 9 You may obtain a copy of the License at 10 11 http://www.apache.org/licenses/LICENSE-2.0 12 13 Unless required by applicable law or agreed to in writing, software 14 distributed under the License is distributed on an "AS IS" BASIS, 15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 See the License for the specific language governing permissions and 17 limitations under the License. 18 */ 19 20 // Code generated by deepcopy-gen. DO NOT EDIT. 21 22 package resource 23 24 import ( 25 runtime "k8s.io/apimachinery/pkg/runtime" 26 core "k8s.io/kubernetes/pkg/apis/core" 27 ) 28 29 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 30 func (in *AllocationResult) DeepCopyInto(out *AllocationResult) { 31 *out = *in 32 if in.ResourceHandles != nil { 33 in, out := &in.ResourceHandles, &out.ResourceHandles 34 *out = make([]ResourceHandle, len(*in)) 35 for i := range *in { 36 (*in)[i].DeepCopyInto(&(*out)[i]) 37 } 38 } 39 if in.AvailableOnNodes != nil { 40 in, out := &in.AvailableOnNodes, &out.AvailableOnNodes 41 *out = new(core.NodeSelector) 42 (*in).DeepCopyInto(*out) 43 } 44 return 45 } 46 47 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllocationResult. 48 func (in *AllocationResult) DeepCopy() *AllocationResult { 49 if in == nil { 50 return nil 51 } 52 out := new(AllocationResult) 53 in.DeepCopyInto(out) 54 return out 55 } 56 57 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 58 func (in *AllocationResultModel) DeepCopyInto(out *AllocationResultModel) { 59 *out = *in 60 if in.NamedResources != nil { 61 in, out := &in.NamedResources, &out.NamedResources 62 *out = new(NamedResourcesAllocationResult) 63 **out = **in 64 } 65 return 66 } 67 68 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllocationResultModel. 69 func (in *AllocationResultModel) DeepCopy() *AllocationResultModel { 70 if in == nil { 71 return nil 72 } 73 out := new(AllocationResultModel) 74 in.DeepCopyInto(out) 75 return out 76 } 77 78 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 79 func (in *DriverAllocationResult) DeepCopyInto(out *DriverAllocationResult) { 80 *out = *in 81 if in.VendorRequestParameters != nil { 82 out.VendorRequestParameters = in.VendorRequestParameters.DeepCopyObject() 83 } 84 in.AllocationResultModel.DeepCopyInto(&out.AllocationResultModel) 85 return 86 } 87 88 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DriverAllocationResult. 89 func (in *DriverAllocationResult) DeepCopy() *DriverAllocationResult { 90 if in == nil { 91 return nil 92 } 93 out := new(DriverAllocationResult) 94 in.DeepCopyInto(out) 95 return out 96 } 97 98 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 99 func (in *DriverRequests) DeepCopyInto(out *DriverRequests) { 100 *out = *in 101 if in.VendorParameters != nil { 102 out.VendorParameters = in.VendorParameters.DeepCopyObject() 103 } 104 if in.Requests != nil { 105 in, out := &in.Requests, &out.Requests 106 *out = make([]ResourceRequest, len(*in)) 107 for i := range *in { 108 (*in)[i].DeepCopyInto(&(*out)[i]) 109 } 110 } 111 return 112 } 113 114 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DriverRequests. 115 func (in *DriverRequests) DeepCopy() *DriverRequests { 116 if in == nil { 117 return nil 118 } 119 out := new(DriverRequests) 120 in.DeepCopyInto(out) 121 return out 122 } 123 124 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 125 func (in *NamedResourcesAllocationResult) DeepCopyInto(out *NamedResourcesAllocationResult) { 126 *out = *in 127 return 128 } 129 130 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedResourcesAllocationResult. 131 func (in *NamedResourcesAllocationResult) DeepCopy() *NamedResourcesAllocationResult { 132 if in == nil { 133 return nil 134 } 135 out := new(NamedResourcesAllocationResult) 136 in.DeepCopyInto(out) 137 return out 138 } 139 140 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 141 func (in *NamedResourcesAttribute) DeepCopyInto(out *NamedResourcesAttribute) { 142 *out = *in 143 in.NamedResourcesAttributeValue.DeepCopyInto(&out.NamedResourcesAttributeValue) 144 return 145 } 146 147 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedResourcesAttribute. 148 func (in *NamedResourcesAttribute) DeepCopy() *NamedResourcesAttribute { 149 if in == nil { 150 return nil 151 } 152 out := new(NamedResourcesAttribute) 153 in.DeepCopyInto(out) 154 return out 155 } 156 157 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 158 func (in *NamedResourcesAttributeValue) DeepCopyInto(out *NamedResourcesAttributeValue) { 159 *out = *in 160 if in.QuantityValue != nil { 161 in, out := &in.QuantityValue, &out.QuantityValue 162 x := (*in).DeepCopy() 163 *out = &x 164 } 165 if in.BoolValue != nil { 166 in, out := &in.BoolValue, &out.BoolValue 167 *out = new(bool) 168 **out = **in 169 } 170 if in.IntValue != nil { 171 in, out := &in.IntValue, &out.IntValue 172 *out = new(int64) 173 **out = **in 174 } 175 if in.IntSliceValue != nil { 176 in, out := &in.IntSliceValue, &out.IntSliceValue 177 *out = new(NamedResourcesIntSlice) 178 (*in).DeepCopyInto(*out) 179 } 180 if in.StringValue != nil { 181 in, out := &in.StringValue, &out.StringValue 182 *out = new(string) 183 **out = **in 184 } 185 if in.StringSliceValue != nil { 186 in, out := &in.StringSliceValue, &out.StringSliceValue 187 *out = new(NamedResourcesStringSlice) 188 (*in).DeepCopyInto(*out) 189 } 190 if in.VersionValue != nil { 191 in, out := &in.VersionValue, &out.VersionValue 192 *out = new(string) 193 **out = **in 194 } 195 return 196 } 197 198 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedResourcesAttributeValue. 199 func (in *NamedResourcesAttributeValue) DeepCopy() *NamedResourcesAttributeValue { 200 if in == nil { 201 return nil 202 } 203 out := new(NamedResourcesAttributeValue) 204 in.DeepCopyInto(out) 205 return out 206 } 207 208 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 209 func (in *NamedResourcesFilter) DeepCopyInto(out *NamedResourcesFilter) { 210 *out = *in 211 return 212 } 213 214 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedResourcesFilter. 215 func (in *NamedResourcesFilter) DeepCopy() *NamedResourcesFilter { 216 if in == nil { 217 return nil 218 } 219 out := new(NamedResourcesFilter) 220 in.DeepCopyInto(out) 221 return out 222 } 223 224 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 225 func (in *NamedResourcesInstance) DeepCopyInto(out *NamedResourcesInstance) { 226 *out = *in 227 if in.Attributes != nil { 228 in, out := &in.Attributes, &out.Attributes 229 *out = make([]NamedResourcesAttribute, len(*in)) 230 for i := range *in { 231 (*in)[i].DeepCopyInto(&(*out)[i]) 232 } 233 } 234 return 235 } 236 237 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedResourcesInstance. 238 func (in *NamedResourcesInstance) DeepCopy() *NamedResourcesInstance { 239 if in == nil { 240 return nil 241 } 242 out := new(NamedResourcesInstance) 243 in.DeepCopyInto(out) 244 return out 245 } 246 247 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 248 func (in *NamedResourcesIntSlice) DeepCopyInto(out *NamedResourcesIntSlice) { 249 *out = *in 250 if in.Ints != nil { 251 in, out := &in.Ints, &out.Ints 252 *out = make([]int64, len(*in)) 253 copy(*out, *in) 254 } 255 return 256 } 257 258 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedResourcesIntSlice. 259 func (in *NamedResourcesIntSlice) DeepCopy() *NamedResourcesIntSlice { 260 if in == nil { 261 return nil 262 } 263 out := new(NamedResourcesIntSlice) 264 in.DeepCopyInto(out) 265 return out 266 } 267 268 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 269 func (in *NamedResourcesRequest) DeepCopyInto(out *NamedResourcesRequest) { 270 *out = *in 271 return 272 } 273 274 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedResourcesRequest. 275 func (in *NamedResourcesRequest) DeepCopy() *NamedResourcesRequest { 276 if in == nil { 277 return nil 278 } 279 out := new(NamedResourcesRequest) 280 in.DeepCopyInto(out) 281 return out 282 } 283 284 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 285 func (in *NamedResourcesResources) DeepCopyInto(out *NamedResourcesResources) { 286 *out = *in 287 if in.Instances != nil { 288 in, out := &in.Instances, &out.Instances 289 *out = make([]NamedResourcesInstance, len(*in)) 290 for i := range *in { 291 (*in)[i].DeepCopyInto(&(*out)[i]) 292 } 293 } 294 return 295 } 296 297 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedResourcesResources. 298 func (in *NamedResourcesResources) DeepCopy() *NamedResourcesResources { 299 if in == nil { 300 return nil 301 } 302 out := new(NamedResourcesResources) 303 in.DeepCopyInto(out) 304 return out 305 } 306 307 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 308 func (in *NamedResourcesStringSlice) DeepCopyInto(out *NamedResourcesStringSlice) { 309 *out = *in 310 if in.Strings != nil { 311 in, out := &in.Strings, &out.Strings 312 *out = make([]string, len(*in)) 313 copy(*out, *in) 314 } 315 return 316 } 317 318 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedResourcesStringSlice. 319 func (in *NamedResourcesStringSlice) DeepCopy() *NamedResourcesStringSlice { 320 if in == nil { 321 return nil 322 } 323 out := new(NamedResourcesStringSlice) 324 in.DeepCopyInto(out) 325 return out 326 } 327 328 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 329 func (in *PodSchedulingContext) DeepCopyInto(out *PodSchedulingContext) { 330 *out = *in 331 out.TypeMeta = in.TypeMeta 332 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 333 in.Spec.DeepCopyInto(&out.Spec) 334 in.Status.DeepCopyInto(&out.Status) 335 return 336 } 337 338 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSchedulingContext. 339 func (in *PodSchedulingContext) DeepCopy() *PodSchedulingContext { 340 if in == nil { 341 return nil 342 } 343 out := new(PodSchedulingContext) 344 in.DeepCopyInto(out) 345 return out 346 } 347 348 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 349 func (in *PodSchedulingContext) DeepCopyObject() runtime.Object { 350 if c := in.DeepCopy(); c != nil { 351 return c 352 } 353 return nil 354 } 355 356 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 357 func (in *PodSchedulingContextList) DeepCopyInto(out *PodSchedulingContextList) { 358 *out = *in 359 out.TypeMeta = in.TypeMeta 360 in.ListMeta.DeepCopyInto(&out.ListMeta) 361 if in.Items != nil { 362 in, out := &in.Items, &out.Items 363 *out = make([]PodSchedulingContext, len(*in)) 364 for i := range *in { 365 (*in)[i].DeepCopyInto(&(*out)[i]) 366 } 367 } 368 return 369 } 370 371 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSchedulingContextList. 372 func (in *PodSchedulingContextList) DeepCopy() *PodSchedulingContextList { 373 if in == nil { 374 return nil 375 } 376 out := new(PodSchedulingContextList) 377 in.DeepCopyInto(out) 378 return out 379 } 380 381 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 382 func (in *PodSchedulingContextList) DeepCopyObject() runtime.Object { 383 if c := in.DeepCopy(); c != nil { 384 return c 385 } 386 return nil 387 } 388 389 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 390 func (in *PodSchedulingContextSpec) DeepCopyInto(out *PodSchedulingContextSpec) { 391 *out = *in 392 if in.PotentialNodes != nil { 393 in, out := &in.PotentialNodes, &out.PotentialNodes 394 *out = make([]string, len(*in)) 395 copy(*out, *in) 396 } 397 return 398 } 399 400 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSchedulingContextSpec. 401 func (in *PodSchedulingContextSpec) DeepCopy() *PodSchedulingContextSpec { 402 if in == nil { 403 return nil 404 } 405 out := new(PodSchedulingContextSpec) 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 *PodSchedulingContextStatus) DeepCopyInto(out *PodSchedulingContextStatus) { 412 *out = *in 413 if in.ResourceClaims != nil { 414 in, out := &in.ResourceClaims, &out.ResourceClaims 415 *out = make([]ResourceClaimSchedulingStatus, len(*in)) 416 for i := range *in { 417 (*in)[i].DeepCopyInto(&(*out)[i]) 418 } 419 } 420 return 421 } 422 423 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSchedulingContextStatus. 424 func (in *PodSchedulingContextStatus) DeepCopy() *PodSchedulingContextStatus { 425 if in == nil { 426 return nil 427 } 428 out := new(PodSchedulingContextStatus) 429 in.DeepCopyInto(out) 430 return out 431 } 432 433 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 434 func (in *ResourceClaim) DeepCopyInto(out *ResourceClaim) { 435 *out = *in 436 out.TypeMeta = in.TypeMeta 437 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 438 in.Spec.DeepCopyInto(&out.Spec) 439 in.Status.DeepCopyInto(&out.Status) 440 return 441 } 442 443 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaim. 444 func (in *ResourceClaim) DeepCopy() *ResourceClaim { 445 if in == nil { 446 return nil 447 } 448 out := new(ResourceClaim) 449 in.DeepCopyInto(out) 450 return out 451 } 452 453 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 454 func (in *ResourceClaim) DeepCopyObject() runtime.Object { 455 if c := in.DeepCopy(); c != nil { 456 return c 457 } 458 return nil 459 } 460 461 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 462 func (in *ResourceClaimConsumerReference) DeepCopyInto(out *ResourceClaimConsumerReference) { 463 *out = *in 464 return 465 } 466 467 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimConsumerReference. 468 func (in *ResourceClaimConsumerReference) DeepCopy() *ResourceClaimConsumerReference { 469 if in == nil { 470 return nil 471 } 472 out := new(ResourceClaimConsumerReference) 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 *ResourceClaimList) DeepCopyInto(out *ResourceClaimList) { 479 *out = *in 480 out.TypeMeta = in.TypeMeta 481 in.ListMeta.DeepCopyInto(&out.ListMeta) 482 if in.Items != nil { 483 in, out := &in.Items, &out.Items 484 *out = make([]ResourceClaim, len(*in)) 485 for i := range *in { 486 (*in)[i].DeepCopyInto(&(*out)[i]) 487 } 488 } 489 return 490 } 491 492 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimList. 493 func (in *ResourceClaimList) DeepCopy() *ResourceClaimList { 494 if in == nil { 495 return nil 496 } 497 out := new(ResourceClaimList) 498 in.DeepCopyInto(out) 499 return out 500 } 501 502 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 503 func (in *ResourceClaimList) DeepCopyObject() runtime.Object { 504 if c := in.DeepCopy(); c != nil { 505 return c 506 } 507 return nil 508 } 509 510 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 511 func (in *ResourceClaimParameters) DeepCopyInto(out *ResourceClaimParameters) { 512 *out = *in 513 out.TypeMeta = in.TypeMeta 514 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 515 if in.GeneratedFrom != nil { 516 in, out := &in.GeneratedFrom, &out.GeneratedFrom 517 *out = new(ResourceClaimParametersReference) 518 **out = **in 519 } 520 if in.DriverRequests != nil { 521 in, out := &in.DriverRequests, &out.DriverRequests 522 *out = make([]DriverRequests, len(*in)) 523 for i := range *in { 524 (*in)[i].DeepCopyInto(&(*out)[i]) 525 } 526 } 527 return 528 } 529 530 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimParameters. 531 func (in *ResourceClaimParameters) DeepCopy() *ResourceClaimParameters { 532 if in == nil { 533 return nil 534 } 535 out := new(ResourceClaimParameters) 536 in.DeepCopyInto(out) 537 return out 538 } 539 540 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 541 func (in *ResourceClaimParameters) DeepCopyObject() runtime.Object { 542 if c := in.DeepCopy(); c != nil { 543 return c 544 } 545 return nil 546 } 547 548 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 549 func (in *ResourceClaimParametersList) DeepCopyInto(out *ResourceClaimParametersList) { 550 *out = *in 551 out.TypeMeta = in.TypeMeta 552 in.ListMeta.DeepCopyInto(&out.ListMeta) 553 if in.Items != nil { 554 in, out := &in.Items, &out.Items 555 *out = make([]ResourceClaimParameters, len(*in)) 556 for i := range *in { 557 (*in)[i].DeepCopyInto(&(*out)[i]) 558 } 559 } 560 return 561 } 562 563 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimParametersList. 564 func (in *ResourceClaimParametersList) DeepCopy() *ResourceClaimParametersList { 565 if in == nil { 566 return nil 567 } 568 out := new(ResourceClaimParametersList) 569 in.DeepCopyInto(out) 570 return out 571 } 572 573 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 574 func (in *ResourceClaimParametersList) DeepCopyObject() runtime.Object { 575 if c := in.DeepCopy(); c != nil { 576 return c 577 } 578 return nil 579 } 580 581 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 582 func (in *ResourceClaimParametersReference) DeepCopyInto(out *ResourceClaimParametersReference) { 583 *out = *in 584 return 585 } 586 587 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimParametersReference. 588 func (in *ResourceClaimParametersReference) DeepCopy() *ResourceClaimParametersReference { 589 if in == nil { 590 return nil 591 } 592 out := new(ResourceClaimParametersReference) 593 in.DeepCopyInto(out) 594 return out 595 } 596 597 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 598 func (in *ResourceClaimSchedulingStatus) DeepCopyInto(out *ResourceClaimSchedulingStatus) { 599 *out = *in 600 if in.UnsuitableNodes != nil { 601 in, out := &in.UnsuitableNodes, &out.UnsuitableNodes 602 *out = make([]string, len(*in)) 603 copy(*out, *in) 604 } 605 return 606 } 607 608 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimSchedulingStatus. 609 func (in *ResourceClaimSchedulingStatus) DeepCopy() *ResourceClaimSchedulingStatus { 610 if in == nil { 611 return nil 612 } 613 out := new(ResourceClaimSchedulingStatus) 614 in.DeepCopyInto(out) 615 return out 616 } 617 618 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 619 func (in *ResourceClaimSpec) DeepCopyInto(out *ResourceClaimSpec) { 620 *out = *in 621 if in.ParametersRef != nil { 622 in, out := &in.ParametersRef, &out.ParametersRef 623 *out = new(ResourceClaimParametersReference) 624 **out = **in 625 } 626 return 627 } 628 629 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimSpec. 630 func (in *ResourceClaimSpec) DeepCopy() *ResourceClaimSpec { 631 if in == nil { 632 return nil 633 } 634 out := new(ResourceClaimSpec) 635 in.DeepCopyInto(out) 636 return out 637 } 638 639 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 640 func (in *ResourceClaimStatus) DeepCopyInto(out *ResourceClaimStatus) { 641 *out = *in 642 if in.Allocation != nil { 643 in, out := &in.Allocation, &out.Allocation 644 *out = new(AllocationResult) 645 (*in).DeepCopyInto(*out) 646 } 647 if in.ReservedFor != nil { 648 in, out := &in.ReservedFor, &out.ReservedFor 649 *out = make([]ResourceClaimConsumerReference, len(*in)) 650 copy(*out, *in) 651 } 652 return 653 } 654 655 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimStatus. 656 func (in *ResourceClaimStatus) DeepCopy() *ResourceClaimStatus { 657 if in == nil { 658 return nil 659 } 660 out := new(ResourceClaimStatus) 661 in.DeepCopyInto(out) 662 return out 663 } 664 665 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 666 func (in *ResourceClaimTemplate) DeepCopyInto(out *ResourceClaimTemplate) { 667 *out = *in 668 out.TypeMeta = in.TypeMeta 669 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 670 in.Spec.DeepCopyInto(&out.Spec) 671 return 672 } 673 674 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimTemplate. 675 func (in *ResourceClaimTemplate) DeepCopy() *ResourceClaimTemplate { 676 if in == nil { 677 return nil 678 } 679 out := new(ResourceClaimTemplate) 680 in.DeepCopyInto(out) 681 return out 682 } 683 684 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 685 func (in *ResourceClaimTemplate) DeepCopyObject() runtime.Object { 686 if c := in.DeepCopy(); c != nil { 687 return c 688 } 689 return nil 690 } 691 692 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 693 func (in *ResourceClaimTemplateList) DeepCopyInto(out *ResourceClaimTemplateList) { 694 *out = *in 695 out.TypeMeta = in.TypeMeta 696 in.ListMeta.DeepCopyInto(&out.ListMeta) 697 if in.Items != nil { 698 in, out := &in.Items, &out.Items 699 *out = make([]ResourceClaimTemplate, len(*in)) 700 for i := range *in { 701 (*in)[i].DeepCopyInto(&(*out)[i]) 702 } 703 } 704 return 705 } 706 707 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimTemplateList. 708 func (in *ResourceClaimTemplateList) DeepCopy() *ResourceClaimTemplateList { 709 if in == nil { 710 return nil 711 } 712 out := new(ResourceClaimTemplateList) 713 in.DeepCopyInto(out) 714 return out 715 } 716 717 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 718 func (in *ResourceClaimTemplateList) DeepCopyObject() runtime.Object { 719 if c := in.DeepCopy(); c != nil { 720 return c 721 } 722 return nil 723 } 724 725 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 726 func (in *ResourceClaimTemplateSpec) DeepCopyInto(out *ResourceClaimTemplateSpec) { 727 *out = *in 728 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 729 in.Spec.DeepCopyInto(&out.Spec) 730 return 731 } 732 733 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimTemplateSpec. 734 func (in *ResourceClaimTemplateSpec) DeepCopy() *ResourceClaimTemplateSpec { 735 if in == nil { 736 return nil 737 } 738 out := new(ResourceClaimTemplateSpec) 739 in.DeepCopyInto(out) 740 return out 741 } 742 743 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 744 func (in *ResourceClass) DeepCopyInto(out *ResourceClass) { 745 *out = *in 746 out.TypeMeta = in.TypeMeta 747 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 748 if in.ParametersRef != nil { 749 in, out := &in.ParametersRef, &out.ParametersRef 750 *out = new(ResourceClassParametersReference) 751 **out = **in 752 } 753 if in.SuitableNodes != nil { 754 in, out := &in.SuitableNodes, &out.SuitableNodes 755 *out = new(core.NodeSelector) 756 (*in).DeepCopyInto(*out) 757 } 758 if in.StructuredParameters != nil { 759 in, out := &in.StructuredParameters, &out.StructuredParameters 760 *out = new(bool) 761 **out = **in 762 } 763 return 764 } 765 766 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClass. 767 func (in *ResourceClass) DeepCopy() *ResourceClass { 768 if in == nil { 769 return nil 770 } 771 out := new(ResourceClass) 772 in.DeepCopyInto(out) 773 return out 774 } 775 776 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 777 func (in *ResourceClass) DeepCopyObject() runtime.Object { 778 if c := in.DeepCopy(); c != nil { 779 return c 780 } 781 return nil 782 } 783 784 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 785 func (in *ResourceClassList) DeepCopyInto(out *ResourceClassList) { 786 *out = *in 787 out.TypeMeta = in.TypeMeta 788 in.ListMeta.DeepCopyInto(&out.ListMeta) 789 if in.Items != nil { 790 in, out := &in.Items, &out.Items 791 *out = make([]ResourceClass, len(*in)) 792 for i := range *in { 793 (*in)[i].DeepCopyInto(&(*out)[i]) 794 } 795 } 796 return 797 } 798 799 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClassList. 800 func (in *ResourceClassList) DeepCopy() *ResourceClassList { 801 if in == nil { 802 return nil 803 } 804 out := new(ResourceClassList) 805 in.DeepCopyInto(out) 806 return out 807 } 808 809 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 810 func (in *ResourceClassList) DeepCopyObject() runtime.Object { 811 if c := in.DeepCopy(); c != nil { 812 return c 813 } 814 return nil 815 } 816 817 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 818 func (in *ResourceClassParameters) DeepCopyInto(out *ResourceClassParameters) { 819 *out = *in 820 out.TypeMeta = in.TypeMeta 821 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 822 if in.GeneratedFrom != nil { 823 in, out := &in.GeneratedFrom, &out.GeneratedFrom 824 *out = new(ResourceClassParametersReference) 825 **out = **in 826 } 827 if in.VendorParameters != nil { 828 in, out := &in.VendorParameters, &out.VendorParameters 829 *out = make([]VendorParameters, len(*in)) 830 for i := range *in { 831 (*in)[i].DeepCopyInto(&(*out)[i]) 832 } 833 } 834 if in.Filters != nil { 835 in, out := &in.Filters, &out.Filters 836 *out = make([]ResourceFilter, len(*in)) 837 for i := range *in { 838 (*in)[i].DeepCopyInto(&(*out)[i]) 839 } 840 } 841 return 842 } 843 844 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClassParameters. 845 func (in *ResourceClassParameters) DeepCopy() *ResourceClassParameters { 846 if in == nil { 847 return nil 848 } 849 out := new(ResourceClassParameters) 850 in.DeepCopyInto(out) 851 return out 852 } 853 854 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 855 func (in *ResourceClassParameters) DeepCopyObject() runtime.Object { 856 if c := in.DeepCopy(); c != nil { 857 return c 858 } 859 return nil 860 } 861 862 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 863 func (in *ResourceClassParametersList) DeepCopyInto(out *ResourceClassParametersList) { 864 *out = *in 865 out.TypeMeta = in.TypeMeta 866 in.ListMeta.DeepCopyInto(&out.ListMeta) 867 if in.Items != nil { 868 in, out := &in.Items, &out.Items 869 *out = make([]ResourceClassParameters, len(*in)) 870 for i := range *in { 871 (*in)[i].DeepCopyInto(&(*out)[i]) 872 } 873 } 874 return 875 } 876 877 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClassParametersList. 878 func (in *ResourceClassParametersList) DeepCopy() *ResourceClassParametersList { 879 if in == nil { 880 return nil 881 } 882 out := new(ResourceClassParametersList) 883 in.DeepCopyInto(out) 884 return out 885 } 886 887 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 888 func (in *ResourceClassParametersList) DeepCopyObject() runtime.Object { 889 if c := in.DeepCopy(); c != nil { 890 return c 891 } 892 return nil 893 } 894 895 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 896 func (in *ResourceClassParametersReference) DeepCopyInto(out *ResourceClassParametersReference) { 897 *out = *in 898 return 899 } 900 901 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClassParametersReference. 902 func (in *ResourceClassParametersReference) DeepCopy() *ResourceClassParametersReference { 903 if in == nil { 904 return nil 905 } 906 out := new(ResourceClassParametersReference) 907 in.DeepCopyInto(out) 908 return out 909 } 910 911 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 912 func (in *ResourceFilter) DeepCopyInto(out *ResourceFilter) { 913 *out = *in 914 in.ResourceFilterModel.DeepCopyInto(&out.ResourceFilterModel) 915 return 916 } 917 918 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceFilter. 919 func (in *ResourceFilter) DeepCopy() *ResourceFilter { 920 if in == nil { 921 return nil 922 } 923 out := new(ResourceFilter) 924 in.DeepCopyInto(out) 925 return out 926 } 927 928 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 929 func (in *ResourceFilterModel) DeepCopyInto(out *ResourceFilterModel) { 930 *out = *in 931 if in.NamedResources != nil { 932 in, out := &in.NamedResources, &out.NamedResources 933 *out = new(NamedResourcesFilter) 934 **out = **in 935 } 936 return 937 } 938 939 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceFilterModel. 940 func (in *ResourceFilterModel) DeepCopy() *ResourceFilterModel { 941 if in == nil { 942 return nil 943 } 944 out := new(ResourceFilterModel) 945 in.DeepCopyInto(out) 946 return out 947 } 948 949 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 950 func (in *ResourceHandle) DeepCopyInto(out *ResourceHandle) { 951 *out = *in 952 if in.StructuredData != nil { 953 in, out := &in.StructuredData, &out.StructuredData 954 *out = new(StructuredResourceHandle) 955 (*in).DeepCopyInto(*out) 956 } 957 return 958 } 959 960 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceHandle. 961 func (in *ResourceHandle) DeepCopy() *ResourceHandle { 962 if in == nil { 963 return nil 964 } 965 out := new(ResourceHandle) 966 in.DeepCopyInto(out) 967 return out 968 } 969 970 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 971 func (in *ResourceModel) DeepCopyInto(out *ResourceModel) { 972 *out = *in 973 if in.NamedResources != nil { 974 in, out := &in.NamedResources, &out.NamedResources 975 *out = new(NamedResourcesResources) 976 (*in).DeepCopyInto(*out) 977 } 978 return 979 } 980 981 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceModel. 982 func (in *ResourceModel) DeepCopy() *ResourceModel { 983 if in == nil { 984 return nil 985 } 986 out := new(ResourceModel) 987 in.DeepCopyInto(out) 988 return out 989 } 990 991 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 992 func (in *ResourceRequest) DeepCopyInto(out *ResourceRequest) { 993 *out = *in 994 if in.VendorParameters != nil { 995 out.VendorParameters = in.VendorParameters.DeepCopyObject() 996 } 997 in.ResourceRequestModel.DeepCopyInto(&out.ResourceRequestModel) 998 return 999 } 1000 1001 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceRequest. 1002 func (in *ResourceRequest) DeepCopy() *ResourceRequest { 1003 if in == nil { 1004 return nil 1005 } 1006 out := new(ResourceRequest) 1007 in.DeepCopyInto(out) 1008 return out 1009 } 1010 1011 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1012 func (in *ResourceRequestModel) DeepCopyInto(out *ResourceRequestModel) { 1013 *out = *in 1014 if in.NamedResources != nil { 1015 in, out := &in.NamedResources, &out.NamedResources 1016 *out = new(NamedResourcesRequest) 1017 **out = **in 1018 } 1019 return 1020 } 1021 1022 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceRequestModel. 1023 func (in *ResourceRequestModel) DeepCopy() *ResourceRequestModel { 1024 if in == nil { 1025 return nil 1026 } 1027 out := new(ResourceRequestModel) 1028 in.DeepCopyInto(out) 1029 return out 1030 } 1031 1032 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1033 func (in *ResourceSlice) DeepCopyInto(out *ResourceSlice) { 1034 *out = *in 1035 out.TypeMeta = in.TypeMeta 1036 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 1037 in.ResourceModel.DeepCopyInto(&out.ResourceModel) 1038 return 1039 } 1040 1041 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSlice. 1042 func (in *ResourceSlice) DeepCopy() *ResourceSlice { 1043 if in == nil { 1044 return nil 1045 } 1046 out := new(ResourceSlice) 1047 in.DeepCopyInto(out) 1048 return out 1049 } 1050 1051 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 1052 func (in *ResourceSlice) DeepCopyObject() runtime.Object { 1053 if c := in.DeepCopy(); c != nil { 1054 return c 1055 } 1056 return nil 1057 } 1058 1059 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1060 func (in *ResourceSliceList) DeepCopyInto(out *ResourceSliceList) { 1061 *out = *in 1062 out.TypeMeta = in.TypeMeta 1063 in.ListMeta.DeepCopyInto(&out.ListMeta) 1064 if in.Items != nil { 1065 in, out := &in.Items, &out.Items 1066 *out = make([]ResourceSlice, len(*in)) 1067 for i := range *in { 1068 (*in)[i].DeepCopyInto(&(*out)[i]) 1069 } 1070 } 1071 return 1072 } 1073 1074 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSliceList. 1075 func (in *ResourceSliceList) DeepCopy() *ResourceSliceList { 1076 if in == nil { 1077 return nil 1078 } 1079 out := new(ResourceSliceList) 1080 in.DeepCopyInto(out) 1081 return out 1082 } 1083 1084 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 1085 func (in *ResourceSliceList) DeepCopyObject() runtime.Object { 1086 if c := in.DeepCopy(); c != nil { 1087 return c 1088 } 1089 return nil 1090 } 1091 1092 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1093 func (in *StructuredResourceHandle) DeepCopyInto(out *StructuredResourceHandle) { 1094 *out = *in 1095 if in.VendorClassParameters != nil { 1096 out.VendorClassParameters = in.VendorClassParameters.DeepCopyObject() 1097 } 1098 if in.VendorClaimParameters != nil { 1099 out.VendorClaimParameters = in.VendorClaimParameters.DeepCopyObject() 1100 } 1101 if in.Results != nil { 1102 in, out := &in.Results, &out.Results 1103 *out = make([]DriverAllocationResult, len(*in)) 1104 for i := range *in { 1105 (*in)[i].DeepCopyInto(&(*out)[i]) 1106 } 1107 } 1108 return 1109 } 1110 1111 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StructuredResourceHandle. 1112 func (in *StructuredResourceHandle) DeepCopy() *StructuredResourceHandle { 1113 if in == nil { 1114 return nil 1115 } 1116 out := new(StructuredResourceHandle) 1117 in.DeepCopyInto(out) 1118 return out 1119 } 1120 1121 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1122 func (in *VendorParameters) DeepCopyInto(out *VendorParameters) { 1123 *out = *in 1124 if in.Parameters != nil { 1125 out.Parameters = in.Parameters.DeepCopyObject() 1126 } 1127 return 1128 } 1129 1130 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VendorParameters. 1131 func (in *VendorParameters) DeepCopy() *VendorParameters { 1132 if in == nil { 1133 return nil 1134 } 1135 out := new(VendorParameters) 1136 in.DeepCopyInto(out) 1137 return out 1138 }