File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -34,11 +34,12 @@ type PodNetwork struct {
3434
3535// PodEndpoint describes an endpoint for a pod's container
3636type PodEndpoint struct {
37- Name string `json:"name,omitempty"`
38- ContainerPort int `json:"containerPort,omitempty"`
39- HostPort int `json:"hostPort,omitempty"`
40- Protocol []string `json:"protocol,omitempty"`
41- Labels map [string ]string `json:"labels,omitempty"`
37+ Name string `json:"name,omitempty"`
38+ ContainerPort int `json:"containerPort,omitempty"`
39+ HostPort int `json:"hostPort,omitempty"`
40+ AllocatedHostPort int `json:"allocatedHostPort,omitempty"`
41+ Protocol []string `json:"protocol,omitempty"`
42+ Labels map [string ]string `json:"labels,omitempty"`
4243}
4344
4445// NewPodNetwork creates an empty PodNetwork
You can’t perform that action at this time.
0 commit comments