package
0.8.0-dev.2
Repository: https://github.com/cloudnativelabs/libnetwork.git
Documentation: pkg.go.dev

# Functions

New returns a new instance of PortMapper.
NewWithPortAllocator returns a new instance of PortMapper which will use the specified PortAllocator.

# Variables

ErrPortMappedForIP refers to a port already mapped to an ip address.
ErrPortNotMapped refers to an unmapped port.
ErrUnknownBackendAddressType refers to an unknown container or unsupported address type.

# Structs

PortMapper manages the network address translation.