Documentation ¶ Index ¶ Variables func Map(container net.Addr, hostIP net.IP, hostPort int) error func SetIptablesChain(c *iptables.Chain) func Unmap(host net.Addr) error Constants ¶ This section is empty. Variables ¶ View Source 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 Map(container net.Addr, hostIP net.IP, hostPort int) error func SetIptablesChain ¶ func SetIptablesChain(c *iptables.Chain) func Unmap ¶ func Unmap(host net.Addr) error Types ¶ This section is empty. Source Files ¶ View all Source files mapper.go Click to show internal directories. Click to hide internal directories.