eventrecorder

package
v0.0.0-...-de93ea6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoggingRecorder

type LoggingRecorder struct{}

LoggingRecorder is a simple noop recorder that implements the library-go events.Recorder interface, but just logs to stdout

func (*LoggingRecorder) ComponentName

func (r *LoggingRecorder) ComponentName() string

func (*LoggingRecorder) Event

func (r *LoggingRecorder) Event(reason, message string)

func (*LoggingRecorder) Eventf

func (r *LoggingRecorder) Eventf(reason, messageFmt string, args ...interface{})

func (*LoggingRecorder) ForComponent

func (r *LoggingRecorder) ForComponent(componentName string) events.Recorder

func (*LoggingRecorder) Shutdown

func (r *LoggingRecorder) Shutdown()

func (*LoggingRecorder) Warning

func (r *LoggingRecorder) Warning(reason, message string)

func (*LoggingRecorder) Warningf

func (r *LoggingRecorder) Warningf(reason, messageFmt string, args ...interface{})

func (*LoggingRecorder) WithComponentSuffix

func (r *LoggingRecorder) WithComponentSuffix(componentNameSuffix string) events.Recorder

func (*LoggingRecorder) WithContext

func (r *LoggingRecorder) WithContext(_ context.Context) events.Recorder

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL