event

package
v0.0.0-...-9cd9406 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event interface {
	Normal(object machineryruntime.Object, reason Reason, msg string)
	Warning(object machineryruntime.Object, reason Reason, err error)
}

type Reason

type Reason string

type RecorderWrapper

type RecorderWrapper struct {
	// contains filtered or unexported fields
}

func NewRecorderWrapper

func NewRecorderWrapper(recorder record.EventRecorder) *RecorderWrapper

func (*RecorderWrapper) Normal

func (e *RecorderWrapper) Normal(obj machineryruntime.Object, reason Reason, msg string)

func (*RecorderWrapper) Warning

func (e *RecorderWrapper) Warning(obj machineryruntime.Object, reason Reason, err error)

Jump to

Keyboard shortcuts

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