Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( NewProxy = NewProxyCommand DefaultPortMapper = NewWithPortAllocator(portallocator.DefaultPortAllocator) SetIptablesChain = DefaultPortMapper.SetIptablesChain Map = DefaultPortMapper.Map Unmap = DefaultPortMapper.Unmap )
Functions ¶
This section is empty.
Types ¶
type PortMapper ¶
type PortMapper struct {
// 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.