Documentation ¶
Index ¶
- func NewTestingEventRecorder(t *testing.T) events.Recorder
- type TestingEventRecorder
- func (r *TestingEventRecorder) ComponentName() string
- func (r *TestingEventRecorder) Event(reason, message string)
- func (r *TestingEventRecorder) Eventf(reason, messageFmt string, args ...interface{})
- func (r *TestingEventRecorder) ForComponent(c string) events.Recorder
- func (r *TestingEventRecorder) Warning(reason, message string)
- func (r *TestingEventRecorder) Warningf(reason, messageFmt string, args ...interface{})
- func (r *TestingEventRecorder) WithComponentSuffix(suffix string) events.Recorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TestingEventRecorder ¶
type TestingEventRecorder struct {
// contains filtered or unexported fields
}
func (*TestingEventRecorder) ComponentName ¶
func (r *TestingEventRecorder) ComponentName() string
func (*TestingEventRecorder) Event ¶
func (r *TestingEventRecorder) Event(reason, message string)
func (*TestingEventRecorder) Eventf ¶
func (r *TestingEventRecorder) Eventf(reason, messageFmt string, args ...interface{})
func (*TestingEventRecorder) ForComponent ¶
func (r *TestingEventRecorder) ForComponent(c string) events.Recorder
func (*TestingEventRecorder) Warning ¶
func (r *TestingEventRecorder) Warning(reason, message string)
func (*TestingEventRecorder) Warningf ¶
func (r *TestingEventRecorder) Warningf(reason, messageFmt string, args ...interface{})
func (*TestingEventRecorder) WithComponentSuffix ¶
func (r *TestingEventRecorder) WithComponentSuffix(suffix string) events.Recorder
Click to show internal directories.
Click to hide internal directories.