pkg/apis/elasticsearch/v1beta1/zz_generated.deepcopy.go (204 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 v1beta1 import ( commonv1beta1 "github.com/elastic/cloud-on-k8s/v3/pkg/apis/common/v1beta1" "k8s.io/api/core/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 *ChangeBudget) DeepCopyInto(out *ChangeBudget) { *out = *in if in.MaxUnavailable != nil { in, out := &in.MaxUnavailable, &out.MaxUnavailable *out = new(int32) **out = **in } if in.MaxSurge != nil { in, out := &in.MaxSurge, &out.MaxSurge *out = new(int32) **out = **in } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChangeBudget. func (in *ChangeBudget) DeepCopy() *ChangeBudget { if in == nil { return nil } out := new(ChangeBudget) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ClusterSettings) DeepCopyInto(out *ClusterSettings) { *out = *in if in.InitialMasterNodes != nil { in, out := &in.InitialMasterNodes, &out.InitialMasterNodes *out = make([]string, len(*in)) copy(*out, *in) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSettings. func (in *ClusterSettings) DeepCopy() *ClusterSettings { if in == nil { return nil } out := new(ClusterSettings) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Elasticsearch) DeepCopyInto(out *Elasticsearch) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) in.Spec.DeepCopyInto(&out.Spec) out.Status = in.Status } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Elasticsearch. func (in *Elasticsearch) DeepCopy() *Elasticsearch { if in == nil { return nil } out := new(Elasticsearch) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *Elasticsearch) 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 *ElasticsearchList) DeepCopyInto(out *ElasticsearchList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Elasticsearch, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchList. func (in *ElasticsearchList) DeepCopy() *ElasticsearchList { if in == nil { return nil } out := new(ElasticsearchList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *ElasticsearchList) 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 *ElasticsearchSettings) DeepCopyInto(out *ElasticsearchSettings) { *out = *in out.Node = in.Node in.Cluster.DeepCopyInto(&out.Cluster) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchSettings. func (in *ElasticsearchSettings) DeepCopy() *ElasticsearchSettings { if in == nil { return nil } out := new(ElasticsearchSettings) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ElasticsearchSpec) DeepCopyInto(out *ElasticsearchSpec) { *out = *in in.HTTP.DeepCopyInto(&out.HTTP) if in.NodeSets != nil { in, out := &in.NodeSets, &out.NodeSets *out = make([]NodeSet, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } in.UpdateStrategy.DeepCopyInto(&out.UpdateStrategy) if in.PodDisruptionBudget != nil { in, out := &in.PodDisruptionBudget, &out.PodDisruptionBudget *out = new(commonv1beta1.PodDisruptionBudgetTemplate) (*in).DeepCopyInto(*out) } if in.SecureSettings != nil { in, out := &in.SecureSettings, &out.SecureSettings *out = make([]commonv1beta1.SecretSource, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchSpec. func (in *ElasticsearchSpec) DeepCopy() *ElasticsearchSpec { if in == nil { return nil } out := new(ElasticsearchSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ElasticsearchStatus) DeepCopyInto(out *ElasticsearchStatus) { *out = *in out.ReconcilerStatus = in.ReconcilerStatus } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchStatus. func (in *ElasticsearchStatus) DeepCopy() *ElasticsearchStatus { if in == nil { return nil } out := new(ElasticsearchStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Node) DeepCopyInto(out *Node) { *out = *in } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Node. func (in *Node) DeepCopy() *Node { if in == nil { return nil } out := new(Node) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *NodeSet) DeepCopyInto(out *NodeSet) { *out = *in if in.Config != nil { in, out := &in.Config, &out.Config *out = (*in).DeepCopy() } in.PodTemplate.DeepCopyInto(&out.PodTemplate) if in.VolumeClaimTemplates != nil { in, out := &in.VolumeClaimTemplates, &out.VolumeClaimTemplates *out = make([]v1.PersistentVolumeClaim, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSet. func (in *NodeSet) DeepCopy() *NodeSet { if in == nil { return nil } out := new(NodeSet) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *UpdateStrategy) DeepCopyInto(out *UpdateStrategy) { *out = *in in.ChangeBudget.DeepCopyInto(&out.ChangeBudget) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpdateStrategy. func (in *UpdateStrategy) DeepCopy() *UpdateStrategy { if in == nil { return nil } out := new(UpdateStrategy) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ZenDiscoveryStatus) DeepCopyInto(out *ZenDiscoveryStatus) { *out = *in } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZenDiscoveryStatus. func (in *ZenDiscoveryStatus) DeepCopy() *ZenDiscoveryStatus { if in == nil { return nil } out := new(ZenDiscoveryStatus) in.DeepCopyInto(out) return out }