fixup inspect container struct

This commit is contained in:
Jesse Duffield 2019-06-22 14:29:13 +10:00
parent 7bd7eed2a3
commit 00f05ae012

View file

@ -225,22 +225,20 @@ type Details struct {
IPPrefixLen int `json:"IPPrefixLen"` IPPrefixLen int `json:"IPPrefixLen"`
IPv6Gateway string `json:"IPv6Gateway"` IPv6Gateway string `json:"IPv6Gateway"`
MacAddress string `json:"MacAddress"` MacAddress string `json:"MacAddress"`
Networks struct { Networks map[string]struct {
ApdevDefault struct { IPAMConfig interface{} `json:"IPAMConfig"`
IPAMConfig interface{} `json:"IPAMConfig"` Links interface{} `json:"Links"`
Links interface{} `json:"Links"` Aliases []string `json:"Aliases"`
Aliases []string `json:"Aliases"` NetworkID string `json:"NetworkID"`
NetworkID string `json:"NetworkID"` EndpointID string `json:"EndpointID"`
EndpointID string `json:"EndpointID"` Gateway string `json:"Gateway"`
Gateway string `json:"Gateway"` IPAddress string `json:"IPAddress"`
IPAddress string `json:"IPAddress"` IPPrefixLen int `json:"IPPrefixLen"`
IPPrefixLen int `json:"IPPrefixLen"` IPv6Gateway string `json:"IPv6Gateway"`
IPv6Gateway string `json:"IPv6Gateway"` GlobalIPv6Address string `json:"GlobalIPv6Address"`
GlobalIPv6Address string `json:"GlobalIPv6Address"` GlobalIPv6PrefixLen int `json:"GlobalIPv6PrefixLen"`
GlobalIPv6PrefixLen int `json:"GlobalIPv6PrefixLen"` MacAddress string `json:"MacAddress"`
MacAddress string `json:"MacAddress"` DriverOpts interface{} `json:"DriverOpts"`
DriverOpts interface{} `json:"DriverOpts"`
} `json:"apdev_default"`
} `json:"Networks"` } `json:"Networks"`
} `json:"NetworkSettings"` } `json:"NetworkSettings"`
} }