github.com/verrazzano/verrazzano-monitoring-operator@v0.0.30/pkg/apis/vmcontroller/v1/zz_generated.deepcopy.go (about) 1 //go:build !ignore_autogenerated 2 // +build !ignore_autogenerated 3 4 // Copyright (c) 2020, 2022, Oracle and/or its affiliates. 5 // Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. 6 7 // Code generated by deepcopy-gen. DO NOT EDIT. 8 9 package v1 10 11 import ( 12 corev1 "k8s.io/api/core/v1" 13 runtime "k8s.io/apimachinery/pkg/runtime" 14 ) 15 16 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 17 func (in *API) DeepCopyInto(out *API) { 18 *out = *in 19 return 20 } 21 22 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new API. 23 func (in *API) DeepCopy() *API { 24 if in == nil { 25 return nil 26 } 27 out := new(API) 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 *AlertManager) DeepCopyInto(out *AlertManager) { 34 *out = *in 35 out.Resources = in.Resources 36 return 37 } 38 39 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertManager. 40 func (in *AlertManager) DeepCopy() *AlertManager { 41 if in == nil { 42 return nil 43 } 44 out := new(AlertManager) 45 in.DeepCopyInto(out) 46 return out 47 } 48 49 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 50 func (in *ContainerConfig) DeepCopyInto(out *ContainerConfig) { 51 *out = *in 52 if in.Args != nil { 53 in, out := &in.Args, &out.Args 54 *out = make([]string, len(*in)) 55 copy(*out, *in) 56 } 57 if in.EnvFrom != nil { 58 in, out := &in.EnvFrom, &out.EnvFrom 59 *out = make([]corev1.EnvFromSource, len(*in)) 60 for i := range *in { 61 (*in)[i].DeepCopyInto(&(*out)[i]) 62 } 63 } 64 if in.Env != nil { 65 in, out := &in.Env, &out.Env 66 *out = make([]corev1.EnvVar, len(*in)) 67 for i := range *in { 68 (*in)[i].DeepCopyInto(&(*out)[i]) 69 } 70 } 71 return 72 } 73 74 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerConfig. 75 func (in *ContainerConfig) DeepCopy() *ContainerConfig { 76 if in == nil { 77 return nil 78 } 79 out := new(ContainerConfig) 80 in.DeepCopyInto(out) 81 return out 82 } 83 84 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 85 func (in *ContainerSpec) DeepCopyInto(out *ContainerSpec) { 86 *out = *in 87 if in.ImagePullSecrets != nil { 88 in, out := &in.ImagePullSecrets, &out.ImagePullSecrets 89 *out = make([]corev1.LocalObjectReference, len(*in)) 90 copy(*out, *in) 91 } 92 if in.Args != nil { 93 in, out := &in.Args, &out.Args 94 *out = make([]string, len(*in)) 95 copy(*out, *in) 96 } 97 if in.EnvFrom != nil { 98 in, out := &in.EnvFrom, &out.EnvFrom 99 *out = make([]corev1.EnvFromSource, len(*in)) 100 for i := range *in { 101 (*in)[i].DeepCopyInto(&(*out)[i]) 102 } 103 } 104 if in.Env != nil { 105 in, out := &in.Env, &out.Env 106 *out = make([]corev1.EnvVar, len(*in)) 107 for i := range *in { 108 (*in)[i].DeepCopyInto(&(*out)[i]) 109 } 110 } 111 if in.Volumes != nil { 112 in, out := &in.Volumes, &out.Volumes 113 *out = make([]corev1.Volume, len(*in)) 114 for i := range *in { 115 (*in)[i].DeepCopyInto(&(*out)[i]) 116 } 117 } 118 if in.VolumeMounts != nil { 119 in, out := &in.VolumeMounts, &out.VolumeMounts 120 *out = make([]corev1.VolumeMount, len(*in)) 121 for i := range *in { 122 (*in)[i].DeepCopyInto(&(*out)[i]) 123 } 124 } 125 return 126 } 127 128 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerSpec. 129 func (in *ContainerSpec) DeepCopy() *ContainerSpec { 130 if in == nil { 131 return nil 132 } 133 out := new(ContainerSpec) 134 in.DeepCopyInto(out) 135 return out 136 } 137 138 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 139 func (in *Database) DeepCopyInto(out *Database) { 140 *out = *in 141 return 142 } 143 144 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Database. 145 func (in *Database) DeepCopy() *Database { 146 if in == nil { 147 return nil 148 } 149 out := new(Database) 150 in.DeepCopyInto(out) 151 return out 152 } 153 154 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 155 func (in *Elasticsearch) DeepCopyInto(out *Elasticsearch) { 156 *out = *in 157 in.Storage.DeepCopyInto(&out.Storage) 158 in.IngestNode.DeepCopyInto(&out.IngestNode) 159 in.MasterNode.DeepCopyInto(&out.MasterNode) 160 in.DataNode.DeepCopyInto(&out.DataNode) 161 if in.Policies != nil { 162 in, out := &in.Policies, &out.Policies 163 *out = make([]IndexManagementPolicy, len(*in)) 164 for i := range *in { 165 (*in)[i].DeepCopyInto(&(*out)[i]) 166 } 167 } 168 if in.Nodes != nil { 169 in, out := &in.Nodes, &out.Nodes 170 *out = make([]ElasticsearchNode, len(*in)) 171 for i := range *in { 172 (*in)[i].DeepCopyInto(&(*out)[i]) 173 } 174 } 175 in.Plugins.DeepCopyInto(&out.Plugins) 176 return 177 } 178 179 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Elasticsearch. 180 func (in *Elasticsearch) DeepCopy() *Elasticsearch { 181 if in == nil { 182 return nil 183 } 184 out := new(Elasticsearch) 185 in.DeepCopyInto(out) 186 return out 187 } 188 189 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 190 func (in *ElasticsearchNode) DeepCopyInto(out *ElasticsearchNode) { 191 *out = *in 192 out.Resources = in.Resources 193 if in.Storage != nil { 194 in, out := &in.Storage, &out.Storage 195 *out = new(Storage) 196 (*in).DeepCopyInto(*out) 197 } 198 if in.Roles != nil { 199 in, out := &in.Roles, &out.Roles 200 *out = make([]NodeRole, len(*in)) 201 copy(*out, *in) 202 } 203 return 204 } 205 206 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchNode. 207 func (in *ElasticsearchNode) DeepCopy() *ElasticsearchNode { 208 if in == nil { 209 return nil 210 } 211 out := new(ElasticsearchNode) 212 in.DeepCopyInto(out) 213 return out 214 } 215 216 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 217 func (in *Grafana) DeepCopyInto(out *Grafana) { 218 *out = *in 219 in.Storage.DeepCopyInto(&out.Storage) 220 out.Resources = in.Resources 221 if in.Database != nil { 222 in, out := &in.Database, &out.Database 223 *out = new(Database) 224 **out = **in 225 } 226 return 227 } 228 229 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Grafana. 230 func (in *Grafana) DeepCopy() *Grafana { 231 if in == nil { 232 return nil 233 } 234 out := new(Grafana) 235 in.DeepCopyInto(out) 236 return out 237 } 238 239 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 240 func (in *HTTPSpec) DeepCopyInto(out *HTTPSpec) { 241 *out = *in 242 return 243 } 244 245 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPSpec. 246 func (in *HTTPSpec) DeepCopy() *HTTPSpec { 247 if in == nil { 248 return nil 249 } 250 out := new(HTTPSpec) 251 in.DeepCopyInto(out) 252 return out 253 } 254 255 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 256 func (in *IndexManagementPolicy) DeepCopyInto(out *IndexManagementPolicy) { 257 *out = *in 258 if in.MinIndexAge != nil { 259 in, out := &in.MinIndexAge, &out.MinIndexAge 260 *out = new(string) 261 **out = **in 262 } 263 in.Rollover.DeepCopyInto(&out.Rollover) 264 return 265 } 266 267 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IndexManagementPolicy. 268 func (in *IndexManagementPolicy) DeepCopy() *IndexManagementPolicy { 269 if in == nil { 270 return nil 271 } 272 out := new(IndexManagementPolicy) 273 in.DeepCopyInto(out) 274 return out 275 } 276 277 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 278 func (in *Kibana) DeepCopyInto(out *Kibana) { 279 *out = *in 280 out.Resources = in.Resources 281 in.Plugins.DeepCopyInto(&out.Plugins) 282 return 283 } 284 285 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kibana. 286 func (in *Kibana) DeepCopy() *Kibana { 287 if in == nil { 288 return nil 289 } 290 out := new(Kibana) 291 in.DeepCopyInto(out) 292 return out 293 } 294 295 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 296 func (in *Metric) DeepCopyInto(out *Metric) { 297 *out = *in 298 if in.Labels != nil { 299 in, out := &in.Labels, &out.Labels 300 *out = make([]string, len(*in)) 301 copy(*out, *in) 302 } 303 if in.Percentiles != nil { 304 in, out := &in.Percentiles, &out.Percentiles 305 *out = make([]float64, len(*in)) 306 copy(*out, *in) 307 } 308 if in.Buckets != nil { 309 in, out := &in.Buckets, &out.Buckets 310 *out = make([]float64, len(*in)) 311 copy(*out, *in) 312 } 313 return 314 } 315 316 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Metric. 317 func (in *Metric) DeepCopy() *Metric { 318 if in == nil { 319 return nil 320 } 321 out := new(Metric) 322 in.DeepCopyInto(out) 323 return out 324 } 325 326 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 327 func (in *OpenSearchDashboardsPlugins) DeepCopyInto(out *OpenSearchDashboardsPlugins) { 328 *out = *in 329 if in.InstallList != nil { 330 in, out := &in.InstallList, &out.InstallList 331 *out = make([]string, len(*in)) 332 copy(*out, *in) 333 } 334 return 335 } 336 337 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenSearchDashboardsPlugins. 338 func (in *OpenSearchDashboardsPlugins) DeepCopy() *OpenSearchDashboardsPlugins { 339 if in == nil { 340 return nil 341 } 342 out := new(OpenSearchDashboardsPlugins) 343 in.DeepCopyInto(out) 344 return out 345 } 346 347 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 348 func (in *OpenSearchPlugins) DeepCopyInto(out *OpenSearchPlugins) { 349 *out = *in 350 if in.InstallList != nil { 351 in, out := &in.InstallList, &out.InstallList 352 *out = make([]string, len(*in)) 353 copy(*out, *in) 354 } 355 return 356 } 357 358 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenSearchPlugins. 359 func (in *OpenSearchPlugins) DeepCopy() *OpenSearchPlugins { 360 if in == nil { 361 return nil 362 } 363 out := new(OpenSearchPlugins) 364 in.DeepCopyInto(out) 365 return out 366 } 367 368 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 369 func (in *Prometheus) DeepCopyInto(out *Prometheus) { 370 *out = *in 371 in.Storage.DeepCopyInto(&out.Storage) 372 out.Resources = in.Resources 373 return 374 } 375 376 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Prometheus. 377 func (in *Prometheus) DeepCopy() *Prometheus { 378 if in == nil { 379 return nil 380 } 381 out := new(Prometheus) 382 in.DeepCopyInto(out) 383 return out 384 } 385 386 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 387 func (in *Resources) DeepCopyInto(out *Resources) { 388 *out = *in 389 return 390 } 391 392 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Resources. 393 func (in *Resources) DeepCopy() *Resources { 394 if in == nil { 395 return nil 396 } 397 out := new(Resources) 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 *RolloverPolicy) DeepCopyInto(out *RolloverPolicy) { 404 *out = *in 405 if in.MinIndexAge != nil { 406 in, out := &in.MinIndexAge, &out.MinIndexAge 407 *out = new(string) 408 **out = **in 409 } 410 if in.MinSize != nil { 411 in, out := &in.MinSize, &out.MinSize 412 *out = new(string) 413 **out = **in 414 } 415 if in.MinDocCount != nil { 416 in, out := &in.MinDocCount, &out.MinDocCount 417 *out = new(int) 418 **out = **in 419 } 420 return 421 } 422 423 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RolloverPolicy. 424 func (in *RolloverPolicy) DeepCopy() *RolloverPolicy { 425 if in == nil { 426 return nil 427 } 428 out := new(RolloverPolicy) 429 in.DeepCopyInto(out) 430 return out 431 } 432 433 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 434 func (in *ScriptConfig) DeepCopyInto(out *ScriptConfig) { 435 *out = *in 436 return 437 } 438 439 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScriptConfig. 440 func (in *ScriptConfig) DeepCopy() *ScriptConfig { 441 if in == nil { 442 return nil 443 } 444 out := new(ScriptConfig) 445 in.DeepCopyInto(out) 446 return out 447 } 448 449 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 450 func (in *ScriptSpec) DeepCopyInto(out *ScriptSpec) { 451 *out = *in 452 return 453 } 454 455 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScriptSpec. 456 func (in *ScriptSpec) DeepCopy() *ScriptSpec { 457 if in == nil { 458 return nil 459 } 460 out := new(ScriptSpec) 461 in.DeepCopyInto(out) 462 return out 463 } 464 465 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 466 func (in *Storage) DeepCopyInto(out *Storage) { 467 *out = *in 468 if in.PvcNames != nil { 469 in, out := &in.PvcNames, &out.PvcNames 470 *out = make([]string, len(*in)) 471 copy(*out, *in) 472 } 473 return 474 } 475 476 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Storage. 477 func (in *Storage) DeepCopy() *Storage { 478 if in == nil { 479 return nil 480 } 481 out := new(Storage) 482 in.DeepCopyInto(out) 483 return out 484 } 485 486 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 487 func (in *VerrazzanoMonitoringInstance) DeepCopyInto(out *VerrazzanoMonitoringInstance) { 488 *out = *in 489 out.TypeMeta = in.TypeMeta 490 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 491 in.Spec.DeepCopyInto(&out.Spec) 492 in.Status.DeepCopyInto(&out.Status) 493 return 494 } 495 496 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VerrazzanoMonitoringInstance. 497 func (in *VerrazzanoMonitoringInstance) DeepCopy() *VerrazzanoMonitoringInstance { 498 if in == nil { 499 return nil 500 } 501 out := new(VerrazzanoMonitoringInstance) 502 in.DeepCopyInto(out) 503 return out 504 } 505 506 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 507 func (in *VerrazzanoMonitoringInstance) DeepCopyObject() runtime.Object { 508 if c := in.DeepCopy(); c != nil { 509 return c 510 } 511 return nil 512 } 513 514 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 515 func (in *VerrazzanoMonitoringInstanceList) DeepCopyInto(out *VerrazzanoMonitoringInstanceList) { 516 *out = *in 517 out.TypeMeta = in.TypeMeta 518 in.ListMeta.DeepCopyInto(&out.ListMeta) 519 if in.Items != nil { 520 in, out := &in.Items, &out.Items 521 *out = make([]VerrazzanoMonitoringInstance, len(*in)) 522 for i := range *in { 523 (*in)[i].DeepCopyInto(&(*out)[i]) 524 } 525 } 526 return 527 } 528 529 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VerrazzanoMonitoringInstanceList. 530 func (in *VerrazzanoMonitoringInstanceList) DeepCopy() *VerrazzanoMonitoringInstanceList { 531 if in == nil { 532 return nil 533 } 534 out := new(VerrazzanoMonitoringInstanceList) 535 in.DeepCopyInto(out) 536 return out 537 } 538 539 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 540 func (in *VerrazzanoMonitoringInstanceList) DeepCopyObject() runtime.Object { 541 if c := in.DeepCopy(); c != nil { 542 return c 543 } 544 return nil 545 } 546 547 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 548 func (in *VerrazzanoMonitoringInstanceSpec) DeepCopyInto(out *VerrazzanoMonitoringInstanceSpec) { 549 *out = *in 550 out.Versioning = in.Versioning 551 if in.IngressClassName != nil { 552 in, out := &in.IngressClassName, &out.IngressClassName 553 *out = new(string) 554 **out = **in 555 } 556 in.Grafana.DeepCopyInto(&out.Grafana) 557 in.Prometheus.DeepCopyInto(&out.Prometheus) 558 out.AlertManager = in.AlertManager 559 in.Elasticsearch.DeepCopyInto(&out.Elasticsearch) 560 in.Kibana.DeepCopyInto(&out.Kibana) 561 out.API = in.API 562 if in.NatGatewayIPs != nil { 563 in, out := &in.NatGatewayIPs, &out.NatGatewayIPs 564 *out = make([]string, len(*in)) 565 copy(*out, *in) 566 } 567 if in.StorageClass != nil { 568 in, out := &in.StorageClass, &out.StorageClass 569 *out = new(string) 570 **out = **in 571 } 572 return 573 } 574 575 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VerrazzanoMonitoringInstanceSpec. 576 func (in *VerrazzanoMonitoringInstanceSpec) DeepCopy() *VerrazzanoMonitoringInstanceSpec { 577 if in == nil { 578 return nil 579 } 580 out := new(VerrazzanoMonitoringInstanceSpec) 581 in.DeepCopyInto(out) 582 return out 583 } 584 585 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 586 func (in *VerrazzanoMonitoringInstanceStatus) DeepCopyInto(out *VerrazzanoMonitoringInstanceStatus) { 587 *out = *in 588 if in.CreationTime != nil { 589 in, out := &in.CreationTime, &out.CreationTime 590 *out = (*in).DeepCopy() 591 } 592 return 593 } 594 595 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VerrazzanoMonitoringInstanceStatus. 596 func (in *VerrazzanoMonitoringInstanceStatus) DeepCopy() *VerrazzanoMonitoringInstanceStatus { 597 if in == nil { 598 return nil 599 } 600 out := new(VerrazzanoMonitoringInstanceStatus) 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 *Versioning) DeepCopyInto(out *Versioning) { 607 *out = *in 608 return 609 } 610 611 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Versioning. 612 func (in *Versioning) DeepCopy() *Versioning { 613 if in == nil { 614 return nil 615 } 616 out := new(Versioning) 617 in.DeepCopyInto(out) 618 return out 619 }