Documentation ¶
Index ¶
- type Config
- type StaticL3PortManager
- func (pm *StaticL3PortManager) CheckPortExists(portID string) (bool, error)
- func (pm *StaticL3PortManager) CleanUnusedPorts(usedPorts []string) error
- func (pm *StaticL3PortManager) GetAvailablePorts() ([]string, error)
- func (pm *StaticL3PortManager) GetExternalAddress(portID string) (string, string, error)
- func (pm *StaticL3PortManager) GetInternalAddress(portID string) (string, error)
- func (pm *StaticL3PortManager) ProvisionPort() (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StaticL3PortManager ¶
type StaticL3PortManager struct {
// contains filtered or unexported fields
}
func NewStaticL3PortManager ¶
func NewStaticL3PortManager(config *Config) (*StaticL3PortManager, error)
func (*StaticL3PortManager) CheckPortExists ¶
func (pm *StaticL3PortManager) CheckPortExists(portID string) (bool, error)
func (*StaticL3PortManager) CleanUnusedPorts ¶
func (pm *StaticL3PortManager) CleanUnusedPorts(usedPorts []string) error
func (*StaticL3PortManager) GetAvailablePorts ¶
func (pm *StaticL3PortManager) GetAvailablePorts() ([]string, error)
func (*StaticL3PortManager) GetExternalAddress ¶
func (pm *StaticL3PortManager) GetExternalAddress(portID string) (string, string, error)
func (*StaticL3PortManager) GetInternalAddress ¶
func (pm *StaticL3PortManager) GetInternalAddress(portID string) (string, error)
func (*StaticL3PortManager) ProvisionPort ¶
func (pm *StaticL3PortManager) ProvisionPort() (string, error)
Click to show internal directories.
Click to hide internal directories.