Documentation ¶
Index ¶
- Variables
- type PortManager
- func (pm *PortManager) AllocatePorts(containerName string, pf []*latest.PortForwardResource, cfg *container.Config, ...) (nat.PortMap, error)
- func (pm *PortManager) RelinquishPorts(containerName string)
- func (pm *PortManager) Start(_ context.Context, out io.Writer) error
- func (pm *PortManager) Stop()
Constants ¶
This section is empty.
Variables ¶
View Source
var GetAvailablePort = util.GetAvailablePort // For testing
Functions ¶
This section is empty.
Types ¶
type PortManager ¶
type PortManager struct {
// contains filtered or unexported fields
}
func NewPortManager ¶
func NewPortManager() *PortManager
func (*PortManager) AllocatePorts ¶
func (*PortManager) RelinquishPorts ¶
func (pm *PortManager) RelinquishPorts(containerName string)
func (*PortManager) Stop ¶
func (pm *PortManager) Stop()
Click to show internal directories.
Click to hide internal directories.