mock_executor

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2021 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_executor is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockExecutor

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

MockExecutor is a mock of Executor interface.

func NewMockExecutor

func NewMockExecutor(ctrl *gomock.Controller) *MockExecutor

NewMockExecutor creates a new mock instance.

func (*MockExecutor) EXPECT

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

func (*MockExecutor) ExecuteIBTP added in v1.5.0

func (m *MockExecutor) ExecuteIBTP(wIbtp *model.WrappedIBTP) (*pb.IBTP, error)

ExecuteIBTP mocks base method.

func (*MockExecutor) QueryCallbackMeta added in v1.5.0

func (m *MockExecutor) QueryCallbackMeta() map[string]uint64

QueryCallbackMeta mocks base method.

func (*MockExecutor) QueryIBTPReceipt added in v1.5.0

func (m *MockExecutor) QueryIBTPReceipt(originalIBTP *pb.IBTP) (*pb.IBTP, error)

QueryIBTPReceipt mocks base method.

func (*MockExecutor) QueryInterchainMeta added in v1.5.0

func (m *MockExecutor) QueryInterchainMeta() map[string]uint64

QueryInterchainMeta mocks base method.

func (*MockExecutor) Rollback added in v1.6.1

func (m *MockExecutor) Rollback(ibtp *pb.IBTP, isSrcChain bool)

Rollback mocks base method.

func (*MockExecutor) Start

func (m *MockExecutor) Start() error

Start mocks base method.

func (*MockExecutor) Stop

func (m *MockExecutor) Stop() error

Stop mocks base method.

type MockExecutorMockRecorder

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

MockExecutorMockRecorder is the mock recorder for MockExecutor.

func (*MockExecutorMockRecorder) ExecuteIBTP added in v1.5.0

func (mr *MockExecutorMockRecorder) ExecuteIBTP(wIbtp interface{}) *gomock.Call

ExecuteIBTP indicates an expected call of ExecuteIBTP.

func (*MockExecutorMockRecorder) QueryCallbackMeta added in v1.5.0

func (mr *MockExecutorMockRecorder) QueryCallbackMeta() *gomock.Call

QueryCallbackMeta indicates an expected call of QueryCallbackMeta.

func (*MockExecutorMockRecorder) QueryIBTPReceipt added in v1.5.0

func (mr *MockExecutorMockRecorder) QueryIBTPReceipt(originalIBTP interface{}) *gomock.Call

QueryIBTPReceipt indicates an expected call of QueryIBTPReceipt.

func (*MockExecutorMockRecorder) QueryInterchainMeta added in v1.5.0

func (mr *MockExecutorMockRecorder) QueryInterchainMeta() *gomock.Call

QueryInterchainMeta indicates an expected call of QueryInterchainMeta.

func (*MockExecutorMockRecorder) Rollback added in v1.6.1

func (mr *MockExecutorMockRecorder) Rollback(ibtp, isSrcChain interface{}) *gomock.Call

Rollback indicates an expected call of Rollback.

func (*MockExecutorMockRecorder) Start

func (mr *MockExecutorMockRecorder) Start() *gomock.Call

Start indicates an expected call of Start.

func (*MockExecutorMockRecorder) Stop

func (mr *MockExecutorMockRecorder) Stop() *gomock.Call

Stop indicates an expected call of Stop.

Jump to

Keyboard shortcuts

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