2015-04-04 07:06:48 +03:00
|
|
|
package network
|
2014-04-14 10:15:31 +04:00
|
|
|
|
2015-04-04 07:06:48 +03:00
|
|
|
import "github.com/docker/docker/nat"
|
2014-04-14 10:15:31 +04:00
|
|
|
|
2015-05-07 01:39:29 +03:00
|
|
|
type Address struct {
|
|
|
|
Addr string
|
|
|
|
PrefixLen int
|
|
|
|
}
|
|
|
|
|
2015-04-04 07:06:48 +03:00
|
|
|
type Settings struct {
|
2015-05-07 01:39:29 +03:00
|
|
|
Bridge string
|
|
|
|
EndpointID string
|
|
|
|
Gateway string
|
|
|
|
GlobalIPv6Address string
|
|
|
|
GlobalIPv6PrefixLen int
|
|
|
|
HairpinMode bool
|
2015-01-09 02:03:19 +03:00
|
|
|
IPAddress string
|
|
|
|
IPPrefixLen int
|
2015-05-07 01:39:29 +03:00
|
|
|
IPv6Gateway string
|
2015-01-09 02:03:19 +03:00
|
|
|
LinkLocalIPv6Address string
|
|
|
|
LinkLocalIPv6PrefixLen int
|
2015-05-07 01:39:29 +03:00
|
|
|
MacAddress string
|
|
|
|
NetworkID string
|
2015-04-04 07:06:48 +03:00
|
|
|
PortMapping map[string]map[string]string // Deprecated
|
2015-01-09 02:03:19 +03:00
|
|
|
Ports nat.PortMap
|
2015-05-07 01:39:29 +03:00
|
|
|
SandboxKey string
|
|
|
|
SecondaryIPAddresses []Address
|
|
|
|
SecondaryIPv6Addresses []Address
|
2014-04-14 10:15:31 +04:00
|
|
|
}
|