Documentation
¶
Overview ¶
Package mock_tool is a generated GoMock package.
Index ¶
- type MockErrCapturer
- type MockErrCapturerCaptureCall
- func (c *MockErrCapturerCaptureCall) Do(f func(context.Context, error, ...errz.CaptureOption)) *MockErrCapturerCaptureCall
- func (c *MockErrCapturerCaptureCall) DoAndReturn(f func(context.Context, error, ...errz.CaptureOption)) *MockErrCapturerCaptureCall
- func (c *MockErrCapturerCaptureCall) Return() *MockErrCapturerCaptureCall
- type MockErrCapturerMockRecorder
- type MockErrReporter
- type MockErrReporterHandleProcessingErrorCall
- func (c *MockErrReporterHandleProcessingErrorCall) Do(f func(context.Context, *slog.Logger, string, error, ...slog.Attr)) *MockErrReporterHandleProcessingErrorCall
- func (c *MockErrReporterHandleProcessingErrorCall) DoAndReturn(f func(context.Context, *slog.Logger, string, error, ...slog.Attr)) *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 MockErrCapturer ¶ added in v19.1.0
type MockErrCapturer struct {
// contains filtered or unexported fields
}
MockErrCapturer is a mock of ErrCapturer interface.
func NewMockErrCapturer ¶ added in v19.1.0
func NewMockErrCapturer(ctrl *gomock.Controller) *MockErrCapturer
NewMockErrCapturer creates a new mock instance.
func (*MockErrCapturer) Capture ¶ added in v19.1.0
func (m *MockErrCapturer) Capture(ctx context.Context, err error, opts ...errz.CaptureOption)
Capture mocks base method.
func (*MockErrCapturer) EXPECT ¶ added in v19.1.0
func (m *MockErrCapturer) EXPECT() *MockErrCapturerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockErrCapturerCaptureCall ¶ added in v19.1.0
MockErrCapturerCaptureCall wrap *gomock.Call
func (*MockErrCapturerCaptureCall) Do ¶ added in v19.1.0
func (c *MockErrCapturerCaptureCall) Do(f func(context.Context, error, ...errz.CaptureOption)) *MockErrCapturerCaptureCall
Do rewrite *gomock.Call.Do
func (*MockErrCapturerCaptureCall) DoAndReturn ¶ added in v19.1.0
func (c *MockErrCapturerCaptureCall) DoAndReturn(f func(context.Context, error, ...errz.CaptureOption)) *MockErrCapturerCaptureCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockErrCapturerCaptureCall) Return ¶ added in v19.1.0
func (c *MockErrCapturerCaptureCall) Return() *MockErrCapturerCaptureCall
Return rewrite *gomock.Call.Return
type MockErrCapturerMockRecorder ¶ added in v19.1.0
type MockErrCapturerMockRecorder struct {
// contains filtered or unexported fields
}
MockErrCapturerMockRecorder is the mock recorder for MockErrCapturer.
func (*MockErrCapturerMockRecorder) Capture ¶ added in v19.1.0
func (mr *MockErrCapturerMockRecorder) Capture(ctx, err any, opts ...any) *MockErrCapturerCaptureCall
Capture indicates an expected call of Capture.
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, ...slog.Attr)) *MockErrReporterHandleProcessingErrorCall
Do rewrite *gomock.Call.Do
func (*MockErrReporterHandleProcessingErrorCall) DoAndReturn ¶
func (c *MockErrReporterHandleProcessingErrorCall) DoAndReturn(f func(context.Context, *slog.Logger, string, error, ...slog.Attr)) *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.