mock_syncer

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2021 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_syncer is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSyncer

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

MockSyncer is a mock of Syncer interface.

func NewMockSyncer

func NewMockSyncer(ctrl *gomock.Controller) *MockSyncer

NewMockSyncer creates a new mock instance.

func (*MockSyncer) EXPECT

func (m *MockSyncer) EXPECT() *MockSyncerMockRecorder

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

func (*MockSyncer) GetAssetExchangeSigns added in v1.5.0

func (m *MockSyncer) GetAssetExchangeSigns(id string) ([]byte, error)

GetAssetExchangeSigns mocks base method.

func (*MockSyncer) GetBitXHubIDs added in v1.13.0

func (m *MockSyncer) GetBitXHubIDs() ([]string, error)

GetBitXHubIDs mocks base method.

func (*MockSyncer) GetChainID added in v1.13.0

func (m *MockSyncer) GetChainID() (uint64, error)

GetChainID mocks base method.

func (*MockSyncer) GetIBTPSigns added in v1.5.0

func (m *MockSyncer) GetIBTPSigns(ibtp *pb.IBTP) ([]byte, error)

GetIBTPSigns mocks base method.

func (*MockSyncer) GetServiceIDs added in v1.13.0

func (m *MockSyncer) GetServiceIDs() ([]string, error)

GetServiceIDs mocks base method.

func (*MockSyncer) GetTxStatus added in v1.12.0

func (m *MockSyncer) GetTxStatus(id string) (pb.TransactionStatus, error)

GetTxStatus mocks base method.

func (*MockSyncer) ListenIBTP added in v1.5.0

func (m *MockSyncer) ListenIBTP() <-chan *model.WrappedIBTP

ListenIBTP mocks base method.

func (*MockSyncer) QueryIBTP added in v1.5.0

func (m *MockSyncer) QueryIBTP(ibtpID string, isReq bool) (*pb.IBTP, bool, error)

QueryIBTP mocks base method.

func (*MockSyncer) QueryInterchainMeta added in v1.5.0

func (m *MockSyncer) QueryInterchainMeta(serviceID string) *pb.Interchain

QueryInterchainMeta mocks base method.

func (*MockSyncer) RegisterRollbackHandler added in v1.6.1

func (m *MockSyncer) RegisterRollbackHandler(handler syncer.RollbackHandler) error

RegisterRollbackHandler mocks base method.

func (*MockSyncer) SendIBTP added in v1.5.0

func (m *MockSyncer) SendIBTP(ibtp *pb.IBTP) error

SendIBTP mocks base method.

func (*MockSyncer) SendIBTPWithRetry added in v1.13.0

func (m *MockSyncer) SendIBTPWithRetry(ibtp *pb.IBTP)

SendIBTPWithRetry mocks base method.

func (*MockSyncer) Start

func (m *MockSyncer) Start() error

Start mocks base method.

func (*MockSyncer) Stop

func (m *MockSyncer) Stop() error

Stop mocks base method.

type MockSyncerMockRecorder

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

MockSyncerMockRecorder is the mock recorder for MockSyncer.

func (*MockSyncerMockRecorder) GetAssetExchangeSigns added in v1.5.0

func (mr *MockSyncerMockRecorder) GetAssetExchangeSigns(id interface{}) *gomock.Call

GetAssetExchangeSigns indicates an expected call of GetAssetExchangeSigns.

func (*MockSyncerMockRecorder) GetBitXHubIDs added in v1.13.0

func (mr *MockSyncerMockRecorder) GetBitXHubIDs() *gomock.Call

GetBitXHubIDs indicates an expected call of GetBitXHubIDs.

func (*MockSyncerMockRecorder) GetChainID added in v1.13.0

func (mr *MockSyncerMockRecorder) GetChainID() *gomock.Call

GetChainID indicates an expected call of GetChainID.

func (*MockSyncerMockRecorder) GetIBTPSigns added in v1.5.0

func (mr *MockSyncerMockRecorder) GetIBTPSigns(ibtp interface{}) *gomock.Call

GetIBTPSigns indicates an expected call of GetIBTPSigns.

func (*MockSyncerMockRecorder) GetServiceIDs added in v1.13.0

func (mr *MockSyncerMockRecorder) GetServiceIDs() *gomock.Call

GetServiceIDs indicates an expected call of GetServiceIDs.

func (*MockSyncerMockRecorder) GetTxStatus added in v1.12.0

func (mr *MockSyncerMockRecorder) GetTxStatus(id interface{}) *gomock.Call

GetTxStatus indicates an expected call of GetTxStatus.

func (*MockSyncerMockRecorder) ListenIBTP added in v1.5.0

func (mr *MockSyncerMockRecorder) ListenIBTP() *gomock.Call

ListenIBTP indicates an expected call of ListenIBTP.

func (*MockSyncerMockRecorder) QueryIBTP added in v1.5.0

func (mr *MockSyncerMockRecorder) QueryIBTP(ibtpID, isReq interface{}) *gomock.Call

QueryIBTP indicates an expected call of QueryIBTP.

func (*MockSyncerMockRecorder) QueryInterchainMeta added in v1.5.0

func (mr *MockSyncerMockRecorder) QueryInterchainMeta(serviceID interface{}) *gomock.Call

QueryInterchainMeta indicates an expected call of QueryInterchainMeta.

func (*MockSyncerMockRecorder) RegisterRollbackHandler added in v1.6.1

func (mr *MockSyncerMockRecorder) RegisterRollbackHandler(handler interface{}) *gomock.Call

RegisterRollbackHandler indicates an expected call of RegisterRollbackHandler.

func (*MockSyncerMockRecorder) SendIBTP added in v1.5.0

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

SendIBTP indicates an expected call of SendIBTP.

func (*MockSyncerMockRecorder) SendIBTPWithRetry added in v1.13.0

func (mr *MockSyncerMockRecorder) SendIBTPWithRetry(ibtp interface{}) *gomock.Call

SendIBTPWithRetry indicates an expected call of SendIBTPWithRetry.

func (*MockSyncerMockRecorder) Start

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

Start indicates an expected call of Start.

func (*MockSyncerMockRecorder) Stop

func (mr *MockSyncerMockRecorder) 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