Documentation ¶
Overview ¶
Package controller provides a Kubernetes controller that watches for changes to Kubernetes objects and updates the an inverted index with those changes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller is an informer, a workqueue, and an inverted index.
func (*Controller) Index ¶
func (c *Controller) Index() *index.Index
Index returns the index bound to this Controller.
func (*Controller) Start ¶
func (c *Controller) Start() context.CancelFunc
Start this controller. The caller should defer the call to the return cancel function.
Click to show internal directories.
Click to hide internal directories.