1
0
mirror of https://github.com/rancher/types.git synced 2025-09-19 08:52:46 +00:00

Add WindowsNodeCommand to ClusterRegistrationTokenStatus

This commit is contained in:
MaiWJ
2018-08-25 14:04:51 +08:00
committed by Craig Jellick
parent 27bc977d20
commit db8216d645

View File

@@ -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 {