Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Start ¶
func Start(conf configuration.Configuration, eventHandler *handlers.AnodotEventhandler)
Start prepares watchers and run their controllers, then waits for process termination signals
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func (*Controller) HasSynced ¶
func (c *Controller) HasSynced() bool
HasSynced is required for the cache.Controller interface.
func (*Controller) LastSyncResourceVersion ¶
func (c *Controller) LastSyncResourceVersion() string
LastSyncResourceVersion is required for the cache.Controller interface.
func (*Controller) Run ¶
func (c *Controller) Run(stopCh <-chan struct{})
Run starts the kubewatch controller
type EventHandler ¶
type EventHandler interface {
DoHandle()
}
Click to show internal directories.
Click to hide internal directories.