Versions in this module Expand all Collapse all v0 v0.0.1 Aug 2, 2023 Changes in this version + func GetControllerReferenceForCurrentPod(ctx context.Context, client kubernetes.Interface, targetNamespace string, ...) (*corev1.ObjectReference, error) + func RecommendedClusterSingletonCorrelatorOptions() record.CorrelatorOptions + type InMemoryRecorder interface + Events func() []*corev1.Event + func NewInMemoryRecorder(sourceComponent string) InMemoryRecorder + type LoggingEventRecorder struct + func (r *LoggingEventRecorder) ComponentName() string + func (r *LoggingEventRecorder) Event(reason, message string) + func (r *LoggingEventRecorder) Eventf(reason, messageFmt string, args ...interface{}) + func (r *LoggingEventRecorder) ForComponent(component string) Recorder + func (r *LoggingEventRecorder) Shutdown() + func (r *LoggingEventRecorder) Warning(reason, message string) + func (r *LoggingEventRecorder) Warningf(reason, messageFmt string, args ...interface{}) + func (r *LoggingEventRecorder) WithComponentSuffix(suffix string) Recorder + func (r *LoggingEventRecorder) WithContext(ctx context.Context) Recorder + type Recorder interface + ComponentName func() string + Event func(reason, message string) + Eventf func(reason, messageFmt string, args ...interface{}) + ForComponent func(componentName string) Recorder + Shutdown func() + Warning func(reason, message string) + Warningf func(reason, messageFmt string, args ...interface{}) + WithComponentSuffix func(componentNameSuffix string) Recorder + WithContext func(ctx context.Context) Recorder + func NewKubeRecorder(client corev1client.EventInterface, sourceComponentName string, ...) Recorder + func NewKubeRecorderWithOptions(client corev1client.EventInterface, options record.CorrelatorOptions, ...) Recorder + func NewLoggingEventRecorder(component string) Recorder + func NewRecorder(client corev1client.EventInterface, sourceComponentName string, ...) Recorder