github.com/openebs/api@v1.12.0/pkg/internalapis/apis/cstor/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 cstor 22 23 import ( 24 v1 "k8s.io/api/core/v1" 25 runtime "k8s.io/apimachinery/pkg/runtime" 26 ) 27 28 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 29 func (in *CStorPoolCluster) DeepCopyInto(out *CStorPoolCluster) { 30 *out = *in 31 out.TypeMeta = in.TypeMeta 32 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 33 in.Spec.DeepCopyInto(&out.Spec) 34 in.Status.DeepCopyInto(&out.Status) 35 in.VersionDetails.DeepCopyInto(&out.VersionDetails) 36 return 37 } 38 39 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CStorPoolCluster. 40 func (in *CStorPoolCluster) DeepCopy() *CStorPoolCluster { 41 if in == nil { 42 return nil 43 } 44 out := new(CStorPoolCluster) 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 *CStorPoolCluster) 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 *CStorPoolClusterCondition) DeepCopyInto(out *CStorPoolClusterCondition) { 59 *out = *in 60 in.LastUpdateTime.DeepCopyInto(&out.LastUpdateTime) 61 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime) 62 return 63 } 64 65 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CStorPoolClusterCondition. 66 func (in *CStorPoolClusterCondition) DeepCopy() *CStorPoolClusterCondition { 67 if in == nil { 68 return nil 69 } 70 out := new(CStorPoolClusterCondition) 71 in.DeepCopyInto(out) 72 return out 73 } 74 75 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 76 func (in *CStorPoolClusterList) DeepCopyInto(out *CStorPoolClusterList) { 77 *out = *in 78 out.TypeMeta = in.TypeMeta 79 in.ListMeta.DeepCopyInto(&out.ListMeta) 80 if in.Items != nil { 81 in, out := &in.Items, &out.Items 82 *out = make([]CStorPoolCluster, len(*in)) 83 for i := range *in { 84 (*in)[i].DeepCopyInto(&(*out)[i]) 85 } 86 } 87 return 88 } 89 90 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CStorPoolClusterList. 91 func (in *CStorPoolClusterList) DeepCopy() *CStorPoolClusterList { 92 if in == nil { 93 return nil 94 } 95 out := new(CStorPoolClusterList) 96 in.DeepCopyInto(out) 97 return out 98 } 99 100 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 101 func (in *CStorPoolClusterList) DeepCopyObject() runtime.Object { 102 if c := in.DeepCopy(); c != nil { 103 return c 104 } 105 return nil 106 } 107 108 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 109 func (in *CStorPoolClusterSpec) DeepCopyInto(out *CStorPoolClusterSpec) { 110 *out = *in 111 if in.Pools != nil { 112 in, out := &in.Pools, &out.Pools 113 *out = make([]PoolSpec, len(*in)) 114 for i := range *in { 115 (*in)[i].DeepCopyInto(&(*out)[i]) 116 } 117 } 118 if in.DefaultResources != nil { 119 in, out := &in.DefaultResources, &out.DefaultResources 120 *out = new(v1.ResourceRequirements) 121 (*in).DeepCopyInto(*out) 122 } 123 if in.DefaultAuxResources != nil { 124 in, out := &in.DefaultAuxResources, &out.DefaultAuxResources 125 *out = new(v1.ResourceRequirements) 126 (*in).DeepCopyInto(*out) 127 } 128 if in.Tolerations != nil { 129 in, out := &in.Tolerations, &out.Tolerations 130 *out = make([]v1.Toleration, len(*in)) 131 for i := range *in { 132 (*in)[i].DeepCopyInto(&(*out)[i]) 133 } 134 } 135 return 136 } 137 138 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CStorPoolClusterSpec. 139 func (in *CStorPoolClusterSpec) DeepCopy() *CStorPoolClusterSpec { 140 if in == nil { 141 return nil 142 } 143 out := new(CStorPoolClusterSpec) 144 in.DeepCopyInto(out) 145 return out 146 } 147 148 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 149 func (in *CStorPoolClusterStatus) DeepCopyInto(out *CStorPoolClusterStatus) { 150 *out = *in 151 if in.Conditions != nil { 152 in, out := &in.Conditions, &out.Conditions 153 *out = make([]CStorPoolClusterCondition, len(*in)) 154 for i := range *in { 155 (*in)[i].DeepCopyInto(&(*out)[i]) 156 } 157 } 158 return 159 } 160 161 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CStorPoolClusterStatus. 162 func (in *CStorPoolClusterStatus) DeepCopy() *CStorPoolClusterStatus { 163 if in == nil { 164 return nil 165 } 166 out := new(CStorPoolClusterStatus) 167 in.DeepCopyInto(out) 168 return out 169 } 170 171 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 172 func (in *CStorPoolInstance) DeepCopyInto(out *CStorPoolInstance) { 173 *out = *in 174 out.TypeMeta = in.TypeMeta 175 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 176 in.Spec.DeepCopyInto(&out.Spec) 177 in.Status.DeepCopyInto(&out.Status) 178 in.VersionDetails.DeepCopyInto(&out.VersionDetails) 179 return 180 } 181 182 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CStorPoolInstance. 183 func (in *CStorPoolInstance) DeepCopy() *CStorPoolInstance { 184 if in == nil { 185 return nil 186 } 187 out := new(CStorPoolInstance) 188 in.DeepCopyInto(out) 189 return out 190 } 191 192 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 193 func (in *CStorPoolInstance) DeepCopyObject() runtime.Object { 194 if c := in.DeepCopy(); c != nil { 195 return c 196 } 197 return nil 198 } 199 200 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 201 func (in *CStorPoolInstanceBlockDevice) DeepCopyInto(out *CStorPoolInstanceBlockDevice) { 202 *out = *in 203 return 204 } 205 206 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CStorPoolInstanceBlockDevice. 207 func (in *CStorPoolInstanceBlockDevice) DeepCopy() *CStorPoolInstanceBlockDevice { 208 if in == nil { 209 return nil 210 } 211 out := new(CStorPoolInstanceBlockDevice) 212 in.DeepCopyInto(out) 213 return out 214 } 215 216 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 217 func (in *CStorPoolInstanceCapacity) DeepCopyInto(out *CStorPoolInstanceCapacity) { 218 *out = *in 219 out.Used = in.Used.DeepCopy() 220 out.Free = in.Free.DeepCopy() 221 out.Total = in.Total.DeepCopy() 222 in.ZFS.DeepCopyInto(&out.ZFS) 223 return 224 } 225 226 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CStorPoolInstanceCapacity. 227 func (in *CStorPoolInstanceCapacity) DeepCopy() *CStorPoolInstanceCapacity { 228 if in == nil { 229 return nil 230 } 231 out := new(CStorPoolInstanceCapacity) 232 in.DeepCopyInto(out) 233 return out 234 } 235 236 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 237 func (in *CStorPoolInstanceCondition) DeepCopyInto(out *CStorPoolInstanceCondition) { 238 *out = *in 239 in.LastUpdateTime.DeepCopyInto(&out.LastUpdateTime) 240 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime) 241 return 242 } 243 244 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CStorPoolInstanceCondition. 245 func (in *CStorPoolInstanceCondition) DeepCopy() *CStorPoolInstanceCondition { 246 if in == nil { 247 return nil 248 } 249 out := new(CStorPoolInstanceCondition) 250 in.DeepCopyInto(out) 251 return out 252 } 253 254 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 255 func (in *CStorPoolInstanceList) DeepCopyInto(out *CStorPoolInstanceList) { 256 *out = *in 257 out.TypeMeta = in.TypeMeta 258 in.ListMeta.DeepCopyInto(&out.ListMeta) 259 if in.Items != nil { 260 in, out := &in.Items, &out.Items 261 *out = make([]CStorPoolInstance, len(*in)) 262 for i := range *in { 263 (*in)[i].DeepCopyInto(&(*out)[i]) 264 } 265 } 266 return 267 } 268 269 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CStorPoolInstanceList. 270 func (in *CStorPoolInstanceList) DeepCopy() *CStorPoolInstanceList { 271 if in == nil { 272 return nil 273 } 274 out := new(CStorPoolInstanceList) 275 in.DeepCopyInto(out) 276 return out 277 } 278 279 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 280 func (in *CStorPoolInstanceList) DeepCopyObject() runtime.Object { 281 if c := in.DeepCopy(); c != nil { 282 return c 283 } 284 return nil 285 } 286 287 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 288 func (in *CStorPoolInstanceSpec) DeepCopyInto(out *CStorPoolInstanceSpec) { 289 *out = *in 290 if in.NodeSelector != nil { 291 in, out := &in.NodeSelector, &out.NodeSelector 292 *out = make(map[string]string, len(*in)) 293 for key, val := range *in { 294 (*out)[key] = val 295 } 296 } 297 in.PoolConfig.DeepCopyInto(&out.PoolConfig) 298 if in.DataRaidGroups != nil { 299 in, out := &in.DataRaidGroups, &out.DataRaidGroups 300 *out = make([]RaidGroup, len(*in)) 301 for i := range *in { 302 (*in)[i].DeepCopyInto(&(*out)[i]) 303 } 304 } 305 if in.WriteCacheRaidGroups != nil { 306 in, out := &in.WriteCacheRaidGroups, &out.WriteCacheRaidGroups 307 *out = make([]RaidGroup, len(*in)) 308 for i := range *in { 309 (*in)[i].DeepCopyInto(&(*out)[i]) 310 } 311 } 312 return 313 } 314 315 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CStorPoolInstanceSpec. 316 func (in *CStorPoolInstanceSpec) DeepCopy() *CStorPoolInstanceSpec { 317 if in == nil { 318 return nil 319 } 320 out := new(CStorPoolInstanceSpec) 321 in.DeepCopyInto(out) 322 return out 323 } 324 325 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 326 func (in *CStorPoolInstanceStatus) DeepCopyInto(out *CStorPoolInstanceStatus) { 327 *out = *in 328 if in.Conditions != nil { 329 in, out := &in.Conditions, &out.Conditions 330 *out = make([]CStorPoolInstanceCondition, len(*in)) 331 for i := range *in { 332 (*in)[i].DeepCopyInto(&(*out)[i]) 333 } 334 } 335 in.Capacity.DeepCopyInto(&out.Capacity) 336 return 337 } 338 339 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CStorPoolInstanceStatus. 340 func (in *CStorPoolInstanceStatus) DeepCopy() *CStorPoolInstanceStatus { 341 if in == nil { 342 return nil 343 } 344 out := new(CStorPoolInstanceStatus) 345 in.DeepCopyInto(out) 346 return out 347 } 348 349 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 350 func (in *CStorSnapshotInfo) DeepCopyInto(out *CStorSnapshotInfo) { 351 *out = *in 352 return 353 } 354 355 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CStorSnapshotInfo. 356 func (in *CStorSnapshotInfo) DeepCopy() *CStorSnapshotInfo { 357 if in == nil { 358 return nil 359 } 360 out := new(CStorSnapshotInfo) 361 in.DeepCopyInto(out) 362 return out 363 } 364 365 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 366 func (in *CStorVolume) DeepCopyInto(out *CStorVolume) { 367 *out = *in 368 out.TypeMeta = in.TypeMeta 369 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 370 in.Spec.DeepCopyInto(&out.Spec) 371 in.Status.DeepCopyInto(&out.Status) 372 in.VersionDetails.DeepCopyInto(&out.VersionDetails) 373 return 374 } 375 376 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CStorVolume. 377 func (in *CStorVolume) DeepCopy() *CStorVolume { 378 if in == nil { 379 return nil 380 } 381 out := new(CStorVolume) 382 in.DeepCopyInto(out) 383 return out 384 } 385 386 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 387 func (in *CStorVolume) DeepCopyObject() runtime.Object { 388 if c := in.DeepCopy(); c != nil { 389 return c 390 } 391 return nil 392 } 393 394 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 395 func (in *CStorVolumeCondition) DeepCopyInto(out *CStorVolumeCondition) { 396 *out = *in 397 in.LastProbeTime.DeepCopyInto(&out.LastProbeTime) 398 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime) 399 return 400 } 401 402 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CStorVolumeCondition. 403 func (in *CStorVolumeCondition) DeepCopy() *CStorVolumeCondition { 404 if in == nil { 405 return nil 406 } 407 out := new(CStorVolumeCondition) 408 in.DeepCopyInto(out) 409 return out 410 } 411 412 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 413 func (in *CStorVolumeConfig) DeepCopyInto(out *CStorVolumeConfig) { 414 *out = *in 415 out.TypeMeta = in.TypeMeta 416 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 417 in.Spec.DeepCopyInto(&out.Spec) 418 out.Publish = in.Publish 419 in.Status.DeepCopyInto(&out.Status) 420 in.VersionDetails.DeepCopyInto(&out.VersionDetails) 421 return 422 } 423 424 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CStorVolumeConfig. 425 func (in *CStorVolumeConfig) DeepCopy() *CStorVolumeConfig { 426 if in == nil { 427 return nil 428 } 429 out := new(CStorVolumeConfig) 430 in.DeepCopyInto(out) 431 return out 432 } 433 434 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 435 func (in *CStorVolumeConfig) DeepCopyObject() runtime.Object { 436 if c := in.DeepCopy(); c != nil { 437 return c 438 } 439 return nil 440 } 441 442 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 443 func (in *CStorVolumeConfigCondition) DeepCopyInto(out *CStorVolumeConfigCondition) { 444 *out = *in 445 in.LastProbeTime.DeepCopyInto(&out.LastProbeTime) 446 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime) 447 return 448 } 449 450 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CStorVolumeConfigCondition. 451 func (in *CStorVolumeConfigCondition) DeepCopy() *CStorVolumeConfigCondition { 452 if in == nil { 453 return nil 454 } 455 out := new(CStorVolumeConfigCondition) 456 in.DeepCopyInto(out) 457 return out 458 } 459 460 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 461 func (in *CStorVolumeConfigList) DeepCopyInto(out *CStorVolumeConfigList) { 462 *out = *in 463 out.TypeMeta = in.TypeMeta 464 in.ListMeta.DeepCopyInto(&out.ListMeta) 465 if in.Items != nil { 466 in, out := &in.Items, &out.Items 467 *out = make([]CStorVolumeConfig, len(*in)) 468 for i := range *in { 469 (*in)[i].DeepCopyInto(&(*out)[i]) 470 } 471 } 472 return 473 } 474 475 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CStorVolumeConfigList. 476 func (in *CStorVolumeConfigList) DeepCopy() *CStorVolumeConfigList { 477 if in == nil { 478 return nil 479 } 480 out := new(CStorVolumeConfigList) 481 in.DeepCopyInto(out) 482 return out 483 } 484 485 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 486 func (in *CStorVolumeConfigList) DeepCopyObject() runtime.Object { 487 if c := in.DeepCopy(); c != nil { 488 return c 489 } 490 return nil 491 } 492 493 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 494 func (in *CStorVolumeConfigPublish) DeepCopyInto(out *CStorVolumeConfigPublish) { 495 *out = *in 496 return 497 } 498 499 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CStorVolumeConfigPublish. 500 func (in *CStorVolumeConfigPublish) DeepCopy() *CStorVolumeConfigPublish { 501 if in == nil { 502 return nil 503 } 504 out := new(CStorVolumeConfigPublish) 505 in.DeepCopyInto(out) 506 return out 507 } 508 509 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 510 func (in *CStorVolumeConfigSpec) DeepCopyInto(out *CStorVolumeConfigSpec) { 511 *out = *in 512 if in.Capacity != nil { 513 in, out := &in.Capacity, &out.Capacity 514 *out = make(v1.ResourceList, len(*in)) 515 for key, val := range *in { 516 (*out)[key] = val.DeepCopy() 517 } 518 } 519 if in.CStorVolumeRef != nil { 520 in, out := &in.CStorVolumeRef, &out.CStorVolumeRef 521 *out = new(v1.ObjectReference) 522 **out = **in 523 } 524 in.Provision.DeepCopyInto(&out.Provision) 525 in.Policy.DeepCopyInto(&out.Policy) 526 return 527 } 528 529 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CStorVolumeConfigSpec. 530 func (in *CStorVolumeConfigSpec) DeepCopy() *CStorVolumeConfigSpec { 531 if in == nil { 532 return nil 533 } 534 out := new(CStorVolumeConfigSpec) 535 in.DeepCopyInto(out) 536 return out 537 } 538 539 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 540 func (in *CStorVolumeConfigStatus) DeepCopyInto(out *CStorVolumeConfigStatus) { 541 *out = *in 542 if in.PoolInfo != nil { 543 in, out := &in.PoolInfo, &out.PoolInfo 544 *out = make([]string, len(*in)) 545 copy(*out, *in) 546 } 547 if in.Capacity != nil { 548 in, out := &in.Capacity, &out.Capacity 549 *out = make(v1.ResourceList, len(*in)) 550 for key, val := range *in { 551 (*out)[key] = val.DeepCopy() 552 } 553 } 554 if in.Conditions != nil { 555 in, out := &in.Conditions, &out.Conditions 556 *out = make([]CStorVolumeConfigCondition, len(*in)) 557 for i := range *in { 558 (*in)[i].DeepCopyInto(&(*out)[i]) 559 } 560 } 561 return 562 } 563 564 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CStorVolumeConfigStatus. 565 func (in *CStorVolumeConfigStatus) DeepCopy() *CStorVolumeConfigStatus { 566 if in == nil { 567 return nil 568 } 569 out := new(CStorVolumeConfigStatus) 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 *CStorVolumeList) DeepCopyInto(out *CStorVolumeList) { 576 *out = *in 577 out.TypeMeta = in.TypeMeta 578 in.ListMeta.DeepCopyInto(&out.ListMeta) 579 if in.Items != nil { 580 in, out := &in.Items, &out.Items 581 *out = make([]CStorVolume, len(*in)) 582 for i := range *in { 583 (*in)[i].DeepCopyInto(&(*out)[i]) 584 } 585 } 586 return 587 } 588 589 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CStorVolumeList. 590 func (in *CStorVolumeList) DeepCopy() *CStorVolumeList { 591 if in == nil { 592 return nil 593 } 594 out := new(CStorVolumeList) 595 in.DeepCopyInto(out) 596 return out 597 } 598 599 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 600 func (in *CStorVolumeList) DeepCopyObject() runtime.Object { 601 if c := in.DeepCopy(); c != nil { 602 return c 603 } 604 return nil 605 } 606 607 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 608 func (in *CStorVolumePolicy) DeepCopyInto(out *CStorVolumePolicy) { 609 *out = *in 610 out.TypeMeta = in.TypeMeta 611 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 612 in.Spec.DeepCopyInto(&out.Spec) 613 out.Status = in.Status 614 return 615 } 616 617 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CStorVolumePolicy. 618 func (in *CStorVolumePolicy) DeepCopy() *CStorVolumePolicy { 619 if in == nil { 620 return nil 621 } 622 out := new(CStorVolumePolicy) 623 in.DeepCopyInto(out) 624 return out 625 } 626 627 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 628 func (in *CStorVolumePolicy) DeepCopyObject() runtime.Object { 629 if c := in.DeepCopy(); c != nil { 630 return c 631 } 632 return nil 633 } 634 635 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 636 func (in *CStorVolumePolicyList) DeepCopyInto(out *CStorVolumePolicyList) { 637 *out = *in 638 out.TypeMeta = in.TypeMeta 639 in.ListMeta.DeepCopyInto(&out.ListMeta) 640 if in.Items != nil { 641 in, out := &in.Items, &out.Items 642 *out = make([]CStorVolumePolicy, len(*in)) 643 for i := range *in { 644 (*in)[i].DeepCopyInto(&(*out)[i]) 645 } 646 } 647 return 648 } 649 650 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CStorVolumePolicyList. 651 func (in *CStorVolumePolicyList) DeepCopy() *CStorVolumePolicyList { 652 if in == nil { 653 return nil 654 } 655 out := new(CStorVolumePolicyList) 656 in.DeepCopyInto(out) 657 return out 658 } 659 660 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 661 func (in *CStorVolumePolicyList) DeepCopyObject() runtime.Object { 662 if c := in.DeepCopy(); c != nil { 663 return c 664 } 665 return nil 666 } 667 668 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 669 func (in *CStorVolumePolicySpec) DeepCopyInto(out *CStorVolumePolicySpec) { 670 *out = *in 671 out.Provision = in.Provision 672 in.Target.DeepCopyInto(&out.Target) 673 out.Replica = in.Replica 674 if in.ReplicaPoolInfo != nil { 675 in, out := &in.ReplicaPoolInfo, &out.ReplicaPoolInfo 676 *out = make([]ReplicaPoolInfo, len(*in)) 677 copy(*out, *in) 678 } 679 return 680 } 681 682 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CStorVolumePolicySpec. 683 func (in *CStorVolumePolicySpec) DeepCopy() *CStorVolumePolicySpec { 684 if in == nil { 685 return nil 686 } 687 out := new(CStorVolumePolicySpec) 688 in.DeepCopyInto(out) 689 return out 690 } 691 692 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 693 func (in *CStorVolumePolicyStatus) DeepCopyInto(out *CStorVolumePolicyStatus) { 694 *out = *in 695 return 696 } 697 698 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CStorVolumePolicyStatus. 699 func (in *CStorVolumePolicyStatus) DeepCopy() *CStorVolumePolicyStatus { 700 if in == nil { 701 return nil 702 } 703 out := new(CStorVolumePolicyStatus) 704 in.DeepCopyInto(out) 705 return out 706 } 707 708 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 709 func (in *CStorVolumeReplica) DeepCopyInto(out *CStorVolumeReplica) { 710 *out = *in 711 out.TypeMeta = in.TypeMeta 712 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 713 out.Spec = in.Spec 714 in.Status.DeepCopyInto(&out.Status) 715 in.VersionDetails.DeepCopyInto(&out.VersionDetails) 716 return 717 } 718 719 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CStorVolumeReplica. 720 func (in *CStorVolumeReplica) DeepCopy() *CStorVolumeReplica { 721 if in == nil { 722 return nil 723 } 724 out := new(CStorVolumeReplica) 725 in.DeepCopyInto(out) 726 return out 727 } 728 729 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 730 func (in *CStorVolumeReplica) DeepCopyObject() runtime.Object { 731 if c := in.DeepCopy(); c != nil { 732 return c 733 } 734 return nil 735 } 736 737 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 738 func (in *CStorVolumeReplicaCapacityDetails) DeepCopyInto(out *CStorVolumeReplicaCapacityDetails) { 739 *out = *in 740 return 741 } 742 743 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CStorVolumeReplicaCapacityDetails. 744 func (in *CStorVolumeReplicaCapacityDetails) DeepCopy() *CStorVolumeReplicaCapacityDetails { 745 if in == nil { 746 return nil 747 } 748 out := new(CStorVolumeReplicaCapacityDetails) 749 in.DeepCopyInto(out) 750 return out 751 } 752 753 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 754 func (in *CStorVolumeReplicaDetails) DeepCopyInto(out *CStorVolumeReplicaDetails) { 755 *out = *in 756 if in.KnownReplicas != nil { 757 in, out := &in.KnownReplicas, &out.KnownReplicas 758 *out = make(map[ReplicaID]string, len(*in)) 759 for key, val := range *in { 760 (*out)[key] = val 761 } 762 } 763 return 764 } 765 766 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CStorVolumeReplicaDetails. 767 func (in *CStorVolumeReplicaDetails) DeepCopy() *CStorVolumeReplicaDetails { 768 if in == nil { 769 return nil 770 } 771 out := new(CStorVolumeReplicaDetails) 772 in.DeepCopyInto(out) 773 return out 774 } 775 776 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 777 func (in *CStorVolumeReplicaList) DeepCopyInto(out *CStorVolumeReplicaList) { 778 *out = *in 779 out.TypeMeta = in.TypeMeta 780 in.ListMeta.DeepCopyInto(&out.ListMeta) 781 if in.Items != nil { 782 in, out := &in.Items, &out.Items 783 *out = make([]CStorVolumeReplica, len(*in)) 784 for i := range *in { 785 (*in)[i].DeepCopyInto(&(*out)[i]) 786 } 787 } 788 return 789 } 790 791 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CStorVolumeReplicaList. 792 func (in *CStorVolumeReplicaList) DeepCopy() *CStorVolumeReplicaList { 793 if in == nil { 794 return nil 795 } 796 out := new(CStorVolumeReplicaList) 797 in.DeepCopyInto(out) 798 return out 799 } 800 801 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 802 func (in *CStorVolumeReplicaList) DeepCopyObject() runtime.Object { 803 if c := in.DeepCopy(); c != nil { 804 return c 805 } 806 return nil 807 } 808 809 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 810 func (in *CStorVolumeReplicaSpec) DeepCopyInto(out *CStorVolumeReplicaSpec) { 811 *out = *in 812 return 813 } 814 815 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CStorVolumeReplicaSpec. 816 func (in *CStorVolumeReplicaSpec) DeepCopy() *CStorVolumeReplicaSpec { 817 if in == nil { 818 return nil 819 } 820 out := new(CStorVolumeReplicaSpec) 821 in.DeepCopyInto(out) 822 return out 823 } 824 825 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 826 func (in *CStorVolumeReplicaStatus) DeepCopyInto(out *CStorVolumeReplicaStatus) { 827 *out = *in 828 out.Capacity = in.Capacity 829 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime) 830 in.LastUpdateTime.DeepCopyInto(&out.LastUpdateTime) 831 if in.Snapshots != nil { 832 in, out := &in.Snapshots, &out.Snapshots 833 *out = make(map[string]CStorSnapshotInfo, len(*in)) 834 for key, val := range *in { 835 (*out)[key] = val 836 } 837 } 838 if in.PendingSnapshots != nil { 839 in, out := &in.PendingSnapshots, &out.PendingSnapshots 840 *out = make(map[string]CStorSnapshotInfo, len(*in)) 841 for key, val := range *in { 842 (*out)[key] = val 843 } 844 } 845 return 846 } 847 848 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CStorVolumeReplicaStatus. 849 func (in *CStorVolumeReplicaStatus) DeepCopy() *CStorVolumeReplicaStatus { 850 if in == nil { 851 return nil 852 } 853 out := new(CStorVolumeReplicaStatus) 854 in.DeepCopyInto(out) 855 return out 856 } 857 858 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 859 func (in *CStorVolumeSpec) DeepCopyInto(out *CStorVolumeSpec) { 860 *out = *in 861 out.Capacity = in.Capacity.DeepCopy() 862 in.ReplicaDetails.DeepCopyInto(&out.ReplicaDetails) 863 return 864 } 865 866 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CStorVolumeSpec. 867 func (in *CStorVolumeSpec) DeepCopy() *CStorVolumeSpec { 868 if in == nil { 869 return nil 870 } 871 out := new(CStorVolumeSpec) 872 in.DeepCopyInto(out) 873 return out 874 } 875 876 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 877 func (in *CStorVolumeStatus) DeepCopyInto(out *CStorVolumeStatus) { 878 *out = *in 879 if in.ReplicaStatuses != nil { 880 in, out := &in.ReplicaStatuses, &out.ReplicaStatuses 881 *out = make([]ReplicaStatus, len(*in)) 882 copy(*out, *in) 883 } 884 out.Capacity = in.Capacity.DeepCopy() 885 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime) 886 in.LastUpdateTime.DeepCopyInto(&out.LastUpdateTime) 887 if in.Conditions != nil { 888 in, out := &in.Conditions, &out.Conditions 889 *out = make([]CStorVolumeCondition, len(*in)) 890 for i := range *in { 891 (*in)[i].DeepCopyInto(&(*out)[i]) 892 } 893 } 894 in.ReplicaDetails.DeepCopyInto(&out.ReplicaDetails) 895 return 896 } 897 898 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CStorVolumeStatus. 899 func (in *CStorVolumeStatus) DeepCopy() *CStorVolumeStatus { 900 if in == nil { 901 return nil 902 } 903 out := new(CStorVolumeStatus) 904 in.DeepCopyInto(out) 905 return out 906 } 907 908 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 909 func (in *CVStatus) DeepCopyInto(out *CVStatus) { 910 *out = *in 911 if in.ReplicaStatuses != nil { 912 in, out := &in.ReplicaStatuses, &out.ReplicaStatuses 913 *out = make([]ReplicaStatus, len(*in)) 914 copy(*out, *in) 915 } 916 return 917 } 918 919 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CVStatus. 920 func (in *CVStatus) DeepCopy() *CVStatus { 921 if in == nil { 922 return nil 923 } 924 out := new(CVStatus) 925 in.DeepCopyInto(out) 926 return out 927 } 928 929 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 930 func (in *CVStatusResponse) DeepCopyInto(out *CVStatusResponse) { 931 *out = *in 932 if in.CVStatuses != nil { 933 in, out := &in.CVStatuses, &out.CVStatuses 934 *out = make([]CVStatus, len(*in)) 935 for i := range *in { 936 (*in)[i].DeepCopyInto(&(*out)[i]) 937 } 938 } 939 return 940 } 941 942 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CVStatusResponse. 943 func (in *CVStatusResponse) DeepCopy() *CVStatusResponse { 944 if in == nil { 945 return nil 946 } 947 out := new(CVStatusResponse) 948 in.DeepCopyInto(out) 949 return out 950 } 951 952 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 953 func (in *PoolConfig) DeepCopyInto(out *PoolConfig) { 954 *out = *in 955 if in.Resources != nil { 956 in, out := &in.Resources, &out.Resources 957 *out = new(v1.ResourceRequirements) 958 (*in).DeepCopyInto(*out) 959 } 960 if in.AuxResources != nil { 961 in, out := &in.AuxResources, &out.AuxResources 962 *out = new(v1.ResourceRequirements) 963 (*in).DeepCopyInto(*out) 964 } 965 if in.Tolerations != nil { 966 in, out := &in.Tolerations, &out.Tolerations 967 *out = make([]v1.Toleration, len(*in)) 968 for i := range *in { 969 (*in)[i].DeepCopyInto(&(*out)[i]) 970 } 971 } 972 if in.PriorityClassName != nil { 973 in, out := &in.PriorityClassName, &out.PriorityClassName 974 *out = new(string) 975 **out = **in 976 } 977 if in.ROThresholdLimit != nil { 978 in, out := &in.ROThresholdLimit, &out.ROThresholdLimit 979 *out = new(int) 980 **out = **in 981 } 982 return 983 } 984 985 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoolConfig. 986 func (in *PoolConfig) DeepCopy() *PoolConfig { 987 if in == nil { 988 return nil 989 } 990 out := new(PoolConfig) 991 in.DeepCopyInto(out) 992 return out 993 } 994 995 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 996 func (in *PoolSpec) DeepCopyInto(out *PoolSpec) { 997 *out = *in 998 if in.NodeSelector != nil { 999 in, out := &in.NodeSelector, &out.NodeSelector 1000 *out = make(map[string]string, len(*in)) 1001 for key, val := range *in { 1002 (*out)[key] = val 1003 } 1004 } 1005 if in.DataRaidGroups != nil { 1006 in, out := &in.DataRaidGroups, &out.DataRaidGroups 1007 *out = make([]RaidGroup, len(*in)) 1008 for i := range *in { 1009 (*in)[i].DeepCopyInto(&(*out)[i]) 1010 } 1011 } 1012 if in.WriteCacheRaidGroups != nil { 1013 in, out := &in.WriteCacheRaidGroups, &out.WriteCacheRaidGroups 1014 *out = make([]RaidGroup, len(*in)) 1015 for i := range *in { 1016 (*in)[i].DeepCopyInto(&(*out)[i]) 1017 } 1018 } 1019 in.PoolConfig.DeepCopyInto(&out.PoolConfig) 1020 return 1021 } 1022 1023 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoolSpec. 1024 func (in *PoolSpec) DeepCopy() *PoolSpec { 1025 if in == nil { 1026 return nil 1027 } 1028 out := new(PoolSpec) 1029 in.DeepCopyInto(out) 1030 return out 1031 } 1032 1033 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1034 func (in *Provision) DeepCopyInto(out *Provision) { 1035 *out = *in 1036 return 1037 } 1038 1039 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Provision. 1040 func (in *Provision) DeepCopy() *Provision { 1041 if in == nil { 1042 return nil 1043 } 1044 out := new(Provision) 1045 in.DeepCopyInto(out) 1046 return out 1047 } 1048 1049 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1050 func (in *RaidGroup) DeepCopyInto(out *RaidGroup) { 1051 *out = *in 1052 if in.CStorPoolInstanceBlockDevices != nil { 1053 in, out := &in.CStorPoolInstanceBlockDevices, &out.CStorPoolInstanceBlockDevices 1054 *out = make([]CStorPoolInstanceBlockDevice, len(*in)) 1055 copy(*out, *in) 1056 } 1057 return 1058 } 1059 1060 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RaidGroup. 1061 func (in *RaidGroup) DeepCopy() *RaidGroup { 1062 if in == nil { 1063 return nil 1064 } 1065 out := new(RaidGroup) 1066 in.DeepCopyInto(out) 1067 return out 1068 } 1069 1070 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1071 func (in *ReplicaPoolInfo) DeepCopyInto(out *ReplicaPoolInfo) { 1072 *out = *in 1073 return 1074 } 1075 1076 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaPoolInfo. 1077 func (in *ReplicaPoolInfo) DeepCopy() *ReplicaPoolInfo { 1078 if in == nil { 1079 return nil 1080 } 1081 out := new(ReplicaPoolInfo) 1082 in.DeepCopyInto(out) 1083 return out 1084 } 1085 1086 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1087 func (in *ReplicaSpec) DeepCopyInto(out *ReplicaSpec) { 1088 *out = *in 1089 return 1090 } 1091 1092 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSpec. 1093 func (in *ReplicaSpec) DeepCopy() *ReplicaSpec { 1094 if in == nil { 1095 return nil 1096 } 1097 out := new(ReplicaSpec) 1098 in.DeepCopyInto(out) 1099 return out 1100 } 1101 1102 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1103 func (in *ReplicaStatus) DeepCopyInto(out *ReplicaStatus) { 1104 *out = *in 1105 return 1106 } 1107 1108 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaStatus. 1109 func (in *ReplicaStatus) DeepCopy() *ReplicaStatus { 1110 if in == nil { 1111 return nil 1112 } 1113 out := new(ReplicaStatus) 1114 in.DeepCopyInto(out) 1115 return out 1116 } 1117 1118 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1119 func (in *TargetSpec) DeepCopyInto(out *TargetSpec) { 1120 *out = *in 1121 if in.Resources != nil { 1122 in, out := &in.Resources, &out.Resources 1123 *out = new(v1.ResourceRequirements) 1124 (*in).DeepCopyInto(*out) 1125 } 1126 if in.AuxResources != nil { 1127 in, out := &in.AuxResources, &out.AuxResources 1128 *out = new(v1.ResourceRequirements) 1129 (*in).DeepCopyInto(*out) 1130 } 1131 if in.Tolerations != nil { 1132 in, out := &in.Tolerations, &out.Tolerations 1133 *out = make([]v1.Toleration, len(*in)) 1134 for i := range *in { 1135 (*in)[i].DeepCopyInto(&(*out)[i]) 1136 } 1137 } 1138 if in.PodAffinity != nil { 1139 in, out := &in.PodAffinity, &out.PodAffinity 1140 *out = new(v1.PodAffinity) 1141 (*in).DeepCopyInto(*out) 1142 } 1143 if in.NodeSelector != nil { 1144 in, out := &in.NodeSelector, &out.NodeSelector 1145 *out = make(map[string]string, len(*in)) 1146 for key, val := range *in { 1147 (*out)[key] = val 1148 } 1149 } 1150 return 1151 } 1152 1153 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetSpec. 1154 func (in *TargetSpec) DeepCopy() *TargetSpec { 1155 if in == nil { 1156 return nil 1157 } 1158 out := new(TargetSpec) 1159 in.DeepCopyInto(out) 1160 return out 1161 } 1162 1163 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1164 func (in *Topology) DeepCopyInto(out *Topology) { 1165 *out = *in 1166 in.VdevTree.DeepCopyInto(&out.VdevTree) 1167 return 1168 } 1169 1170 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Topology. 1171 func (in *Topology) DeepCopy() *Topology { 1172 if in == nil { 1173 return nil 1174 } 1175 out := new(Topology) 1176 in.DeepCopyInto(out) 1177 return out 1178 } 1179 1180 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1181 func (in *Vdev) DeepCopyInto(out *Vdev) { 1182 *out = *in 1183 if in.VdevStats != nil { 1184 in, out := &in.VdevStats, &out.VdevStats 1185 *out = make([]uint64, len(*in)) 1186 copy(*out, *in) 1187 } 1188 if in.ScanStats != nil { 1189 in, out := &in.ScanStats, &out.ScanStats 1190 *out = make([]uint64, len(*in)) 1191 copy(*out, *in) 1192 } 1193 if in.Children != nil { 1194 in, out := &in.Children, &out.Children 1195 *out = make([]Vdev, len(*in)) 1196 for i := range *in { 1197 (*in)[i].DeepCopyInto(&(*out)[i]) 1198 } 1199 } 1200 return 1201 } 1202 1203 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Vdev. 1204 func (in *Vdev) DeepCopy() *Vdev { 1205 if in == nil { 1206 return nil 1207 } 1208 out := new(Vdev) 1209 in.DeepCopyInto(out) 1210 return out 1211 } 1212 1213 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1214 func (in VdevList) DeepCopyInto(out *VdevList) { 1215 { 1216 in := &in 1217 *out = make(VdevList, len(*in)) 1218 for i := range *in { 1219 (*in)[i].DeepCopyInto(&(*out)[i]) 1220 } 1221 return 1222 } 1223 } 1224 1225 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VdevList. 1226 func (in VdevList) DeepCopy() VdevList { 1227 if in == nil { 1228 return nil 1229 } 1230 out := new(VdevList) 1231 in.DeepCopyInto(out) 1232 return *out 1233 } 1234 1235 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1236 func (in *VdevTree) DeepCopyInto(out *VdevTree) { 1237 *out = *in 1238 if in.Topvdev != nil { 1239 in, out := &in.Topvdev, &out.Topvdev 1240 *out = make([]Vdev, len(*in)) 1241 for i := range *in { 1242 (*in)[i].DeepCopyInto(&(*out)[i]) 1243 } 1244 } 1245 if in.Readcache != nil { 1246 in, out := &in.Readcache, &out.Readcache 1247 *out = make([]Vdev, len(*in)) 1248 for i := range *in { 1249 (*in)[i].DeepCopyInto(&(*out)[i]) 1250 } 1251 } 1252 if in.Spares != nil { 1253 in, out := &in.Spares, &out.Spares 1254 *out = make([]Vdev, len(*in)) 1255 for i := range *in { 1256 (*in)[i].DeepCopyInto(&(*out)[i]) 1257 } 1258 } 1259 if in.VdevStats != nil { 1260 in, out := &in.VdevStats, &out.VdevStats 1261 *out = make([]uint64, len(*in)) 1262 copy(*out, *in) 1263 } 1264 if in.ScanStats != nil { 1265 in, out := &in.ScanStats, &out.ScanStats 1266 *out = make([]uint64, len(*in)) 1267 copy(*out, *in) 1268 } 1269 return 1270 } 1271 1272 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VdevTree. 1273 func (in *VdevTree) DeepCopy() *VdevTree { 1274 if in == nil { 1275 return nil 1276 } 1277 out := new(VdevTree) 1278 in.DeepCopyInto(out) 1279 return out 1280 } 1281 1282 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1283 func (in *VersionDetails) DeepCopyInto(out *VersionDetails) { 1284 *out = *in 1285 in.Status.DeepCopyInto(&out.Status) 1286 return 1287 } 1288 1289 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VersionDetails. 1290 func (in *VersionDetails) DeepCopy() *VersionDetails { 1291 if in == nil { 1292 return nil 1293 } 1294 out := new(VersionDetails) 1295 in.DeepCopyInto(out) 1296 return out 1297 } 1298 1299 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1300 func (in *VersionStatus) DeepCopyInto(out *VersionStatus) { 1301 *out = *in 1302 in.LastUpdateTime.DeepCopyInto(&out.LastUpdateTime) 1303 return 1304 } 1305 1306 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VersionStatus. 1307 func (in *VersionStatus) DeepCopy() *VersionStatus { 1308 if in == nil { 1309 return nil 1310 } 1311 out := new(VersionStatus) 1312 in.DeepCopyInto(out) 1313 return out 1314 } 1315 1316 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1317 func (in *VolumeProvision) DeepCopyInto(out *VolumeProvision) { 1318 *out = *in 1319 if in.Capacity != nil { 1320 in, out := &in.Capacity, &out.Capacity 1321 *out = make(v1.ResourceList, len(*in)) 1322 for key, val := range *in { 1323 (*out)[key] = val.DeepCopy() 1324 } 1325 } 1326 return 1327 } 1328 1329 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeProvision. 1330 func (in *VolumeProvision) DeepCopy() *VolumeProvision { 1331 if in == nil { 1332 return nil 1333 } 1334 out := new(VolumeProvision) 1335 in.DeepCopyInto(out) 1336 return out 1337 } 1338 1339 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1340 func (in *ZFSCapacityAttributes) DeepCopyInto(out *ZFSCapacityAttributes) { 1341 *out = *in 1342 out.LogicalUsed = in.LogicalUsed.DeepCopy() 1343 return 1344 } 1345 1346 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZFSCapacityAttributes. 1347 func (in *ZFSCapacityAttributes) DeepCopy() *ZFSCapacityAttributes { 1348 if in == nil { 1349 return nil 1350 } 1351 out := new(ZFSCapacityAttributes) 1352 in.DeepCopyInto(out) 1353 return out 1354 }