eventsink

package
v0.0.0-...-5ee5d88 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventRecorderMux

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

func NewDefederatingRecorderMux

func NewDefederatingRecorderMux(
	kubeClient kubernetes.Interface,
	userAgent string,
	withLoggingVerbosity klog.Level,
) *EventRecorderMux

func (*EventRecorderMux) AnnotatedEventf

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

AnnotatedEventf is just like eventf, but with annotations attached

func (*EventRecorderMux) Event

func (mux *EventRecorderMux) Event(object runtime.Object, eventtype, reason, message string)

func (*EventRecorderMux) Eventf

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

Eventf is just like Event, but with Sprintf for the message field.

func (*EventRecorderMux) With

func (*EventRecorderMux) WithDefederateTransformer

func (mux *EventRecorderMux) WithDefederateTransformer(recorder record.EventRecorder) *EventRecorderMux

func (*EventRecorderMux) WithTransform

func (mux *EventRecorderMux) WithTransform(
	recorder record.EventRecorder,
	transformObject func(runtime.Object) runtime.Object,
) *EventRecorderMux

Jump to

Keyboard shortcuts

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