github.com/openebs/api@v1.12.0/pkg/internalapis/apis/openebs.io/zz_generated.deepcopy.go (about) 1 // +build !ignore_autogenerated 2 3 /* 4 Copyright 2020 The OpenEBS 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 deepcopy-gen. DO NOT EDIT. 20 21 package openebs 22 23 import ( 24 v1 "k8s.io/api/core/v1" 25 metav1 "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 *BlockDevice) DeepCopyInto(out *BlockDevice) { 31 *out = *in 32 out.TypeMeta = in.TypeMeta 33 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 34 in.Spec.DeepCopyInto(&out.Spec) 35 out.Status = in.Status 36 return 37 } 38 39 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlockDevice. 40 func (in *BlockDevice) DeepCopy() *BlockDevice { 41 if in == nil { 42 return nil 43 } 44 out := new(BlockDevice) 45 in.DeepCopyInto(out) 46 return out 47 } 48 49 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 50 func (in *BlockDevice) DeepCopyObject() runtime.Object { 51 if c := in.DeepCopy(); c != nil { 52 return c 53 } 54 return nil 55 } 56 57 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 58 func (in *BlockDeviceClaim) DeepCopyInto(out *BlockDeviceClaim) { 59 *out = *in 60 out.TypeMeta = in.TypeMeta 61 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 62 in.Spec.DeepCopyInto(&out.Spec) 63 out.Status = in.Status 64 return 65 } 66 67 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlockDeviceClaim. 68 func (in *BlockDeviceClaim) DeepCopy() *BlockDeviceClaim { 69 if in == nil { 70 return nil 71 } 72 out := new(BlockDeviceClaim) 73 in.DeepCopyInto(out) 74 return out 75 } 76 77 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 78 func (in *BlockDeviceClaim) DeepCopyObject() runtime.Object { 79 if c := in.DeepCopy(); c != nil { 80 return c 81 } 82 return nil 83 } 84 85 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 86 func (in *BlockDeviceClaimList) DeepCopyInto(out *BlockDeviceClaimList) { 87 *out = *in 88 out.TypeMeta = in.TypeMeta 89 in.ListMeta.DeepCopyInto(&out.ListMeta) 90 if in.Items != nil { 91 in, out := &in.Items, &out.Items 92 *out = make([]BlockDeviceClaim, len(*in)) 93 for i := range *in { 94 (*in)[i].DeepCopyInto(&(*out)[i]) 95 } 96 } 97 return 98 } 99 100 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlockDeviceClaimList. 101 func (in *BlockDeviceClaimList) DeepCopy() *BlockDeviceClaimList { 102 if in == nil { 103 return nil 104 } 105 out := new(BlockDeviceClaimList) 106 in.DeepCopyInto(out) 107 return out 108 } 109 110 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 111 func (in *BlockDeviceClaimList) DeepCopyObject() runtime.Object { 112 if c := in.DeepCopy(); c != nil { 113 return c 114 } 115 return nil 116 } 117 118 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 119 func (in *BlockDeviceList) DeepCopyInto(out *BlockDeviceList) { 120 *out = *in 121 out.TypeMeta = in.TypeMeta 122 in.ListMeta.DeepCopyInto(&out.ListMeta) 123 if in.Items != nil { 124 in, out := &in.Items, &out.Items 125 *out = make([]BlockDevice, len(*in)) 126 for i := range *in { 127 (*in)[i].DeepCopyInto(&(*out)[i]) 128 } 129 } 130 return 131 } 132 133 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlockDeviceList. 134 func (in *BlockDeviceList) DeepCopy() *BlockDeviceList { 135 if in == nil { 136 return nil 137 } 138 out := new(BlockDeviceList) 139 in.DeepCopyInto(out) 140 return out 141 } 142 143 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 144 func (in *BlockDeviceList) DeepCopyObject() runtime.Object { 145 if c := in.DeepCopy(); c != nil { 146 return c 147 } 148 return nil 149 } 150 151 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 152 func (in *BlockDeviceNodeAttributes) DeepCopyInto(out *BlockDeviceNodeAttributes) { 153 *out = *in 154 return 155 } 156 157 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlockDeviceNodeAttributes. 158 func (in *BlockDeviceNodeAttributes) DeepCopy() *BlockDeviceNodeAttributes { 159 if in == nil { 160 return nil 161 } 162 out := new(BlockDeviceNodeAttributes) 163 in.DeepCopyInto(out) 164 return out 165 } 166 167 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 168 func (in *CStorPool) DeepCopyInto(out *CStorPool) { 169 *out = *in 170 if in.Options != nil { 171 in, out := &in.Options, &out.Options 172 *out = new(ResourceOptions) 173 (*in).DeepCopyInto(*out) 174 } 175 return 176 } 177 178 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CStorPool. 179 func (in *CStorPool) DeepCopy() *CStorPool { 180 if in == nil { 181 return nil 182 } 183 out := new(CStorPool) 184 in.DeepCopyInto(out) 185 return out 186 } 187 188 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 189 func (in *CStorPoolCluster) DeepCopyInto(out *CStorPoolCluster) { 190 *out = *in 191 if in.Options != nil { 192 in, out := &in.Options, &out.Options 193 *out = new(ResourceOptions) 194 (*in).DeepCopyInto(*out) 195 } 196 return 197 } 198 199 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CStorPoolCluster. 200 func (in *CStorPoolCluster) DeepCopy() *CStorPoolCluster { 201 if in == nil { 202 return nil 203 } 204 out := new(CStorPoolCluster) 205 in.DeepCopyInto(out) 206 return out 207 } 208 209 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 210 func (in *CStorPoolInstance) DeepCopyInto(out *CStorPoolInstance) { 211 *out = *in 212 if in.Options != nil { 213 in, out := &in.Options, &out.Options 214 *out = new(ResourceOptions) 215 (*in).DeepCopyInto(*out) 216 } 217 return 218 } 219 220 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CStorPoolInstance. 221 func (in *CStorPoolInstance) DeepCopy() *CStorPoolInstance { 222 if in == nil { 223 return nil 224 } 225 out := new(CStorPoolInstance) 226 in.DeepCopyInto(out) 227 return out 228 } 229 230 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 231 func (in *CStorVolume) DeepCopyInto(out *CStorVolume) { 232 *out = *in 233 if in.Options != nil { 234 in, out := &in.Options, &out.Options 235 *out = new(ResourceOptions) 236 (*in).DeepCopyInto(*out) 237 } 238 return 239 } 240 241 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CStorVolume. 242 func (in *CStorVolume) DeepCopy() *CStorVolume { 243 if in == nil { 244 return nil 245 } 246 out := new(CStorVolume) 247 in.DeepCopyInto(out) 248 return out 249 } 250 251 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 252 func (in *DeviceCapacity) DeepCopyInto(out *DeviceCapacity) { 253 *out = *in 254 return 255 } 256 257 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceCapacity. 258 func (in *DeviceCapacity) DeepCopy() *DeviceCapacity { 259 if in == nil { 260 return nil 261 } 262 out := new(DeviceCapacity) 263 in.DeepCopyInto(out) 264 return out 265 } 266 267 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 268 func (in *DeviceClaimDetails) DeepCopyInto(out *DeviceClaimDetails) { 269 *out = *in 270 return 271 } 272 273 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceClaimDetails. 274 func (in *DeviceClaimDetails) DeepCopy() *DeviceClaimDetails { 275 if in == nil { 276 return nil 277 } 278 out := new(DeviceClaimDetails) 279 in.DeepCopyInto(out) 280 return out 281 } 282 283 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 284 func (in *DeviceClaimResources) DeepCopyInto(out *DeviceClaimResources) { 285 *out = *in 286 if in.Requests != nil { 287 in, out := &in.Requests, &out.Requests 288 *out = make(v1.ResourceList, len(*in)) 289 for key, val := range *in { 290 (*out)[key] = val.DeepCopy() 291 } 292 } 293 return 294 } 295 296 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceClaimResources. 297 func (in *DeviceClaimResources) DeepCopy() *DeviceClaimResources { 298 if in == nil { 299 return nil 300 } 301 out := new(DeviceClaimResources) 302 in.DeepCopyInto(out) 303 return out 304 } 305 306 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 307 func (in *DeviceClaimSpec) DeepCopyInto(out *DeviceClaimSpec) { 308 *out = *in 309 if in.Selector != nil { 310 in, out := &in.Selector, &out.Selector 311 *out = new(metav1.LabelSelector) 312 (*in).DeepCopyInto(*out) 313 } 314 in.Resources.DeepCopyInto(&out.Resources) 315 out.Details = in.Details 316 out.BlockDeviceNodeAttributes = in.BlockDeviceNodeAttributes 317 return 318 } 319 320 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceClaimSpec. 321 func (in *DeviceClaimSpec) DeepCopy() *DeviceClaimSpec { 322 if in == nil { 323 return nil 324 } 325 out := new(DeviceClaimSpec) 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 *DeviceClaimStatus) DeepCopyInto(out *DeviceClaimStatus) { 332 *out = *in 333 return 334 } 335 336 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceClaimStatus. 337 func (in *DeviceClaimStatus) DeepCopy() *DeviceClaimStatus { 338 if in == nil { 339 return nil 340 } 341 out := new(DeviceClaimStatus) 342 in.DeepCopyInto(out) 343 return out 344 } 345 346 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 347 func (in *DeviceDetails) DeepCopyInto(out *DeviceDetails) { 348 *out = *in 349 return 350 } 351 352 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceDetails. 353 func (in *DeviceDetails) DeepCopy() *DeviceDetails { 354 if in == nil { 355 return nil 356 } 357 out := new(DeviceDetails) 358 in.DeepCopyInto(out) 359 return out 360 } 361 362 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 363 func (in *DeviceDevLink) DeepCopyInto(out *DeviceDevLink) { 364 *out = *in 365 if in.Links != nil { 366 in, out := &in.Links, &out.Links 367 *out = make([]string, len(*in)) 368 copy(*out, *in) 369 } 370 return 371 } 372 373 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceDevLink. 374 func (in *DeviceDevLink) DeepCopy() *DeviceDevLink { 375 if in == nil { 376 return nil 377 } 378 out := new(DeviceDevLink) 379 in.DeepCopyInto(out) 380 return out 381 } 382 383 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 384 func (in *DeviceSpec) DeepCopyInto(out *DeviceSpec) { 385 *out = *in 386 out.NodeAttributes = in.NodeAttributes 387 out.Capacity = in.Capacity 388 out.Details = in.Details 389 if in.ClaimRef != nil { 390 in, out := &in.ClaimRef, &out.ClaimRef 391 *out = new(v1.ObjectReference) 392 **out = **in 393 } 394 if in.DevLinks != nil { 395 in, out := &in.DevLinks, &out.DevLinks 396 *out = make([]DeviceDevLink, len(*in)) 397 for i := range *in { 398 (*in)[i].DeepCopyInto(&(*out)[i]) 399 } 400 } 401 out.FileSystem = in.FileSystem 402 return 403 } 404 405 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceSpec. 406 func (in *DeviceSpec) DeepCopy() *DeviceSpec { 407 if in == nil { 408 return nil 409 } 410 out := new(DeviceSpec) 411 in.DeepCopyInto(out) 412 return out 413 } 414 415 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 416 func (in *DeviceStatus) DeepCopyInto(out *DeviceStatus) { 417 *out = *in 418 return 419 } 420 421 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceStatus. 422 func (in *DeviceStatus) DeepCopy() *DeviceStatus { 423 if in == nil { 424 return nil 425 } 426 out := new(DeviceStatus) 427 in.DeepCopyInto(out) 428 return out 429 } 430 431 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 432 func (in *FileSystemInfo) DeepCopyInto(out *FileSystemInfo) { 433 *out = *in 434 return 435 } 436 437 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileSystemInfo. 438 func (in *FileSystemInfo) DeepCopy() *FileSystemInfo { 439 if in == nil { 440 return nil 441 } 442 out := new(FileSystemInfo) 443 in.DeepCopyInto(out) 444 return out 445 } 446 447 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 448 func (in *JivaVolume) DeepCopyInto(out *JivaVolume) { 449 *out = *in 450 if in.Options != nil { 451 in, out := &in.Options, &out.Options 452 *out = new(ResourceOptions) 453 (*in).DeepCopyInto(*out) 454 } 455 return 456 } 457 458 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JivaVolume. 459 func (in *JivaVolume) DeepCopy() *JivaVolume { 460 if in == nil { 461 return nil 462 } 463 out := new(JivaVolume) 464 in.DeepCopyInto(out) 465 return out 466 } 467 468 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 469 func (in *NodeAttribute) DeepCopyInto(out *NodeAttribute) { 470 *out = *in 471 return 472 } 473 474 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeAttribute. 475 func (in *NodeAttribute) DeepCopy() *NodeAttribute { 476 if in == nil { 477 return nil 478 } 479 out := new(NodeAttribute) 480 in.DeepCopyInto(out) 481 return out 482 } 483 484 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 485 func (in *Options) DeepCopyInto(out *Options) { 486 *out = *in 487 return 488 } 489 490 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Options. 491 func (in *Options) DeepCopy() *Options { 492 if in == nil { 493 return nil 494 } 495 out := new(Options) 496 in.DeepCopyInto(out) 497 return out 498 } 499 500 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 501 func (in *ResourceOptions) DeepCopyInto(out *ResourceOptions) { 502 *out = *in 503 if in.IgnoreStepsOnError != nil { 504 in, out := &in.IgnoreStepsOnError, &out.IgnoreStepsOnError 505 *out = make([]string, len(*in)) 506 copy(*out, *in) 507 } 508 return 509 } 510 511 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceOptions. 512 func (in *ResourceOptions) DeepCopy() *ResourceOptions { 513 if in == nil { 514 return nil 515 } 516 out := new(ResourceOptions) 517 in.DeepCopyInto(out) 518 return out 519 } 520 521 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 522 func (in *ResourceSpec) DeepCopyInto(out *ResourceSpec) { 523 *out = *in 524 if in.JivaVolume != nil { 525 in, out := &in.JivaVolume, &out.JivaVolume 526 *out = new(JivaVolume) 527 (*in).DeepCopyInto(*out) 528 } 529 if in.CStorVolume != nil { 530 in, out := &in.CStorVolume, &out.CStorVolume 531 *out = new(CStorVolume) 532 (*in).DeepCopyInto(*out) 533 } 534 if in.CStorPool != nil { 535 in, out := &in.CStorPool, &out.CStorPool 536 *out = new(CStorPool) 537 (*in).DeepCopyInto(*out) 538 } 539 if in.StoragePoolClaim != nil { 540 in, out := &in.StoragePoolClaim, &out.StoragePoolClaim 541 *out = new(StoragePoolClaim) 542 (*in).DeepCopyInto(*out) 543 } 544 if in.CStorPoolInstance != nil { 545 in, out := &in.CStorPoolInstance, &out.CStorPoolInstance 546 *out = new(CStorPoolInstance) 547 (*in).DeepCopyInto(*out) 548 } 549 if in.CStorPoolCluster != nil { 550 in, out := &in.CStorPoolCluster, &out.CStorPoolCluster 551 *out = new(CStorPoolCluster) 552 (*in).DeepCopyInto(*out) 553 } 554 return 555 } 556 557 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSpec. 558 func (in *ResourceSpec) DeepCopy() *ResourceSpec { 559 if in == nil { 560 return nil 561 } 562 out := new(ResourceSpec) 563 in.DeepCopyInto(out) 564 return out 565 } 566 567 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 568 func (in *Status) DeepCopyInto(out *Status) { 569 *out = *in 570 return 571 } 572 573 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Status. 574 func (in *Status) DeepCopy() *Status { 575 if in == nil { 576 return nil 577 } 578 out := new(Status) 579 in.DeepCopyInto(out) 580 return out 581 } 582 583 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 584 func (in *StoragePoolClaim) DeepCopyInto(out *StoragePoolClaim) { 585 *out = *in 586 if in.Options != nil { 587 in, out := &in.Options, &out.Options 588 *out = new(ResourceOptions) 589 (*in).DeepCopyInto(*out) 590 } 591 return 592 } 593 594 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StoragePoolClaim. 595 func (in *StoragePoolClaim) DeepCopy() *StoragePoolClaim { 596 if in == nil { 597 return nil 598 } 599 out := new(StoragePoolClaim) 600 in.DeepCopyInto(out) 601 return out 602 } 603 604 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 605 func (in *UpgradeDetailedStatuses) DeepCopyInto(out *UpgradeDetailedStatuses) { 606 *out = *in 607 in.StartTime.DeepCopyInto(&out.StartTime) 608 in.LastUpdatedTime.DeepCopyInto(&out.LastUpdatedTime) 609 out.Status = in.Status 610 return 611 } 612 613 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeDetailedStatuses. 614 func (in *UpgradeDetailedStatuses) DeepCopy() *UpgradeDetailedStatuses { 615 if in == nil { 616 return nil 617 } 618 out := new(UpgradeDetailedStatuses) 619 in.DeepCopyInto(out) 620 return out 621 } 622 623 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 624 func (in *UpgradeTask) DeepCopyInto(out *UpgradeTask) { 625 *out = *in 626 out.TypeMeta = in.TypeMeta 627 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 628 in.Spec.DeepCopyInto(&out.Spec) 629 in.Status.DeepCopyInto(&out.Status) 630 return 631 } 632 633 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeTask. 634 func (in *UpgradeTask) DeepCopy() *UpgradeTask { 635 if in == nil { 636 return nil 637 } 638 out := new(UpgradeTask) 639 in.DeepCopyInto(out) 640 return out 641 } 642 643 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 644 func (in *UpgradeTask) DeepCopyObject() runtime.Object { 645 if c := in.DeepCopy(); c != nil { 646 return c 647 } 648 return nil 649 } 650 651 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 652 func (in *UpgradeTaskList) DeepCopyInto(out *UpgradeTaskList) { 653 *out = *in 654 out.TypeMeta = in.TypeMeta 655 in.ListMeta.DeepCopyInto(&out.ListMeta) 656 if in.Items != nil { 657 in, out := &in.Items, &out.Items 658 *out = make([]UpgradeTask, len(*in)) 659 for i := range *in { 660 (*in)[i].DeepCopyInto(&(*out)[i]) 661 } 662 } 663 return 664 } 665 666 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeTaskList. 667 func (in *UpgradeTaskList) DeepCopy() *UpgradeTaskList { 668 if in == nil { 669 return nil 670 } 671 out := new(UpgradeTaskList) 672 in.DeepCopyInto(out) 673 return out 674 } 675 676 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 677 func (in *UpgradeTaskList) DeepCopyObject() runtime.Object { 678 if c := in.DeepCopy(); c != nil { 679 return c 680 } 681 return nil 682 } 683 684 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 685 func (in *UpgradeTaskSpec) DeepCopyInto(out *UpgradeTaskSpec) { 686 *out = *in 687 if in.Options != nil { 688 in, out := &in.Options, &out.Options 689 *out = new(Options) 690 **out = **in 691 } 692 in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) 693 return 694 } 695 696 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeTaskSpec. 697 func (in *UpgradeTaskSpec) DeepCopy() *UpgradeTaskSpec { 698 if in == nil { 699 return nil 700 } 701 out := new(UpgradeTaskSpec) 702 in.DeepCopyInto(out) 703 return out 704 } 705 706 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 707 func (in *UpgradeTaskStatus) DeepCopyInto(out *UpgradeTaskStatus) { 708 *out = *in 709 in.StartTime.DeepCopyInto(&out.StartTime) 710 in.CompletedTime.DeepCopyInto(&out.CompletedTime) 711 if in.UpgradeDetailedStatuses != nil { 712 in, out := &in.UpgradeDetailedStatuses, &out.UpgradeDetailedStatuses 713 *out = make([]UpgradeDetailedStatuses, len(*in)) 714 for i := range *in { 715 (*in)[i].DeepCopyInto(&(*out)[i]) 716 } 717 } 718 return 719 } 720 721 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeTaskStatus. 722 func (in *UpgradeTaskStatus) DeepCopy() *UpgradeTaskStatus { 723 if in == nil { 724 return nil 725 } 726 out := new(UpgradeTaskStatus) 727 in.DeepCopyInto(out) 728 return out 729 }