Documentation ¶
Overview ¶
Package mock_modshared is a generated GoMock package.
Index ¶
- type MockAPI
- type MockAPIHandleProcessingErrorCall
- func (c *MockAPIHandleProcessingErrorCall) Do(f func(context.Context, *slog.Logger, string, error, ...fieldz.Field)) *MockAPIHandleProcessingErrorCall
- func (c *MockAPIHandleProcessingErrorCall) DoAndReturn(f func(context.Context, *slog.Logger, string, error, ...fieldz.Field)) *MockAPIHandleProcessingErrorCall
- func (c *MockAPIHandleProcessingErrorCall) Return() *MockAPIHandleProcessingErrorCall
- type MockAPIMockRecorder
- type MockRPCAPI
- func (m *MockRPCAPI) EXPECT() *MockRPCAPIMockRecorder
- func (m *MockRPCAPI) HandleIOError(arg0 *slog.Logger, arg1 string, arg2 error) error
- func (m *MockRPCAPI) HandleProcessingError(arg0 *slog.Logger, arg1 string, arg2 error, arg3 ...fieldz.Field)
- func (m *MockRPCAPI) Log() *slog.Logger
- func (m *MockRPCAPI) PollWithBackoff(arg0 retry.PollConfig, arg1 retry.PollWithBackoffFunc) error
- type MockRPCAPIHandleIOErrorCall
- func (c *MockRPCAPIHandleIOErrorCall) Do(f func(*slog.Logger, string, error) error) *MockRPCAPIHandleIOErrorCall
- func (c *MockRPCAPIHandleIOErrorCall) DoAndReturn(f func(*slog.Logger, string, error) error) *MockRPCAPIHandleIOErrorCall
- func (c *MockRPCAPIHandleIOErrorCall) Return(arg0 error) *MockRPCAPIHandleIOErrorCall
- type MockRPCAPIHandleProcessingErrorCall
- func (c *MockRPCAPIHandleProcessingErrorCall) Do(f func(*slog.Logger, string, error, ...fieldz.Field)) *MockRPCAPIHandleProcessingErrorCall
- func (c *MockRPCAPIHandleProcessingErrorCall) DoAndReturn(f func(*slog.Logger, string, error, ...fieldz.Field)) *MockRPCAPIHandleProcessingErrorCall
- func (c *MockRPCAPIHandleProcessingErrorCall) Return() *MockRPCAPIHandleProcessingErrorCall
- type MockRPCAPILogCall
- type MockRPCAPIMockRecorder
- func (mr *MockRPCAPIMockRecorder) HandleIOError(arg0, arg1, arg2 any) *MockRPCAPIHandleIOErrorCall
- func (mr *MockRPCAPIMockRecorder) HandleProcessingError(arg0, arg1, arg2 any, arg3 ...any) *MockRPCAPIHandleProcessingErrorCall
- func (mr *MockRPCAPIMockRecorder) Log() *MockRPCAPILogCall
- func (mr *MockRPCAPIMockRecorder) PollWithBackoff(arg0, arg1 any) *MockRPCAPIPollWithBackoffCall
- type MockRPCAPIPollWithBackoffCall
- func (c *MockRPCAPIPollWithBackoffCall) Do(f func(retry.PollConfig, retry.PollWithBackoffFunc) error) *MockRPCAPIPollWithBackoffCall
- func (c *MockRPCAPIPollWithBackoffCall) DoAndReturn(f func(retry.PollConfig, retry.PollWithBackoffFunc) error) *MockRPCAPIPollWithBackoffCall
- func (c *MockRPCAPIPollWithBackoffCall) Return(arg0 error) *MockRPCAPIPollWithBackoffCall
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.
type MockAPIHandleProcessingErrorCall ¶
MockAPIHandleProcessingErrorCall wrap *gomock.Call
func (*MockAPIHandleProcessingErrorCall) Do ¶
func (c *MockAPIHandleProcessingErrorCall) Do(f func(context.Context, *slog.Logger, string, error, ...fieldz.Field)) *MockAPIHandleProcessingErrorCall
Do rewrite *gomock.Call.Do
func (*MockAPIHandleProcessingErrorCall) DoAndReturn ¶
func (c *MockAPIHandleProcessingErrorCall) DoAndReturn(f func(context.Context, *slog.Logger, string, error, ...fieldz.Field)) *MockAPIHandleProcessingErrorCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAPIHandleProcessingErrorCall) Return ¶
func (c *MockAPIHandleProcessingErrorCall) Return() *MockAPIHandleProcessingErrorCall
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 ¶
HandleIOError mocks base method.
func (*MockRPCAPI) HandleProcessingError ¶
func (m *MockRPCAPI) HandleProcessingError(arg0 *slog.Logger, arg1 string, arg2 error, arg3 ...fieldz.Field)
HandleProcessingError mocks base method.
func (*MockRPCAPI) PollWithBackoff ¶
func (m *MockRPCAPI) PollWithBackoff(arg0 retry.PollConfig, arg1 retry.PollWithBackoffFunc) error
PollWithBackoff mocks base method.
type MockRPCAPIHandleIOErrorCall ¶
MockRPCAPIHandleIOErrorCall wrap *gomock.Call
func (*MockRPCAPIHandleIOErrorCall) Do ¶
func (c *MockRPCAPIHandleIOErrorCall) Do(f func(*slog.Logger, string, error) error) *MockRPCAPIHandleIOErrorCall
Do rewrite *gomock.Call.Do
func (*MockRPCAPIHandleIOErrorCall) DoAndReturn ¶
func (c *MockRPCAPIHandleIOErrorCall) DoAndReturn(f func(*slog.Logger, string, error) error) *MockRPCAPIHandleIOErrorCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockRPCAPIHandleIOErrorCall) Return ¶
func (c *MockRPCAPIHandleIOErrorCall) Return(arg0 error) *MockRPCAPIHandleIOErrorCall
Return rewrite *gomock.Call.Return
type MockRPCAPIHandleProcessingErrorCall ¶
MockRPCAPIHandleProcessingErrorCall wrap *gomock.Call
func (*MockRPCAPIHandleProcessingErrorCall) Do ¶
func (c *MockRPCAPIHandleProcessingErrorCall) Do(f func(*slog.Logger, string, error, ...fieldz.Field)) *MockRPCAPIHandleProcessingErrorCall
Do rewrite *gomock.Call.Do
func (*MockRPCAPIHandleProcessingErrorCall) DoAndReturn ¶
func (c *MockRPCAPIHandleProcessingErrorCall) DoAndReturn(f func(*slog.Logger, string, error, ...fieldz.Field)) *MockRPCAPIHandleProcessingErrorCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockRPCAPIHandleProcessingErrorCall) Return ¶
func (c *MockRPCAPIHandleProcessingErrorCall) Return() *MockRPCAPIHandleProcessingErrorCall
Return rewrite *gomock.Call.Return
type MockRPCAPILogCall ¶
MockRPCAPILogCall wrap *gomock.Call
func (*MockRPCAPILogCall) Do ¶
func (c *MockRPCAPILogCall) Do(f func() *slog.Logger) *MockRPCAPILogCall
Do rewrite *gomock.Call.Do
func (*MockRPCAPILogCall) DoAndReturn ¶
func (c *MockRPCAPILogCall) DoAndReturn(f func() *slog.Logger) *MockRPCAPILogCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockRPCAPILogCall) Return ¶
func (c *MockRPCAPILogCall) Return(arg0 *slog.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 ¶
func (mr *MockRPCAPIMockRecorder) Log() *MockRPCAPILogCall
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 ¶
MockRPCAPIPollWithBackoffCall wrap *gomock.Call
func (*MockRPCAPIPollWithBackoffCall) Do ¶
func (c *MockRPCAPIPollWithBackoffCall) Do(f func(retry.PollConfig, retry.PollWithBackoffFunc) error) *MockRPCAPIPollWithBackoffCall
Do rewrite *gomock.Call.Do
func (*MockRPCAPIPollWithBackoffCall) DoAndReturn ¶
func (c *MockRPCAPIPollWithBackoffCall) DoAndReturn(f func(retry.PollConfig, retry.PollWithBackoffFunc) error) *MockRPCAPIPollWithBackoffCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockRPCAPIPollWithBackoffCall) Return ¶
func (c *MockRPCAPIPollWithBackoffCall) Return(arg0 error) *MockRPCAPIPollWithBackoffCall
Return rewrite *gomock.Call.Return