Documentation ¶
Overview ¶
Package mock_reporter is a generated GoMock package.
Index ¶
- type MockReporter
- func (m *MockReporter) EXPECT() *MockReporterMockRecorder
- func (m *MockReporter) ReportException(arg0 any) error
- func (m *MockReporter) ReportExceptionWithContext(arg0 any, arg1 reporter.Context) error
- func (m *MockReporter) ReportMessage(arg0 string) error
- func (m *MockReporter) ReportMessageWithContext(arg0 string, arg1 reporter.Context) error
- type MockReporterMockRecorder
- func (mr *MockReporterMockRecorder) ReportException(arg0 interface{}) *gomock.Call
- func (mr *MockReporterMockRecorder) ReportExceptionWithContext(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockReporterMockRecorder) ReportMessage(arg0 interface{}) *gomock.Call
- func (mr *MockReporterMockRecorder) ReportMessageWithContext(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockReporter ¶
type MockReporter struct {
// contains filtered or unexported fields
}
MockReporter is a mock of Reporter interface.
func NewMockReporter ¶
func NewMockReporter(ctrl *gomock.Controller) *MockReporter
NewMockReporter creates a new mock instance.
func (*MockReporter) EXPECT ¶
func (m *MockReporter) EXPECT() *MockReporterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockReporter) ReportException ¶
func (m *MockReporter) ReportException(arg0 any) error
ReportException mocks base method.
func (*MockReporter) ReportExceptionWithContext ¶
func (m *MockReporter) ReportExceptionWithContext(arg0 any, arg1 reporter.Context) error
ReportExceptionWithContext mocks base method.
func (*MockReporter) ReportMessage ¶
func (m *MockReporter) ReportMessage(arg0 string) error
ReportMessage mocks base method.
func (*MockReporter) ReportMessageWithContext ¶
func (m *MockReporter) ReportMessageWithContext(arg0 string, arg1 reporter.Context) error
ReportMessageWithContext mocks base method.
type MockReporterMockRecorder ¶
type MockReporterMockRecorder struct {
// contains filtered or unexported fields
}
MockReporterMockRecorder is the mock recorder for MockReporter.
func (*MockReporterMockRecorder) ReportException ¶
func (mr *MockReporterMockRecorder) ReportException(arg0 interface{}) *gomock.Call
ReportException indicates an expected call of ReportException.
func (*MockReporterMockRecorder) ReportExceptionWithContext ¶
func (mr *MockReporterMockRecorder) ReportExceptionWithContext(arg0, arg1 interface{}) *gomock.Call
ReportExceptionWithContext indicates an expected call of ReportExceptionWithContext.
func (*MockReporterMockRecorder) ReportMessage ¶
func (mr *MockReporterMockRecorder) ReportMessage(arg0 interface{}) *gomock.Call
ReportMessage indicates an expected call of ReportMessage.
func (*MockReporterMockRecorder) ReportMessageWithContext ¶
func (mr *MockReporterMockRecorder) ReportMessageWithContext(arg0, arg1 interface{}) *gomock.Call
ReportMessageWithContext indicates an expected call of ReportMessageWithContext.