Documentation ¶
Overview ¶
Package mock_tool is a generated GoMock package.
Index ¶
- type MockErrReporter
- type MockErrReporterHandleProcessingErrorCall
- func (c *MockErrReporterHandleProcessingErrorCall) Do(f func(context.Context, *slog.Logger, string, error, ...fieldz.Field)) *MockErrReporterHandleProcessingErrorCall
- func (c *MockErrReporterHandleProcessingErrorCall) DoAndReturn(f func(context.Context, *slog.Logger, string, error, ...fieldz.Field)) *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.
type MockErrReporterHandleProcessingErrorCall ¶
MockErrReporterHandleProcessingErrorCall wrap *gomock.Call
func (*MockErrReporterHandleProcessingErrorCall) Do ¶
func (c *MockErrReporterHandleProcessingErrorCall) Do(f func(context.Context, *slog.Logger, string, error, ...fieldz.Field)) *MockErrReporterHandleProcessingErrorCall
Do rewrite *gomock.Call.Do
func (*MockErrReporterHandleProcessingErrorCall) DoAndReturn ¶
func (c *MockErrReporterHandleProcessingErrorCall) DoAndReturn(f func(context.Context, *slog.Logger, string, error, ...fieldz.Field)) *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(ctx, log, msg, err any, fields ...any) *MockErrReporterHandleProcessingErrorCall
HandleProcessingError indicates an expected call of HandleProcessingError.
Click to show internal directories.
Click to hide internal directories.