mirror of
https://github.com/rancher/types.git
synced 2025-09-24 19:39:13 +00:00
generated changes
This commit is contained in:
committed by
Darren Shepherd
parent
dde39c594a
commit
e7c256fb66
@@ -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)
|
||||
|
@@ -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"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user