github.com/openebs/api@v1.12.0/pkg/apis/cstor/v1/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 v1 22 23 import ( 24 corev1 "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(corev1.ResourceRequirements) 121 (*in).DeepCopyInto(*out) 122 } 123 if in.DefaultAuxResources != nil { 124 in, out := &in.DefaultAuxResources, &out.DefaultAuxResources 125 *out = new(corev1.ResourceRequirements) 126 (*in).DeepCopyInto(*out) 127 } 128 if in.Tolerations != nil { 129 in, out := &in.Tolerations, &out.Tolerations 130 *out = make([]corev1.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(corev1.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(corev1.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(corev1.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 Conditions) DeepCopyInto(out *Conditions) { 954 { 955 in := &in 956 *out = make(Conditions, len(*in)) 957 for i := range *in { 958 (*in)[i].DeepCopyInto(&(*out)[i]) 959 } 960 return 961 } 962 } 963 964 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Conditions. 965 func (in Conditions) DeepCopy() Conditions { 966 if in == nil { 967 return nil 968 } 969 out := new(Conditions) 970 in.DeepCopyInto(out) 971 return *out 972 } 973 974 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 975 func (in *PoolConfig) DeepCopyInto(out *PoolConfig) { 976 *out = *in 977 if in.Resources != nil { 978 in, out := &in.Resources, &out.Resources 979 *out = new(corev1.ResourceRequirements) 980 (*in).DeepCopyInto(*out) 981 } 982 if in.AuxResources != nil { 983 in, out := &in.AuxResources, &out.AuxResources 984 *out = new(corev1.ResourceRequirements) 985 (*in).DeepCopyInto(*out) 986 } 987 if in.Tolerations != nil { 988 in, out := &in.Tolerations, &out.Tolerations 989 *out = make([]corev1.Toleration, len(*in)) 990 for i := range *in { 991 (*in)[i].DeepCopyInto(&(*out)[i]) 992 } 993 } 994 if in.PriorityClassName != nil { 995 in, out := &in.PriorityClassName, &out.PriorityClassName 996 *out = new(string) 997 **out = **in 998 } 999 if in.ROThresholdLimit != nil { 1000 in, out := &in.ROThresholdLimit, &out.ROThresholdLimit 1001 *out = new(int) 1002 **out = **in 1003 } 1004 return 1005 } 1006 1007 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoolConfig. 1008 func (in *PoolConfig) DeepCopy() *PoolConfig { 1009 if in == nil { 1010 return nil 1011 } 1012 out := new(PoolConfig) 1013 in.DeepCopyInto(out) 1014 return out 1015 } 1016 1017 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1018 func (in *PoolSpec) DeepCopyInto(out *PoolSpec) { 1019 *out = *in 1020 if in.NodeSelector != nil { 1021 in, out := &in.NodeSelector, &out.NodeSelector 1022 *out = make(map[string]string, len(*in)) 1023 for key, val := range *in { 1024 (*out)[key] = val 1025 } 1026 } 1027 if in.DataRaidGroups != nil { 1028 in, out := &in.DataRaidGroups, &out.DataRaidGroups 1029 *out = make([]RaidGroup, len(*in)) 1030 for i := range *in { 1031 (*in)[i].DeepCopyInto(&(*out)[i]) 1032 } 1033 } 1034 if in.WriteCacheRaidGroups != nil { 1035 in, out := &in.WriteCacheRaidGroups, &out.WriteCacheRaidGroups 1036 *out = make([]RaidGroup, len(*in)) 1037 for i := range *in { 1038 (*in)[i].DeepCopyInto(&(*out)[i]) 1039 } 1040 } 1041 in.PoolConfig.DeepCopyInto(&out.PoolConfig) 1042 return 1043 } 1044 1045 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoolSpec. 1046 func (in *PoolSpec) DeepCopy() *PoolSpec { 1047 if in == nil { 1048 return nil 1049 } 1050 out := new(PoolSpec) 1051 in.DeepCopyInto(out) 1052 return out 1053 } 1054 1055 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1056 func (in *Provision) DeepCopyInto(out *Provision) { 1057 *out = *in 1058 return 1059 } 1060 1061 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Provision. 1062 func (in *Provision) DeepCopy() *Provision { 1063 if in == nil { 1064 return nil 1065 } 1066 out := new(Provision) 1067 in.DeepCopyInto(out) 1068 return out 1069 } 1070 1071 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1072 func (in *RaidGroup) DeepCopyInto(out *RaidGroup) { 1073 *out = *in 1074 if in.CStorPoolInstanceBlockDevices != nil { 1075 in, out := &in.CStorPoolInstanceBlockDevices, &out.CStorPoolInstanceBlockDevices 1076 *out = make([]CStorPoolInstanceBlockDevice, len(*in)) 1077 copy(*out, *in) 1078 } 1079 return 1080 } 1081 1082 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RaidGroup. 1083 func (in *RaidGroup) DeepCopy() *RaidGroup { 1084 if in == nil { 1085 return nil 1086 } 1087 out := new(RaidGroup) 1088 in.DeepCopyInto(out) 1089 return out 1090 } 1091 1092 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1093 func (in *ReplicaPoolInfo) DeepCopyInto(out *ReplicaPoolInfo) { 1094 *out = *in 1095 return 1096 } 1097 1098 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaPoolInfo. 1099 func (in *ReplicaPoolInfo) DeepCopy() *ReplicaPoolInfo { 1100 if in == nil { 1101 return nil 1102 } 1103 out := new(ReplicaPoolInfo) 1104 in.DeepCopyInto(out) 1105 return out 1106 } 1107 1108 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1109 func (in *ReplicaSpec) DeepCopyInto(out *ReplicaSpec) { 1110 *out = *in 1111 return 1112 } 1113 1114 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSpec. 1115 func (in *ReplicaSpec) DeepCopy() *ReplicaSpec { 1116 if in == nil { 1117 return nil 1118 } 1119 out := new(ReplicaSpec) 1120 in.DeepCopyInto(out) 1121 return out 1122 } 1123 1124 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1125 func (in *ReplicaStatus) DeepCopyInto(out *ReplicaStatus) { 1126 *out = *in 1127 return 1128 } 1129 1130 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaStatus. 1131 func (in *ReplicaStatus) DeepCopy() *ReplicaStatus { 1132 if in == nil { 1133 return nil 1134 } 1135 out := new(ReplicaStatus) 1136 in.DeepCopyInto(out) 1137 return out 1138 } 1139 1140 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1141 func (in *TargetSpec) DeepCopyInto(out *TargetSpec) { 1142 *out = *in 1143 if in.Resources != nil { 1144 in, out := &in.Resources, &out.Resources 1145 *out = new(corev1.ResourceRequirements) 1146 (*in).DeepCopyInto(*out) 1147 } 1148 if in.AuxResources != nil { 1149 in, out := &in.AuxResources, &out.AuxResources 1150 *out = new(corev1.ResourceRequirements) 1151 (*in).DeepCopyInto(*out) 1152 } 1153 if in.Tolerations != nil { 1154 in, out := &in.Tolerations, &out.Tolerations 1155 *out = make([]corev1.Toleration, len(*in)) 1156 for i := range *in { 1157 (*in)[i].DeepCopyInto(&(*out)[i]) 1158 } 1159 } 1160 if in.PodAffinity != nil { 1161 in, out := &in.PodAffinity, &out.PodAffinity 1162 *out = new(corev1.PodAffinity) 1163 (*in).DeepCopyInto(*out) 1164 } 1165 if in.NodeSelector != nil { 1166 in, out := &in.NodeSelector, &out.NodeSelector 1167 *out = make(map[string]string, len(*in)) 1168 for key, val := range *in { 1169 (*out)[key] = val 1170 } 1171 } 1172 return 1173 } 1174 1175 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetSpec. 1176 func (in *TargetSpec) DeepCopy() *TargetSpec { 1177 if in == nil { 1178 return nil 1179 } 1180 out := new(TargetSpec) 1181 in.DeepCopyInto(out) 1182 return out 1183 } 1184 1185 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1186 func (in *VersionDetails) DeepCopyInto(out *VersionDetails) { 1187 *out = *in 1188 in.Status.DeepCopyInto(&out.Status) 1189 return 1190 } 1191 1192 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VersionDetails. 1193 func (in *VersionDetails) DeepCopy() *VersionDetails { 1194 if in == nil { 1195 return nil 1196 } 1197 out := new(VersionDetails) 1198 in.DeepCopyInto(out) 1199 return out 1200 } 1201 1202 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1203 func (in *VersionStatus) DeepCopyInto(out *VersionStatus) { 1204 *out = *in 1205 in.LastUpdateTime.DeepCopyInto(&out.LastUpdateTime) 1206 return 1207 } 1208 1209 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VersionStatus. 1210 func (in *VersionStatus) DeepCopy() *VersionStatus { 1211 if in == nil { 1212 return nil 1213 } 1214 out := new(VersionStatus) 1215 in.DeepCopyInto(out) 1216 return out 1217 } 1218 1219 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1220 func (in *VolumeProvision) DeepCopyInto(out *VolumeProvision) { 1221 *out = *in 1222 if in.Capacity != nil { 1223 in, out := &in.Capacity, &out.Capacity 1224 *out = make(corev1.ResourceList, len(*in)) 1225 for key, val := range *in { 1226 (*out)[key] = val.DeepCopy() 1227 } 1228 } 1229 return 1230 } 1231 1232 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeProvision. 1233 func (in *VolumeProvision) DeepCopy() *VolumeProvision { 1234 if in == nil { 1235 return nil 1236 } 1237 out := new(VolumeProvision) 1238 in.DeepCopyInto(out) 1239 return out 1240 } 1241 1242 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1243 func (in *ZFSCapacityAttributes) DeepCopyInto(out *ZFSCapacityAttributes) { 1244 *out = *in 1245 out.LogicalUsed = in.LogicalUsed.DeepCopy() 1246 return 1247 } 1248 1249 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZFSCapacityAttributes. 1250 func (in *ZFSCapacityAttributes) DeepCopy() *ZFSCapacityAttributes { 1251 if in == nil { 1252 return nil 1253 } 1254 out := new(ZFSCapacityAttributes) 1255 in.DeepCopyInto(out) 1256 return out 1257 }