1
0
mirror of https://github.com/rancher/types.git synced 2025-07-06 10:16:12 +00:00

go generate

This commit is contained in:
galal-hussein 2019-02-27 23:58:27 +02:00 committed by Alena Prokharchyk
parent e23fa8b21a
commit e34f8ff077
2 changed files with 0 additions and 4 deletions

View File

@ -11,7 +11,6 @@ const (
NodeFieldCapacity = "capacity"
NodeFieldClusterID = "clusterId"
NodeFieldConditions = "conditions"
NodeFieldConfig = "config"
NodeFieldControlPlane = "controlPlane"
NodeFieldCreated = "created"
NodeFieldCreatorID = "creatorId"
@ -58,7 +57,6 @@ type Node struct {
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"`
Config *NodeConfigStatus `json:"config,omitempty" yaml:"config,omitempty"`
ControlPlane bool `json:"controlPlane,omitempty" yaml:"controlPlane,omitempty"`
Created string `json:"created,omitempty" yaml:"created,omitempty"`
CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"`

View File

@ -5,7 +5,6 @@ const (
NodeStatusFieldAllocatable = "allocatable"
NodeStatusFieldCapacity = "capacity"
NodeStatusFieldConditions = "conditions"
NodeStatusFieldConfig = "config"
NodeStatusFieldDockerInfo = "dockerInfo"
NodeStatusFieldExternalIPAddress = "externalIpAddress"
NodeStatusFieldHostname = "hostname"
@ -26,7 +25,6 @@ type NodeStatus struct {
Allocatable map[string]string `json:"allocatable,omitempty" yaml:"allocatable,omitempty"`
Capacity map[string]string `json:"capacity,omitempty" yaml:"capacity,omitempty"`
Conditions []NodeCondition `json:"conditions,omitempty" yaml:"conditions,omitempty"`
Config *NodeConfigStatus `json:"config,omitempty" yaml:"config,omitempty"`
DockerInfo *DockerInfo `json:"dockerInfo,omitempty" yaml:"dockerInfo,omitempty"`
ExternalIPAddress string `json:"externalIpAddress,omitempty" yaml:"externalIpAddress,omitempty"`
Hostname string `json:"hostname,omitempty" yaml:"hostname,omitempty"`