1
0
mirror of https://github.com/rancher/types.git synced 2025-09-25 12:21:24 +00:00

go generate

This commit is contained in:
kinarashah
2018-11-19 11:04:32 -08:00
committed by Alena Prokharchyk
parent 2450f5c8a3
commit 04314b0c60
2 changed files with 18 additions and 0 deletions

View File

@@ -3,6 +3,8 @@ package client
const (
NodeSpecType = "nodeSpec"
NodeSpecFieldControlPlane = "controlPlane"
NodeSpecFieldCurrentNodeAnnotations = "currentNodeAnnotations"
NodeSpecFieldCurrentNodeLabels = "currentNodeLabels"
NodeSpecFieldCustomConfig = "customConfig"
NodeSpecFieldDescription = "description"
NodeSpecFieldDesiredNodeAnnotations = "desiredNodeAnnotations"
@@ -24,6 +26,8 @@ const (
type NodeSpec struct {
ControlPlane bool `json:"controlPlane,omitempty" yaml:"controlPlane,omitempty"`
CurrentNodeAnnotations map[string]string `json:"currentNodeAnnotations,omitempty" yaml:"currentNodeAnnotations,omitempty"`
CurrentNodeLabels map[string]string `json:"currentNodeLabels,omitempty" yaml:"currentNodeLabels,omitempty"`
CustomConfig *CustomConfig `json:"customConfig,omitempty" yaml:"customConfig,omitempty"`
Description string `json:"description,omitempty" yaml:"description,omitempty"`
DesiredNodeAnnotations map[string]string `json:"desiredNodeAnnotations,omitempty" yaml:"desiredNodeAnnotations,omitempty"`