mock_agent

package
v1.0.0-rc3 Latest Latest
Warning

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

Go to latest
Published: May 20, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_agent is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAgent

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

MockAgent is a mock of Agent interface

func NewMockAgent

func NewMockAgent(ctrl *gomock.Controller) *MockAgent

NewMockAgent creates a new mock instance

func (*MockAgent) Appchain

func (m *MockAgent) Appchain() (*rpcx.Appchain, error)

Appchain mocks base method

func (*MockAgent) EXPECT

func (m *MockAgent) EXPECT() *MockAgentMockRecorder

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

func (*MockAgent) GetBlockHeader

func (m *MockAgent) GetBlockHeader(ctx context.Context, begin, end uint64, ch chan *pb.BlockHeader) error

GetBlockHeader mocks base method

func (*MockAgent) GetChainMeta

func (m *MockAgent) GetChainMeta() (*pb.ChainMeta, error)

GetChainMeta mocks base method

func (*MockAgent) GetIBTPByID

func (m *MockAgent) GetIBTPByID(id string) (*pb.IBTP, error)

GetIBTPByID mocks base method

func (*MockAgent) GetInterchainMeta

func (m *MockAgent) GetInterchainMeta() (*rpcx.Interchain, error)

GetInterchainMeta mocks base method

func (*MockAgent) GetInterchainTxWrapper

func (m *MockAgent) GetInterchainTxWrapper(ctx context.Context, begin, end uint64, ch chan *pb.InterchainTxWrapper) error

GetInterchainTxWrapper mocks base method

func (*MockAgent) SendIBTP

func (m *MockAgent) SendIBTP(ibtp *pb.IBTP) (*pb.Receipt, error)

SendIBTP mocks base method

func (*MockAgent) SendTransaction

func (m *MockAgent) SendTransaction(tx *pb.Transaction) (*pb.Receipt, error)

SendTransaction mocks base method

func (*MockAgent) SyncBlockHeader

func (m *MockAgent) SyncBlockHeader(ctx context.Context, ch chan *pb.BlockHeader) error

SyncBlockHeader mocks base method

func (*MockAgent) SyncInterchainTxWrapper

func (m *MockAgent) SyncInterchainTxWrapper(ctx context.Context, ch chan *pb.InterchainTxWrapper) error

SyncInterchainTxWrapper mocks base method

type MockAgentMockRecorder

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

MockAgentMockRecorder is the mock recorder for MockAgent

func (*MockAgentMockRecorder) Appchain

func (mr *MockAgentMockRecorder) Appchain() *gomock.Call

Appchain indicates an expected call of Appchain

func (*MockAgentMockRecorder) GetBlockHeader

func (mr *MockAgentMockRecorder) GetBlockHeader(ctx, begin, end, ch interface{}) *gomock.Call

GetBlockHeader indicates an expected call of GetBlockHeader

func (*MockAgentMockRecorder) GetChainMeta

func (mr *MockAgentMockRecorder) GetChainMeta() *gomock.Call

GetChainMeta indicates an expected call of GetChainMeta

func (*MockAgentMockRecorder) GetIBTPByID

func (mr *MockAgentMockRecorder) GetIBTPByID(id interface{}) *gomock.Call

GetIBTPByID indicates an expected call of GetIBTPByID

func (*MockAgentMockRecorder) GetInterchainMeta

func (mr *MockAgentMockRecorder) GetInterchainMeta() *gomock.Call

GetInterchainMeta indicates an expected call of GetInterchainMeta

func (*MockAgentMockRecorder) GetInterchainTxWrapper

func (mr *MockAgentMockRecorder) GetInterchainTxWrapper(ctx, begin, end, ch interface{}) *gomock.Call

GetInterchainTxWrapper indicates an expected call of GetInterchainTxWrapper

func (*MockAgentMockRecorder) SendIBTP

func (mr *MockAgentMockRecorder) SendIBTP(ibtp interface{}) *gomock.Call

SendIBTP indicates an expected call of SendIBTP

func (*MockAgentMockRecorder) SendTransaction

func (mr *MockAgentMockRecorder) SendTransaction(tx interface{}) *gomock.Call

SendTransaction indicates an expected call of SendTransaction

func (*MockAgentMockRecorder) SyncBlockHeader

func (mr *MockAgentMockRecorder) SyncBlockHeader(ctx, ch interface{}) *gomock.Call

SyncBlockHeader indicates an expected call of SyncBlockHeader

func (*MockAgentMockRecorder) SyncInterchainTxWrapper

func (mr *MockAgentMockRecorder) SyncInterchainTxWrapper(ctx, ch interface{}) *gomock.Call

SyncInterchainTxWrapper indicates an expected call of SyncInterchainTxWrapper

Jump to

Keyboard shortcuts

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