From db8216d64538eb53132a9b68597148a053020ede Mon Sep 17 00:00:00 2001 From: MaiWJ <664647065@qq.com> Date: Sat, 25 Aug 2018 14:04:51 +0800 Subject: [PATCH] Add WindowsNodeCommand to ClusterRegistrationTokenStatus --- apis/management.cattle.io/v3/cluster_types.go | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/apis/management.cattle.io/v3/cluster_types.go b/apis/management.cattle.io/v3/cluster_types.go index df8d8f2b..af1ea4c6 100644 --- a/apis/management.cattle.io/v3/cluster_types.go +++ b/apis/management.cattle.io/v3/cluster_types.go @@ -78,10 +78,10 @@ type ImportedConfig struct { } type ClusterStatus struct { - //Conditions represent the latest available observations of an object's current state: - //More info: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#typical-status-properties + // Conditions represent the latest available observations of an object's current state: + // More info: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#typical-status-properties Conditions []ClusterCondition `json:"conditions,omitempty"` - //Component statuses will represent cluster's components (etcd/controller/scheduler) health + // Component statuses will represent cluster's components (etcd/controller/scheduler) health // https://kubernetes.io/docs/api-reference/v1.8/#componentstatus-v1-core Driver string `json:"driver"` AgentImage string `json:"agentImage"` @@ -252,11 +252,12 @@ type ClusterRegistrationTokenSpec struct { } type ClusterRegistrationTokenStatus struct { - InsecureCommand string `json:"insecureCommand"` - Command string `json:"command"` - NodeCommand string `json:"nodeCommand"` - ManifestURL string `json:"manifestUrl"` - Token string `json:"token"` + InsecureCommand string `json:"insecureCommand"` + Command string `json:"command"` + WindowsNodeCommand string `json:"windowsNodeCommand"` + NodeCommand string `json:"nodeCommand"` + ManifestURL string `json:"manifestUrl"` + Token string `json:"token"` } type GenerateKubeConfigOutput struct {