Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v16/internal/tool/errz (interfaces: ErrReporter)
Generated by this command:
mockgen -typed -destination tool.go -package mock_tool gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v16/internal/tool/errz ErrReporter
Package mock_tool is a generated GoMock package.
Index ¶
- type ErrReporterHandleProcessingErrorCall
- func (c *ErrReporterHandleProcessingErrorCall) Do(f func(context.Context, *zap.Logger, string, error)) *ErrReporterHandleProcessingErrorCall
- func (c *ErrReporterHandleProcessingErrorCall) DoAndReturn(f func(context.Context, *zap.Logger, string, error)) *ErrReporterHandleProcessingErrorCall
- func (c *ErrReporterHandleProcessingErrorCall) Return() *ErrReporterHandleProcessingErrorCall
- type MockErrReporter
- type MockErrReporterMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrReporterHandleProcessingErrorCall ¶ added in v16.5.0
ErrReporterHandleProcessingErrorCall wrap *gomock.Call
func (*ErrReporterHandleProcessingErrorCall) Do ¶ added in v16.5.0
func (c *ErrReporterHandleProcessingErrorCall) Do(f func(context.Context, *zap.Logger, string, error)) *ErrReporterHandleProcessingErrorCall
Do rewrite *gomock.Call.Do
func (*ErrReporterHandleProcessingErrorCall) DoAndReturn ¶ added in v16.5.0
func (c *ErrReporterHandleProcessingErrorCall) DoAndReturn(f func(context.Context, *zap.Logger, string, error)) *ErrReporterHandleProcessingErrorCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ErrReporterHandleProcessingErrorCall) Return ¶ added in v16.5.0
func (c *ErrReporterHandleProcessingErrorCall) Return() *ErrReporterHandleProcessingErrorCall
Return rewrite *gomock.Call.Return
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 ¶
func (m *MockErrReporter) EXPECT() *MockErrReporterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockErrReporter) HandleProcessingError ¶
func (m *MockErrReporter) HandleProcessingError(arg0 context.Context, arg1 *zap.Logger, arg2 string, arg3 error)
HandleProcessingError mocks base method.
type MockErrReporterMockRecorder ¶
type MockErrReporterMockRecorder struct {
// contains filtered or unexported fields
}
MockErrReporterMockRecorder is the mock recorder for MockErrReporter.
func (*MockErrReporterMockRecorder) HandleProcessingError ¶
func (mr *MockErrReporterMockRecorder) HandleProcessingError(arg0, arg1, arg2, arg3 any) *ErrReporterHandleProcessingErrorCall
HandleProcessingError indicates an expected call of HandleProcessingError.