api/disaggregated/v1/zz_generated.deepcopy.go (428 lines of code) (raw):

//go:build !ignore_autogenerated // Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use this file except in compliance // with the License. You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, // software distributed under the License is distributed on an // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY // KIND, either express or implied. See the License for the // specific language governing permissions and limitations // under the License. // Code generated by controller-gen. DO NOT EDIT. package v1 import ( corev1 "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 *AdminUser) DeepCopyInto(out *AdminUser) { *out = *in } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdminUser. func (in *AdminUser) DeepCopy() *AdminUser { if in == nil { return nil } out := new(AdminUser) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ClusterHealth) DeepCopyInto(out *ClusterHealth) { *out = *in } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterHealth. func (in *ClusterHealth) DeepCopy() *ClusterHealth { if in == nil { return nil } out := new(ClusterHealth) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *CommonSpec) DeepCopyInto(out *CommonSpec) { *out = *in if in.Replicas != nil { in, out := &in.Replicas, &out.Replicas *out = new(int32) **out = **in } if in.ImagePullSecrets != nil { in, out := &in.ImagePullSecrets, &out.ImagePullSecrets *out = make([]corev1.LocalObjectReference, len(*in)) copy(*out, *in) } in.ResourceRequirements.DeepCopyInto(&out.ResourceRequirements) if in.Labels != nil { in, out := &in.Labels, &out.Labels *out = make(map[string]string, len(*in)) for key, val := range *in { (*out)[key] = val } } if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations *out = make(map[string]string, len(*in)) for key, val := range *in { (*out)[key] = val } } if in.Affinity != nil { in, out := &in.Affinity, &out.Affinity *out = new(corev1.Affinity) (*in).DeepCopyInto(*out) } if in.PersistentVolume != nil { in, out := &in.PersistentVolume, &out.PersistentVolume *out = new(PersistentVolume) (*in).DeepCopyInto(*out) } if in.PersistentVolumes != nil { in, out := &in.PersistentVolumes, &out.PersistentVolumes *out = make([]PersistentVolume, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.Tolerations != nil { in, out := &in.Tolerations, &out.Tolerations *out = make([]corev1.Toleration, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.Service != nil { in, out := &in.Service, &out.Service *out = new(ExportService) (*in).DeepCopyInto(*out) } if in.ConfigMaps != nil { in, out := &in.ConfigMaps, &out.ConfigMaps *out = make([]ConfigMap, len(*in)) copy(*out, *in) } if in.NodeSelector != nil { in, out := &in.NodeSelector, &out.NodeSelector *out = make(map[string]string, len(*in)) for key, val := range *in { (*out)[key] = val } } if in.HostAliases != nil { in, out := &in.HostAliases, &out.HostAliases *out = make([]corev1.HostAlias, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.SecurityContext != nil { in, out := &in.SecurityContext, &out.SecurityContext *out = new(corev1.PodSecurityContext) (*in).DeepCopyInto(*out) } if in.ContainerSecurityContext != nil { in, out := &in.ContainerSecurityContext, &out.ContainerSecurityContext *out = new(corev1.SecurityContext) (*in).DeepCopyInto(*out) } if in.EnvVars != nil { in, out := &in.EnvVars, &out.EnvVars *out = make([]corev1.EnvVar, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.SystemInitialization != nil { in, out := &in.SystemInitialization, &out.SystemInitialization *out = new(SystemInitialization) (*in).DeepCopyInto(*out) } if in.Secrets != nil { in, out := &in.Secrets, &out.Secrets *out = make([]Secret, len(*in)) copy(*out, *in) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonSpec. func (in *CommonSpec) DeepCopy() *CommonSpec { if in == nil { return nil } out := new(CommonSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ComputeGroup) DeepCopyInto(out *ComputeGroup) { *out = *in in.CommonSpec.DeepCopyInto(&out.CommonSpec) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputeGroup. func (in *ComputeGroup) DeepCopy() *ComputeGroup { if in == nil { return nil } out := new(ComputeGroup) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ComputeGroupStatus) DeepCopyInto(out *ComputeGroupStatus) { *out = *in } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputeGroupStatus. func (in *ComputeGroupStatus) DeepCopy() *ComputeGroupStatus { if in == nil { return nil } out := new(ComputeGroupStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ConfigMap) DeepCopyInto(out *ConfigMap) { *out = *in } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMap. func (in *ConfigMap) DeepCopy() *ConfigMap { if in == nil { return nil } out := new(ConfigMap) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *DorisDisaggregatedCluster) DeepCopyInto(out *DorisDisaggregatedCluster) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) in.Spec.DeepCopyInto(&out.Spec) in.Status.DeepCopyInto(&out.Status) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DorisDisaggregatedCluster. func (in *DorisDisaggregatedCluster) DeepCopy() *DorisDisaggregatedCluster { if in == nil { return nil } out := new(DorisDisaggregatedCluster) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *DorisDisaggregatedCluster) 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 *DorisDisaggregatedClusterList) DeepCopyInto(out *DorisDisaggregatedClusterList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]DorisDisaggregatedCluster, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DorisDisaggregatedClusterList. func (in *DorisDisaggregatedClusterList) DeepCopy() *DorisDisaggregatedClusterList { if in == nil { return nil } out := new(DorisDisaggregatedClusterList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *DorisDisaggregatedClusterList) 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 *DorisDisaggregatedClusterSpec) DeepCopyInto(out *DorisDisaggregatedClusterSpec) { *out = *in in.MetaService.DeepCopyInto(&out.MetaService) in.FeSpec.DeepCopyInto(&out.FeSpec) if in.ComputeGroups != nil { in, out := &in.ComputeGroups, &out.ComputeGroups *out = make([]ComputeGroup, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.AdminUser != nil { in, out := &in.AdminUser, &out.AdminUser *out = new(AdminUser) **out = **in } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DorisDisaggregatedClusterSpec. func (in *DorisDisaggregatedClusterSpec) DeepCopy() *DorisDisaggregatedClusterSpec { if in == nil { return nil } out := new(DorisDisaggregatedClusterSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *DorisDisaggregatedClusterStatus) DeepCopyInto(out *DorisDisaggregatedClusterStatus) { *out = *in out.MetaServiceStatus = in.MetaServiceStatus out.FEStatus = in.FEStatus out.ClusterHealth = in.ClusterHealth if in.ComputeGroupStatuses != nil { in, out := &in.ComputeGroupStatuses, &out.ComputeGroupStatuses *out = make([]ComputeGroupStatus, len(*in)) copy(*out, *in) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DorisDisaggregatedClusterStatus. func (in *DorisDisaggregatedClusterStatus) DeepCopy() *DorisDisaggregatedClusterStatus { if in == nil { return nil } out := new(DorisDisaggregatedClusterStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ExportService) DeepCopyInto(out *ExportService) { *out = *in if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations *out = make(map[string]string, len(*in)) for key, val := range *in { (*out)[key] = val } } if in.PortMaps != nil { in, out := &in.PortMaps, &out.PortMaps *out = make([]PortMap, len(*in)) copy(*out, *in) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExportService. func (in *ExportService) DeepCopy() *ExportService { if in == nil { return nil } out := new(ExportService) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *FDB) DeepCopyInto(out *FDB) { *out = *in out.ConfigMapNamespaceName = in.ConfigMapNamespaceName } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FDB. func (in *FDB) DeepCopy() *FDB { if in == nil { return nil } out := new(FDB) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *FEStatus) DeepCopyInto(out *FEStatus) { *out = *in } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FEStatus. func (in *FEStatus) DeepCopy() *FEStatus { if in == nil { return nil } out := new(FEStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *FeSpec) DeepCopyInto(out *FeSpec) { *out = *in if in.ElectionNumber != nil { in, out := &in.ElectionNumber, &out.ElectionNumber *out = new(int32) **out = **in } in.CommonSpec.DeepCopyInto(&out.CommonSpec) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeSpec. func (in *FeSpec) DeepCopy() *FeSpec { if in == nil { return nil } out := new(FeSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *MetaService) DeepCopyInto(out *MetaService) { *out = *in in.CommonSpec.DeepCopyInto(&out.CommonSpec) out.FDB = in.FDB } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetaService. func (in *MetaService) DeepCopy() *MetaService { if in == nil { return nil } out := new(MetaService) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *MetaServiceStatus) DeepCopyInto(out *MetaServiceStatus) { *out = *in } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetaServiceStatus. func (in *MetaServiceStatus) DeepCopy() *MetaServiceStatus { if in == nil { return nil } out := new(MetaServiceStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *NamespaceName) DeepCopyInto(out *NamespaceName) { *out = *in } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceName. func (in *NamespaceName) DeepCopy() *NamespaceName { if in == nil { return nil } out := new(NamespaceName) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *PersistentVolume) DeepCopyInto(out *PersistentVolume) { *out = *in in.PersistentVolumeClaimSpec.DeepCopyInto(&out.PersistentVolumeClaimSpec) if in.MountPaths != nil { in, out := &in.MountPaths, &out.MountPaths *out = make([]string, len(*in)) copy(*out, *in) } if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations *out = make(map[string]string, len(*in)) for key, val := range *in { (*out)[key] = val } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolume. func (in *PersistentVolume) DeepCopy() *PersistentVolume { if in == nil { return nil } out := new(PersistentVolume) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *PortMap) DeepCopyInto(out *PortMap) { *out = *in } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortMap. func (in *PortMap) DeepCopy() *PortMap { if in == nil { return nil } out := new(PortMap) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Secret) DeepCopyInto(out *Secret) { *out = *in } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Secret. func (in *Secret) DeepCopy() *Secret { if in == nil { return nil } out := new(Secret) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *SystemInitialization) DeepCopyInto(out *SystemInitialization) { *out = *in if in.Command != nil { in, out := &in.Command, &out.Command *out = make([]string, len(*in)) copy(*out, *in) } if in.Args != nil { in, out := &in.Args, &out.Args *out = make([]string, len(*in)) copy(*out, *in) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemInitialization. func (in *SystemInitialization) DeepCopy() *SystemInitialization { if in == nil { return nil } out := new(SystemInitialization) in.DeepCopyInto(out) return out }