Documentation ¶
Index ¶
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") )
View Source
var NewProxy = NewProxyCommand
Functions ¶
This section is empty.
Types ¶
type PortMapper ¶
type PortMapper struct { Allocator *portallocator.PortAllocator // contains filtered or unexported fields }
func New ¶
func New() *PortMapper
func NewWithPortAllocator ¶
func NewWithPortAllocator(allocator *portallocator.PortAllocator) *PortMapper
func (*PortMapper) SetIptablesChain ¶
func (pm *PortMapper) SetIptablesChain(c *iptables.Chain)
Click to show internal directories.
Click to hide internal directories.