Documentation
¶
Index ¶
Constants ¶
View Source
const Localhost = "localhost"
Variables ¶
This section is empty.
Functions ¶
func RegisterProvider ¶
func RegisterProvider(name string, provider LBProvider) error
Types ¶
type LBProvider ¶
type LBProvider interface {
ApplyConfig(lbConfig *config.LoadBalancerConfig) error
GetName() string
GetPublicEndpoints(configName string) []string
CleanupConfig(configName string) error
Run(syncEndpointsQueue *utils.TaskQueue)
Stop() error
IsHealthy() bool
}
func GetProvider ¶
func GetProvider(name string) LBProvider
Click to show internal directories.
Click to hide internal directories.