Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EventRecorder ¶
type EventRecorder interface { // The resulting event will be created in the same namespace as the reference object. Event(cli *client.Client, object runtime.Object, eventType, reason, message string) // Eventf is just like Event, but with Sprintf for the message field. Eventf(cli *client.Client, object runtime.Object, eventType, reason, messageFmt string, args ...interface{}) }
EventRecorder knows how to record events on behalf of an EventSource.
func NewRecorder ¶
func NewRecorder(scheme *runtime.Scheme, source corev1.EventSource) EventRecorder
NewRecorder returns an EventRecorder that can be used to send events with the given event source.
Click to show internal directories.
Click to hide internal directories.