record

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2019 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) 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