Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EndpointSettings ¶ added in v1.9.0
type EndpointSettings struct { EndpointID string Gateway string IPAddress string IPPrefixLen int IPv6Gateway string GlobalIPv6Address string GlobalIPv6PrefixLen int MacAddress string }
EndpointSettings stores the network endpoint details
type IPAM ¶ added in v1.9.0
type IPAM struct { Driver string `json:"driver"` Config []IPAMConfig `json:"config"` }
IPAM represents IP Address Management
type IPAMConfig ¶ added in v1.9.0
type IPAMConfig struct { Subnet string `json:"subnet,omitempty"` IPRange string `json:"ip_range,omitempty"` Gateway string `json:"gateway,omitempty"` AuxAddress map[string]string `json:"auxiliary_address,omitempty"` }
IPAMConfig represents IPAM configurations
type Settings ¶
type Settings struct { Bridge string SandboxID string HairpinMode bool LinkLocalIPv6Address string LinkLocalIPv6PrefixLen int Networks map[string]*EndpointSettings Ports nat.PortMap SandboxKey string SecondaryIPAddresses []Address SecondaryIPv6Addresses []Address IsAnonymousEndpoint bool }
Settings stores configuration details about the daemon network config TODO Windows. Many of these fields can be factored out.,
Click to show internal directories.
Click to hide internal directories.