mirror of
https://github.com/rancher/types.git
synced 2025-09-17 23:38:20 +00:00
Update generate code
This commit is contained in:
@@ -7,6 +7,7 @@ import (
|
||||
rbac_v1 "k8s.io/api/rbac/v1"
|
||||
conversion "k8s.io/apimachinery/pkg/conversion"
|
||||
runtime "k8s.io/apimachinery/pkg/runtime"
|
||||
version "k8s.io/apimachinery/pkg/version"
|
||||
)
|
||||
|
||||
func init() {
|
||||
@@ -2226,7 +2227,24 @@ func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus) {
|
||||
(*out)[key] = val.DeepCopy()
|
||||
}
|
||||
}
|
||||
in.AppliedSpec.DeepCopyInto(&out.AppliedSpec)
|
||||
if in.AppliedSpec != nil {
|
||||
in, out := &in.AppliedSpec, &out.AppliedSpec
|
||||
if *in == nil {
|
||||
*out = nil
|
||||
} else {
|
||||
*out = new(ClusterSpec)
|
||||
(*in).DeepCopyInto(*out)
|
||||
}
|
||||
}
|
||||
if in.AppliedEtcdSpec != nil {
|
||||
in, out := &in.AppliedEtcdSpec, &out.AppliedEtcdSpec
|
||||
if *in == nil {
|
||||
*out = nil
|
||||
} else {
|
||||
*out = new(ClusterSpec)
|
||||
(*in).DeepCopyInto(*out)
|
||||
}
|
||||
}
|
||||
if in.FailedSpec != nil {
|
||||
in, out := &in.FailedSpec, &out.FailedSpec
|
||||
if *in == nil {
|
||||
@@ -2250,6 +2268,15 @@ func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus) {
|
||||
(*out)[key] = val.DeepCopy()
|
||||
}
|
||||
}
|
||||
if in.Version != nil {
|
||||
in, out := &in.Version, &out.Version
|
||||
if *in == nil {
|
||||
*out = nil
|
||||
} else {
|
||||
*out = new(version.Info)
|
||||
**out = **in
|
||||
}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user