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
Click to show internal directories.
Click to hide internal directories.