Versions in this module Expand all Collapse all v0 v0.7.0 Jul 19, 2023 Changes in this version + func AddEventExporter(mgr ctrl.Manager, eventConfigFile string, leafHubName string) error + type EventEnhancer interface + Enhance func(ctx context.Context, event *kube.EnhancedEvent) + type EventExporter interface + RegisterEnhancer func(enhancer EventEnhancer) + Start func(ctx context.Context) error + type EventHandler func(event *kube.EnhancedEvent) + type EventWatcher struct + func NewEventWatcher(config *rest.Config, namespace string, MaxEventAgeSeconds int64, ...) *EventWatcher + func NewMockEventWatcher(MaxEventAgeSeconds int64, metricsStore *metrics.Store) *EventWatcher + func (e *EventWatcher) OnAdd(obj interface{}) + func (e *EventWatcher) OnDelete(obj interface{}) + func (e *EventWatcher) OnUpdate(oldObj, newObj interface{}) + func (e *EventWatcher) Start() + func (e *EventWatcher) Stop()