Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommonController ¶
type CommonController struct { Conf *config.AlertConfig Queue workqueue.RateLimitingInterface Informer cache.SharedIndexInformer Handler handlers.Handler Name string ListWatch cache.ListerWatcher ObjType runtime.Object StopCh chan struct{} // contains filtered or unexported fields }
func (*CommonController) Run ¶
func (c *CommonController) Run(stopCh <-chan struct{})
func (*CommonController) Start ¶
func (c *CommonController) Start(wg *sync.WaitGroup)
func (*CommonController) Stop ¶
func (c *CommonController) Stop()
type Controller ¶
type Controller interface { Start(wg *sync.WaitGroup) Stop() Init(c *config.AlertConfig, handler handlers.Handler) Controller HandlerName() string }
Click to show internal directories.
Click to hide internal directories.