2014-04-17 14:43:01 -07:00
|
|
|
package daemon
|
2014-04-14 06:15:31 +00:00
|
|
|
|
|
|
|
import (
|
2014-07-24 22:19:50 +00:00
|
|
|
"github.com/docker/docker/nat"
|
2014-04-14 06:15:31 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// FIXME: move deprecated port stuff to nat to clean up the core.
|
|
|
|
type PortMapping map[string]string // Deprecated
|
|
|
|
|
|
|
|
type NetworkSettings struct {
|
2015-01-09 00:03:19 +01:00
|
|
|
IPAddress string
|
|
|
|
IPPrefixLen int
|
|
|
|
MacAddress string
|
|
|
|
LinkLocalIPv6Address string
|
|
|
|
LinkLocalIPv6PrefixLen int
|
|
|
|
GlobalIPv6Address string
|
|
|
|
GlobalIPv6PrefixLen int
|
|
|
|
Gateway string
|
|
|
|
IPv6Gateway string
|
|
|
|
Bridge string
|
|
|
|
PortMapping map[string]PortMapping // Deprecated
|
|
|
|
Ports nat.PortMap
|
2014-04-14 06:15:31 +00:00
|
|
|
}
|