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

generate changes

This commit is contained in:
Daishan Peng
2017-12-07 12:51:57 -07:00
committed by Darren Shepherd
parent 82c0f119d3
commit cdb4ae8466
6 changed files with 160 additions and 5 deletions

View File

@@ -9,6 +9,16 @@ import (
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *AmazonEC2Config) DeepCopyInto(out *AmazonEC2Config) {
*out = *in
if in.OpenPort != nil {
in, out := &in.OpenPort, &out.OpenPort
*out = make([]string, len(*in))
copy(*out, *in)
}
if in.SecurityGroup != nil {
in, out := &in.SecurityGroup, &out.SecurityGroup
*out = make([]string, len(*in))
copy(*out, *in)
}
return
}
@@ -48,6 +58,11 @@ func (in *AuthConfig) DeepCopy() *AuthConfig {
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *AzureConfig) DeepCopyInto(out *AzureConfig) {
*out = *in
if in.OpenPort != nil {
in, out := &in.OpenPort, &out.OpenPort
*out = make([]string, len(*in))
copy(*out, *in)
}
return
}
@@ -1065,8 +1080,8 @@ func (in *MachineSpec) DeepCopyInto(out *MachineSpec) {
*out = *in
in.NodeSpec.DeepCopyInto(&out.NodeSpec)
in.MachineCommonParams.DeepCopyInto(&out.MachineCommonParams)
out.AmazonEC2Config = in.AmazonEC2Config
out.AzureConfig = in.AzureConfig
in.AmazonEC2Config.DeepCopyInto(&out.AmazonEC2Config)
in.AzureConfig.DeepCopyInto(&out.AzureConfig)
out.DigitalOceanConfig = in.DigitalOceanConfig
return
}