controller

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: 3 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterController

func RegisterController(name string, controller LBController) error

Types

type LBController

type LBController interface {
	Init(metadataURL string)
	GetName() string
	Run(lbProvider provider.LBProvider)
	Stop() error
	GetLBConfigs() ([]*config.LoadBalancerConfig, error)
	IsHealthy() bool
}

func GetController

func GetController(name string, metadataURL string) LBController

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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