1
0
mirror of https://github.com/rancher/types.git synced 2025-08-31 21:00:16 +00:00

go generate

This commit is contained in:
galal-hussein
2017-11-14 00:44:29 +02:00
parent 7b1e24f000
commit fc8ee2b140
7 changed files with 67 additions and 22 deletions

View File

@@ -21,6 +21,27 @@ func (in *AKSConfig) DeepCopy() *AKSConfig {
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BaseService) DeepCopyInto(out *BaseService) {
*out = *in
if in.ExtraArgs != nil {
in, out := &in.ExtraArgs, &out.ExtraArgs
*out = make([]string, len(*in))
copy(*out, *in)
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BaseService.
func (in *BaseService) DeepCopy() *BaseService {
if in == nil {
return nil
}
out := new(BaseService)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *Cluster) DeepCopyInto(out *Cluster) {
*out = *in
@@ -277,7 +298,7 @@ func (in *ClusterStatus) DeepCopy() *ClusterStatus {
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ETCDService) DeepCopyInto(out *ETCDService) {
*out = *in
out.baseService = in.baseService
in.BaseService.DeepCopyInto(&out.BaseService)
return
}
@@ -318,7 +339,7 @@ func (in *GKEConfig) DeepCopy() *GKEConfig {
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *KubeAPIService) DeepCopyInto(out *KubeAPIService) {
*out = *in
out.baseService = in.baseService
in.BaseService.DeepCopyInto(&out.BaseService)
return
}
@@ -335,7 +356,7 @@ func (in *KubeAPIService) DeepCopy() *KubeAPIService {
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *KubeControllerService) DeepCopyInto(out *KubeControllerService) {
*out = *in
out.baseService = in.baseService
in.BaseService.DeepCopyInto(&out.BaseService)
return
}
@@ -352,7 +373,7 @@ func (in *KubeControllerService) DeepCopy() *KubeControllerService {
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *KubeletService) DeepCopyInto(out *KubeletService) {
*out = *in
out.baseService = in.baseService
in.BaseService.DeepCopyInto(&out.BaseService)
return
}
@@ -369,7 +390,7 @@ func (in *KubeletService) DeepCopy() *KubeletService {
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *KubeproxyService) DeepCopyInto(out *KubeproxyService) {
*out = *in
out.baseService = in.baseService
in.BaseService.DeepCopyInto(&out.BaseService)
return
}
@@ -393,7 +414,7 @@ func (in *RKEConfig) DeepCopyInto(out *RKEConfig) {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
out.Services = in.Services
in.Services.DeepCopyInto(&out.Services)
return
}
@@ -431,12 +452,12 @@ func (in *RKEConfigHost) DeepCopy() *RKEConfigHost {
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *RKEConfigServices) DeepCopyInto(out *RKEConfigServices) {
*out = *in
out.Etcd = in.Etcd
out.KubeAPI = in.KubeAPI
out.KubeController = in.KubeController
out.Scheduler = in.Scheduler
out.Kubelet = in.Kubelet
out.Kubeproxy = in.Kubeproxy
in.Etcd.DeepCopyInto(&out.Etcd)
in.KubeAPI.DeepCopyInto(&out.KubeAPI)
in.KubeController.DeepCopyInto(&out.KubeController)
in.Scheduler.DeepCopyInto(&out.Scheduler)
in.Kubelet.DeepCopyInto(&out.Kubelet)
in.Kubeproxy.DeepCopyInto(&out.Kubeproxy)
return
}
@@ -453,7 +474,7 @@ func (in *RKEConfigServices) DeepCopy() *RKEConfigServices {
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *SchedulerService) DeepCopyInto(out *SchedulerService) {
*out = *in
out.baseService = in.baseService
in.BaseService.DeepCopyInto(&out.BaseService)
return
}