mock_tool

package
v19.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock_tool is a generated GoMock package.

Index

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

EXPECT returns an object that allows the caller to indicate expected use.

type MockErrCapturerCaptureCall added in v19.1.0

type MockErrCapturerCaptureCall struct {
	*gomock.Call
}

MockErrCapturerCaptureCall wrap *gomock.Call

func (*MockErrCapturerCaptureCall) Do added in v19.1.0

Do rewrite *gomock.Call.Do

func (*MockErrCapturerCaptureCall) DoAndReturn added in v19.1.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockErrCapturerCaptureCall) Return added in v19.1.0

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockErrReporter) HandleProcessingError

func (m *MockErrReporter) HandleProcessingError(ctx context.Context, log *slog.Logger, msg string, err error, fields ...slog.Attr)

HandleProcessingError mocks base method.

type MockErrReporterHandleProcessingErrorCall

type MockErrReporterHandleProcessingErrorCall struct {
	*gomock.Call
}

MockErrReporterHandleProcessingErrorCall wrap *gomock.Call

func (*MockErrReporterHandleProcessingErrorCall) Do

Do rewrite *gomock.Call.Do

func (*MockErrReporterHandleProcessingErrorCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockErrReporterHandleProcessingErrorCall) Return

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL