event

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNodeBroadcaster

func NewNodeBroadcaster() record.EventBroadcaster

Creates a new event broadcaster.

Types

type NodeRecorder

type NodeRecorder struct {
	*watch.Broadcaster
	// contains filtered or unexported fields
}

func (*NodeRecorder) AnnotatedEventf

func (recorder *NodeRecorder) AnnotatedEventf(object runtime.Object,
	annotations map[string]string, eventtype, reason, messageFmt string, args ...interface{})

func (*NodeRecorder) Event

func (recorder *NodeRecorder) Event(object runtime.Object, eventtype, reason, message string)

func (*NodeRecorder) Eventf

func (recorder *NodeRecorder) Eventf(object runtime.Object,
	eventtype, reason, messageFmt string, args ...interface{})

func (*NodeRecorder) WithLogger added in v1.5.1

func (recorder *NodeRecorder) WithLogger(logger klog.Logger) record.EventRecorderLogger

Jump to

Keyboard shortcuts

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