haproxy

package
v0.9.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2020 License: Apache-2.0 Imports: 18 Imported by: 1

Documentation

Index

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

func GetDefaultConfig() map[string]map[string]string

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 (lbp *Provider) CleanupConfig(name string) error

func (*Provider) DrainEndpoint added in v0.7.11

func (lbp *Provider) DrainEndpoint(ep *config.Endpoint) bool

func (*Provider) GetExistingConfigNames added in v0.9.8

func (lbp *Provider) GetExistingConfigNames() (map[string]bool, error)

func (*Provider) GetName added in v0.4.0

func (lbp *Provider) GetName() string

func (*Provider) GetPublicEndpoints added in v0.4.0

func (lbp *Provider) GetPublicEndpoints(configName string) ([]string, error)

func (*Provider) IsEndpointDrained added in v0.7.11

func (lbp *Provider) IsEndpointDrained(ep *config.Endpoint) bool

func (*Provider) IsEndpointUpForDrain added in v0.7.11

func (lbp *Provider) IsEndpointUpForDrain(ep *config.Endpoint) bool

func (*Provider) IsHealthy added in v0.4.0

func (lbp *Provider) IsHealthy() bool

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 (lbp *Provider) RemoveEndpointFromDrain(ep *config.Endpoint)

func (*Provider) Run added in v0.4.0

func (lbp *Provider) Run(syncEndpointsQueue *utils.TaskQueue)

func (*Provider) StartHaproxy added in v0.4.0

func (lbp *Provider) StartHaproxy() error

func (*Provider) Stop added in v0.4.0

func (lbp *Provider) Stop() error

type Stat added in v0.7.11

type Stat map[string]string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL