mirror of
https://github.com/rancher/types.git
synced 2025-09-01 13:18:20 +00:00
go generate
This commit is contained in:
@@ -219,6 +219,10 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error {
|
||||
in.(*ImportedConfig).DeepCopyInto(out.(*ImportedConfig))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&ImportedConfig{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*IngressConfig).DeepCopyInto(out.(*IngressConfig))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&IngressConfig{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*K8sServerConfig).DeepCopyInto(out.(*K8sServerConfig))
|
||||
return nil
|
||||
@@ -1893,6 +1897,36 @@ func (in *ImportedConfig) DeepCopy() *ImportedConfig {
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *IngressConfig) DeepCopyInto(out *IngressConfig) {
|
||||
*out = *in
|
||||
if in.Options != nil {
|
||||
in, out := &in.Options, &out.Options
|
||||
*out = make(map[string]string, len(*in))
|
||||
for key, val := range *in {
|
||||
(*out)[key] = val
|
||||
}
|
||||
}
|
||||
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
|
||||
}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressConfig.
|
||||
func (in *IngressConfig) DeepCopy() *IngressConfig {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(IngressConfig)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *K8sServerConfig) DeepCopyInto(out *K8sServerConfig) {
|
||||
*out = *in
|
||||
@@ -3267,6 +3301,13 @@ func (in *RKEConfigNode) DeepCopyInto(out *RKEConfigNode) {
|
||||
*out = make([]string, len(*in))
|
||||
copy(*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
|
||||
}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
@@ -3338,6 +3379,7 @@ func (in *RancherKubernetesEngineConfig) DeepCopyInto(out *RancherKubernetesEngi
|
||||
*out = make([]PrivateRegistry, len(*in))
|
||||
copy(*out, *in)
|
||||
}
|
||||
in.Ingress.DeepCopyInto(&out.Ingress)
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user