mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
650bc2ffe5
Signed-off-by: Doug Davis <dug@us.ibm.com>
23 lines
606 B
Go
23 lines
606 B
Go
package daemon
|
|
|
|
import (
|
|
"github.com/docker/docker/nat"
|
|
)
|
|
|
|
// FIXME: move deprecated port stuff to nat to clean up the core.
|
|
type PortMapping map[string]string // Deprecated
|
|
|
|
type NetworkSettings struct {
|
|
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
|
|
}
|