provider

package
v0.5.6 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2017 License: Apache-2.0 Imports: 3 Imported by: 4

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
	ProcessCustomConfig(lbConfig *config.LoadBalancerConfig, customConfig string) error
}

func GetProvider

func GetProvider(name string) LBProvider

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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