Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterProvider ¶
Types ¶
type Provider ¶
type Provider interface { // GetName returns the name of the provider. GetName() string // Init initializes the provider. Init() error // HealthCheck checks the connection to the provider. HealthCheck() error // AddLBConfig adds a new endpoint configuration. It may // return the FQDN for the endpoint if supported by the provider. AddLBConfig(config model.LBConfig) (fqdn string, err error) // UpdateLBConfig updates the endpoint configuration. It may // return the FQDN for the endpoint if supported by the provider. UpdateLBConfig(config model.LBConfig) (fqdn string, err error) // RemoveLBConfig removes the specified endpoint configuration. RemoveLBConfig(config model.LBConfig) error // GetLBConfigs returns all endpoint configurations. GetLBConfigs() ([]model.LBConfig, error) }
func GetProvider ¶
Click to show internal directories.
Click to hide internal directories.