1
0
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:
Darren Shepherd
2018-04-21 20:37:36 -07:00
parent 412950c05f
commit 6e79f33557
2 changed files with 0 additions and 4 deletions

View File

@@ -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"`

View File

@@ -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"`