pkg/apis/kibana/v1/zz_generated.deepcopy.go (169 lines of code) (raw):

//go:build !ignore_autogenerated // Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one // or more contributor license agreements. Licensed under the Elastic License 2.0; // you may not use this file except in compliance with the Elastic License 2.0. // Code generated by controller-gen. DO NOT EDIT. package v1 import ( commonv1 "github.com/elastic/cloud-on-k8s/v3/pkg/apis/common/v1" "k8s.io/apimachinery/pkg/runtime" ) // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *KbMonitoringAssociation) DeepCopyInto(out *KbMonitoringAssociation) { *out = *in if in.Kibana != nil { in, out := &in.Kibana, &out.Kibana *out = new(Kibana) (*in).DeepCopyInto(*out) } out.ref = in.ref } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KbMonitoringAssociation. func (in *KbMonitoringAssociation) DeepCopy() *KbMonitoringAssociation { if in == nil { return nil } out := new(KbMonitoringAssociation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Kibana) DeepCopyInto(out *Kibana) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) in.Spec.DeepCopyInto(&out.Spec) in.Status.DeepCopyInto(&out.Status) if in.assocConf != nil { in, out := &in.assocConf, &out.assocConf *out = new(commonv1.AssociationConf) **out = **in } if in.entAssocConf != nil { in, out := &in.entAssocConf, &out.entAssocConf *out = new(commonv1.AssociationConf) **out = **in } if in.monitoringAssocConfs != nil { in, out := &in.monitoringAssocConfs, &out.monitoringAssocConfs *out = make(map[commonv1.ObjectSelector]commonv1.AssociationConf, len(*in)) for key, val := range *in { (*out)[key] = val } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kibana. func (in *Kibana) DeepCopy() *Kibana { if in == nil { return nil } out := new(Kibana) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *Kibana) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } return nil } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *KibanaEntAssociation) DeepCopyInto(out *KibanaEntAssociation) { *out = *in if in.Kibana != nil { in, out := &in.Kibana, &out.Kibana *out = new(Kibana) (*in).DeepCopyInto(*out) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KibanaEntAssociation. func (in *KibanaEntAssociation) DeepCopy() *KibanaEntAssociation { if in == nil { return nil } out := new(KibanaEntAssociation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *KibanaEsAssociation) DeepCopyInto(out *KibanaEsAssociation) { *out = *in if in.Kibana != nil { in, out := &in.Kibana, &out.Kibana *out = new(Kibana) (*in).DeepCopyInto(*out) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KibanaEsAssociation. func (in *KibanaEsAssociation) DeepCopy() *KibanaEsAssociation { if in == nil { return nil } out := new(KibanaEsAssociation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *KibanaList) DeepCopyInto(out *KibanaList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Kibana, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KibanaList. func (in *KibanaList) DeepCopy() *KibanaList { if in == nil { return nil } out := new(KibanaList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *KibanaList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } return nil } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *KibanaSpec) DeepCopyInto(out *KibanaSpec) { *out = *in out.ElasticsearchRef = in.ElasticsearchRef out.EnterpriseSearchRef = in.EnterpriseSearchRef if in.Config != nil { in, out := &in.Config, &out.Config *out = (*in).DeepCopy() } in.HTTP.DeepCopyInto(&out.HTTP) in.PodTemplate.DeepCopyInto(&out.PodTemplate) if in.RevisionHistoryLimit != nil { in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit *out = new(int32) **out = **in } if in.SecureSettings != nil { in, out := &in.SecureSettings, &out.SecureSettings *out = make([]commonv1.SecretSource, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } in.Monitoring.DeepCopyInto(&out.Monitoring) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KibanaSpec. func (in *KibanaSpec) DeepCopy() *KibanaSpec { if in == nil { return nil } out := new(KibanaSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *KibanaStatus) DeepCopyInto(out *KibanaStatus) { *out = *in out.DeploymentStatus = in.DeploymentStatus if in.MonitoringAssociationStatus != nil { in, out := &in.MonitoringAssociationStatus, &out.MonitoringAssociationStatus *out = make(commonv1.AssociationStatusMap, len(*in)) for key, val := range *in { (*out)[key] = val } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KibanaStatus. func (in *KibanaStatus) DeepCopy() *KibanaStatus { if in == nil { return nil } out := new(KibanaStatus) in.DeepCopyInto(out) return out }