mock_modshared

package
v17.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mock_modshared is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAPI

type MockAPI struct {
	// contains filtered or unexported fields
}

MockAPI is a mock of API interface.

func NewMockAPI

func NewMockAPI(ctrl *gomock.Controller) *MockAPI

NewMockAPI creates a new mock instance.

func (*MockAPI) EXPECT

func (m *MockAPI) EXPECT() *MockAPIMockRecorder

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

func (*MockAPI) HandleProcessingError

func (m *MockAPI) HandleProcessingError(arg0 context.Context, arg1 *zap.Logger, arg2 string, arg3 error, arg4 ...fieldz.Field)

HandleProcessingError mocks base method.

type MockAPIHandleProcessingErrorCall

type MockAPIHandleProcessingErrorCall struct {
	*gomock.Call
}

MockAPIHandleProcessingErrorCall wrap *gomock.Call

func (*MockAPIHandleProcessingErrorCall) Do

Do rewrite *gomock.Call.Do

func (*MockAPIHandleProcessingErrorCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAPIHandleProcessingErrorCall) Return

Return rewrite *gomock.Call.Return

type MockAPIMockRecorder

type MockAPIMockRecorder struct {
	// contains filtered or unexported fields
}

MockAPIMockRecorder is the mock recorder for MockAPI.

func (*MockAPIMockRecorder) HandleProcessingError

func (mr *MockAPIMockRecorder) HandleProcessingError(arg0, arg1, arg2, arg3 any, arg4 ...any) *MockAPIHandleProcessingErrorCall

HandleProcessingError indicates an expected call of HandleProcessingError.

type MockRPCAPI

type MockRPCAPI struct {
	// contains filtered or unexported fields
}

MockRPCAPI is a mock of RPCAPI interface.

func NewMockRPCAPI

func NewMockRPCAPI(ctrl *gomock.Controller) *MockRPCAPI

NewMockRPCAPI creates a new mock instance.

func (*MockRPCAPI) EXPECT

func (m *MockRPCAPI) EXPECT() *MockRPCAPIMockRecorder

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

func (*MockRPCAPI) HandleIOError

func (m *MockRPCAPI) HandleIOError(arg0 *zap.Logger, arg1 string, arg2 error) error

HandleIOError mocks base method.

func (*MockRPCAPI) HandleProcessingError

func (m *MockRPCAPI) HandleProcessingError(arg0 *zap.Logger, arg1 string, arg2 error, arg3 ...fieldz.Field)

HandleProcessingError mocks base method.

func (*MockRPCAPI) Log

func (m *MockRPCAPI) Log() *zap.Logger

Log mocks base method.

func (*MockRPCAPI) PollWithBackoff

func (m *MockRPCAPI) PollWithBackoff(arg0 retry.PollConfig, arg1 retry.PollWithBackoffFunc) error

PollWithBackoff mocks base method.

type MockRPCAPIHandleIOErrorCall

type MockRPCAPIHandleIOErrorCall struct {
	*gomock.Call
}

MockRPCAPIHandleIOErrorCall wrap *gomock.Call

func (*MockRPCAPIHandleIOErrorCall) Do

Do rewrite *gomock.Call.Do

func (*MockRPCAPIHandleIOErrorCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockRPCAPIHandleIOErrorCall) Return

Return rewrite *gomock.Call.Return

type MockRPCAPIHandleProcessingErrorCall

type MockRPCAPIHandleProcessingErrorCall struct {
	*gomock.Call
}

MockRPCAPIHandleProcessingErrorCall wrap *gomock.Call

func (*MockRPCAPIHandleProcessingErrorCall) Do

Do rewrite *gomock.Call.Do

func (*MockRPCAPIHandleProcessingErrorCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockRPCAPIHandleProcessingErrorCall) Return

Return rewrite *gomock.Call.Return

type MockRPCAPILogCall

type MockRPCAPILogCall struct {
	*gomock.Call
}

MockRPCAPILogCall wrap *gomock.Call

func (*MockRPCAPILogCall) Do

func (c *MockRPCAPILogCall) Do(f func() *zap.Logger) *MockRPCAPILogCall

Do rewrite *gomock.Call.Do

func (*MockRPCAPILogCall) DoAndReturn

func (c *MockRPCAPILogCall) DoAndReturn(f func() *zap.Logger) *MockRPCAPILogCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockRPCAPILogCall) Return

func (c *MockRPCAPILogCall) Return(arg0 *zap.Logger) *MockRPCAPILogCall

Return rewrite *gomock.Call.Return

type MockRPCAPIMockRecorder

type MockRPCAPIMockRecorder struct {
	// contains filtered or unexported fields
}

MockRPCAPIMockRecorder is the mock recorder for MockRPCAPI.

func (*MockRPCAPIMockRecorder) HandleIOError

func (mr *MockRPCAPIMockRecorder) HandleIOError(arg0, arg1, arg2 any) *MockRPCAPIHandleIOErrorCall

HandleIOError indicates an expected call of HandleIOError.

func (*MockRPCAPIMockRecorder) HandleProcessingError

func (mr *MockRPCAPIMockRecorder) HandleProcessingError(arg0, arg1, arg2 any, arg3 ...any) *MockRPCAPIHandleProcessingErrorCall

HandleProcessingError indicates an expected call of HandleProcessingError.

func (*MockRPCAPIMockRecorder) Log

Log indicates an expected call of Log.

func (*MockRPCAPIMockRecorder) PollWithBackoff

func (mr *MockRPCAPIMockRecorder) PollWithBackoff(arg0, arg1 any) *MockRPCAPIPollWithBackoffCall

PollWithBackoff indicates an expected call of PollWithBackoff.

type MockRPCAPIPollWithBackoffCall

type MockRPCAPIPollWithBackoffCall struct {
	*gomock.Call
}

MockRPCAPIPollWithBackoffCall wrap *gomock.Call

func (*MockRPCAPIPollWithBackoffCall) Do

Do rewrite *gomock.Call.Do

func (*MockRPCAPIPollWithBackoffCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockRPCAPIPollWithBackoffCall) Return

Return rewrite *gomock.Call.Return

Jump to

Keyboard shortcuts

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