Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Init ¶
func Init(c config.Configuration, sif informers.SharedInformerFactory)
Init calls all registered provider plugins Init func
func OnSync ¶
func OnSync(lb *lbapi.LoadBalancer)
OnSync calls all registered provider plugins OnSync func
func Plugins ¶
func Plugins() []string
Plugins returns the name of all registered provider plugin in a string slice
func RegisterPlugin ¶
RegisterPlugin registers a Plugin by name. Register does not allow user to override an existing Plugin. This is expected to happen during app startup.
Types ¶
type Plugin ¶
type Plugin interface { Init(config.Configuration, informers.SharedInformerFactory) Run(stopCh <-chan struct{}) OnSync(*lbapi.LoadBalancer) }
Plugin defines a pluggable provider interface
Click to show internal directories.
Click to hide internal directories.