From e7c256fb6602293947055c0ea5442d9cdf459e37 Mon Sep 17 00:00:00 2001 From: Daishan Peng Date: Tue, 12 Jun 2018 15:54:59 -0700 Subject: [PATCH] generated changes --- .../management.cattle.io/v3/zz_generated_deepcopy.go | 9 ++++++++- client/management/v3/zz_generated_custom_config.go | 12 +++++++----- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/apis/management.cattle.io/v3/zz_generated_deepcopy.go b/apis/management.cattle.io/v3/zz_generated_deepcopy.go index eefda03b..3185955d 100644 --- a/apis/management.cattle.io/v3/zz_generated_deepcopy.go +++ b/apis/management.cattle.io/v3/zz_generated_deepcopy.go @@ -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) diff --git a/client/management/v3/zz_generated_custom_config.go b/client/management/v3/zz_generated_custom_config.go index 029980e7..e779049a 100644 --- a/client/management/v3/zz_generated_custom_config.go +++ b/client/management/v3/zz_generated_custom_config.go @@ -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"` }