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) DrainEndpoint(ep *config.Endpoint) bool
- func (lbp *Provider) GetExistingConfigNames() (map[string]bool, error)
- func (lbp *Provider) GetName() string
- func (lbp *Provider) GetPublicEndpoints(configName string) ([]string, error)
- func (lbp *Provider) IsEndpointDrained(ep *config.Endpoint) bool
- func (lbp *Provider) IsEndpointUpForDrain(ep *config.Endpoint) bool
- func (lbp *Provider) IsHealthy() bool
- func (lbp *Provider) ProcessCustomConfig(lbConfig *config.LoadBalancerConfig, customConfig string) error
- func (lbp *Provider) RemoveEndpointFromDrain(ep *config.Endpoint)
- func (lbp *Provider) Run(syncEndpointsQueue *utils.TaskQueue)
- func (lbp *Provider) StartHaproxy() error
- func (lbp *Provider) Stop() error
- type Stat
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, drainMgr drainManager) 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) DrainEndpoint ¶ added in v0.7.11
func (*Provider) GetExistingConfigNames ¶ added in v0.9.8
func (*Provider) GetPublicEndpoints ¶ added in v0.4.0
func (*Provider) IsEndpointDrained ¶ added in v0.7.11
func (*Provider) IsEndpointUpForDrain ¶ added in v0.7.11
func (*Provider) ProcessCustomConfig ¶ added in v0.4.0
func (lbp *Provider) ProcessCustomConfig(lbConfig *config.LoadBalancerConfig, customConfig string) error
func (*Provider) RemoveEndpointFromDrain ¶ added in v0.7.11
func (*Provider) StartHaproxy ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.