type FakeRecorder … var _ … // Eventf emits an event func (f *FakeRecorder) Eventf(regarding runtime.Object, related runtime.Object, eventtype, reason, action, note string, args ...interface{ … } func (f *FakeRecorder) WithLogger(logger klog.Logger) EventRecorderLogger { … } // NewFakeRecorder creates new fake event recorder with event channel with // buffer of given size. func NewFakeRecorder(bufferSize int) *FakeRecorder { … }