github.com/1aal/kubeblocks@v0.0.0-20231107070852-e1c03e598921/apis/dataprotection/v1alpha1/zz_generated.deepcopy.go (about) 1 //go:build !ignore_autogenerated 2 // +build !ignore_autogenerated 3 4 /* 5 Copyright (C) 2022-2023 ApeCloud Co., Ltd 6 7 This file is part of KubeBlocks project 8 9 This program is free software: you can redistribute it and/or modify 10 it under the terms of the GNU Affero General Public License as published by 11 the Free Software Foundation, either version 3 of the License, or 12 (at your option) any later version. 13 14 This program is distributed in the hope that it will be useful 15 but WITHOUT ANY WARRANTY; without even the implied warranty of 16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 GNU Affero General Public License for more details. 18 19 You should have received a copy of the GNU Affero General Public License 20 along with this program. If not, see <http://www.gnu.org/licenses/>. 21 */ 22 23 // Code generated by controller-gen. DO NOT EDIT. 24 25 package v1alpha1 26 27 import ( 28 "k8s.io/api/core/v1" 29 metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" 30 runtime "k8s.io/apimachinery/pkg/runtime" 31 ) 32 33 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 34 func (in *ActionSet) DeepCopyInto(out *ActionSet) { 35 *out = *in 36 out.TypeMeta = in.TypeMeta 37 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 38 in.Spec.DeepCopyInto(&out.Spec) 39 out.Status = in.Status 40 } 41 42 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionSet. 43 func (in *ActionSet) DeepCopy() *ActionSet { 44 if in == nil { 45 return nil 46 } 47 out := new(ActionSet) 48 in.DeepCopyInto(out) 49 return out 50 } 51 52 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 53 func (in *ActionSet) DeepCopyObject() runtime.Object { 54 if c := in.DeepCopy(); c != nil { 55 return c 56 } 57 return nil 58 } 59 60 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 61 func (in *ActionSetList) DeepCopyInto(out *ActionSetList) { 62 *out = *in 63 out.TypeMeta = in.TypeMeta 64 in.ListMeta.DeepCopyInto(&out.ListMeta) 65 if in.Items != nil { 66 in, out := &in.Items, &out.Items 67 *out = make([]ActionSet, len(*in)) 68 for i := range *in { 69 (*in)[i].DeepCopyInto(&(*out)[i]) 70 } 71 } 72 } 73 74 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionSetList. 75 func (in *ActionSetList) DeepCopy() *ActionSetList { 76 if in == nil { 77 return nil 78 } 79 out := new(ActionSetList) 80 in.DeepCopyInto(out) 81 return out 82 } 83 84 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 85 func (in *ActionSetList) DeepCopyObject() runtime.Object { 86 if c := in.DeepCopy(); c != nil { 87 return c 88 } 89 return nil 90 } 91 92 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 93 func (in *ActionSetSpec) DeepCopyInto(out *ActionSetSpec) { 94 *out = *in 95 if in.Env != nil { 96 in, out := &in.Env, &out.Env 97 *out = make([]v1.EnvVar, len(*in)) 98 for i := range *in { 99 (*in)[i].DeepCopyInto(&(*out)[i]) 100 } 101 } 102 if in.EnvFrom != nil { 103 in, out := &in.EnvFrom, &out.EnvFrom 104 *out = make([]v1.EnvFromSource, len(*in)) 105 for i := range *in { 106 (*in)[i].DeepCopyInto(&(*out)[i]) 107 } 108 } 109 if in.Backup != nil { 110 in, out := &in.Backup, &out.Backup 111 *out = new(BackupActionSpec) 112 (*in).DeepCopyInto(*out) 113 } 114 if in.Restore != nil { 115 in, out := &in.Restore, &out.Restore 116 *out = new(RestoreActionSpec) 117 (*in).DeepCopyInto(*out) 118 } 119 } 120 121 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionSetSpec. 122 func (in *ActionSetSpec) DeepCopy() *ActionSetSpec { 123 if in == nil { 124 return nil 125 } 126 out := new(ActionSetSpec) 127 in.DeepCopyInto(out) 128 return out 129 } 130 131 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 132 func (in *ActionSetStatus) DeepCopyInto(out *ActionSetStatus) { 133 *out = *in 134 } 135 136 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionSetStatus. 137 func (in *ActionSetStatus) DeepCopy() *ActionSetStatus { 138 if in == nil { 139 return nil 140 } 141 out := new(ActionSetStatus) 142 in.DeepCopyInto(out) 143 return out 144 } 145 146 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 147 func (in *ActionSpec) DeepCopyInto(out *ActionSpec) { 148 *out = *in 149 if in.Exec != nil { 150 in, out := &in.Exec, &out.Exec 151 *out = new(ExecActionSpec) 152 (*in).DeepCopyInto(*out) 153 } 154 if in.Job != nil { 155 in, out := &in.Job, &out.Job 156 *out = new(JobActionSpec) 157 (*in).DeepCopyInto(*out) 158 } 159 } 160 161 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionSpec. 162 func (in *ActionSpec) DeepCopy() *ActionSpec { 163 if in == nil { 164 return nil 165 } 166 out := new(ActionSpec) 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 *ActionStatus) DeepCopyInto(out *ActionStatus) { 173 *out = *in 174 if in.StartTimestamp != nil { 175 in, out := &in.StartTimestamp, &out.StartTimestamp 176 *out = (*in).DeepCopy() 177 } 178 if in.CompletionTimestamp != nil { 179 in, out := &in.CompletionTimestamp, &out.CompletionTimestamp 180 *out = (*in).DeepCopy() 181 } 182 if in.AvailableReplicas != nil { 183 in, out := &in.AvailableReplicas, &out.AvailableReplicas 184 *out = new(int32) 185 **out = **in 186 } 187 if in.ObjectRef != nil { 188 in, out := &in.ObjectRef, &out.ObjectRef 189 *out = new(v1.ObjectReference) 190 **out = **in 191 } 192 if in.TimeRange != nil { 193 in, out := &in.TimeRange, &out.TimeRange 194 *out = new(BackupTimeRange) 195 (*in).DeepCopyInto(*out) 196 } 197 if in.VolumeSnapshots != nil { 198 in, out := &in.VolumeSnapshots, &out.VolumeSnapshots 199 *out = make([]VolumeSnapshotStatus, len(*in)) 200 copy(*out, *in) 201 } 202 } 203 204 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionStatus. 205 func (in *ActionStatus) DeepCopy() *ActionStatus { 206 if in == nil { 207 return nil 208 } 209 out := new(ActionStatus) 210 in.DeepCopyInto(out) 211 return out 212 } 213 214 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 215 func (in *Backup) DeepCopyInto(out *Backup) { 216 *out = *in 217 out.TypeMeta = in.TypeMeta 218 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 219 out.Spec = in.Spec 220 in.Status.DeepCopyInto(&out.Status) 221 } 222 223 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Backup. 224 func (in *Backup) DeepCopy() *Backup { 225 if in == nil { 226 return nil 227 } 228 out := new(Backup) 229 in.DeepCopyInto(out) 230 return out 231 } 232 233 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 234 func (in *Backup) DeepCopyObject() runtime.Object { 235 if c := in.DeepCopy(); c != nil { 236 return c 237 } 238 return nil 239 } 240 241 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 242 func (in *BackupActionSpec) DeepCopyInto(out *BackupActionSpec) { 243 *out = *in 244 if in.BackupData != nil { 245 in, out := &in.BackupData, &out.BackupData 246 *out = new(BackupDataActionSpec) 247 (*in).DeepCopyInto(*out) 248 } 249 if in.PreBackup != nil { 250 in, out := &in.PreBackup, &out.PreBackup 251 *out = make([]ActionSpec, len(*in)) 252 for i := range *in { 253 (*in)[i].DeepCopyInto(&(*out)[i]) 254 } 255 } 256 if in.PostBackup != nil { 257 in, out := &in.PostBackup, &out.PostBackup 258 *out = make([]ActionSpec, len(*in)) 259 for i := range *in { 260 (*in)[i].DeepCopyInto(&(*out)[i]) 261 } 262 } 263 } 264 265 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupActionSpec. 266 func (in *BackupActionSpec) DeepCopy() *BackupActionSpec { 267 if in == nil { 268 return nil 269 } 270 out := new(BackupActionSpec) 271 in.DeepCopyInto(out) 272 return out 273 } 274 275 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 276 func (in *BackupDataActionSpec) DeepCopyInto(out *BackupDataActionSpec) { 277 *out = *in 278 in.JobActionSpec.DeepCopyInto(&out.JobActionSpec) 279 if in.SyncProgress != nil { 280 in, out := &in.SyncProgress, &out.SyncProgress 281 *out = new(SyncProgress) 282 (*in).DeepCopyInto(*out) 283 } 284 } 285 286 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupDataActionSpec. 287 func (in *BackupDataActionSpec) DeepCopy() *BackupDataActionSpec { 288 if in == nil { 289 return nil 290 } 291 out := new(BackupDataActionSpec) 292 in.DeepCopyInto(out) 293 return out 294 } 295 296 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 297 func (in *BackupList) DeepCopyInto(out *BackupList) { 298 *out = *in 299 out.TypeMeta = in.TypeMeta 300 in.ListMeta.DeepCopyInto(&out.ListMeta) 301 if in.Items != nil { 302 in, out := &in.Items, &out.Items 303 *out = make([]Backup, len(*in)) 304 for i := range *in { 305 (*in)[i].DeepCopyInto(&(*out)[i]) 306 } 307 } 308 } 309 310 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupList. 311 func (in *BackupList) DeepCopy() *BackupList { 312 if in == nil { 313 return nil 314 } 315 out := new(BackupList) 316 in.DeepCopyInto(out) 317 return out 318 } 319 320 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 321 func (in *BackupList) DeepCopyObject() runtime.Object { 322 if c := in.DeepCopy(); c != nil { 323 return c 324 } 325 return nil 326 } 327 328 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 329 func (in *BackupMethod) DeepCopyInto(out *BackupMethod) { 330 *out = *in 331 if in.SnapshotVolumes != nil { 332 in, out := &in.SnapshotVolumes, &out.SnapshotVolumes 333 *out = new(bool) 334 **out = **in 335 } 336 if in.TargetVolumes != nil { 337 in, out := &in.TargetVolumes, &out.TargetVolumes 338 *out = new(TargetVolumeInfo) 339 (*in).DeepCopyInto(*out) 340 } 341 if in.Env != nil { 342 in, out := &in.Env, &out.Env 343 *out = make([]v1.EnvVar, len(*in)) 344 for i := range *in { 345 (*in)[i].DeepCopyInto(&(*out)[i]) 346 } 347 } 348 if in.RuntimeSettings != nil { 349 in, out := &in.RuntimeSettings, &out.RuntimeSettings 350 *out = new(RuntimeSettings) 351 (*in).DeepCopyInto(*out) 352 } 353 } 354 355 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupMethod. 356 func (in *BackupMethod) DeepCopy() *BackupMethod { 357 if in == nil { 358 return nil 359 } 360 out := new(BackupMethod) 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 *BackupPolicy) DeepCopyInto(out *BackupPolicy) { 367 *out = *in 368 out.TypeMeta = in.TypeMeta 369 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 370 in.Spec.DeepCopyInto(&out.Spec) 371 out.Status = in.Status 372 } 373 374 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupPolicy. 375 func (in *BackupPolicy) DeepCopy() *BackupPolicy { 376 if in == nil { 377 return nil 378 } 379 out := new(BackupPolicy) 380 in.DeepCopyInto(out) 381 return out 382 } 383 384 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 385 func (in *BackupPolicy) DeepCopyObject() runtime.Object { 386 if c := in.DeepCopy(); c != nil { 387 return c 388 } 389 return nil 390 } 391 392 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 393 func (in *BackupPolicyList) DeepCopyInto(out *BackupPolicyList) { 394 *out = *in 395 out.TypeMeta = in.TypeMeta 396 in.ListMeta.DeepCopyInto(&out.ListMeta) 397 if in.Items != nil { 398 in, out := &in.Items, &out.Items 399 *out = make([]BackupPolicy, len(*in)) 400 for i := range *in { 401 (*in)[i].DeepCopyInto(&(*out)[i]) 402 } 403 } 404 } 405 406 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupPolicyList. 407 func (in *BackupPolicyList) DeepCopy() *BackupPolicyList { 408 if in == nil { 409 return nil 410 } 411 out := new(BackupPolicyList) 412 in.DeepCopyInto(out) 413 return out 414 } 415 416 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 417 func (in *BackupPolicyList) DeepCopyObject() runtime.Object { 418 if c := in.DeepCopy(); c != nil { 419 return c 420 } 421 return nil 422 } 423 424 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 425 func (in *BackupPolicySpec) DeepCopyInto(out *BackupPolicySpec) { 426 *out = *in 427 if in.BackupRepoName != nil { 428 in, out := &in.BackupRepoName, &out.BackupRepoName 429 *out = new(string) 430 **out = **in 431 } 432 if in.BackoffLimit != nil { 433 in, out := &in.BackoffLimit, &out.BackoffLimit 434 *out = new(int32) 435 **out = **in 436 } 437 if in.Target != nil { 438 in, out := &in.Target, &out.Target 439 *out = new(BackupTarget) 440 (*in).DeepCopyInto(*out) 441 } 442 if in.BackupMethods != nil { 443 in, out := &in.BackupMethods, &out.BackupMethods 444 *out = make([]BackupMethod, len(*in)) 445 for i := range *in { 446 (*in)[i].DeepCopyInto(&(*out)[i]) 447 } 448 } 449 } 450 451 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupPolicySpec. 452 func (in *BackupPolicySpec) DeepCopy() *BackupPolicySpec { 453 if in == nil { 454 return nil 455 } 456 out := new(BackupPolicySpec) 457 in.DeepCopyInto(out) 458 return out 459 } 460 461 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 462 func (in *BackupPolicyStatus) DeepCopyInto(out *BackupPolicyStatus) { 463 *out = *in 464 } 465 466 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupPolicyStatus. 467 func (in *BackupPolicyStatus) DeepCopy() *BackupPolicyStatus { 468 if in == nil { 469 return nil 470 } 471 out := new(BackupPolicyStatus) 472 in.DeepCopyInto(out) 473 return out 474 } 475 476 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 477 func (in *BackupRef) DeepCopyInto(out *BackupRef) { 478 *out = *in 479 } 480 481 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupRef. 482 func (in *BackupRef) DeepCopy() *BackupRef { 483 if in == nil { 484 return nil 485 } 486 out := new(BackupRef) 487 in.DeepCopyInto(out) 488 return out 489 } 490 491 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 492 func (in *BackupRepo) DeepCopyInto(out *BackupRepo) { 493 *out = *in 494 out.TypeMeta = in.TypeMeta 495 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 496 in.Spec.DeepCopyInto(&out.Spec) 497 in.Status.DeepCopyInto(&out.Status) 498 } 499 500 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupRepo. 501 func (in *BackupRepo) DeepCopy() *BackupRepo { 502 if in == nil { 503 return nil 504 } 505 out := new(BackupRepo) 506 in.DeepCopyInto(out) 507 return out 508 } 509 510 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 511 func (in *BackupRepo) DeepCopyObject() runtime.Object { 512 if c := in.DeepCopy(); c != nil { 513 return c 514 } 515 return nil 516 } 517 518 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 519 func (in *BackupRepoList) DeepCopyInto(out *BackupRepoList) { 520 *out = *in 521 out.TypeMeta = in.TypeMeta 522 in.ListMeta.DeepCopyInto(&out.ListMeta) 523 if in.Items != nil { 524 in, out := &in.Items, &out.Items 525 *out = make([]BackupRepo, len(*in)) 526 for i := range *in { 527 (*in)[i].DeepCopyInto(&(*out)[i]) 528 } 529 } 530 } 531 532 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupRepoList. 533 func (in *BackupRepoList) DeepCopy() *BackupRepoList { 534 if in == nil { 535 return nil 536 } 537 out := new(BackupRepoList) 538 in.DeepCopyInto(out) 539 return out 540 } 541 542 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 543 func (in *BackupRepoList) DeepCopyObject() runtime.Object { 544 if c := in.DeepCopy(); c != nil { 545 return c 546 } 547 return nil 548 } 549 550 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 551 func (in *BackupRepoSpec) DeepCopyInto(out *BackupRepoSpec) { 552 *out = *in 553 out.VolumeCapacity = in.VolumeCapacity.DeepCopy() 554 if in.Config != nil { 555 in, out := &in.Config, &out.Config 556 *out = make(map[string]string, len(*in)) 557 for key, val := range *in { 558 (*out)[key] = val 559 } 560 } 561 if in.Credential != nil { 562 in, out := &in.Credential, &out.Credential 563 *out = new(v1.SecretReference) 564 **out = **in 565 } 566 } 567 568 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupRepoSpec. 569 func (in *BackupRepoSpec) DeepCopy() *BackupRepoSpec { 570 if in == nil { 571 return nil 572 } 573 out := new(BackupRepoSpec) 574 in.DeepCopyInto(out) 575 return out 576 } 577 578 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 579 func (in *BackupRepoStatus) DeepCopyInto(out *BackupRepoStatus) { 580 *out = *in 581 if in.Conditions != nil { 582 in, out := &in.Conditions, &out.Conditions 583 *out = make([]metav1.Condition, len(*in)) 584 for i := range *in { 585 (*in)[i].DeepCopyInto(&(*out)[i]) 586 } 587 } 588 if in.GeneratedCSIDriverSecret != nil { 589 in, out := &in.GeneratedCSIDriverSecret, &out.GeneratedCSIDriverSecret 590 *out = new(v1.SecretReference) 591 **out = **in 592 } 593 } 594 595 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupRepoStatus. 596 func (in *BackupRepoStatus) DeepCopy() *BackupRepoStatus { 597 if in == nil { 598 return nil 599 } 600 out := new(BackupRepoStatus) 601 in.DeepCopyInto(out) 602 return out 603 } 604 605 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 606 func (in *BackupSchedule) DeepCopyInto(out *BackupSchedule) { 607 *out = *in 608 out.TypeMeta = in.TypeMeta 609 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 610 in.Spec.DeepCopyInto(&out.Spec) 611 in.Status.DeepCopyInto(&out.Status) 612 } 613 614 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupSchedule. 615 func (in *BackupSchedule) DeepCopy() *BackupSchedule { 616 if in == nil { 617 return nil 618 } 619 out := new(BackupSchedule) 620 in.DeepCopyInto(out) 621 return out 622 } 623 624 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 625 func (in *BackupSchedule) DeepCopyObject() runtime.Object { 626 if c := in.DeepCopy(); c != nil { 627 return c 628 } 629 return nil 630 } 631 632 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 633 func (in *BackupScheduleList) DeepCopyInto(out *BackupScheduleList) { 634 *out = *in 635 out.TypeMeta = in.TypeMeta 636 in.ListMeta.DeepCopyInto(&out.ListMeta) 637 if in.Items != nil { 638 in, out := &in.Items, &out.Items 639 *out = make([]BackupSchedule, len(*in)) 640 for i := range *in { 641 (*in)[i].DeepCopyInto(&(*out)[i]) 642 } 643 } 644 } 645 646 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupScheduleList. 647 func (in *BackupScheduleList) DeepCopy() *BackupScheduleList { 648 if in == nil { 649 return nil 650 } 651 out := new(BackupScheduleList) 652 in.DeepCopyInto(out) 653 return out 654 } 655 656 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 657 func (in *BackupScheduleList) DeepCopyObject() runtime.Object { 658 if c := in.DeepCopy(); c != nil { 659 return c 660 } 661 return nil 662 } 663 664 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 665 func (in *BackupScheduleSpec) DeepCopyInto(out *BackupScheduleSpec) { 666 *out = *in 667 if in.StartingDeadlineMinutes != nil { 668 in, out := &in.StartingDeadlineMinutes, &out.StartingDeadlineMinutes 669 *out = new(int64) 670 **out = **in 671 } 672 if in.Schedules != nil { 673 in, out := &in.Schedules, &out.Schedules 674 *out = make([]SchedulePolicy, len(*in)) 675 for i := range *in { 676 (*in)[i].DeepCopyInto(&(*out)[i]) 677 } 678 } 679 } 680 681 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupScheduleSpec. 682 func (in *BackupScheduleSpec) DeepCopy() *BackupScheduleSpec { 683 if in == nil { 684 return nil 685 } 686 out := new(BackupScheduleSpec) 687 in.DeepCopyInto(out) 688 return out 689 } 690 691 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 692 func (in *BackupScheduleStatus) DeepCopyInto(out *BackupScheduleStatus) { 693 *out = *in 694 if in.Schedules != nil { 695 in, out := &in.Schedules, &out.Schedules 696 *out = make(map[string]ScheduleStatus, len(*in)) 697 for key, val := range *in { 698 (*out)[key] = *val.DeepCopy() 699 } 700 } 701 } 702 703 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupScheduleStatus. 704 func (in *BackupScheduleStatus) DeepCopy() *BackupScheduleStatus { 705 if in == nil { 706 return nil 707 } 708 out := new(BackupScheduleStatus) 709 in.DeepCopyInto(out) 710 return out 711 } 712 713 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 714 func (in *BackupSpec) DeepCopyInto(out *BackupSpec) { 715 *out = *in 716 } 717 718 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupSpec. 719 func (in *BackupSpec) DeepCopy() *BackupSpec { 720 if in == nil { 721 return nil 722 } 723 out := new(BackupSpec) 724 in.DeepCopyInto(out) 725 return out 726 } 727 728 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 729 func (in *BackupStatus) DeepCopyInto(out *BackupStatus) { 730 *out = *in 731 if in.Expiration != nil { 732 in, out := &in.Expiration, &out.Expiration 733 *out = (*in).DeepCopy() 734 } 735 if in.StartTimestamp != nil { 736 in, out := &in.StartTimestamp, &out.StartTimestamp 737 *out = (*in).DeepCopy() 738 } 739 if in.CompletionTimestamp != nil { 740 in, out := &in.CompletionTimestamp, &out.CompletionTimestamp 741 *out = (*in).DeepCopy() 742 } 743 if in.Duration != nil { 744 in, out := &in.Duration, &out.Duration 745 *out = new(metav1.Duration) 746 **out = **in 747 } 748 if in.TimeRange != nil { 749 in, out := &in.TimeRange, &out.TimeRange 750 *out = new(BackupTimeRange) 751 (*in).DeepCopyInto(*out) 752 } 753 if in.Target != nil { 754 in, out := &in.Target, &out.Target 755 *out = new(BackupTarget) 756 (*in).DeepCopyInto(*out) 757 } 758 if in.BackupMethod != nil { 759 in, out := &in.BackupMethod, &out.BackupMethod 760 *out = new(BackupMethod) 761 (*in).DeepCopyInto(*out) 762 } 763 if in.Actions != nil { 764 in, out := &in.Actions, &out.Actions 765 *out = make([]ActionStatus, len(*in)) 766 for i := range *in { 767 (*in)[i].DeepCopyInto(&(*out)[i]) 768 } 769 } 770 if in.VolumeSnapshots != nil { 771 in, out := &in.VolumeSnapshots, &out.VolumeSnapshots 772 *out = make([]VolumeSnapshotStatus, len(*in)) 773 copy(*out, *in) 774 } 775 } 776 777 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupStatus. 778 func (in *BackupStatus) DeepCopy() *BackupStatus { 779 if in == nil { 780 return nil 781 } 782 out := new(BackupStatus) 783 in.DeepCopyInto(out) 784 return out 785 } 786 787 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 788 func (in *BackupTarget) DeepCopyInto(out *BackupTarget) { 789 *out = *in 790 if in.PodSelector != nil { 791 in, out := &in.PodSelector, &out.PodSelector 792 *out = new(PodSelector) 793 (*in).DeepCopyInto(*out) 794 } 795 if in.ConnectionCredential != nil { 796 in, out := &in.ConnectionCredential, &out.ConnectionCredential 797 *out = new(ConnectionCredential) 798 **out = **in 799 } 800 if in.Resources != nil { 801 in, out := &in.Resources, &out.Resources 802 *out = new(KubeResources) 803 (*in).DeepCopyInto(*out) 804 } 805 } 806 807 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupTarget. 808 func (in *BackupTarget) DeepCopy() *BackupTarget { 809 if in == nil { 810 return nil 811 } 812 out := new(BackupTarget) 813 in.DeepCopyInto(out) 814 return out 815 } 816 817 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 818 func (in *BackupTimeRange) DeepCopyInto(out *BackupTimeRange) { 819 *out = *in 820 if in.Start != nil { 821 in, out := &in.Start, &out.Start 822 *out = (*in).DeepCopy() 823 } 824 if in.End != nil { 825 in, out := &in.End, &out.End 826 *out = (*in).DeepCopy() 827 } 828 } 829 830 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupTimeRange. 831 func (in *BackupTimeRange) DeepCopy() *BackupTimeRange { 832 if in == nil { 833 return nil 834 } 835 out := new(BackupTimeRange) 836 in.DeepCopyInto(out) 837 return out 838 } 839 840 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 841 func (in *ConnectionCredential) DeepCopyInto(out *ConnectionCredential) { 842 *out = *in 843 } 844 845 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionCredential. 846 func (in *ConnectionCredential) DeepCopy() *ConnectionCredential { 847 if in == nil { 848 return nil 849 } 850 out := new(ConnectionCredential) 851 in.DeepCopyInto(out) 852 return out 853 } 854 855 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 856 func (in *ExecAction) DeepCopyInto(out *ExecAction) { 857 *out = *in 858 in.Target.DeepCopyInto(&out.Target) 859 } 860 861 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecAction. 862 func (in *ExecAction) DeepCopy() *ExecAction { 863 if in == nil { 864 return nil 865 } 866 out := new(ExecAction) 867 in.DeepCopyInto(out) 868 return out 869 } 870 871 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 872 func (in *ExecActionSpec) DeepCopyInto(out *ExecActionSpec) { 873 *out = *in 874 if in.Command != nil { 875 in, out := &in.Command, &out.Command 876 *out = make([]string, len(*in)) 877 copy(*out, *in) 878 } 879 out.Timeout = in.Timeout 880 } 881 882 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecActionSpec. 883 func (in *ExecActionSpec) DeepCopy() *ExecActionSpec { 884 if in == nil { 885 return nil 886 } 887 out := new(ExecActionSpec) 888 in.DeepCopyInto(out) 889 return out 890 } 891 892 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 893 func (in *ExecActionTarget) DeepCopyInto(out *ExecActionTarget) { 894 *out = *in 895 in.PodSelector.DeepCopyInto(&out.PodSelector) 896 } 897 898 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecActionTarget. 899 func (in *ExecActionTarget) DeepCopy() *ExecActionTarget { 900 if in == nil { 901 return nil 902 } 903 out := new(ExecActionTarget) 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 *IncludeResource) DeepCopyInto(out *IncludeResource) { 910 *out = *in 911 in.LabelSelector.DeepCopyInto(&out.LabelSelector) 912 } 913 914 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IncludeResource. 915 func (in *IncludeResource) DeepCopy() *IncludeResource { 916 if in == nil { 917 return nil 918 } 919 out := new(IncludeResource) 920 in.DeepCopyInto(out) 921 return out 922 } 923 924 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 925 func (in *JobAction) DeepCopyInto(out *JobAction) { 926 *out = *in 927 in.Target.DeepCopyInto(&out.Target) 928 } 929 930 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobAction. 931 func (in *JobAction) DeepCopy() *JobAction { 932 if in == nil { 933 return nil 934 } 935 out := new(JobAction) 936 in.DeepCopyInto(out) 937 return out 938 } 939 940 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 941 func (in *JobActionSpec) DeepCopyInto(out *JobActionSpec) { 942 *out = *in 943 if in.RunOnTargetPodNode != nil { 944 in, out := &in.RunOnTargetPodNode, &out.RunOnTargetPodNode 945 *out = new(bool) 946 **out = **in 947 } 948 if in.Command != nil { 949 in, out := &in.Command, &out.Command 950 *out = make([]string, len(*in)) 951 copy(*out, *in) 952 } 953 } 954 955 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobActionSpec. 956 func (in *JobActionSpec) DeepCopy() *JobActionSpec { 957 if in == nil { 958 return nil 959 } 960 out := new(JobActionSpec) 961 in.DeepCopyInto(out) 962 return out 963 } 964 965 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 966 func (in *JobActionTarget) DeepCopyInto(out *JobActionTarget) { 967 *out = *in 968 in.PodSelector.DeepCopyInto(&out.PodSelector) 969 if in.VolumeMounts != nil { 970 in, out := &in.VolumeMounts, &out.VolumeMounts 971 *out = make([]v1.VolumeMount, len(*in)) 972 for i := range *in { 973 (*in)[i].DeepCopyInto(&(*out)[i]) 974 } 975 } 976 } 977 978 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobActionTarget. 979 func (in *JobActionTarget) DeepCopy() *JobActionTarget { 980 if in == nil { 981 return nil 982 } 983 out := new(JobActionTarget) 984 in.DeepCopyInto(out) 985 return out 986 } 987 988 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 989 func (in *KubeResources) DeepCopyInto(out *KubeResources) { 990 *out = *in 991 if in.Selector != nil { 992 in, out := &in.Selector, &out.Selector 993 *out = new(metav1.LabelSelector) 994 (*in).DeepCopyInto(*out) 995 } 996 if in.Included != nil { 997 in, out := &in.Included, &out.Included 998 *out = make([]string, len(*in)) 999 copy(*out, *in) 1000 } 1001 if in.Excluded != nil { 1002 in, out := &in.Excluded, &out.Excluded 1003 *out = make([]string, len(*in)) 1004 copy(*out, *in) 1005 } 1006 } 1007 1008 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeResources. 1009 func (in *KubeResources) DeepCopy() *KubeResources { 1010 if in == nil { 1011 return nil 1012 } 1013 out := new(KubeResources) 1014 in.DeepCopyInto(out) 1015 return out 1016 } 1017 1018 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1019 func (in *PodSelector) DeepCopyInto(out *PodSelector) { 1020 *out = *in 1021 if in.LabelSelector != nil { 1022 in, out := &in.LabelSelector, &out.LabelSelector 1023 *out = new(metav1.LabelSelector) 1024 (*in).DeepCopyInto(*out) 1025 } 1026 } 1027 1028 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSelector. 1029 func (in *PodSelector) DeepCopy() *PodSelector { 1030 if in == nil { 1031 return nil 1032 } 1033 out := new(PodSelector) 1034 in.DeepCopyInto(out) 1035 return out 1036 } 1037 1038 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1039 func (in *PrepareDataConfig) DeepCopyInto(out *PrepareDataConfig) { 1040 *out = *in 1041 if in.DataSourceRef != nil { 1042 in, out := &in.DataSourceRef, &out.DataSourceRef 1043 *out = new(VolumeConfig) 1044 **out = **in 1045 } 1046 if in.RestoreVolumeClaims != nil { 1047 in, out := &in.RestoreVolumeClaims, &out.RestoreVolumeClaims 1048 *out = make([]RestoreVolumeClaim, len(*in)) 1049 for i := range *in { 1050 (*in)[i].DeepCopyInto(&(*out)[i]) 1051 } 1052 } 1053 if in.RestoreVolumeClaimsTemplate != nil { 1054 in, out := &in.RestoreVolumeClaimsTemplate, &out.RestoreVolumeClaimsTemplate 1055 *out = new(RestoreVolumeClaimsTemplate) 1056 (*in).DeepCopyInto(*out) 1057 } 1058 in.SchedulingSpec.DeepCopyInto(&out.SchedulingSpec) 1059 } 1060 1061 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrepareDataConfig. 1062 func (in *PrepareDataConfig) DeepCopy() *PrepareDataConfig { 1063 if in == nil { 1064 return nil 1065 } 1066 out := new(PrepareDataConfig) 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 *ReadinessProbe) DeepCopyInto(out *ReadinessProbe) { 1073 *out = *in 1074 in.Exec.DeepCopyInto(&out.Exec) 1075 } 1076 1077 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReadinessProbe. 1078 func (in *ReadinessProbe) DeepCopy() *ReadinessProbe { 1079 if in == nil { 1080 return nil 1081 } 1082 out := new(ReadinessProbe) 1083 in.DeepCopyInto(out) 1084 return out 1085 } 1086 1087 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1088 func (in *ReadinessProbeExecAction) DeepCopyInto(out *ReadinessProbeExecAction) { 1089 *out = *in 1090 if in.Command != nil { 1091 in, out := &in.Command, &out.Command 1092 *out = make([]string, len(*in)) 1093 copy(*out, *in) 1094 } 1095 } 1096 1097 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReadinessProbeExecAction. 1098 func (in *ReadinessProbeExecAction) DeepCopy() *ReadinessProbeExecAction { 1099 if in == nil { 1100 return nil 1101 } 1102 out := new(ReadinessProbeExecAction) 1103 in.DeepCopyInto(out) 1104 return out 1105 } 1106 1107 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1108 func (in *ReadyConfig) DeepCopyInto(out *ReadyConfig) { 1109 *out = *in 1110 if in.JobAction != nil { 1111 in, out := &in.JobAction, &out.JobAction 1112 *out = new(JobAction) 1113 (*in).DeepCopyInto(*out) 1114 } 1115 if in.ExecAction != nil { 1116 in, out := &in.ExecAction, &out.ExecAction 1117 *out = new(ExecAction) 1118 (*in).DeepCopyInto(*out) 1119 } 1120 if in.ConnectionCredential != nil { 1121 in, out := &in.ConnectionCredential, &out.ConnectionCredential 1122 *out = new(ConnectionCredential) 1123 **out = **in 1124 } 1125 if in.ReadinessProbe != nil { 1126 in, out := &in.ReadinessProbe, &out.ReadinessProbe 1127 *out = new(ReadinessProbe) 1128 (*in).DeepCopyInto(*out) 1129 } 1130 } 1131 1132 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReadyConfig. 1133 func (in *ReadyConfig) DeepCopy() *ReadyConfig { 1134 if in == nil { 1135 return nil 1136 } 1137 out := new(ReadyConfig) 1138 in.DeepCopyInto(out) 1139 return out 1140 } 1141 1142 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1143 func (in *Restore) DeepCopyInto(out *Restore) { 1144 *out = *in 1145 out.TypeMeta = in.TypeMeta 1146 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 1147 in.Spec.DeepCopyInto(&out.Spec) 1148 in.Status.DeepCopyInto(&out.Status) 1149 } 1150 1151 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Restore. 1152 func (in *Restore) DeepCopy() *Restore { 1153 if in == nil { 1154 return nil 1155 } 1156 out := new(Restore) 1157 in.DeepCopyInto(out) 1158 return out 1159 } 1160 1161 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 1162 func (in *Restore) DeepCopyObject() runtime.Object { 1163 if c := in.DeepCopy(); c != nil { 1164 return c 1165 } 1166 return nil 1167 } 1168 1169 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1170 func (in *RestoreActionSpec) DeepCopyInto(out *RestoreActionSpec) { 1171 *out = *in 1172 if in.PrepareData != nil { 1173 in, out := &in.PrepareData, &out.PrepareData 1174 *out = new(JobActionSpec) 1175 (*in).DeepCopyInto(*out) 1176 } 1177 if in.PostReady != nil { 1178 in, out := &in.PostReady, &out.PostReady 1179 *out = make([]ActionSpec, len(*in)) 1180 for i := range *in { 1181 (*in)[i].DeepCopyInto(&(*out)[i]) 1182 } 1183 } 1184 } 1185 1186 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreActionSpec. 1187 func (in *RestoreActionSpec) DeepCopy() *RestoreActionSpec { 1188 if in == nil { 1189 return nil 1190 } 1191 out := new(RestoreActionSpec) 1192 in.DeepCopyInto(out) 1193 return out 1194 } 1195 1196 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1197 func (in *RestoreKubeResources) DeepCopyInto(out *RestoreKubeResources) { 1198 *out = *in 1199 if in.IncludeResources != nil { 1200 in, out := &in.IncludeResources, &out.IncludeResources 1201 *out = make([]IncludeResource, len(*in)) 1202 for i := range *in { 1203 (*in)[i].DeepCopyInto(&(*out)[i]) 1204 } 1205 } 1206 } 1207 1208 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreKubeResources. 1209 func (in *RestoreKubeResources) DeepCopy() *RestoreKubeResources { 1210 if in == nil { 1211 return nil 1212 } 1213 out := new(RestoreKubeResources) 1214 in.DeepCopyInto(out) 1215 return out 1216 } 1217 1218 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1219 func (in *RestoreList) DeepCopyInto(out *RestoreList) { 1220 *out = *in 1221 out.TypeMeta = in.TypeMeta 1222 in.ListMeta.DeepCopyInto(&out.ListMeta) 1223 if in.Items != nil { 1224 in, out := &in.Items, &out.Items 1225 *out = make([]Restore, len(*in)) 1226 for i := range *in { 1227 (*in)[i].DeepCopyInto(&(*out)[i]) 1228 } 1229 } 1230 } 1231 1232 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreList. 1233 func (in *RestoreList) DeepCopy() *RestoreList { 1234 if in == nil { 1235 return nil 1236 } 1237 out := new(RestoreList) 1238 in.DeepCopyInto(out) 1239 return out 1240 } 1241 1242 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 1243 func (in *RestoreList) DeepCopyObject() runtime.Object { 1244 if c := in.DeepCopy(); c != nil { 1245 return c 1246 } 1247 return nil 1248 } 1249 1250 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1251 func (in *RestoreSpec) DeepCopyInto(out *RestoreSpec) { 1252 *out = *in 1253 out.Backup = in.Backup 1254 if in.Resources != nil { 1255 in, out := &in.Resources, &out.Resources 1256 *out = new(RestoreKubeResources) 1257 (*in).DeepCopyInto(*out) 1258 } 1259 if in.PrepareDataConfig != nil { 1260 in, out := &in.PrepareDataConfig, &out.PrepareDataConfig 1261 *out = new(PrepareDataConfig) 1262 (*in).DeepCopyInto(*out) 1263 } 1264 if in.ReadyConfig != nil { 1265 in, out := &in.ReadyConfig, &out.ReadyConfig 1266 *out = new(ReadyConfig) 1267 (*in).DeepCopyInto(*out) 1268 } 1269 if in.Env != nil { 1270 in, out := &in.Env, &out.Env 1271 *out = make([]v1.EnvVar, len(*in)) 1272 for i := range *in { 1273 (*in)[i].DeepCopyInto(&(*out)[i]) 1274 } 1275 } 1276 in.ContainerResources.DeepCopyInto(&out.ContainerResources) 1277 } 1278 1279 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreSpec. 1280 func (in *RestoreSpec) DeepCopy() *RestoreSpec { 1281 if in == nil { 1282 return nil 1283 } 1284 out := new(RestoreSpec) 1285 in.DeepCopyInto(out) 1286 return out 1287 } 1288 1289 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1290 func (in *RestoreStatus) DeepCopyInto(out *RestoreStatus) { 1291 *out = *in 1292 if in.StartTimestamp != nil { 1293 in, out := &in.StartTimestamp, &out.StartTimestamp 1294 *out = (*in).DeepCopy() 1295 } 1296 if in.CompletionTimestamp != nil { 1297 in, out := &in.CompletionTimestamp, &out.CompletionTimestamp 1298 *out = (*in).DeepCopy() 1299 } 1300 if in.Duration != nil { 1301 in, out := &in.Duration, &out.Duration 1302 *out = new(metav1.Duration) 1303 **out = **in 1304 } 1305 in.Actions.DeepCopyInto(&out.Actions) 1306 if in.Conditions != nil { 1307 in, out := &in.Conditions, &out.Conditions 1308 *out = make([]metav1.Condition, len(*in)) 1309 for i := range *in { 1310 (*in)[i].DeepCopyInto(&(*out)[i]) 1311 } 1312 } 1313 } 1314 1315 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreStatus. 1316 func (in *RestoreStatus) DeepCopy() *RestoreStatus { 1317 if in == nil { 1318 return nil 1319 } 1320 out := new(RestoreStatus) 1321 in.DeepCopyInto(out) 1322 return out 1323 } 1324 1325 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1326 func (in *RestoreStatusAction) DeepCopyInto(out *RestoreStatusAction) { 1327 *out = *in 1328 in.StartTime.DeepCopyInto(&out.StartTime) 1329 in.EndTime.DeepCopyInto(&out.EndTime) 1330 } 1331 1332 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreStatusAction. 1333 func (in *RestoreStatusAction) DeepCopy() *RestoreStatusAction { 1334 if in == nil { 1335 return nil 1336 } 1337 out := new(RestoreStatusAction) 1338 in.DeepCopyInto(out) 1339 return out 1340 } 1341 1342 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1343 func (in *RestoreStatusActions) DeepCopyInto(out *RestoreStatusActions) { 1344 *out = *in 1345 if in.PrepareData != nil { 1346 in, out := &in.PrepareData, &out.PrepareData 1347 *out = make([]RestoreStatusAction, len(*in)) 1348 for i := range *in { 1349 (*in)[i].DeepCopyInto(&(*out)[i]) 1350 } 1351 } 1352 if in.PostReady != nil { 1353 in, out := &in.PostReady, &out.PostReady 1354 *out = make([]RestoreStatusAction, len(*in)) 1355 for i := range *in { 1356 (*in)[i].DeepCopyInto(&(*out)[i]) 1357 } 1358 } 1359 } 1360 1361 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreStatusActions. 1362 func (in *RestoreStatusActions) DeepCopy() *RestoreStatusActions { 1363 if in == nil { 1364 return nil 1365 } 1366 out := new(RestoreStatusActions) 1367 in.DeepCopyInto(out) 1368 return out 1369 } 1370 1371 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1372 func (in *RestoreVolumeClaim) DeepCopyInto(out *RestoreVolumeClaim) { 1373 *out = *in 1374 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 1375 in.VolumeClaimSpec.DeepCopyInto(&out.VolumeClaimSpec) 1376 out.VolumeConfig = in.VolumeConfig 1377 } 1378 1379 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreVolumeClaim. 1380 func (in *RestoreVolumeClaim) DeepCopy() *RestoreVolumeClaim { 1381 if in == nil { 1382 return nil 1383 } 1384 out := new(RestoreVolumeClaim) 1385 in.DeepCopyInto(out) 1386 return out 1387 } 1388 1389 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1390 func (in *RestoreVolumeClaimsTemplate) DeepCopyInto(out *RestoreVolumeClaimsTemplate) { 1391 *out = *in 1392 if in.Templates != nil { 1393 in, out := &in.Templates, &out.Templates 1394 *out = make([]RestoreVolumeClaim, len(*in)) 1395 for i := range *in { 1396 (*in)[i].DeepCopyInto(&(*out)[i]) 1397 } 1398 } 1399 } 1400 1401 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreVolumeClaimsTemplate. 1402 func (in *RestoreVolumeClaimsTemplate) DeepCopy() *RestoreVolumeClaimsTemplate { 1403 if in == nil { 1404 return nil 1405 } 1406 out := new(RestoreVolumeClaimsTemplate) 1407 in.DeepCopyInto(out) 1408 return out 1409 } 1410 1411 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1412 func (in *RuntimeSettings) DeepCopyInto(out *RuntimeSettings) { 1413 *out = *in 1414 in.Resources.DeepCopyInto(&out.Resources) 1415 } 1416 1417 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeSettings. 1418 func (in *RuntimeSettings) DeepCopy() *RuntimeSettings { 1419 if in == nil { 1420 return nil 1421 } 1422 out := new(RuntimeSettings) 1423 in.DeepCopyInto(out) 1424 return out 1425 } 1426 1427 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1428 func (in *SchedulePolicy) DeepCopyInto(out *SchedulePolicy) { 1429 *out = *in 1430 if in.Enabled != nil { 1431 in, out := &in.Enabled, &out.Enabled 1432 *out = new(bool) 1433 **out = **in 1434 } 1435 } 1436 1437 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchedulePolicy. 1438 func (in *SchedulePolicy) DeepCopy() *SchedulePolicy { 1439 if in == nil { 1440 return nil 1441 } 1442 out := new(SchedulePolicy) 1443 in.DeepCopyInto(out) 1444 return out 1445 } 1446 1447 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1448 func (in *ScheduleStatus) DeepCopyInto(out *ScheduleStatus) { 1449 *out = *in 1450 if in.LastScheduleTime != nil { 1451 in, out := &in.LastScheduleTime, &out.LastScheduleTime 1452 *out = (*in).DeepCopy() 1453 } 1454 if in.LastSuccessfulTime != nil { 1455 in, out := &in.LastSuccessfulTime, &out.LastSuccessfulTime 1456 *out = (*in).DeepCopy() 1457 } 1458 } 1459 1460 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduleStatus. 1461 func (in *ScheduleStatus) DeepCopy() *ScheduleStatus { 1462 if in == nil { 1463 return nil 1464 } 1465 out := new(ScheduleStatus) 1466 in.DeepCopyInto(out) 1467 return out 1468 } 1469 1470 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1471 func (in *SchedulingSpec) DeepCopyInto(out *SchedulingSpec) { 1472 *out = *in 1473 if in.Tolerations != nil { 1474 in, out := &in.Tolerations, &out.Tolerations 1475 *out = make([]v1.Toleration, len(*in)) 1476 for i := range *in { 1477 (*in)[i].DeepCopyInto(&(*out)[i]) 1478 } 1479 } 1480 if in.NodeSelector != nil { 1481 in, out := &in.NodeSelector, &out.NodeSelector 1482 *out = make(map[string]string, len(*in)) 1483 for key, val := range *in { 1484 (*out)[key] = val 1485 } 1486 } 1487 if in.Affinity != nil { 1488 in, out := &in.Affinity, &out.Affinity 1489 *out = new(v1.Affinity) 1490 (*in).DeepCopyInto(*out) 1491 } 1492 if in.TopologySpreadConstraints != nil { 1493 in, out := &in.TopologySpreadConstraints, &out.TopologySpreadConstraints 1494 *out = make([]v1.TopologySpreadConstraint, len(*in)) 1495 for i := range *in { 1496 (*in)[i].DeepCopyInto(&(*out)[i]) 1497 } 1498 } 1499 } 1500 1501 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchedulingSpec. 1502 func (in *SchedulingSpec) DeepCopy() *SchedulingSpec { 1503 if in == nil { 1504 return nil 1505 } 1506 out := new(SchedulingSpec) 1507 in.DeepCopyInto(out) 1508 return out 1509 } 1510 1511 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1512 func (in *SyncProgress) DeepCopyInto(out *SyncProgress) { 1513 *out = *in 1514 if in.Enabled != nil { 1515 in, out := &in.Enabled, &out.Enabled 1516 *out = new(bool) 1517 **out = **in 1518 } 1519 if in.IntervalSeconds != nil { 1520 in, out := &in.IntervalSeconds, &out.IntervalSeconds 1521 *out = new(int32) 1522 **out = **in 1523 } 1524 } 1525 1526 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncProgress. 1527 func (in *SyncProgress) DeepCopy() *SyncProgress { 1528 if in == nil { 1529 return nil 1530 } 1531 out := new(SyncProgress) 1532 in.DeepCopyInto(out) 1533 return out 1534 } 1535 1536 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1537 func (in *TargetVolumeInfo) DeepCopyInto(out *TargetVolumeInfo) { 1538 *out = *in 1539 if in.Volumes != nil { 1540 in, out := &in.Volumes, &out.Volumes 1541 *out = make([]string, len(*in)) 1542 copy(*out, *in) 1543 } 1544 if in.VolumeMounts != nil { 1545 in, out := &in.VolumeMounts, &out.VolumeMounts 1546 *out = make([]v1.VolumeMount, len(*in)) 1547 for i := range *in { 1548 (*in)[i].DeepCopyInto(&(*out)[i]) 1549 } 1550 } 1551 } 1552 1553 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetVolumeInfo. 1554 func (in *TargetVolumeInfo) DeepCopy() *TargetVolumeInfo { 1555 if in == nil { 1556 return nil 1557 } 1558 out := new(TargetVolumeInfo) 1559 in.DeepCopyInto(out) 1560 return out 1561 } 1562 1563 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1564 func (in *VolumeConfig) DeepCopyInto(out *VolumeConfig) { 1565 *out = *in 1566 } 1567 1568 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeConfig. 1569 func (in *VolumeConfig) DeepCopy() *VolumeConfig { 1570 if in == nil { 1571 return nil 1572 } 1573 out := new(VolumeConfig) 1574 in.DeepCopyInto(out) 1575 return out 1576 } 1577 1578 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1579 func (in *VolumeSnapshotStatus) DeepCopyInto(out *VolumeSnapshotStatus) { 1580 *out = *in 1581 } 1582 1583 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotStatus. 1584 func (in *VolumeSnapshotStatus) DeepCopy() *VolumeSnapshotStatus { 1585 if in == nil { 1586 return nil 1587 } 1588 out := new(VolumeSnapshotStatus) 1589 in.DeepCopyInto(out) 1590 return out 1591 }