Documentation ¶
Overview ¶
Package record is a generated GoMock package.
Index ¶
- type MockEventRecorder
- func (m *MockEventRecorder) AnnotatedEventf(object runtime.Object, annotations map[string]string, ...)
- func (m *MockEventRecorder) EXPECT() *MockEventRecorderMockRecorder
- func (m *MockEventRecorder) Event(object runtime.Object, eventtype, reason, message string)
- func (m *MockEventRecorder) Eventf(object runtime.Object, eventtype, reason, messageFmt string, args ...any)
- type MockEventRecorderMockRecorder
- func (mr *MockEventRecorderMockRecorder) AnnotatedEventf(object, annotations, eventtype, reason, messageFmt any, args ...any) *gomock.Call
- func (mr *MockEventRecorderMockRecorder) Event(object, eventtype, reason, message any) *gomock.Call
- func (mr *MockEventRecorderMockRecorder) Eventf(object, eventtype, reason, messageFmt any, args ...any) *gomock.Call
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
}
MockEventRecorder is a mock of EventRecorder interface.
func NewMockEventRecorder ¶
func NewMockEventRecorder(ctrl *gomock.Controller) *MockEventRecorder
NewMockEventRecorder creates a new mock instance.
func (*MockEventRecorder) AnnotatedEventf ¶
func (m *MockEventRecorder) AnnotatedEventf(object runtime.Object, annotations map[string]string, eventtype, reason, messageFmt string, args ...any)
AnnotatedEventf mocks base method.
func (*MockEventRecorder) EXPECT ¶
func (m *MockEventRecorder) EXPECT() *MockEventRecorderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockEventRecorderMockRecorder ¶
type MockEventRecorderMockRecorder struct {
// contains filtered or unexported fields
}
MockEventRecorderMockRecorder is the mock recorder for MockEventRecorder.
func (*MockEventRecorderMockRecorder) AnnotatedEventf ¶
func (mr *MockEventRecorderMockRecorder) AnnotatedEventf(object, annotations, eventtype, reason, messageFmt any, args ...any) *gomock.Call
AnnotatedEventf indicates an expected call of AnnotatedEventf.
Click to show internal directories.
Click to hide internal directories.