mirror of
https://github.com/rancher/types.git
synced 2025-08-31 21:00:16 +00:00
go generate
This commit is contained in:
@@ -19,6 +19,10 @@ func init() {
|
||||
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
|
||||
func RegisterDeepCopies(scheme *runtime.Scheme) error {
|
||||
return scheme.AddGeneratedDeepCopyFuncs(
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*AWSCloudProvider).DeepCopyInto(out.(*AWSCloudProvider))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&AWSCloudProvider{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*Action).DeepCopyInto(out.(*Action))
|
||||
return nil
|
||||
@@ -67,6 +71,10 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error {
|
||||
in.(*AuthzConfig).DeepCopyInto(out.(*AuthzConfig))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&AuthzConfig{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*AzureCloudProvider).DeepCopyInto(out.(*AzureCloudProvider))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&AzureCloudProvider{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*AzureKubernetesServiceConfig).DeepCopyInto(out.(*AzureKubernetesServiceConfig))
|
||||
return nil
|
||||
@@ -75,6 +83,14 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error {
|
||||
in.(*BaseService).DeepCopyInto(out.(*BaseService))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&BaseService{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*CalicoNetworkProvider).DeepCopyInto(out.(*CalicoNetworkProvider))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&CalicoNetworkProvider{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*CanalNetworkProvider).DeepCopyInto(out.(*CanalNetworkProvider))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&CanalNetworkProvider{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*Catalog).DeepCopyInto(out.(*Catalog))
|
||||
return nil
|
||||
@@ -271,6 +287,10 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error {
|
||||
in.(*Filter).DeepCopyInto(out.(*Filter))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&Filter{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*FlannelNetworkProvider).DeepCopyInto(out.(*FlannelNetworkProvider))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&FlannelNetworkProvider{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*GenerateKubeConfigOutput).DeepCopyInto(out.(*GenerateKubeConfigOutput))
|
||||
return nil
|
||||
@@ -902,6 +922,22 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error {
|
||||
)
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *AWSCloudProvider) DeepCopyInto(out *AWSCloudProvider) {
|
||||
*out = *in
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSCloudProvider.
|
||||
func (in *AWSCloudProvider) DeepCopy() *AWSCloudProvider {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(AWSCloudProvider)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *Action) DeepCopyInto(out *Action) {
|
||||
*out = *in
|
||||
@@ -1170,6 +1206,22 @@ func (in *AuthzConfig) DeepCopy() *AuthzConfig {
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *AzureCloudProvider) DeepCopyInto(out *AzureCloudProvider) {
|
||||
*out = *in
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureCloudProvider.
|
||||
func (in *AzureCloudProvider) DeepCopy() *AzureCloudProvider {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(AzureCloudProvider)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *AzureKubernetesServiceConfig) DeepCopyInto(out *AzureKubernetesServiceConfig) {
|
||||
*out = *in
|
||||
@@ -1221,6 +1273,38 @@ func (in *BaseService) DeepCopy() *BaseService {
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *CalicoNetworkProvider) DeepCopyInto(out *CalicoNetworkProvider) {
|
||||
*out = *in
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CalicoNetworkProvider.
|
||||
func (in *CalicoNetworkProvider) DeepCopy() *CalicoNetworkProvider {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(CalicoNetworkProvider)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *CanalNetworkProvider) DeepCopyInto(out *CanalNetworkProvider) {
|
||||
*out = *in
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CanalNetworkProvider.
|
||||
func (in *CanalNetworkProvider) DeepCopy() *CanalNetworkProvider {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(CanalNetworkProvider)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *Catalog) DeepCopyInto(out *Catalog) {
|
||||
*out = *in
|
||||
@@ -2522,6 +2606,22 @@ func (in *Filter) DeepCopy() *Filter {
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *FlannelNetworkProvider) DeepCopyInto(out *FlannelNetworkProvider) {
|
||||
*out = *in
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlannelNetworkProvider.
|
||||
func (in *FlannelNetworkProvider) DeepCopy() *FlannelNetworkProvider {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(FlannelNetworkProvider)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *GenerateKubeConfigOutput) DeepCopyInto(out *GenerateKubeConfigOutput) {
|
||||
*out = *in
|
||||
@@ -5473,6 +5573,11 @@ func (in *RancherKubernetesEngineConfig) DeepCopyInto(out *RancherKubernetesEngi
|
||||
}
|
||||
in.Ingress.DeepCopyInto(&out.Ingress)
|
||||
in.CloudProvider.DeepCopyInto(&out.CloudProvider)
|
||||
out.AWSCloudProvider = in.AWSCloudProvider
|
||||
out.AzureCloudProvider = in.AzureCloudProvider
|
||||
out.CalicoNetworkProvider = in.CalicoNetworkProvider
|
||||
out.CanalNetworkProvider = in.CanalNetworkProvider
|
||||
out.FlannelNetworkProvider = in.FlannelNetworkProvider
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user