Documentation ¶
Overview ¶
Package controller provides a controller that can be used to watch policies in the Kubernetes API. It registers strategies from those policies to an enforcer.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TelemetryPolicyController ¶
TelemetryPolicyController instruments the necessary functions for to Register policies to a metrics cache and a Interface registry. Controller embeds a rest interface to Kubernetes which allows it to be passed as a client. It also embeds a cache editor which allows it to write to and delete from a shared cache.
func (*TelemetryPolicyController) Run ¶
func (controller *TelemetryPolicyController) Run(context context.Context)
Run starts the controller watching on the Informer queue and doesnt' stop it, until the Done signal is received from context.
Click to show internal directories.
Click to hide internal directories.