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