1
0
mirror of https://github.com/rancher/types.git synced 2025-08-31 21:00:16 +00:00

ExternalIP to node

This commit is contained in:
Alena Prokharchyk
2018-04-03 14:00:43 -07:00
committed by Darren Shepherd
parent 0efe60ff1a
commit a1a28ef8e8
2 changed files with 6 additions and 3 deletions

View File

@@ -103,9 +103,10 @@ func nativeNodeTypes(schemas *types.Schemas) *types.Schemas {
schema.CodeName = "InternalNodeStatus"
schema.CodeNamePlural = "InternalNodeStatuses"
}, struct {
IPAddress string
Hostname string
Info NodeInfo
IPAddress string
ExternalIPAddress string `json:"externalIpAddress,omitempty"`
Hostname string
Info NodeInfo
}{})
}