mirror of
https://github.com/rancher/types.git
synced 2025-09-25 12:21:24 +00:00
go generate
This commit is contained in:
committed by
Alena Prokharchyk
parent
2450f5c8a3
commit
04314b0c60
@@ -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"`
|
||||
|
Reference in New Issue
Block a user