1
0
mirror of https://github.com/rancher/types.git synced 2025-09-24 19:39:13 +00:00

generated changes

This commit is contained in:
Daishan Peng
2018-06-12 15:54:59 -07:00
committed by Darren Shepherd
parent dde39c594a
commit e7c256fb66
2 changed files with 15 additions and 6 deletions

View File

@@ -2628,6 +2628,13 @@ func (in *Condition) DeepCopy() *Condition {
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *CustomConfig) DeepCopyInto(out *CustomConfig) {
*out = *in
if in.Label != nil {
in, out := &in.Label, &out.Label
*out = make(map[string]string, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
return
}
@@ -4297,7 +4304,7 @@ func (in *NodeSpec) DeepCopyInto(out *NodeSpec) {
*out = nil
} else {
*out = new(CustomConfig)
**out = **in
(*in).DeepCopyInto(*out)
}
}
in.InternalNodeSpec.DeepCopyInto(&out.InternalNodeSpec)

View File

@@ -5,14 +5,16 @@ const (
CustomConfigFieldAddress = "address"
CustomConfigFieldDockerSocket = "dockerSocket"
CustomConfigFieldInternalAddress = "internalAddress"
CustomConfigFieldLabel = "label"
CustomConfigFieldSSHKey = "sshKey"
CustomConfigFieldUser = "user"
)
type CustomConfig struct {
Address string `json:"address,omitempty" yaml:"address,omitempty"`
DockerSocket string `json:"dockerSocket,omitempty" yaml:"dockerSocket,omitempty"`
InternalAddress string `json:"internalAddress,omitempty" yaml:"internalAddress,omitempty"`
SSHKey string `json:"sshKey,omitempty" yaml:"sshKey,omitempty"`
User string `json:"user,omitempty" yaml:"user,omitempty"`
Address string `json:"address,omitempty" yaml:"address,omitempty"`
DockerSocket string `json:"dockerSocket,omitempty" yaml:"dockerSocket,omitempty"`
InternalAddress string `json:"internalAddress,omitempty" yaml:"internalAddress,omitempty"`
Label map[string]string `json:"label,omitempty" yaml:"label,omitempty"`
SSHKey string `json:"sshKey,omitempty" yaml:"sshKey,omitempty"`
User string `json:"user,omitempty" yaml:"user,omitempty"`
}