Documentation ¶
Overview ¶
Package mock_modshared is a generated GoMock package.
Index ¶
- type MockApi
- type MockApiMockRecorder
- type MockRpcApi
- func (m *MockRpcApi) EXPECT() *MockRpcApiMockRecorder
- func (m *MockRpcApi) HandleIoError(arg0 *zap.Logger, arg1 string, arg2 error) error
- func (m *MockRpcApi) HandleProcessingError(arg0 *zap.Logger, arg1 int64, arg2 string, arg3 error)
- func (m *MockRpcApi) Log() *zap.Logger
- func (m *MockRpcApi) PollWithBackoff(arg0 retry.PollConfig, arg1 retry.PollWithBackoffFunc) error
- type MockRpcApiMockRecorder
- func (mr *MockRpcApiMockRecorder) HandleIoError(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockRpcApiMockRecorder) HandleProcessingError(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockRpcApiMockRecorder) Log() *gomock.Call
- func (mr *MockRpcApiMockRecorder) PollWithBackoff(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockApi ¶ added in v15.7.0
type MockApi struct {
// contains filtered or unexported fields
}
MockApi is a mock of Api interface.
func NewMockApi ¶ added in v15.7.0
func NewMockApi(ctrl *gomock.Controller) *MockApi
NewMockApi creates a new mock instance.
func (*MockApi) EXPECT ¶ added in v15.7.0
func (m *MockApi) EXPECT() *MockApiMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockApiMockRecorder ¶ added in v15.7.0
type MockApiMockRecorder struct {
// contains filtered or unexported fields
}
MockApiMockRecorder is the mock recorder for MockApi.
func (*MockApiMockRecorder) HandleProcessingError ¶ added in v15.7.0
func (mr *MockApiMockRecorder) HandleProcessingError(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
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 ¶
HandleIoError mocks base method.
func (*MockRpcApi) HandleProcessingError ¶
HandleProcessingError mocks base method.
func (*MockRpcApi) PollWithBackoff ¶
func (m *MockRpcApi) PollWithBackoff(arg0 retry.PollConfig, arg1 retry.PollWithBackoffFunc) error
PollWithBackoff mocks base method.
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 interface{}) *gomock.Call
HandleIoError indicates an expected call of HandleIoError.
func (*MockRpcApiMockRecorder) HandleProcessingError ¶
func (mr *MockRpcApiMockRecorder) HandleProcessingError(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
HandleProcessingError indicates an expected call of HandleProcessingError.
func (*MockRpcApiMockRecorder) Log ¶
func (mr *MockRpcApiMockRecorder) Log() *gomock.Call
Log indicates an expected call of Log.
func (*MockRpcApiMockRecorder) PollWithBackoff ¶
func (mr *MockRpcApiMockRecorder) PollWithBackoff(arg0, arg1 interface{}) *gomock.Call
PollWithBackoff indicates an expected call of PollWithBackoff.