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