record

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: May 4, 2021 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 EventRecorder

type EventRecorder struct{}

EventRecorder is object type to record events

func NewEventRecorder

func NewEventRecorder() *EventRecorder

NewEventRecorder creates and returns event recorder object

func (*EventRecorder) AnnotatedEventf added in v1.6.1

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

AnnotatedEventf is just like eventf, but with annotations attached

func (*EventRecorder) Event

func (er *EventRecorder) Event(object runtime.Object, eventtype, reason, message string)

Event logs info of event

func (*EventRecorder) Eventf

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

Eventf logs info of event

func (*EventRecorder) PastEventf

func (er *EventRecorder) PastEventf(object runtime.Object, timestamp metav1.Time, eventtype, reason, messageFmt string, args ...interface{})

PastEventf logs past events info

Jump to

Keyboard shortcuts

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