Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶ added in v0.66.0
type Client interface {
client.OutputClient
GetState() clusterState
SetState(state clusterState)
}
Client is a Vali client for the plugin controller
type Controller ¶
type Controller interface {
GetClient(name string) (client.OutputClient, bool)
Stop()
}
Controller represent a k8s controller watching for resources and create Vali clients base on them
func NewController ¶
func NewController(informer cache.SharedIndexInformer, conf *config.Config, l log.Logger) (Controller, error)
NewController return Controller interface
Click to show internal directories.
Click to hide internal directories.