github.com/argoproj-labs/argocd-operator@v0.10.0/api/v1beta1/zz_generated.deepcopy.go (about) 1 //go:build !ignore_autogenerated 2 // +build !ignore_autogenerated 3 4 /* 5 Copyright 2021. 6 7 Licensed under the Apache License, Version 2.0 (the "License"); 8 you may not use this file except in compliance with the License. 9 You may obtain a copy of the License at 10 11 http://www.apache.org/licenses/LICENSE-2.0 12 13 Unless required by applicable law or agreed to in writing, software 14 distributed under the License is distributed on an "AS IS" BASIS, 15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 See the License for the specific language governing permissions and 17 limitations under the License. 18 */ 19 20 // Code generated by controller-gen. DO NOT EDIT. 21 22 package v1beta1 23 24 import ( 25 routev1 "github.com/openshift/api/route/v1" 26 autoscalingv1 "k8s.io/api/autoscaling/v1" 27 "k8s.io/api/core/v1" 28 networkingv1 "k8s.io/api/networking/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 *ArgoCD) DeepCopyInto(out *ArgoCD) { 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 ArgoCD. 43 func (in *ArgoCD) DeepCopy() *ArgoCD { 44 if in == nil { 45 return nil 46 } 47 out := new(ArgoCD) 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 *ArgoCD) 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 *ArgoCDApplicationControllerProcessorsSpec) DeepCopyInto(out *ArgoCDApplicationControllerProcessorsSpec) { 62 *out = *in 63 } 64 65 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDApplicationControllerProcessorsSpec. 66 func (in *ArgoCDApplicationControllerProcessorsSpec) DeepCopy() *ArgoCDApplicationControllerProcessorsSpec { 67 if in == nil { 68 return nil 69 } 70 out := new(ArgoCDApplicationControllerProcessorsSpec) 71 in.DeepCopyInto(out) 72 return out 73 } 74 75 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 76 func (in *ArgoCDApplicationControllerShardSpec) DeepCopyInto(out *ArgoCDApplicationControllerShardSpec) { 77 *out = *in 78 if in.DynamicScalingEnabled != nil { 79 in, out := &in.DynamicScalingEnabled, &out.DynamicScalingEnabled 80 *out = new(bool) 81 **out = **in 82 } 83 } 84 85 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDApplicationControllerShardSpec. 86 func (in *ArgoCDApplicationControllerShardSpec) DeepCopy() *ArgoCDApplicationControllerShardSpec { 87 if in == nil { 88 return nil 89 } 90 out := new(ArgoCDApplicationControllerShardSpec) 91 in.DeepCopyInto(out) 92 return out 93 } 94 95 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 96 func (in *ArgoCDApplicationControllerSpec) DeepCopyInto(out *ArgoCDApplicationControllerSpec) { 97 *out = *in 98 out.Processors = in.Processors 99 if in.Resources != nil { 100 in, out := &in.Resources, &out.Resources 101 *out = new(v1.ResourceRequirements) 102 (*in).DeepCopyInto(*out) 103 } 104 if in.AppSync != nil { 105 in, out := &in.AppSync, &out.AppSync 106 *out = new(metav1.Duration) 107 **out = **in 108 } 109 in.Sharding.DeepCopyInto(&out.Sharding) 110 if in.Env != nil { 111 in, out := &in.Env, &out.Env 112 *out = make([]v1.EnvVar, len(*in)) 113 for i := range *in { 114 (*in)[i].DeepCopyInto(&(*out)[i]) 115 } 116 } 117 if in.Enabled != nil { 118 in, out := &in.Enabled, &out.Enabled 119 *out = new(bool) 120 **out = **in 121 } 122 } 123 124 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDApplicationControllerSpec. 125 func (in *ArgoCDApplicationControllerSpec) DeepCopy() *ArgoCDApplicationControllerSpec { 126 if in == nil { 127 return nil 128 } 129 out := new(ArgoCDApplicationControllerSpec) 130 in.DeepCopyInto(out) 131 return out 132 } 133 134 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 135 func (in *ArgoCDApplicationSet) DeepCopyInto(out *ArgoCDApplicationSet) { 136 *out = *in 137 if in.Env != nil { 138 in, out := &in.Env, &out.Env 139 *out = make([]v1.EnvVar, len(*in)) 140 for i := range *in { 141 (*in)[i].DeepCopyInto(&(*out)[i]) 142 } 143 } 144 if in.ExtraCommandArgs != nil { 145 in, out := &in.ExtraCommandArgs, &out.ExtraCommandArgs 146 *out = make([]string, len(*in)) 147 copy(*out, *in) 148 } 149 if in.Resources != nil { 150 in, out := &in.Resources, &out.Resources 151 *out = new(v1.ResourceRequirements) 152 (*in).DeepCopyInto(*out) 153 } 154 in.WebhookServer.DeepCopyInto(&out.WebhookServer) 155 if in.Enabled != nil { 156 in, out := &in.Enabled, &out.Enabled 157 *out = new(bool) 158 **out = **in 159 } 160 if in.SourceNamespaces != nil { 161 in, out := &in.SourceNamespaces, &out.SourceNamespaces 162 *out = make([]string, len(*in)) 163 copy(*out, *in) 164 } 165 if in.SCMProviders != nil { 166 in, out := &in.SCMProviders, &out.SCMProviders 167 *out = make([]string, len(*in)) 168 copy(*out, *in) 169 } 170 } 171 172 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDApplicationSet. 173 func (in *ArgoCDApplicationSet) DeepCopy() *ArgoCDApplicationSet { 174 if in == nil { 175 return nil 176 } 177 out := new(ArgoCDApplicationSet) 178 in.DeepCopyInto(out) 179 return out 180 } 181 182 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 183 func (in *ArgoCDCASpec) DeepCopyInto(out *ArgoCDCASpec) { 184 *out = *in 185 } 186 187 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDCASpec. 188 func (in *ArgoCDCASpec) DeepCopy() *ArgoCDCASpec { 189 if in == nil { 190 return nil 191 } 192 out := new(ArgoCDCASpec) 193 in.DeepCopyInto(out) 194 return out 195 } 196 197 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 198 func (in *ArgoCDCertificateSpec) DeepCopyInto(out *ArgoCDCertificateSpec) { 199 *out = *in 200 } 201 202 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDCertificateSpec. 203 func (in *ArgoCDCertificateSpec) DeepCopy() *ArgoCDCertificateSpec { 204 if in == nil { 205 return nil 206 } 207 out := new(ArgoCDCertificateSpec) 208 in.DeepCopyInto(out) 209 return out 210 } 211 212 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 213 func (in *ArgoCDDexSpec) DeepCopyInto(out *ArgoCDDexSpec) { 214 *out = *in 215 if in.Groups != nil { 216 in, out := &in.Groups, &out.Groups 217 *out = make([]string, len(*in)) 218 copy(*out, *in) 219 } 220 if in.Resources != nil { 221 in, out := &in.Resources, &out.Resources 222 *out = new(v1.ResourceRequirements) 223 (*in).DeepCopyInto(*out) 224 } 225 if in.Env != nil { 226 in, out := &in.Env, &out.Env 227 *out = make([]v1.EnvVar, len(*in)) 228 for i := range *in { 229 (*in)[i].DeepCopyInto(&(*out)[i]) 230 } 231 } 232 } 233 234 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDDexSpec. 235 func (in *ArgoCDDexSpec) DeepCopy() *ArgoCDDexSpec { 236 if in == nil { 237 return nil 238 } 239 out := new(ArgoCDDexSpec) 240 in.DeepCopyInto(out) 241 return out 242 } 243 244 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 245 func (in *ArgoCDGrafanaSpec) DeepCopyInto(out *ArgoCDGrafanaSpec) { 246 *out = *in 247 in.Ingress.DeepCopyInto(&out.Ingress) 248 if in.Resources != nil { 249 in, out := &in.Resources, &out.Resources 250 *out = new(v1.ResourceRequirements) 251 (*in).DeepCopyInto(*out) 252 } 253 in.Route.DeepCopyInto(&out.Route) 254 if in.Size != nil { 255 in, out := &in.Size, &out.Size 256 *out = new(int32) 257 **out = **in 258 } 259 } 260 261 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDGrafanaSpec. 262 func (in *ArgoCDGrafanaSpec) DeepCopy() *ArgoCDGrafanaSpec { 263 if in == nil { 264 return nil 265 } 266 out := new(ArgoCDGrafanaSpec) 267 in.DeepCopyInto(out) 268 return out 269 } 270 271 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 272 func (in *ArgoCDHASpec) DeepCopyInto(out *ArgoCDHASpec) { 273 *out = *in 274 if in.Resources != nil { 275 in, out := &in.Resources, &out.Resources 276 *out = new(v1.ResourceRequirements) 277 (*in).DeepCopyInto(*out) 278 } 279 } 280 281 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDHASpec. 282 func (in *ArgoCDHASpec) DeepCopy() *ArgoCDHASpec { 283 if in == nil { 284 return nil 285 } 286 out := new(ArgoCDHASpec) 287 in.DeepCopyInto(out) 288 return out 289 } 290 291 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 292 func (in *ArgoCDImportSpec) DeepCopyInto(out *ArgoCDImportSpec) { 293 *out = *in 294 if in.Namespace != nil { 295 in, out := &in.Namespace, &out.Namespace 296 *out = new(string) 297 **out = **in 298 } 299 } 300 301 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDImportSpec. 302 func (in *ArgoCDImportSpec) DeepCopy() *ArgoCDImportSpec { 303 if in == nil { 304 return nil 305 } 306 out := new(ArgoCDImportSpec) 307 in.DeepCopyInto(out) 308 return out 309 } 310 311 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 312 func (in *ArgoCDIngressSpec) DeepCopyInto(out *ArgoCDIngressSpec) { 313 *out = *in 314 if in.Annotations != nil { 315 in, out := &in.Annotations, &out.Annotations 316 *out = make(map[string]string, len(*in)) 317 for key, val := range *in { 318 (*out)[key] = val 319 } 320 } 321 if in.IngressClassName != nil { 322 in, out := &in.IngressClassName, &out.IngressClassName 323 *out = new(string) 324 **out = **in 325 } 326 if in.TLS != nil { 327 in, out := &in.TLS, &out.TLS 328 *out = make([]networkingv1.IngressTLS, len(*in)) 329 for i := range *in { 330 (*in)[i].DeepCopyInto(&(*out)[i]) 331 } 332 } 333 } 334 335 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDIngressSpec. 336 func (in *ArgoCDIngressSpec) DeepCopy() *ArgoCDIngressSpec { 337 if in == nil { 338 return nil 339 } 340 out := new(ArgoCDIngressSpec) 341 in.DeepCopyInto(out) 342 return out 343 } 344 345 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 346 func (in *ArgoCDKeycloakSpec) DeepCopyInto(out *ArgoCDKeycloakSpec) { 347 *out = *in 348 if in.Resources != nil { 349 in, out := &in.Resources, &out.Resources 350 *out = new(v1.ResourceRequirements) 351 (*in).DeepCopyInto(*out) 352 } 353 if in.VerifyTLS != nil { 354 in, out := &in.VerifyTLS, &out.VerifyTLS 355 *out = new(bool) 356 **out = **in 357 } 358 } 359 360 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDKeycloakSpec. 361 func (in *ArgoCDKeycloakSpec) DeepCopy() *ArgoCDKeycloakSpec { 362 if in == nil { 363 return nil 364 } 365 out := new(ArgoCDKeycloakSpec) 366 in.DeepCopyInto(out) 367 return out 368 } 369 370 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 371 func (in *ArgoCDList) DeepCopyInto(out *ArgoCDList) { 372 *out = *in 373 out.TypeMeta = in.TypeMeta 374 in.ListMeta.DeepCopyInto(&out.ListMeta) 375 if in.Items != nil { 376 in, out := &in.Items, &out.Items 377 *out = make([]ArgoCD, len(*in)) 378 for i := range *in { 379 (*in)[i].DeepCopyInto(&(*out)[i]) 380 } 381 } 382 } 383 384 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDList. 385 func (in *ArgoCDList) DeepCopy() *ArgoCDList { 386 if in == nil { 387 return nil 388 } 389 out := new(ArgoCDList) 390 in.DeepCopyInto(out) 391 return out 392 } 393 394 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 395 func (in *ArgoCDList) DeepCopyObject() runtime.Object { 396 if c := in.DeepCopy(); c != nil { 397 return c 398 } 399 return nil 400 } 401 402 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 403 func (in *ArgoCDMonitoringSpec) DeepCopyInto(out *ArgoCDMonitoringSpec) { 404 *out = *in 405 } 406 407 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDMonitoringSpec. 408 func (in *ArgoCDMonitoringSpec) DeepCopy() *ArgoCDMonitoringSpec { 409 if in == nil { 410 return nil 411 } 412 out := new(ArgoCDMonitoringSpec) 413 in.DeepCopyInto(out) 414 return out 415 } 416 417 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 418 func (in *ArgoCDNodePlacementSpec) DeepCopyInto(out *ArgoCDNodePlacementSpec) { 419 *out = *in 420 if in.NodeSelector != nil { 421 in, out := &in.NodeSelector, &out.NodeSelector 422 *out = make(map[string]string, len(*in)) 423 for key, val := range *in { 424 (*out)[key] = val 425 } 426 } 427 if in.Tolerations != nil { 428 in, out := &in.Tolerations, &out.Tolerations 429 *out = make([]v1.Toleration, len(*in)) 430 for i := range *in { 431 (*in)[i].DeepCopyInto(&(*out)[i]) 432 } 433 } 434 } 435 436 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDNodePlacementSpec. 437 func (in *ArgoCDNodePlacementSpec) DeepCopy() *ArgoCDNodePlacementSpec { 438 if in == nil { 439 return nil 440 } 441 out := new(ArgoCDNodePlacementSpec) 442 in.DeepCopyInto(out) 443 return out 444 } 445 446 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 447 func (in *ArgoCDNotifications) DeepCopyInto(out *ArgoCDNotifications) { 448 *out = *in 449 if in.Replicas != nil { 450 in, out := &in.Replicas, &out.Replicas 451 *out = new(int32) 452 **out = **in 453 } 454 if in.Env != nil { 455 in, out := &in.Env, &out.Env 456 *out = make([]v1.EnvVar, len(*in)) 457 for i := range *in { 458 (*in)[i].DeepCopyInto(&(*out)[i]) 459 } 460 } 461 if in.Resources != nil { 462 in, out := &in.Resources, &out.Resources 463 *out = new(v1.ResourceRequirements) 464 (*in).DeepCopyInto(*out) 465 } 466 } 467 468 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDNotifications. 469 func (in *ArgoCDNotifications) DeepCopy() *ArgoCDNotifications { 470 if in == nil { 471 return nil 472 } 473 out := new(ArgoCDNotifications) 474 in.DeepCopyInto(out) 475 return out 476 } 477 478 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 479 func (in *ArgoCDPrometheusSpec) DeepCopyInto(out *ArgoCDPrometheusSpec) { 480 *out = *in 481 in.Ingress.DeepCopyInto(&out.Ingress) 482 in.Route.DeepCopyInto(&out.Route) 483 if in.Size != nil { 484 in, out := &in.Size, &out.Size 485 *out = new(int32) 486 **out = **in 487 } 488 } 489 490 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDPrometheusSpec. 491 func (in *ArgoCDPrometheusSpec) DeepCopy() *ArgoCDPrometheusSpec { 492 if in == nil { 493 return nil 494 } 495 out := new(ArgoCDPrometheusSpec) 496 in.DeepCopyInto(out) 497 return out 498 } 499 500 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 501 func (in *ArgoCDRBACSpec) DeepCopyInto(out *ArgoCDRBACSpec) { 502 *out = *in 503 if in.DefaultPolicy != nil { 504 in, out := &in.DefaultPolicy, &out.DefaultPolicy 505 *out = new(string) 506 **out = **in 507 } 508 if in.Policy != nil { 509 in, out := &in.Policy, &out.Policy 510 *out = new(string) 511 **out = **in 512 } 513 if in.Scopes != nil { 514 in, out := &in.Scopes, &out.Scopes 515 *out = new(string) 516 **out = **in 517 } 518 if in.PolicyMatcherMode != nil { 519 in, out := &in.PolicyMatcherMode, &out.PolicyMatcherMode 520 *out = new(string) 521 **out = **in 522 } 523 } 524 525 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDRBACSpec. 526 func (in *ArgoCDRBACSpec) DeepCopy() *ArgoCDRBACSpec { 527 if in == nil { 528 return nil 529 } 530 out := new(ArgoCDRBACSpec) 531 in.DeepCopyInto(out) 532 return out 533 } 534 535 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 536 func (in *ArgoCDRedisSpec) DeepCopyInto(out *ArgoCDRedisSpec) { 537 *out = *in 538 if in.Resources != nil { 539 in, out := &in.Resources, &out.Resources 540 *out = new(v1.ResourceRequirements) 541 (*in).DeepCopyInto(*out) 542 } 543 if in.Enabled != nil { 544 in, out := &in.Enabled, &out.Enabled 545 *out = new(bool) 546 **out = **in 547 } 548 if in.Remote != nil { 549 in, out := &in.Remote, &out.Remote 550 *out = new(string) 551 **out = **in 552 } 553 } 554 555 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDRedisSpec. 556 func (in *ArgoCDRedisSpec) DeepCopy() *ArgoCDRedisSpec { 557 if in == nil { 558 return nil 559 } 560 out := new(ArgoCDRedisSpec) 561 in.DeepCopyInto(out) 562 return out 563 } 564 565 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 566 func (in *ArgoCDRepoSpec) DeepCopyInto(out *ArgoCDRepoSpec) { 567 *out = *in 568 if in.ExtraRepoCommandArgs != nil { 569 in, out := &in.ExtraRepoCommandArgs, &out.ExtraRepoCommandArgs 570 *out = make([]string, len(*in)) 571 copy(*out, *in) 572 } 573 if in.Replicas != nil { 574 in, out := &in.Replicas, &out.Replicas 575 *out = new(int32) 576 **out = **in 577 } 578 if in.Resources != nil { 579 in, out := &in.Resources, &out.Resources 580 *out = new(v1.ResourceRequirements) 581 (*in).DeepCopyInto(*out) 582 } 583 if in.ExecTimeout != nil { 584 in, out := &in.ExecTimeout, &out.ExecTimeout 585 *out = new(int) 586 **out = **in 587 } 588 if in.Env != nil { 589 in, out := &in.Env, &out.Env 590 *out = make([]v1.EnvVar, len(*in)) 591 for i := range *in { 592 (*in)[i].DeepCopyInto(&(*out)[i]) 593 } 594 } 595 if in.Volumes != nil { 596 in, out := &in.Volumes, &out.Volumes 597 *out = make([]v1.Volume, len(*in)) 598 for i := range *in { 599 (*in)[i].DeepCopyInto(&(*out)[i]) 600 } 601 } 602 if in.VolumeMounts != nil { 603 in, out := &in.VolumeMounts, &out.VolumeMounts 604 *out = make([]v1.VolumeMount, len(*in)) 605 for i := range *in { 606 (*in)[i].DeepCopyInto(&(*out)[i]) 607 } 608 } 609 if in.InitContainers != nil { 610 in, out := &in.InitContainers, &out.InitContainers 611 *out = make([]v1.Container, len(*in)) 612 for i := range *in { 613 (*in)[i].DeepCopyInto(&(*out)[i]) 614 } 615 } 616 if in.SidecarContainers != nil { 617 in, out := &in.SidecarContainers, &out.SidecarContainers 618 *out = make([]v1.Container, len(*in)) 619 for i := range *in { 620 (*in)[i].DeepCopyInto(&(*out)[i]) 621 } 622 } 623 if in.Enabled != nil { 624 in, out := &in.Enabled, &out.Enabled 625 *out = new(bool) 626 **out = **in 627 } 628 if in.Remote != nil { 629 in, out := &in.Remote, &out.Remote 630 *out = new(string) 631 **out = **in 632 } 633 } 634 635 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDRepoSpec. 636 func (in *ArgoCDRepoSpec) DeepCopy() *ArgoCDRepoSpec { 637 if in == nil { 638 return nil 639 } 640 out := new(ArgoCDRepoSpec) 641 in.DeepCopyInto(out) 642 return out 643 } 644 645 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 646 func (in *ArgoCDRouteSpec) DeepCopyInto(out *ArgoCDRouteSpec) { 647 *out = *in 648 if in.Annotations != nil { 649 in, out := &in.Annotations, &out.Annotations 650 *out = make(map[string]string, len(*in)) 651 for key, val := range *in { 652 (*out)[key] = val 653 } 654 } 655 if in.Labels != nil { 656 in, out := &in.Labels, &out.Labels 657 *out = make(map[string]string, len(*in)) 658 for key, val := range *in { 659 (*out)[key] = val 660 } 661 } 662 if in.TLS != nil { 663 in, out := &in.TLS, &out.TLS 664 *out = new(routev1.TLSConfig) 665 **out = **in 666 } 667 if in.WildcardPolicy != nil { 668 in, out := &in.WildcardPolicy, &out.WildcardPolicy 669 *out = new(routev1.WildcardPolicyType) 670 **out = **in 671 } 672 } 673 674 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDRouteSpec. 675 func (in *ArgoCDRouteSpec) DeepCopy() *ArgoCDRouteSpec { 676 if in == nil { 677 return nil 678 } 679 out := new(ArgoCDRouteSpec) 680 in.DeepCopyInto(out) 681 return out 682 } 683 684 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 685 func (in *ArgoCDSSOSpec) DeepCopyInto(out *ArgoCDSSOSpec) { 686 *out = *in 687 if in.Dex != nil { 688 in, out := &in.Dex, &out.Dex 689 *out = new(ArgoCDDexSpec) 690 (*in).DeepCopyInto(*out) 691 } 692 if in.Keycloak != nil { 693 in, out := &in.Keycloak, &out.Keycloak 694 *out = new(ArgoCDKeycloakSpec) 695 (*in).DeepCopyInto(*out) 696 } 697 } 698 699 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDSSOSpec. 700 func (in *ArgoCDSSOSpec) DeepCopy() *ArgoCDSSOSpec { 701 if in == nil { 702 return nil 703 } 704 out := new(ArgoCDSSOSpec) 705 in.DeepCopyInto(out) 706 return out 707 } 708 709 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 710 func (in *ArgoCDServerAutoscaleSpec) DeepCopyInto(out *ArgoCDServerAutoscaleSpec) { 711 *out = *in 712 if in.HPA != nil { 713 in, out := &in.HPA, &out.HPA 714 *out = new(autoscalingv1.HorizontalPodAutoscalerSpec) 715 (*in).DeepCopyInto(*out) 716 } 717 } 718 719 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDServerAutoscaleSpec. 720 func (in *ArgoCDServerAutoscaleSpec) DeepCopy() *ArgoCDServerAutoscaleSpec { 721 if in == nil { 722 return nil 723 } 724 out := new(ArgoCDServerAutoscaleSpec) 725 in.DeepCopyInto(out) 726 return out 727 } 728 729 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 730 func (in *ArgoCDServerGRPCSpec) DeepCopyInto(out *ArgoCDServerGRPCSpec) { 731 *out = *in 732 in.Ingress.DeepCopyInto(&out.Ingress) 733 } 734 735 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDServerGRPCSpec. 736 func (in *ArgoCDServerGRPCSpec) DeepCopy() *ArgoCDServerGRPCSpec { 737 if in == nil { 738 return nil 739 } 740 out := new(ArgoCDServerGRPCSpec) 741 in.DeepCopyInto(out) 742 return out 743 } 744 745 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 746 func (in *ArgoCDServerServiceSpec) DeepCopyInto(out *ArgoCDServerServiceSpec) { 747 *out = *in 748 } 749 750 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDServerServiceSpec. 751 func (in *ArgoCDServerServiceSpec) DeepCopy() *ArgoCDServerServiceSpec { 752 if in == nil { 753 return nil 754 } 755 out := new(ArgoCDServerServiceSpec) 756 in.DeepCopyInto(out) 757 return out 758 } 759 760 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 761 func (in *ArgoCDServerSpec) DeepCopyInto(out *ArgoCDServerSpec) { 762 *out = *in 763 in.Autoscale.DeepCopyInto(&out.Autoscale) 764 in.GRPC.DeepCopyInto(&out.GRPC) 765 in.Ingress.DeepCopyInto(&out.Ingress) 766 if in.Replicas != nil { 767 in, out := &in.Replicas, &out.Replicas 768 *out = new(int32) 769 **out = **in 770 } 771 if in.Resources != nil { 772 in, out := &in.Resources, &out.Resources 773 *out = new(v1.ResourceRequirements) 774 (*in).DeepCopyInto(*out) 775 } 776 in.Route.DeepCopyInto(&out.Route) 777 out.Service = in.Service 778 if in.Env != nil { 779 in, out := &in.Env, &out.Env 780 *out = make([]v1.EnvVar, len(*in)) 781 for i := range *in { 782 (*in)[i].DeepCopyInto(&(*out)[i]) 783 } 784 } 785 if in.ExtraCommandArgs != nil { 786 in, out := &in.ExtraCommandArgs, &out.ExtraCommandArgs 787 *out = make([]string, len(*in)) 788 copy(*out, *in) 789 } 790 if in.Enabled != nil { 791 in, out := &in.Enabled, &out.Enabled 792 *out = new(bool) 793 **out = **in 794 } 795 } 796 797 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDServerSpec. 798 func (in *ArgoCDServerSpec) DeepCopy() *ArgoCDServerSpec { 799 if in == nil { 800 return nil 801 } 802 out := new(ArgoCDServerSpec) 803 in.DeepCopyInto(out) 804 return out 805 } 806 807 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 808 func (in *ArgoCDSpec) DeepCopyInto(out *ArgoCDSpec) { 809 *out = *in 810 if in.ApplicationSet != nil { 811 in, out := &in.ApplicationSet, &out.ApplicationSet 812 *out = new(ArgoCDApplicationSet) 813 (*in).DeepCopyInto(*out) 814 } 815 in.Controller.DeepCopyInto(&out.Controller) 816 if in.ExtraConfig != nil { 817 in, out := &in.ExtraConfig, &out.ExtraConfig 818 *out = make(map[string]string, len(*in)) 819 for key, val := range *in { 820 (*out)[key] = val 821 } 822 } 823 in.Grafana.DeepCopyInto(&out.Grafana) 824 in.HA.DeepCopyInto(&out.HA) 825 if in.Import != nil { 826 in, out := &in.Import, &out.Import 827 *out = new(ArgoCDImportSpec) 828 (*in).DeepCopyInto(*out) 829 } 830 out.InitialSSHKnownHosts = in.InitialSSHKnownHosts 831 if in.KustomizeVersions != nil { 832 in, out := &in.KustomizeVersions, &out.KustomizeVersions 833 *out = make([]KustomizeVersionSpec, len(*in)) 834 copy(*out, *in) 835 } 836 out.Monitoring = in.Monitoring 837 if in.NodePlacement != nil { 838 in, out := &in.NodePlacement, &out.NodePlacement 839 *out = new(ArgoCDNodePlacementSpec) 840 (*in).DeepCopyInto(*out) 841 } 842 in.Notifications.DeepCopyInto(&out.Notifications) 843 in.Prometheus.DeepCopyInto(&out.Prometheus) 844 in.RBAC.DeepCopyInto(&out.RBAC) 845 in.Redis.DeepCopyInto(&out.Redis) 846 in.Repo.DeepCopyInto(&out.Repo) 847 if in.ResourceHealthChecks != nil { 848 in, out := &in.ResourceHealthChecks, &out.ResourceHealthChecks 849 *out = make([]ResourceHealthCheck, len(*in)) 850 copy(*out, *in) 851 } 852 if in.ResourceIgnoreDifferences != nil { 853 in, out := &in.ResourceIgnoreDifferences, &out.ResourceIgnoreDifferences 854 *out = new(ResourceIgnoreDifference) 855 (*in).DeepCopyInto(*out) 856 } 857 if in.ResourceActions != nil { 858 in, out := &in.ResourceActions, &out.ResourceActions 859 *out = make([]ResourceAction, len(*in)) 860 copy(*out, *in) 861 } 862 in.Server.DeepCopyInto(&out.Server) 863 if in.SourceNamespaces != nil { 864 in, out := &in.SourceNamespaces, &out.SourceNamespaces 865 *out = make([]string, len(*in)) 866 copy(*out, *in) 867 } 868 if in.SSO != nil { 869 in, out := &in.SSO, &out.SSO 870 *out = new(ArgoCDSSOSpec) 871 (*in).DeepCopyInto(*out) 872 } 873 in.TLS.DeepCopyInto(&out.TLS) 874 if in.Banner != nil { 875 in, out := &in.Banner, &out.Banner 876 *out = new(Banner) 877 **out = **in 878 } 879 } 880 881 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDSpec. 882 func (in *ArgoCDSpec) DeepCopy() *ArgoCDSpec { 883 if in == nil { 884 return nil 885 } 886 out := new(ArgoCDSpec) 887 in.DeepCopyInto(out) 888 return out 889 } 890 891 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 892 func (in *ArgoCDStatus) DeepCopyInto(out *ArgoCDStatus) { 893 *out = *in 894 } 895 896 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDStatus. 897 func (in *ArgoCDStatus) DeepCopy() *ArgoCDStatus { 898 if in == nil { 899 return nil 900 } 901 out := new(ArgoCDStatus) 902 in.DeepCopyInto(out) 903 return out 904 } 905 906 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 907 func (in *ArgoCDTLSSpec) DeepCopyInto(out *ArgoCDTLSSpec) { 908 *out = *in 909 out.CA = in.CA 910 if in.InitialCerts != nil { 911 in, out := &in.InitialCerts, &out.InitialCerts 912 *out = make(map[string]string, len(*in)) 913 for key, val := range *in { 914 (*out)[key] = val 915 } 916 } 917 } 918 919 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDTLSSpec. 920 func (in *ArgoCDTLSSpec) DeepCopy() *ArgoCDTLSSpec { 921 if in == nil { 922 return nil 923 } 924 out := new(ArgoCDTLSSpec) 925 in.DeepCopyInto(out) 926 return out 927 } 928 929 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 930 func (in *Banner) DeepCopyInto(out *Banner) { 931 *out = *in 932 } 933 934 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Banner. 935 func (in *Banner) DeepCopy() *Banner { 936 if in == nil { 937 return nil 938 } 939 out := new(Banner) 940 in.DeepCopyInto(out) 941 return out 942 } 943 944 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 945 func (in *IgnoreDifferenceCustomization) DeepCopyInto(out *IgnoreDifferenceCustomization) { 946 *out = *in 947 if in.JqPathExpressions != nil { 948 in, out := &in.JqPathExpressions, &out.JqPathExpressions 949 *out = make([]string, len(*in)) 950 copy(*out, *in) 951 } 952 if in.JsonPointers != nil { 953 in, out := &in.JsonPointers, &out.JsonPointers 954 *out = make([]string, len(*in)) 955 copy(*out, *in) 956 } 957 if in.ManagedFieldsManagers != nil { 958 in, out := &in.ManagedFieldsManagers, &out.ManagedFieldsManagers 959 *out = make([]string, len(*in)) 960 copy(*out, *in) 961 } 962 } 963 964 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IgnoreDifferenceCustomization. 965 func (in *IgnoreDifferenceCustomization) DeepCopy() *IgnoreDifferenceCustomization { 966 if in == nil { 967 return nil 968 } 969 out := new(IgnoreDifferenceCustomization) 970 in.DeepCopyInto(out) 971 return out 972 } 973 974 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 975 func (in *KustomizeVersionSpec) DeepCopyInto(out *KustomizeVersionSpec) { 976 *out = *in 977 } 978 979 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KustomizeVersionSpec. 980 func (in *KustomizeVersionSpec) DeepCopy() *KustomizeVersionSpec { 981 if in == nil { 982 return nil 983 } 984 out := new(KustomizeVersionSpec) 985 in.DeepCopyInto(out) 986 return out 987 } 988 989 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 990 func (in *ResourceAction) DeepCopyInto(out *ResourceAction) { 991 *out = *in 992 } 993 994 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceAction. 995 func (in *ResourceAction) DeepCopy() *ResourceAction { 996 if in == nil { 997 return nil 998 } 999 out := new(ResourceAction) 1000 in.DeepCopyInto(out) 1001 return out 1002 } 1003 1004 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1005 func (in *ResourceHealthCheck) DeepCopyInto(out *ResourceHealthCheck) { 1006 *out = *in 1007 } 1008 1009 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceHealthCheck. 1010 func (in *ResourceHealthCheck) DeepCopy() *ResourceHealthCheck { 1011 if in == nil { 1012 return nil 1013 } 1014 out := new(ResourceHealthCheck) 1015 in.DeepCopyInto(out) 1016 return out 1017 } 1018 1019 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1020 func (in *ResourceIdentifiers) DeepCopyInto(out *ResourceIdentifiers) { 1021 *out = *in 1022 in.Customization.DeepCopyInto(&out.Customization) 1023 } 1024 1025 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceIdentifiers. 1026 func (in *ResourceIdentifiers) DeepCopy() *ResourceIdentifiers { 1027 if in == nil { 1028 return nil 1029 } 1030 out := new(ResourceIdentifiers) 1031 in.DeepCopyInto(out) 1032 return out 1033 } 1034 1035 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1036 func (in *ResourceIgnoreDifference) DeepCopyInto(out *ResourceIgnoreDifference) { 1037 *out = *in 1038 if in.All != nil { 1039 in, out := &in.All, &out.All 1040 *out = new(IgnoreDifferenceCustomization) 1041 (*in).DeepCopyInto(*out) 1042 } 1043 if in.ResourceIdentifiers != nil { 1044 in, out := &in.ResourceIdentifiers, &out.ResourceIdentifiers 1045 *out = make([]ResourceIdentifiers, len(*in)) 1046 for i := range *in { 1047 (*in)[i].DeepCopyInto(&(*out)[i]) 1048 } 1049 } 1050 } 1051 1052 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceIgnoreDifference. 1053 func (in *ResourceIgnoreDifference) DeepCopy() *ResourceIgnoreDifference { 1054 if in == nil { 1055 return nil 1056 } 1057 out := new(ResourceIgnoreDifference) 1058 in.DeepCopyInto(out) 1059 return out 1060 } 1061 1062 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1063 func (in *SSHHostsSpec) DeepCopyInto(out *SSHHostsSpec) { 1064 *out = *in 1065 } 1066 1067 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSHHostsSpec. 1068 func (in *SSHHostsSpec) DeepCopy() *SSHHostsSpec { 1069 if in == nil { 1070 return nil 1071 } 1072 out := new(SSHHostsSpec) 1073 in.DeepCopyInto(out) 1074 return out 1075 } 1076 1077 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1078 func (in *WebhookServerSpec) DeepCopyInto(out *WebhookServerSpec) { 1079 *out = *in 1080 in.Ingress.DeepCopyInto(&out.Ingress) 1081 in.Route.DeepCopyInto(&out.Route) 1082 } 1083 1084 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookServerSpec. 1085 func (in *WebhookServerSpec) DeepCopy() *WebhookServerSpec { 1086 if in == nil { 1087 return nil 1088 } 1089 out := new(WebhookServerSpec) 1090 in.DeepCopyInto(out) 1091 return out 1092 }