Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller object
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 InformerEvent ¶
type InformerEvent struct {
// contains filtered or unexported fields
}
InformerEvent captures events from the informer
type KubeEvent ¶
type KubeEvent struct {
Namespace string
Kind string
Component string
Host string
Reason string
Status string
Name string
}
KubeEvent represent an event got from k8s api server Events from different endpoints need to be casted to KubewatchEvent before being able to be handled by handler
Click to show internal directories.
Click to hide internal directories.