mirror of
https://github.com/rancher/types.git
synced 2025-09-01 05:09:10 +00:00
Update generated code
This commit is contained in:
@@ -227,6 +227,10 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error {
|
||||
in.(*MachineCondition).DeepCopyInto(out.(*MachineCondition))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&MachineCondition{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*MachineConfig).DeepCopyInto(out.(*MachineConfig))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&MachineConfig{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*MachineDriver).DeepCopyInto(out.(*MachineDriver))
|
||||
return nil
|
||||
@@ -944,6 +948,13 @@ func (in *ClusterRoleTemplateBindingList) DeepCopyObject() runtime.Object {
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec) {
|
||||
*out = *in
|
||||
if in.Nodes != nil {
|
||||
in, out := &in.Nodes, &out.Nodes
|
||||
*out = make([]MachineConfig, len(*in))
|
||||
for i := range *in {
|
||||
(*in)[i].DeepCopyInto(&(*out)[i])
|
||||
}
|
||||
}
|
||||
if in.GoogleKubernetesEngineConfig != nil {
|
||||
in, out := &in.GoogleKubernetesEngineConfig, &out.GoogleKubernetesEngineConfig
|
||||
if *in == nil {
|
||||
@@ -1686,6 +1697,7 @@ func (in *LoginInput) DeepCopy() *LoginInput {
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *Machine) DeepCopyInto(out *Machine) {
|
||||
*out = *in
|
||||
out.Namespaced = in.Namespaced
|
||||
out.TypeMeta = in.TypeMeta
|
||||
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
||||
in.Spec.DeepCopyInto(&out.Spec)
|
||||
@@ -1775,6 +1787,37 @@ func (in *MachineCondition) DeepCopy() *MachineCondition {
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *MachineConfig) DeepCopyInto(out *MachineConfig) {
|
||||
*out = *in
|
||||
in.MachineSpec.DeepCopyInto(&out.MachineSpec)
|
||||
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
|
||||
}
|
||||
}
|
||||
if in.Annotations != nil {
|
||||
in, out := &in.Annotations, &out.Annotations
|
||||
*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 MachineConfig.
|
||||
func (in *MachineConfig) DeepCopy() *MachineConfig {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(MachineConfig)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *MachineDriver) DeepCopyInto(out *MachineDriver) {
|
||||
*out = *in
|
||||
@@ -1929,8 +1972,8 @@ func (in *MachineList) DeepCopyObject() runtime.Object {
|
||||
func (in *MachineSpec) DeepCopyInto(out *MachineSpec) {
|
||||
*out = *in
|
||||
in.NodeSpec.DeepCopyInto(&out.NodeSpec)
|
||||
if in.RequestedRoles != nil {
|
||||
in, out := &in.RequestedRoles, &out.RequestedRoles
|
||||
if in.Role != nil {
|
||||
in, out := &in.Role, &out.Role
|
||||
*out = make([]string, len(*in))
|
||||
copy(*out, *in)
|
||||
}
|
||||
|
@@ -23,8 +23,9 @@ var (
|
||||
MachineResource = metav1.APIResource{
|
||||
Name: "machines",
|
||||
SingularName: "machine",
|
||||
Namespaced: false,
|
||||
Kind: MachineGroupVersionKind.Kind,
|
||||
Namespaced: true,
|
||||
|
||||
Kind: MachineGroupVersionKind.Kind,
|
||||
}
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user