package portmapper
import "github.com/dotcloud/docker/daemon/networkdriver/portmapper"
Index ¶
- Variables
- func Map(container net.Addr, hostIP net.IP, hostPort int) (net.Addr, error)
- func SetIptablesChain(c *iptables.Chain)
- func Unmap(host net.Addr) error
Variables ¶
var ( ErrUnknownBackendAddressType = errors.New("unknown container address type not supported") ErrPortMappedForIP = errors.New("port is already mapped to ip") ErrPortNotMapped = errors.New("port is not mapped") )
Functions ¶
func Map ¶
func SetIptablesChain ¶
func Unmap ¶
Source Files ¶
- Version
- v1.1.0
- Published
- Jul 3, 2014
- Platform
- linux/amd64
- Imports
- 7 packages
- Last checked
- 3 minutes ago –
Tools for package owners.