//go:build !ignore_autogenerated // +build !ignore_autogenerated /* Copyright 2023 Alibaba Group Holding Limited. 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 common import ( "k8s.io/api/core/v1" ) // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ConfigMapValueSource) DeepCopyInto(out *ConfigMapValueSource) { *out = *in out.LocalObjectReference = in.LocalObjectReference } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapValueSource. func (in *ConfigMapValueSource) DeepCopy() *ConfigMapValueSource { if in == nil { return nil } out := new(ConfigMapValueSource) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ExtendedResourceRequirements) DeepCopyInto(out *ExtendedResourceRequirements) { *out = *in in.ResourceRequirements.DeepCopyInto(&out.ResourceRequirements) if in.LimitsIO != nil { in, out := &in.LimitsIO, &out.LimitsIO *out = make(v1.ResourceList, len(*in)) for key, val := range *in { (*out)[key] = val.DeepCopy() } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtendedResourceRequirements. func (in *ExtendedResourceRequirements) DeepCopy() *ExtendedResourceRequirements { if in == nil { return nil } out := new(ExtendedResourceRequirements) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *PartialObjectMeta) DeepCopyInto(out *PartialObjectMeta) { *out = *in 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 } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PartialObjectMeta. func (in *PartialObjectMeta) DeepCopy() *PartialObjectMeta { if in == nil { return nil } out := new(PartialObjectMeta) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Value) DeepCopyInto(out *Value) { *out = *in if in.Value != nil { in, out := &in.Value, &out.Value *out = new(string) **out = **in } if in.ValueFrom != nil { in, out := &in.ValueFrom, &out.ValueFrom *out = new(ValueFrom) (*in).DeepCopyInto(*out) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Value. func (in *Value) DeepCopy() *Value { if in == nil { return nil } out := new(Value) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ValueFrom) DeepCopyInto(out *ValueFrom) { *out = *in if in.ConfigMap != nil { in, out := &in.ConfigMap, &out.ConfigMap *out = new(ConfigMapValueSource) **out = **in } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValueFrom. func (in *ValueFrom) DeepCopy() *ValueFrom { if in == nil { return nil } out := new(ValueFrom) in.DeepCopyInto(out) return out }