const maxTriesPerEvent …
var defaultSleepDuration …
const maxQueuedEvents …
type EventSink …
type CorrelatorOptions …
type EventRecorder …
type EventRecorderLogger …
type EventBroadcaster …
type EventRecorderAdapter …
var _ …
func NewEventRecorderAdapter(recorder EventRecorderLogger) *EventRecorderAdapter { … }
func (a *EventRecorderAdapter) Eventf(regarding, _ runtime.Object, eventtype, reason, action, note string, args ...interface{ … }
func (a *EventRecorderAdapter) WithLogger(logger klog.Logger) internalevents.EventRecorderLogger { … }
func NewBroadcaster(opts ...BroadcasterOption) EventBroadcaster { … }
func NewBroadcasterForTests(sleepDuration time.Duration) EventBroadcaster { … }
func NewBroadcasterWithCorrelatorOptions(options CorrelatorOptions) EventBroadcaster { … }
func WithCorrelatorOptions(options CorrelatorOptions) BroadcasterOption { … }
func WithContext(ctx context.Context) BroadcasterOption { … }
func WithSleepDuration(sleepDuration time.Duration) BroadcasterOption { … }
type BroadcasterOption …
type config …
type eventBroadcasterImpl …
func (e *eventBroadcasterImpl) StartRecordingToSink(sink EventSink) watch.Interface { … }
func (e *eventBroadcasterImpl) Shutdown() { … }
func (e *eventBroadcasterImpl) recordToSink(sink EventSink, event *v1.Event, eventCorrelator *EventCorrelator) { … }
func recordEvent(ctx context.Context, sink EventSink, event *v1.Event, patch []byte, updateExistingEvent bool, eventCorrelator *EventCorrelator) bool { … }
func (e *eventBroadcasterImpl) StartLogging(logf func(format string, args ...interface{ … }
func (e *eventBroadcasterImpl) StartStructuredLogging(verbosity klog.Level) watch.Interface { … }
func (e *eventBroadcasterImpl) StartEventWatcher(eventHandler func(*v1.Event)) watch.Interface { … }
func (e *eventBroadcasterImpl) NewRecorder(scheme *runtime.Scheme, source v1.EventSource) EventRecorderLogger { … }
type recorderImpl …
var _ …
func (recorder *recorderImpl) generateEvent(logger klog.Logger, object runtime.Object, annotations map[string]string, eventtype, reason, message string) { … }
func (recorder *recorderImpl) Event(object runtime.Object, eventtype, reason, message string) { … }
func (recorder *recorderImpl) Eventf(object runtime.Object, eventtype, reason, messageFmt string, args ...interface{ … }
func (recorder *recorderImpl) AnnotatedEventf(object runtime.Object, annotations map[string]string, eventtype, reason, messageFmt string, args ...interface{ … }
func (recorder *recorderImpl) makeEvent(ref *v1.ObjectReference, annotations map[string]string, eventtype, reason, message string) *v1.Event { … }
type recorderImplLogger …
var _ …
func (recorder recorderImplLogger) Event(object runtime.Object, eventtype, reason, message string) { … }
func (recorder recorderImplLogger) Eventf(object runtime.Object, eventtype, reason, messageFmt string, args ...interface{ … }
func (recorder recorderImplLogger) AnnotatedEventf(object runtime.Object, annotations map[string]string, eventtype, reason, messageFmt string, args ...interface{ … }
func (recorder recorderImplLogger) WithLogger(logger klog.Logger) EventRecorderLogger { … }