package
0.0.0-20240818021530-f5e744f7964a
Repository: https://github.com/kaisenlinux/docker.io.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.
ErrSCTPAddrNoIP refers to a SCTP address without IP address.
ErrUnknownBackendAddressType refers to an unknown container or unsupported address type.

# Structs

PortMapper manages the network address translation.