mock_tool

package
v16.5.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2023 License: MIT Imports: 4 Imported by: 0

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

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrReporterHandleProcessingErrorCall added in v16.5.0

type ErrReporterHandleProcessingErrorCall struct {
	*gomock.Call
}

ErrReporterHandleProcessingErrorCall wrap *gomock.Call

func (*ErrReporterHandleProcessingErrorCall) Do added in v16.5.0

Do rewrite *gomock.Call.Do

func (*ErrReporterHandleProcessingErrorCall) DoAndReturn added in v16.5.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ErrReporterHandleProcessingErrorCall) Return added in v16.5.0

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

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.

Jump to

Keyboard shortcuts

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