| //go:build !ignore_autogenerated |
| |
| /* |
| Copyright 2024. |
| |
| Licensed 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 ( |
| "k8s.io/apimachinery/pkg/runtime" |
| ) |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ConfigNode) DeepCopyInto(out *ConfigNode) { |
| *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 ConfigNode. |
| func (in *ConfigNode) DeepCopy() *ConfigNode { |
| if in == nil { |
| return nil |
| } |
| out := new(ConfigNode) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *ConfigNode) 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 *ConfigNodeList) DeepCopyInto(out *ConfigNodeList) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| in.ListMeta.DeepCopyInto(&out.ListMeta) |
| if in.Items != nil { |
| in, out := &in.Items, &out.Items |
| *out = make([]ConfigNode, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigNodeList. |
| func (in *ConfigNodeList) DeepCopy() *ConfigNodeList { |
| if in == nil { |
| return nil |
| } |
| out := new(ConfigNodeList) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *ConfigNodeList) 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 *ConfigNodeSpec) DeepCopyInto(out *ConfigNodeSpec) { |
| *out = *in |
| in.Resources.DeepCopyInto(&out.Resources) |
| if in.Envs != nil { |
| in, out := &in.Envs, &out.Envs |
| *out = make(map[string]string, len(*in)) |
| for key, val := range *in { |
| (*out)[key] = val |
| } |
| } |
| if in.Service != nil { |
| in, out := &in.Service, &out.Service |
| *out = new(ServiceSpec) |
| (*in).DeepCopyInto(*out) |
| } |
| in.VolumeClaimTemplate.DeepCopyInto(&out.VolumeClaimTemplate) |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigNodeSpec. |
| func (in *ConfigNodeSpec) DeepCopy() *ConfigNodeSpec { |
| if in == nil { |
| return nil |
| } |
| out := new(ConfigNodeSpec) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ConfigNodeStatus) DeepCopyInto(out *ConfigNodeStatus) { |
| *out = *in |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigNodeStatus. |
| func (in *ConfigNodeStatus) DeepCopy() *ConfigNodeStatus { |
| if in == nil { |
| return nil |
| } |
| out := new(ConfigNodeStatus) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *DataNode) DeepCopyInto(out *DataNode) { |
| *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 DataNode. |
| func (in *DataNode) DeepCopy() *DataNode { |
| if in == nil { |
| return nil |
| } |
| out := new(DataNode) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *DataNode) 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 *DataNodeList) DeepCopyInto(out *DataNodeList) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| in.ListMeta.DeepCopyInto(&out.ListMeta) |
| if in.Items != nil { |
| in, out := &in.Items, &out.Items |
| *out = make([]DataNode, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataNodeList. |
| func (in *DataNodeList) DeepCopy() *DataNodeList { |
| if in == nil { |
| return nil |
| } |
| out := new(DataNodeList) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *DataNodeList) 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 *DataNodeSpec) DeepCopyInto(out *DataNodeSpec) { |
| *out = *in |
| in.Resources.DeepCopyInto(&out.Resources) |
| if in.Envs != nil { |
| in, out := &in.Envs, &out.Envs |
| *out = make(map[string]string, len(*in)) |
| for key, val := range *in { |
| (*out)[key] = val |
| } |
| } |
| if in.Service != nil { |
| in, out := &in.Service, &out.Service |
| *out = new(ServiceSpec) |
| (*in).DeepCopyInto(*out) |
| } |
| in.VolumeClaimTemplate.DeepCopyInto(&out.VolumeClaimTemplate) |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataNodeSpec. |
| func (in *DataNodeSpec) DeepCopy() *DataNodeSpec { |
| if in == nil { |
| return nil |
| } |
| out := new(DataNodeSpec) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *DataNodeStatus) DeepCopyInto(out *DataNodeStatus) { |
| *out = *in |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataNodeStatus. |
| func (in *DataNodeStatus) DeepCopy() *DataNodeStatus { |
| if in == nil { |
| return nil |
| } |
| out := new(DataNodeStatus) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ServiceSpec) DeepCopyInto(out *ServiceSpec) { |
| *out = *in |
| if in.Ports != nil { |
| in, out := &in.Ports, &out.Ports |
| *out = make(map[string]int32, len(*in)) |
| for key, val := range *in { |
| (*out)[key] = val |
| } |
| } |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSpec. |
| func (in *ServiceSpec) DeepCopy() *ServiceSpec { |
| if in == nil { |
| return nil |
| } |
| out := new(ServiceSpec) |
| in.DeepCopyInto(out) |
| return out |
| } |