Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterController ¶
func RegisterController(name string, controller LBController) error
Types ¶
type LBController ¶
type LBController interface {
Init(metadataURL string)
GetName() string
Run(lbProvider provider.LBProvider)
Stop() error
GetLBConfigs() ([]*config.LoadBalancerConfig, error)
IsHealthy() bool
}
func GetController ¶
func GetController(name string, metadataURL string) LBController
Click to show internal directories.
Click to hide internal directories.