Documentation ¶
Overview ¶
Package mock_tool is a generated GoMock package.
Index ¶
- type MockErrReporter
- type MockErrReporterHandleProcessingErrorCall
- func (c *MockErrReporterHandleProcessingErrorCall) Do(f func(context.Context, *zap.Logger, string, error)) *MockErrReporterHandleProcessingErrorCall
- func (c *MockErrReporterHandleProcessingErrorCall) DoAndReturn(f func(context.Context, *zap.Logger, string, error)) *MockErrReporterHandleProcessingErrorCall
- func (c *MockErrReporterHandleProcessingErrorCall) Return() *MockErrReporterHandleProcessingErrorCall
- type MockErrReporterMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockErrReporter ¶
type MockErrReporter struct {
// contains filtered or unexported fields
}
MockErrReporter is a mock of ErrReporter interface.
func NewMockErrReporter ¶
func NewMockErrReporter(ctrl *gomock.Controller) *MockErrReporter
NewMockErrReporter creates a new mock instance.
func (*MockErrReporter) EXPECT ¶
func (m *MockErrReporter) EXPECT() *MockErrReporterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockErrReporter) HandleProcessingError ¶
func (m *MockErrReporter) HandleProcessingError(arg0 context.Context, arg1 *zap.Logger, arg2 string, arg3 error)
HandleProcessingError mocks base method.
type MockErrReporterHandleProcessingErrorCall ¶
MockErrReporterHandleProcessingErrorCall wrap *gomock.Call
func (*MockErrReporterHandleProcessingErrorCall) Do ¶
func (c *MockErrReporterHandleProcessingErrorCall) Do(f func(context.Context, *zap.Logger, string, error)) *MockErrReporterHandleProcessingErrorCall
Do rewrite *gomock.Call.Do
func (*MockErrReporterHandleProcessingErrorCall) DoAndReturn ¶
func (c *MockErrReporterHandleProcessingErrorCall) DoAndReturn(f func(context.Context, *zap.Logger, string, error)) *MockErrReporterHandleProcessingErrorCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockErrReporterHandleProcessingErrorCall) Return ¶
func (c *MockErrReporterHandleProcessingErrorCall) Return() *MockErrReporterHandleProcessingErrorCall
Return rewrite *gomock.Call.Return
type MockErrReporterMockRecorder ¶
type MockErrReporterMockRecorder struct {
// contains filtered or unexported fields
}
MockErrReporterMockRecorder is the mock recorder for MockErrReporter.
func (*MockErrReporterMockRecorder) HandleProcessingError ¶
func (mr *MockErrReporterMockRecorder) HandleProcessingError(arg0, arg1, arg2, arg3 any) *MockErrReporterHandleProcessingErrorCall
HandleProcessingError indicates an expected call of HandleProcessingError.
Click to show internal directories.
Click to hide internal directories.