Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct { CrdType v1.CrdType Clientset kubernetes.Interface Queue workqueue.RateLimitingInterface Informer cache.SharedIndexInformer Handler handler.PolicyHandler }
Controller struct defines how a controller should encapsulate logging, client connectivity, informing (list and watching) queueing, and handling of resource changes
func (*Controller) HasSynced ¶
func (c *Controller) HasSynced() bool
HasSynced allows us to satisfy the Controller interface by wiring up the informer's HasSynced method to it
func (*Controller) Run ¶
func (c *Controller) Run(stopCh <-chan struct{})
Run is the main path of execution for the controller loop
Click to show internal directories.
Click to hide internal directories.