From 2445646fe19ee27e0612d732452738b3646dd5e7 Mon Sep 17 00:00:00 2001 From: Alena Prokharchyk Date: Tue, 3 Apr 2018 14:00:49 -0700 Subject: [PATCH] Generated changes --- .../v3/zz_generated_internal_node_status.go | 36 ++++++----- client/management/v3/zz_generated_node.go | 2 + .../management/v3/zz_generated_node_status.go | 64 ++++++++++--------- 3 files changed, 54 insertions(+), 48 deletions(-) diff --git a/client/management/v3/zz_generated_internal_node_status.go b/client/management/v3/zz_generated_internal_node_status.go index a34fd2cb..2302154d 100644 --- a/client/management/v3/zz_generated_internal_node_status.go +++ b/client/management/v3/zz_generated_internal_node_status.go @@ -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"` } diff --git a/client/management/v3/zz_generated_node.go b/client/management/v3/zz_generated_node.go index 733ca026..06f576fe 100644 --- a/client/management/v3/zz_generated_node.go +++ b/client/management/v3/zz_generated_node.go @@ -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"` diff --git a/client/management/v3/zz_generated_node_status.go b/client/management/v3/zz_generated_node_status.go index 4c531259..044864ba 100644 --- a/client/management/v3/zz_generated_node_status.go +++ b/client/management/v3/zz_generated_node_status.go @@ -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"` }