mirror of
https://github.com/rancher/types.git
synced 2025-09-17 07:19:17 +00:00
Update generated code
This commit is contained in:
@@ -41,6 +41,10 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error {
|
||||
in.(*DeploymentParallelConfig).DeepCopyInto(out.(*DeploymentParallelConfig))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&DeploymentParallelConfig{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*Link).DeepCopyInto(out.(*Link))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&Link{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*Workload).DeepCopyInto(out.(*Workload))
|
||||
return nil
|
||||
@@ -201,6 +205,22 @@ func (in *DeploymentParallelConfig) DeepCopy() *DeploymentParallelConfig {
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *Link) DeepCopyInto(out *Link) {
|
||||
*out = *in
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Link.
|
||||
func (in *Link) DeepCopy() *Link {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(Link)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *Workload) DeepCopyInto(out *Workload) {
|
||||
*out = *in
|
||||
@@ -277,6 +297,11 @@ func (in *WorkloadSpec) DeepCopyInto(out *WorkloadSpec) {
|
||||
*out = *in
|
||||
in.DeployConfig.DeepCopyInto(&out.DeployConfig)
|
||||
in.Template.DeepCopyInto(&out.Template)
|
||||
if in.ServiceLinks != nil {
|
||||
in, out := &in.ServiceLinks, &out.ServiceLinks
|
||||
*out = make([]Link, len(*in))
|
||||
copy(*out, *in)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user