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