mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
9c2374d196
By convention /pkg is safe to use from outside the docker tree, for example if you're building a docker orchestrator. /nat currently doesn't have any dependencies outside of /pkg, so it seems reasonable to move it there. This rename was performed with: ``` gomvpkg -vcs_mv_cmd="git mv {{.Src}} {{.Dst}}" \ -from github.com/docker/docker/nat \ -to github.com/docker/docker/pkg/nat ``` Signed-off-by: Peter Waller <p@pwaller.net>
29 lines
737 B
Go
29 lines
737 B
Go
package network
|
|
|
|
import "github.com/docker/docker/pkg/nat"
|
|
|
|
type Address struct {
|
|
Addr string
|
|
PrefixLen int
|
|
}
|
|
|
|
type Settings struct {
|
|
Bridge string
|
|
EndpointID string
|
|
Gateway string
|
|
GlobalIPv6Address string
|
|
GlobalIPv6PrefixLen int
|
|
HairpinMode bool
|
|
IPAddress string
|
|
IPPrefixLen int
|
|
IPv6Gateway string
|
|
LinkLocalIPv6Address string
|
|
LinkLocalIPv6PrefixLen int
|
|
MacAddress string
|
|
NetworkID string
|
|
PortMapping map[string]map[string]string // Deprecated
|
|
Ports nat.PortMap
|
|
SandboxKey string
|
|
SecondaryIPAddresses []Address
|
|
SecondaryIPv6Addresses []Address
|
|
}
|