Documentation ¶
Index ¶
- func BuildCustomConfig(lbConfig *config.LoadBalancerConfig, customConfig string) error
- func GetDefaultConfig() map[string]map[string]string
- type Provider
- func (lbp *Provider) ApplyConfig(lbConfig *config.LoadBalancerConfig) error
- func (lbp *Provider) CleanupConfig(name string) error
- func (lbp *Provider) GetName() string
- func (lbp *Provider) GetPublicEndpoints(configName string) []string
- func (lbp *Provider) IsHealthy() bool
- func (lbp *Provider) ProcessCustomConfig(lbConfig *config.LoadBalancerConfig, customConfig string) error
- func (lbp *Provider) Run(syncEndpointsQueue *utils.TaskQueue)
- func (lbp *Provider) StartHaproxy() error
- func (lbp *Provider) Stop() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildCustomConfig ¶ added in v0.4.0
func BuildCustomConfig(lbConfig *config.LoadBalancerConfig, customConfig string) error
func GetDefaultConfig ¶ added in v0.4.0
Types ¶
type Provider ¶ added in v0.4.0
type Provider struct {
// contains filtered or unexported fields
}
func (*Provider) ApplyConfig ¶ added in v0.4.0
func (lbp *Provider) ApplyConfig(lbConfig *config.LoadBalancerConfig) error
func (*Provider) CleanupConfig ¶ added in v0.4.0
func (*Provider) GetPublicEndpoints ¶ added in v0.4.0
func (*Provider) ProcessCustomConfig ¶ added in v0.4.0
func (lbp *Provider) ProcessCustomConfig(lbConfig *config.LoadBalancerConfig, customConfig string) error
func (*Provider) StartHaproxy ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.