mirror of
https://github.com/rancher/types.git
synced 2025-09-26 04:38:17 +00:00
Update generated code
This commit is contained in:
@@ -4157,6 +4157,36 @@ func (in *LoggingTargets) DeepCopy() *LoggingTargets {
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *MapDelta) DeepCopyInto(out *MapDelta) {
|
||||
*out = *in
|
||||
if in.Add != nil {
|
||||
in, out := &in.Add, &out.Add
|
||||
*out = make(map[string]string, len(*in))
|
||||
for key, val := range *in {
|
||||
(*out)[key] = val
|
||||
}
|
||||
}
|
||||
if in.Delete != nil {
|
||||
in, out := &in.Delete, &out.Delete
|
||||
*out = make(map[string]bool, len(*in))
|
||||
for key, val := range *in {
|
||||
(*out)[key] = val
|
||||
}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MapDelta.
|
||||
func (in *MapDelta) DeepCopy() *MapDelta {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(MapDelta)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in MapStringInterface) DeepCopyInto(out *MapStringInterface) {
|
||||
{
|
||||
@@ -4199,6 +4229,24 @@ func (in *MetadataOpenstackOpts) DeepCopy() *MetadataOpenstackOpts {
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *MetadataUpdate) DeepCopyInto(out *MetadataUpdate) {
|
||||
*out = *in
|
||||
in.Labels.DeepCopyInto(&out.Labels)
|
||||
in.Annotations.DeepCopyInto(&out.Annotations)
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataUpdate.
|
||||
func (in *MetadataUpdate) DeepCopy() *MetadataUpdate {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(MetadataUpdate)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *MetricNamesOutput) DeepCopyInto(out *MetricNamesOutput) {
|
||||
*out = *in
|
||||
@@ -5089,39 +5137,12 @@ func (in *NodeSpec) DeepCopyInto(out *NodeSpec) {
|
||||
(*in).DeepCopyInto(*out)
|
||||
}
|
||||
in.InternalNodeSpec.DeepCopyInto(&out.InternalNodeSpec)
|
||||
if in.DesiredNodeLabels != nil {
|
||||
in, out := &in.DesiredNodeLabels, &out.DesiredNodeLabels
|
||||
*out = make(map[string]string, len(*in))
|
||||
for key, val := range *in {
|
||||
(*out)[key] = val
|
||||
}
|
||||
}
|
||||
if in.DesiredNodeAnnotations != nil {
|
||||
in, out := &in.DesiredNodeAnnotations, &out.DesiredNodeAnnotations
|
||||
*out = make(map[string]string, len(*in))
|
||||
for key, val := range *in {
|
||||
(*out)[key] = val
|
||||
}
|
||||
}
|
||||
if in.CurrentNodeLabels != nil {
|
||||
in, out := &in.CurrentNodeLabels, &out.CurrentNodeLabels
|
||||
*out = make(map[string]string, len(*in))
|
||||
for key, val := range *in {
|
||||
(*out)[key] = val
|
||||
}
|
||||
}
|
||||
if in.CurrentNodeAnnotations != nil {
|
||||
in, out := &in.CurrentNodeAnnotations, &out.CurrentNodeAnnotations
|
||||
*out = make(map[string]string, len(*in))
|
||||
for key, val := range *in {
|
||||
(*out)[key] = val
|
||||
}
|
||||
}
|
||||
if in.NodeDrainInput != nil {
|
||||
in, out := &in.NodeDrainInput, &out.NodeDrainInput
|
||||
*out = new(NodeDrainInput)
|
||||
**out = **in
|
||||
}
|
||||
in.MetadataUpdate.DeepCopyInto(&out.MetadataUpdate)
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user