Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller interface { GetClient(name string) (client.ValiClient, 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, seedClient client.ValiClient, l log.Logger) (Controller, error)
NewController return Controller interface
type ControllerClient ¶ added in v0.37.0
type ControllerClient interface { client.ValiClient GetState() clusterState SetState(state clusterState) }
ControllerClient is a Vali client for the valiplugin controller
Click to show internal directories.
Click to hide internal directories.