mirror of
https://github.com/rancher/types.git
synced 2025-08-31 04:40:56 +00:00
Update generate code
This commit is contained in:
@@ -9,7 +9,6 @@ const (
|
||||
NodeFieldAllocatable = "allocatable"
|
||||
NodeFieldAnnotations = "annotations"
|
||||
NodeFieldCapacity = "capacity"
|
||||
NodeFieldClusterId = "clusterId"
|
||||
NodeFieldConditions = "conditions"
|
||||
NodeFieldControlPlane = "controlPlane"
|
||||
NodeFieldCreated = "created"
|
||||
@@ -55,7 +54,6 @@ type Node struct {
|
||||
Allocatable map[string]string `json:"allocatable,omitempty" yaml:"allocatable,omitempty"`
|
||||
Annotations map[string]string `json:"annotations,omitempty" yaml:"annotations,omitempty"`
|
||||
Capacity map[string]string `json:"capacity,omitempty" yaml:"capacity,omitempty"`
|
||||
ClusterId string `json:"clusterId,omitempty" yaml:"clusterId,omitempty"`
|
||||
Conditions []NodeCondition `json:"conditions,omitempty" yaml:"conditions,omitempty"`
|
||||
ControlPlane bool `json:"controlPlane,omitempty" yaml:"controlPlane,omitempty"`
|
||||
Created string `json:"created,omitempty" yaml:"created,omitempty"`
|
||||
|
@@ -2,7 +2,6 @@ package client
|
||||
|
||||
const (
|
||||
NodeSpecType = "nodeSpec"
|
||||
NodeSpecFieldClusterId = "clusterId"
|
||||
NodeSpecFieldControlPlane = "controlPlane"
|
||||
NodeSpecFieldCustomConfig = "customConfig"
|
||||
NodeSpecFieldDescription = "description"
|
||||
@@ -22,7 +21,6 @@ const (
|
||||
)
|
||||
|
||||
type NodeSpec struct {
|
||||
ClusterId string `json:"clusterId,omitempty" yaml:"clusterId,omitempty"`
|
||||
ControlPlane bool `json:"controlPlane,omitempty" yaml:"controlPlane,omitempty"`
|
||||
CustomConfig *CustomConfig `json:"customConfig,omitempty" yaml:"customConfig,omitempty"`
|
||||
Description string `json:"description,omitempty" yaml:"description,omitempty"`
|
||||
|
Reference in New Issue
Block a user