-
Notifications
You must be signed in to change notification settings - Fork 2.9k
/
zz_generated_node_spec.go
50 lines (48 loc) · 3.38 KB
/
zz_generated_node_spec.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
package client
const (
NodeSpecType = "nodeSpec"
NodeSpecFieldControlPlane = "controlPlane"
NodeSpecFieldCustomConfig = "customConfig"
NodeSpecFieldDescription = "description"
NodeSpecFieldDesiredNodeTaints = "desiredNodeTaints"
NodeSpecFieldDesiredNodeUnschedulable = "desiredNodeUnschedulable"
NodeSpecFieldDisplayName = "displayName"
NodeSpecFieldEtcd = "etcd"
NodeSpecFieldImported = "imported"
NodeSpecFieldMetadataUpdate = "metadataUpdate"
NodeSpecFieldNodeDrainInput = "nodeDrainInput"
NodeSpecFieldNodePoolID = "nodePoolId"
NodeSpecFieldNodeTemplateID = "nodeTemplateId"
NodeSpecFieldPodCidr = "podCidr"
NodeSpecFieldPodCidrs = "podCidrs"
NodeSpecFieldProviderId = "providerId"
NodeSpecFieldRequestedHostname = "requestedHostname"
NodeSpecFieldScaledownTime = "scaledownTime"
NodeSpecFieldTaints = "taints"
NodeSpecFieldUnschedulable = "unschedulable"
NodeSpecFieldUpdateTaintsFromAPI = "updateTaintsFromAPI"
NodeSpecFieldWorker = "worker"
)
type NodeSpec struct {
ControlPlane bool `json:"controlPlane,omitempty" yaml:"controlPlane,omitempty"`
CustomConfig *CustomConfig `json:"customConfig,omitempty" yaml:"customConfig,omitempty"`
Description string `json:"description,omitempty" yaml:"description,omitempty"`
DesiredNodeTaints []Taint `json:"desiredNodeTaints,omitempty" yaml:"desiredNodeTaints,omitempty"`
DesiredNodeUnschedulable string `json:"desiredNodeUnschedulable,omitempty" yaml:"desiredNodeUnschedulable,omitempty"`
DisplayName string `json:"displayName,omitempty" yaml:"displayName,omitempty"`
Etcd bool `json:"etcd,omitempty" yaml:"etcd,omitempty"`
Imported bool `json:"imported,omitempty" yaml:"imported,omitempty"`
MetadataUpdate *MetadataUpdate `json:"metadataUpdate,omitempty" yaml:"metadataUpdate,omitempty"`
NodeDrainInput *NodeDrainInput `json:"nodeDrainInput,omitempty" yaml:"nodeDrainInput,omitempty"`
NodePoolID string `json:"nodePoolId,omitempty" yaml:"nodePoolId,omitempty"`
NodeTemplateID string `json:"nodeTemplateId,omitempty" yaml:"nodeTemplateId,omitempty"`
PodCidr string `json:"podCidr,omitempty" yaml:"podCidr,omitempty"`
PodCidrs []string `json:"podCidrs,omitempty" yaml:"podCidrs,omitempty"`
ProviderId string `json:"providerId,omitempty" yaml:"providerId,omitempty"`
RequestedHostname string `json:"requestedHostname,omitempty" yaml:"requestedHostname,omitempty"`
ScaledownTime string `json:"scaledownTime,omitempty" yaml:"scaledownTime,omitempty"`
Taints []Taint `json:"taints,omitempty" yaml:"taints,omitempty"`
Unschedulable bool `json:"unschedulable,omitempty" yaml:"unschedulable,omitempty"`
UpdateTaintsFromAPI *bool `json:"updateTaintsFromAPI,omitempty" yaml:"updateTaintsFromAPI,omitempty"`
Worker bool `json:"worker,omitempty" yaml:"worker,omitempty"`
}