mock_tool

package
v17.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 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 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 ...fieldz.Field)

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