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 ¶ added in v1.6.0
type PortMapper struct { Allocator *portallocator.PortAllocator // contains filtered or unexported fields }
func New ¶ added in v1.6.0
func New() *PortMapper
func NewWithPortAllocator ¶ added in v1.6.0
func NewWithPortAllocator(allocator *portallocator.PortAllocator) *PortMapper
func (*PortMapper) SetIptablesChain ¶ added in v1.6.0
func (pm *PortMapper) SetIptablesChain(c *iptables.Chain)
type UserlandProxy ¶ added in v1.2.0
func NewMockProxyCommand ¶ added in v1.2.0
func NewProxyCommand ¶ added in v1.2.0
Click to show internal directories.
Click to hide internal directories.