Add PodIP to the info returned for a pod.

This commit is contained in:
Brendan Burns
2014-07-09 22:13:07 -07:00
parent b0b9606aea
commit 7b11cbd622
3 changed files with 46 additions and 0 deletions

View File

@@ -196,6 +196,7 @@ type PodState struct {
Status PodStatus `json:"status,omitempty" yaml:"status,omitempty"`
Host string `json:"host,omitempty" yaml:"host,omitempty"`
HostIP string `json:"hostIP,omitempty" yaml:"hostIP,omitempty"`
PodIP string `json:"podIP,omitempty" yaml:"podIP,omitempty"`
// The key of this map is the *name* of the container within the manifest; it has one
// entry per container in the manifest. The value of this map is currently the output