Documentation
¶
Index ¶
Constants ¶
View Source
const ( //RefreshPort target port. Useful when component wants refresh its look in cluster, triggers reconcile for the node RefreshPort = "_refresh" //HttpPort source port. Provides addressUpgrader HttpPort = "_http" )
system ports
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AddressUpgrade ¶ added in v0.1.25
type ComponentInfo ¶
func (ComponentInfo) GetResourceName ¶
func (c ComponentInfo) GetResourceName() string
type Info ¶
type Info struct {
Name string
VersionID string // if module's build is registered
Version string
Addr string //listed address
}
func (Info) GetMajorName ¶
func (Info) GetMajorNameSanitised ¶
func (Info) GetNameAndVersion ¶ added in v0.1.31
GetNameAndVersion Container image full name
type ListenAddressGetter ¶
type ListenAddressGetter func() (suggestedPort int, upgrade AddressUpgrade)
ListenAddressGetter gets listen port address
type NodePort ¶
type NodePort struct {
// if that's a source port, source means it accepts the data, the source of incoming data
Source bool
// this port's DTO will be shown as a control panel
Control bool
// port with Settings equals true will be shown in configuration tab
Settings bool
// which side of the node will have this port
Position Position
// Name lower case programmatic name
Name string
// Human readable name (capital cased)
Label string
// DTO object
Configuration interface{}
}
Click to show internal directories.
Click to hide internal directories.