Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFakeRecorder ¶
func NewFakeRecorder() record.EventRecorder
NewFakeRecorder returns a fake recorder
Types ¶
type FakeRecorder ¶
type FakeRecorder struct {
Events []string
}
FakeRecorder is a fake recorder
func (*FakeRecorder) AnnotatedEventf ¶
func (f *FakeRecorder) AnnotatedEventf(object runtime.Object, annotations map[string]string, eventtype, reason, messageFmt string, args ...interface{})
AnnotatedEventf is just like Eventf, but adds the annotations to the event
Click to show internal directories.
Click to hide internal directories.