mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
56fdb05258
- Ground-work for integrating with user namespace support Signed-off-by: Alessandro Boch <aboch@docker.com>
32 lines
870 B
Go
32 lines
870 B
Go
package network
|
|
|
|
import "github.com/docker/docker/pkg/nat"
|
|
|
|
// Address represents an IP address
|
|
type Address struct {
|
|
Addr string
|
|
PrefixLen int
|
|
}
|
|
|
|
// Settings stores configuration details about the daemon network config
|
|
// TODO Windows. Many of these fields can be factored out.,
|
|
type Settings struct {
|
|
Bridge string
|
|
EndpointID string
|
|
SandboxID string
|
|
Gateway string
|
|
GlobalIPv6Address string
|
|
GlobalIPv6PrefixLen int
|
|
HairpinMode bool
|
|
IPAddress string
|
|
IPPrefixLen int
|
|
IPv6Gateway string
|
|
LinkLocalIPv6Address string
|
|
LinkLocalIPv6PrefixLen int
|
|
MacAddress string
|
|
NetworkID string
|
|
Ports nat.PortMap
|
|
SandboxKey string
|
|
SecondaryIPAddresses []Address
|
|
SecondaryIPv6Addresses []Address
|
|
}
|