mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Extract network settings types for inspect.
Keeping backwards compatibility. Signed-off-by: David Calavera <david.calavera@gmail.com> Signed-off-by: Tibor Vass <tibor@docker.com>
This commit is contained in:
parent
1b9a08e719
commit
25682577c9
12 changed files with 143 additions and 93 deletions
|
|
@ -26,18 +26,10 @@ type IPAMConfig struct {
|
|||
// TODO Windows. Many of these fields can be factored out.,
|
||||
type Settings struct {
|
||||
Bridge string
|
||||
EndpointID string // this is for backward compatibility
|
||||
SandboxID string
|
||||
Gateway string // this is for backward compatibility
|
||||
GlobalIPv6Address string // this is for backward compatibility
|
||||
GlobalIPv6PrefixLen int // this is for backward compatibility
|
||||
HairpinMode bool
|
||||
IPAddress string // this is for backward compatibility
|
||||
IPPrefixLen int // this is for backward compatibility
|
||||
IPv6Gateway string // this is for backward compatibility
|
||||
LinkLocalIPv6Address string
|
||||
LinkLocalIPv6PrefixLen int
|
||||
MacAddress string // this is for backward compatibility
|
||||
Networks map[string]*EndpointSettings
|
||||
Ports nat.PortMap
|
||||
SandboxKey string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue