Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Recorder ¶
type Recorder interface { NewInstance(group, version, kind string) RecorderInstance // contains filtered or unexported methods }
Recorder event factory for kubernetes
func NewEventRecorder ¶
func NewEventRecorder(name string, kubeClientSet kubernetes.Interface) Recorder
NewEventRecorder creates new event recorder
type RecorderInstance ¶
type RecorderInstance interface { Event(object meta.Object, eventType, reason, format string, a ...interface{}) Warning(object meta.Object, reason, format string, a ...interface{}) Normal(object meta.Object, reason, format string, a ...interface{}) }
RecorderInstance represents instance of event recorder for specific kubernetes type
Click to show internal directories.
Click to hide internal directories.