Documentation ¶
Index ¶
- type MockEventRecorder
- func (r *MockEventRecorder) AnnotatedEventf(object runtime.Object, _ map[string]string, ...)
- func (r *MockEventRecorder) AssertEventRecorded(kind string, nn types.NamespacedName, eventtype, reason, message string)
- func (r *MockEventRecorder) Event(object runtime.Object, eventtype, reason, message string)
- func (r *MockEventRecorder) Eventf(object runtime.Object, eventtype, reason, messageFmt string, ...)
- func (r *MockEventRecorder) PastEventf(object runtime.Object, _ metav1.Time, eventtype, reason, messageFmt string, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEventRecorder ¶
type MockEventRecorder struct {
// contains filtered or unexported fields
}
func NewMockEventRecorder ¶
func NewMockEventRecorder(t *testing.T, scheme *runtime.Scheme) *MockEventRecorder
func (*MockEventRecorder) AnnotatedEventf ¶
func (*MockEventRecorder) AssertEventRecorded ¶
func (r *MockEventRecorder) AssertEventRecorded(kind string, nn types.NamespacedName, eventtype, reason, message string)
func (*MockEventRecorder) Event ¶
func (r *MockEventRecorder) Event(object runtime.Object, eventtype, reason, message string)
func (*MockEventRecorder) Eventf ¶
func (r *MockEventRecorder) Eventf(object runtime.Object, eventtype, reason, messageFmt string, args ...interface{})
func (*MockEventRecorder) PastEventf ¶
Click to show internal directories.
Click to hide internal directories.