Documentation
¶
Index ¶
- type EventRecorderMux
- func (mux *EventRecorderMux) AnnotatedEventf(object runtime.Object, annotations map[string]string, ...)
- func (mux *EventRecorderMux) Event(object runtime.Object, eventtype, reason, message string)
- func (mux *EventRecorderMux) Eventf(object runtime.Object, eventtype, reason, messageFmt string, ...)
- func (mux *EventRecorderMux) With(recorder record.EventRecorder) *EventRecorderMux
- func (mux *EventRecorderMux) WithDefederateTransformer(recorder record.EventRecorder) *EventRecorderMux
- func (mux *EventRecorderMux) WithTransform(recorder record.EventRecorder, ...) *EventRecorderMux
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventRecorderMux ¶
type EventRecorderMux struct {
// contains filtered or unexported fields
}
func NewDefederatingRecorderMux ¶
func NewDefederatingRecorderMux( kubeClient kubernetes.Interface, userAgent string, withLoggingVerbosity klog.Level, ) *EventRecorderMux
func (*EventRecorderMux) AnnotatedEventf ¶
func (mux *EventRecorderMux) AnnotatedEventf( object runtime.Object, annotations map[string]string, eventtype, reason, messageFmt string, args ...interface{}, )
AnnotatedEventf is just like eventf, but with annotations attached
func (*EventRecorderMux) Event ¶
func (mux *EventRecorderMux) Event(object runtime.Object, eventtype, reason, message string)
func (*EventRecorderMux) Eventf ¶
func (mux *EventRecorderMux) Eventf(object runtime.Object, eventtype, reason, messageFmt string, args ...interface{})
Eventf is just like Event, but with Sprintf for the message field.
func (*EventRecorderMux) With ¶
func (mux *EventRecorderMux) With(recorder record.EventRecorder) *EventRecorderMux
func (*EventRecorderMux) WithDefederateTransformer ¶
func (mux *EventRecorderMux) WithDefederateTransformer(recorder record.EventRecorder) *EventRecorderMux
func (*EventRecorderMux) WithTransform ¶
func (mux *EventRecorderMux) WithTransform( recorder record.EventRecorder, transformObject func(runtime.Object) runtime.Object, ) *EventRecorderMux
Click to show internal directories.
Click to hide internal directories.