Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Listener ¶
func NewListener ¶
type PortInformation ¶
type PortManager ¶
type PortManager struct {
// contains filtered or unexported fields
}
func NewPortManager ¶
func NewPortManager(cb func(*PortInformation)) *PortManager
func (*PortManager) AddTarget ¶
func (pm *PortManager) AddTarget(name string, namespace string, port int) (*PortInformation, error)
func (*PortManager) RemoveTarget ¶
func (pm *PortManager) RemoveTarget(name string, namespace string, port int) *PortInformation
func (*PortManager) RemoveTargetForAllPorts ¶
func (pm *PortManager) RemoveTargetForAllPorts(name string, namespace string) []*PortInformation
Click to show internal directories.
Click to hide internal directories.