recorder

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2025 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IntoContext

func IntoContext(ctx context.Context, recorder Recorder) context.Context

Types

type Recorder

type Recorder interface {
	Eventf(eventType, reason, messageFmt string, args ...interface{})
}

func FromContext

func FromContext(ctx context.Context) Recorder

func New

func New(eventRecorder record.EventRecorder, object runtime.Object) Recorder

Jump to

Keyboard shortcuts

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