1
0
mirror of https://github.com/rancher/types.git synced 2025-08-31 21:00:16 +00:00

Add driver to nodePool schema

This commit is contained in:
Caleb Bron
2019-08-30 15:00:28 -07:00
parent e09365c769
commit a46b77689b
2 changed files with 10 additions and 1 deletions

View File

@@ -13,6 +13,7 @@ const (
NodePoolFieldCreatorID = "creatorId"
NodePoolFieldDeleteNotReadyAfterSecs = "deleteNotReadyAfterSecs"
NodePoolFieldDisplayName = "displayName"
NodePoolFieldDriver = "driver"
NodePoolFieldEtcd = "etcd"
NodePoolFieldHostnamePrefix = "hostnamePrefix"
NodePoolFieldLabels = "labels"
@@ -42,6 +43,7 @@ type NodePool struct {
CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"`
DeleteNotReadyAfterSecs int64 `json:"deleteNotReadyAfterSecs,omitempty" yaml:"deleteNotReadyAfterSecs,omitempty"`
DisplayName string `json:"displayName,omitempty" yaml:"displayName,omitempty"`
Driver string `json:"driver,omitempty" yaml:"driver,omitempty"`
Etcd bool `json:"etcd,omitempty" yaml:"etcd,omitempty"`
HostnamePrefix string `json:"hostnamePrefix,omitempty" yaml:"hostnamePrefix,omitempty"`
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`