Add NodeName to EndpointAddress object

This commit is contained in:
Girish Kalele
2016-08-11 16:37:07 -07:00
parent ceb75699dd
commit c60ba61fe7
3 changed files with 6 additions and 1 deletions

View File

@@ -1889,6 +1889,8 @@ type EndpointAddress struct {
// Optional: Hostname of this endpoint
// Meant to be used by DNS servers etc.
Hostname string `json:"hostname,omitempty"`
// Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node.
NodeName *string `json:"nodeName,omitempty"`
// Optional: The kubernetes object related to the entry point.
TargetRef *ObjectReference
}