mock

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCommand

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

MockCommand is a mock of Command interface.

func NewMockCommand

func NewMockCommand(ctrl *gomock.Controller) *MockCommand

NewMockCommand creates a new mock instance.

func (*MockCommand) EXPECT

func (m *MockCommand) EXPECT() *MockCommandMockRecorder

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

func (*MockCommand) Execute

func (m *MockCommand) Execute(ctx context.Context) error

Execute mocks base method.

func (*MockCommand) Validate

func (m *MockCommand) Validate() error

Validate mocks base method.

type MockCommandBase

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

MockCommandBase is a mock of CommandBase interface.

func NewMockCommandBase

func NewMockCommandBase(ctrl *gomock.Controller) *MockCommandBase

NewMockCommandBase creates a new mock instance.

func (*MockCommandBase) EXPECT

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

func (*MockCommandBase) Validate

func (m *MockCommandBase) Validate() error

Validate mocks base method.

type MockCommandBaseMockRecorder

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

MockCommandBaseMockRecorder is the mock recorder for MockCommandBase.

func (*MockCommandBaseMockRecorder) Validate

func (mr *MockCommandBaseMockRecorder) Validate() *gomock.Call

Validate indicates an expected call of Validate.

type MockCommandExecutor

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

MockCommandExecutor is a mock of CommandExecutor interface.

func NewMockCommandExecutor

func NewMockCommandExecutor(ctrl *gomock.Controller) *MockCommandExecutor

NewMockCommandExecutor creates a new mock instance.

func (*MockCommandExecutor) EXPECT

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

func (*MockCommandExecutor) Execute

Execute mocks base method.

type MockCommandExecutorMockRecorder

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

MockCommandExecutorMockRecorder is the mock recorder for MockCommandExecutor.

func (*MockCommandExecutorMockRecorder) Execute

func (mr *MockCommandExecutorMockRecorder) Execute(ctx, cmd interface{}) *gomock.Call

Execute indicates an expected call of Execute.

type MockCommandMockRecorder

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

MockCommandMockRecorder is the mock recorder for MockCommand.

func (*MockCommandMockRecorder) Execute

func (mr *MockCommandMockRecorder) Execute(ctx interface{}) *gomock.Call

Execute indicates an expected call of Execute.

func (*MockCommandMockRecorder) Validate

func (mr *MockCommandMockRecorder) Validate() *gomock.Call

Validate indicates an expected call of Validate.

type MockCommandWithValue

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

MockCommandWithValue is a mock of CommandWithValue interface.

func NewMockCommandWithValue

func NewMockCommandWithValue(ctrl *gomock.Controller) *MockCommandWithValue

NewMockCommandWithValue creates a new mock instance.

func (*MockCommandWithValue) EXPECT

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

func (*MockCommandWithValue) Execute

func (m *MockCommandWithValue) Execute(ctx context.Context) (interface{}, error)

Execute mocks base method.

func (*MockCommandWithValue) Validate

func (m *MockCommandWithValue) Validate() error

Validate mocks base method.

type MockCommandWithValueMockRecorder

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

MockCommandWithValueMockRecorder is the mock recorder for MockCommandWithValue.

func (*MockCommandWithValueMockRecorder) Execute

func (mr *MockCommandWithValueMockRecorder) Execute(ctx interface{}) *gomock.Call

Execute indicates an expected call of Execute.

func (*MockCommandWithValueMockRecorder) Validate

Validate indicates an expected call of Validate.

type MockQuery

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

MockQuery is a mock of Query interface.

func NewMockQuery

func NewMockQuery(ctrl *gomock.Controller) *MockQuery

NewMockQuery creates a new mock instance.

func (*MockQuery) EXPECT

func (m *MockQuery) EXPECT() *MockQueryMockRecorder

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

func (*MockQuery) Execute

func (m *MockQuery) Execute(ctx context.Context) (interface{}, error)

Execute mocks base method.

func (*MockQuery) Validate

func (m *MockQuery) Validate() error

Validate mocks base method.

type MockQueryExecutor

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

MockQueryExecutor is a mock of QueryExecutor interface.

func NewMockQueryExecutor

func NewMockQueryExecutor(ctrl *gomock.Controller) *MockQueryExecutor

NewMockQueryExecutor creates a new mock instance.

func (*MockQueryExecutor) EXPECT

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

func (*MockQueryExecutor) Execute

Execute mocks base method.

type MockQueryExecutorMockRecorder

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

MockQueryExecutorMockRecorder is the mock recorder for MockQueryExecutor.

func (*MockQueryExecutorMockRecorder) Execute

func (mr *MockQueryExecutorMockRecorder) Execute(ctx, q interface{}) *gomock.Call

Execute indicates an expected call of Execute.

type MockQueryMockRecorder

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

MockQueryMockRecorder is the mock recorder for MockQuery.

func (*MockQueryMockRecorder) Execute

func (mr *MockQueryMockRecorder) Execute(ctx interface{}) *gomock.Call

Execute indicates an expected call of Execute.

func (*MockQueryMockRecorder) Validate

func (mr *MockQueryMockRecorder) Validate() *gomock.Call

Validate indicates an expected call of Validate.

Jump to

Keyboard shortcuts

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