1
0
mirror of https://github.com/rancher/types.git synced 2025-09-18 07:52:41 +00:00

Generated changes

This commit is contained in:
Alena Prokharchyk
2018-04-03 14:00:49 -07:00
committed by Darren Shepherd
parent a1a28ef8e8
commit 2445646fe1
3 changed files with 54 additions and 48 deletions

View File

@@ -1,24 +1,26 @@
package client
const (
InternalNodeStatusType = "internalNodeStatus"
InternalNodeStatusFieldAllocatable = "allocatable"
InternalNodeStatusFieldCapacity = "capacity"
InternalNodeStatusFieldHostname = "hostname"
InternalNodeStatusFieldIPAddress = "ipAddress"
InternalNodeStatusFieldInfo = "info"
InternalNodeStatusFieldNodeConditions = "nodeConditions"
InternalNodeStatusFieldVolumesAttached = "volumesAttached"
InternalNodeStatusFieldVolumesInUse = "volumesInUse"
InternalNodeStatusType = "internalNodeStatus"
InternalNodeStatusFieldAllocatable = "allocatable"
InternalNodeStatusFieldCapacity = "capacity"
InternalNodeStatusFieldExternalIPAddress = "externalIpAddress"
InternalNodeStatusFieldHostname = "hostname"
InternalNodeStatusFieldIPAddress = "ipAddress"
InternalNodeStatusFieldInfo = "info"
InternalNodeStatusFieldNodeConditions = "nodeConditions"
InternalNodeStatusFieldVolumesAttached = "volumesAttached"
InternalNodeStatusFieldVolumesInUse = "volumesInUse"
)
type InternalNodeStatus struct {
Allocatable map[string]string `json:"allocatable,omitempty" yaml:"allocatable,omitempty"`
Capacity map[string]string `json:"capacity,omitempty" yaml:"capacity,omitempty"`
Hostname string `json:"hostname,omitempty" yaml:"hostname,omitempty"`
IPAddress string `json:"ipAddress,omitempty" yaml:"ipAddress,omitempty"`
Info *NodeInfo `json:"info,omitempty" yaml:"info,omitempty"`
NodeConditions []NodeCondition `json:"nodeConditions,omitempty" yaml:"nodeConditions,omitempty"`
VolumesAttached map[string]AttachedVolume `json:"volumesAttached,omitempty" yaml:"volumesAttached,omitempty"`
VolumesInUse []string `json:"volumesInUse,omitempty" yaml:"volumesInUse,omitempty"`
Allocatable map[string]string `json:"allocatable,omitempty" yaml:"allocatable,omitempty"`
Capacity map[string]string `json:"capacity,omitempty" yaml:"capacity,omitempty"`
ExternalIPAddress string `json:"externalIpAddress,omitempty" yaml:"externalIpAddress,omitempty"`
Hostname string `json:"hostname,omitempty" yaml:"hostname,omitempty"`
IPAddress string `json:"ipAddress,omitempty" yaml:"ipAddress,omitempty"`
Info *NodeInfo `json:"info,omitempty" yaml:"info,omitempty"`
NodeConditions []NodeCondition `json:"nodeConditions,omitempty" yaml:"nodeConditions,omitempty"`
VolumesAttached map[string]AttachedVolume `json:"volumesAttached,omitempty" yaml:"volumesAttached,omitempty"`
VolumesInUse []string `json:"volumesInUse,omitempty" yaml:"volumesInUse,omitempty"`
}

View File

@@ -17,6 +17,7 @@ const (
NodeFieldCustomConfig = "customConfig"
NodeFieldDescription = "description"
NodeFieldEtcd = "etcd"
NodeFieldExternalIPAddress = "externalIpAddress"
NodeFieldHostname = "hostname"
NodeFieldIPAddress = "ipAddress"
NodeFieldImported = "imported"
@@ -61,6 +62,7 @@ type Node struct {
CustomConfig *CustomConfig `json:"customConfig,omitempty" yaml:"customConfig,omitempty"`
Description string `json:"description,omitempty" yaml:"description,omitempty"`
Etcd bool `json:"etcd,omitempty" yaml:"etcd,omitempty"`
ExternalIPAddress string `json:"externalIpAddress,omitempty" yaml:"externalIpAddress,omitempty"`
Hostname string `json:"hostname,omitempty" yaml:"hostname,omitempty"`
IPAddress string `json:"ipAddress,omitempty" yaml:"ipAddress,omitempty"`
Imported bool `json:"imported,omitempty" yaml:"imported,omitempty"`

View File

@@ -1,38 +1,40 @@
package client
const (
NodeStatusType = "nodeStatus"
NodeStatusFieldAllocatable = "allocatable"
NodeStatusFieldCapacity = "capacity"
NodeStatusFieldConditions = "conditions"
NodeStatusFieldHostname = "hostname"
NodeStatusFieldIPAddress = "ipAddress"
NodeStatusFieldInfo = "info"
NodeStatusFieldLimits = "limits"
NodeStatusFieldNodeAnnotations = "nodeAnnotations"
NodeStatusFieldNodeConfig = "rkeNode"
NodeStatusFieldNodeLabels = "nodeLabels"
NodeStatusFieldNodeName = "nodeName"
NodeStatusFieldNodeTaints = "nodeTaints"
NodeStatusFieldRequested = "requested"
NodeStatusFieldVolumesAttached = "volumesAttached"
NodeStatusFieldVolumesInUse = "volumesInUse"
NodeStatusType = "nodeStatus"
NodeStatusFieldAllocatable = "allocatable"
NodeStatusFieldCapacity = "capacity"
NodeStatusFieldConditions = "conditions"
NodeStatusFieldExternalIPAddress = "externalIpAddress"
NodeStatusFieldHostname = "hostname"
NodeStatusFieldIPAddress = "ipAddress"
NodeStatusFieldInfo = "info"
NodeStatusFieldLimits = "limits"
NodeStatusFieldNodeAnnotations = "nodeAnnotations"
NodeStatusFieldNodeConfig = "rkeNode"
NodeStatusFieldNodeLabels = "nodeLabels"
NodeStatusFieldNodeName = "nodeName"
NodeStatusFieldNodeTaints = "nodeTaints"
NodeStatusFieldRequested = "requested"
NodeStatusFieldVolumesAttached = "volumesAttached"
NodeStatusFieldVolumesInUse = "volumesInUse"
)
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"`
Hostname string `json:"hostname,omitempty" yaml:"hostname,omitempty"`
IPAddress string `json:"ipAddress,omitempty" yaml:"ipAddress,omitempty"`
Info *NodeInfo `json:"info,omitempty" yaml:"info,omitempty"`
Limits map[string]string `json:"limits,omitempty" yaml:"limits,omitempty"`
NodeAnnotations map[string]string `json:"nodeAnnotations,omitempty" yaml:"nodeAnnotations,omitempty"`
NodeConfig *RKEConfigNode `json:"rkeNode,omitempty" yaml:"rkeNode,omitempty"`
NodeLabels map[string]string `json:"nodeLabels,omitempty" yaml:"nodeLabels,omitempty"`
NodeName string `json:"nodeName,omitempty" yaml:"nodeName,omitempty"`
NodeTaints []Taint `json:"nodeTaints,omitempty" yaml:"nodeTaints,omitempty"`
Requested map[string]string `json:"requested,omitempty" yaml:"requested,omitempty"`
VolumesAttached map[string]AttachedVolume `json:"volumesAttached,omitempty" yaml:"volumesAttached,omitempty"`
VolumesInUse []string `json:"volumesInUse,omitempty" yaml:"volumesInUse,omitempty"`
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"`
ExternalIPAddress string `json:"externalIpAddress,omitempty" yaml:"externalIpAddress,omitempty"`
Hostname string `json:"hostname,omitempty" yaml:"hostname,omitempty"`
IPAddress string `json:"ipAddress,omitempty" yaml:"ipAddress,omitempty"`
Info *NodeInfo `json:"info,omitempty" yaml:"info,omitempty"`
Limits map[string]string `json:"limits,omitempty" yaml:"limits,omitempty"`
NodeAnnotations map[string]string `json:"nodeAnnotations,omitempty" yaml:"nodeAnnotations,omitempty"`
NodeConfig *RKEConfigNode `json:"rkeNode,omitempty" yaml:"rkeNode,omitempty"`
NodeLabels map[string]string `json:"nodeLabels,omitempty" yaml:"nodeLabels,omitempty"`
NodeName string `json:"nodeName,omitempty" yaml:"nodeName,omitempty"`
NodeTaints []Taint `json:"nodeTaints,omitempty" yaml:"nodeTaints,omitempty"`
Requested map[string]string `json:"requested,omitempty" yaml:"requested,omitempty"`
VolumesAttached map[string]AttachedVolume `json:"volumesAttached,omitempty" yaml:"volumesAttached,omitempty"`
VolumesInUse []string `json:"volumesInUse,omitempty" yaml:"volumesInUse,omitempty"`
}