mock_iotexapi

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_iotexapi is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAPIServiceClient added in v0.5.10

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

MockAPIServiceClient is a mock of APIServiceClient interface.

func NewMockAPIServiceClient added in v0.5.10

func NewMockAPIServiceClient(ctrl *gomock.Controller) *MockAPIServiceClient

NewMockAPIServiceClient creates a new mock instance.

func (*MockAPIServiceClient) EXPECT added in v0.5.10

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

func (*MockAPIServiceClient) EstimateActionGasConsumption added in v0.5.10

EstimateActionGasConsumption mocks base method.

func (*MockAPIServiceClient) EstimateGasForAction added in v0.5.10

EstimateGasForAction mocks base method.

func (*MockAPIServiceClient) GetAccount added in v0.5.10

GetAccount mocks base method.

func (*MockAPIServiceClient) GetActPoolActions added in v0.5.10

GetActPoolActions mocks base method.

func (*MockAPIServiceClient) GetActions added in v0.5.10

GetActions mocks base method.

func (*MockAPIServiceClient) GetBlockMetas added in v0.5.10

GetBlockMetas mocks base method.

func (*MockAPIServiceClient) GetChainMeta added in v0.5.10

GetChainMeta mocks base method.

func (*MockAPIServiceClient) GetElectionBuckets added in v0.5.10

GetElectionBuckets mocks base method.

func (*MockAPIServiceClient) GetEpochMeta added in v0.5.10

GetEpochMeta mocks base method.

func (*MockAPIServiceClient) GetEvmTransfersByActionHash added in v0.5.10

GetEvmTransfersByActionHash mocks base method.

func (*MockAPIServiceClient) GetEvmTransfersByBlockHeight added in v0.5.10

GetEvmTransfersByBlockHeight mocks base method.

func (*MockAPIServiceClient) GetLogs added in v0.5.10

GetLogs mocks base method.

func (*MockAPIServiceClient) GetRawBlocks added in v0.5.10

GetRawBlocks mocks base method.

func (*MockAPIServiceClient) GetReceiptByAction added in v0.5.10

GetReceiptByAction mocks base method.

func (*MockAPIServiceClient) GetServerMeta added in v0.5.10

GetServerMeta mocks base method.

func (*MockAPIServiceClient) GetTransactionLogByActionHash added in v0.5.10

GetTransactionLogByActionHash mocks base method.

func (*MockAPIServiceClient) GetTransactionLogByBlockHeight added in v0.5.10

GetTransactionLogByBlockHeight mocks base method.

func (*MockAPIServiceClient) ReadContract added in v0.5.10

ReadContract mocks base method.

func (*MockAPIServiceClient) ReadContractStorage added in v0.5.10

ReadContractStorage mocks base method.

func (*MockAPIServiceClient) ReadState added in v0.5.10

ReadState mocks base method.

func (*MockAPIServiceClient) SendAction added in v0.5.10

SendAction mocks base method.

func (*MockAPIServiceClient) StreamBlocks added in v0.5.10

StreamBlocks mocks base method.

func (*MockAPIServiceClient) StreamLogs added in v0.5.10

StreamLogs mocks base method.

func (*MockAPIServiceClient) SuggestGasPrice added in v0.5.10

SuggestGasPrice mocks base method.

func (*MockAPIServiceClient) TraceTransactionStructLogs added in v0.5.10

TraceTransactionStructLogs mocks base method.

type MockAPIServiceClientMockRecorder added in v0.5.10

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

MockAPIServiceClientMockRecorder is the mock recorder for MockAPIServiceClient.

func (*MockAPIServiceClientMockRecorder) EstimateActionGasConsumption added in v0.5.10

func (mr *MockAPIServiceClientMockRecorder) EstimateActionGasConsumption(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

EstimateActionGasConsumption indicates an expected call of EstimateActionGasConsumption.

func (*MockAPIServiceClientMockRecorder) EstimateGasForAction added in v0.5.10

func (mr *MockAPIServiceClientMockRecorder) EstimateGasForAction(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

EstimateGasForAction indicates an expected call of EstimateGasForAction.

func (*MockAPIServiceClientMockRecorder) GetAccount added in v0.5.10

func (mr *MockAPIServiceClientMockRecorder) GetAccount(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetAccount indicates an expected call of GetAccount.

func (*MockAPIServiceClientMockRecorder) GetActPoolActions added in v0.5.10

func (mr *MockAPIServiceClientMockRecorder) GetActPoolActions(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetActPoolActions indicates an expected call of GetActPoolActions.

func (*MockAPIServiceClientMockRecorder) GetActions added in v0.5.10

func (mr *MockAPIServiceClientMockRecorder) GetActions(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetActions indicates an expected call of GetActions.

func (*MockAPIServiceClientMockRecorder) GetBlockMetas added in v0.5.10

func (mr *MockAPIServiceClientMockRecorder) GetBlockMetas(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetBlockMetas indicates an expected call of GetBlockMetas.

func (*MockAPIServiceClientMockRecorder) GetChainMeta added in v0.5.10

func (mr *MockAPIServiceClientMockRecorder) GetChainMeta(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetChainMeta indicates an expected call of GetChainMeta.

func (*MockAPIServiceClientMockRecorder) GetElectionBuckets added in v0.5.10

func (mr *MockAPIServiceClientMockRecorder) GetElectionBuckets(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetElectionBuckets indicates an expected call of GetElectionBuckets.

func (*MockAPIServiceClientMockRecorder) GetEpochMeta added in v0.5.10

func (mr *MockAPIServiceClientMockRecorder) GetEpochMeta(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetEpochMeta indicates an expected call of GetEpochMeta.

func (*MockAPIServiceClientMockRecorder) GetEvmTransfersByActionHash added in v0.5.10

func (mr *MockAPIServiceClientMockRecorder) GetEvmTransfersByActionHash(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetEvmTransfersByActionHash indicates an expected call of GetEvmTransfersByActionHash.

func (*MockAPIServiceClientMockRecorder) GetEvmTransfersByBlockHeight added in v0.5.10

func (mr *MockAPIServiceClientMockRecorder) GetEvmTransfersByBlockHeight(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetEvmTransfersByBlockHeight indicates an expected call of GetEvmTransfersByBlockHeight.

func (*MockAPIServiceClientMockRecorder) GetLogs added in v0.5.10

func (mr *MockAPIServiceClientMockRecorder) GetLogs(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetLogs indicates an expected call of GetLogs.

func (*MockAPIServiceClientMockRecorder) GetRawBlocks added in v0.5.10

func (mr *MockAPIServiceClientMockRecorder) GetRawBlocks(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetRawBlocks indicates an expected call of GetRawBlocks.

func (*MockAPIServiceClientMockRecorder) GetReceiptByAction added in v0.5.10

func (mr *MockAPIServiceClientMockRecorder) GetReceiptByAction(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetReceiptByAction indicates an expected call of GetReceiptByAction.

func (*MockAPIServiceClientMockRecorder) GetServerMeta added in v0.5.10

func (mr *MockAPIServiceClientMockRecorder) GetServerMeta(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetServerMeta indicates an expected call of GetServerMeta.

func (*MockAPIServiceClientMockRecorder) GetTransactionLogByActionHash added in v0.5.10

func (mr *MockAPIServiceClientMockRecorder) GetTransactionLogByActionHash(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetTransactionLogByActionHash indicates an expected call of GetTransactionLogByActionHash.

func (*MockAPIServiceClientMockRecorder) GetTransactionLogByBlockHeight added in v0.5.10

func (mr *MockAPIServiceClientMockRecorder) GetTransactionLogByBlockHeight(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetTransactionLogByBlockHeight indicates an expected call of GetTransactionLogByBlockHeight.

func (*MockAPIServiceClientMockRecorder) ReadContract added in v0.5.10

func (mr *MockAPIServiceClientMockRecorder) ReadContract(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ReadContract indicates an expected call of ReadContract.

func (*MockAPIServiceClientMockRecorder) ReadContractStorage added in v0.5.10

func (mr *MockAPIServiceClientMockRecorder) ReadContractStorage(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ReadContractStorage indicates an expected call of ReadContractStorage.

func (*MockAPIServiceClientMockRecorder) ReadState added in v0.5.10

func (mr *MockAPIServiceClientMockRecorder) ReadState(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ReadState indicates an expected call of ReadState.

func (*MockAPIServiceClientMockRecorder) SendAction added in v0.5.10

func (mr *MockAPIServiceClientMockRecorder) SendAction(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

SendAction indicates an expected call of SendAction.

func (*MockAPIServiceClientMockRecorder) StreamBlocks added in v0.5.10

func (mr *MockAPIServiceClientMockRecorder) StreamBlocks(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

StreamBlocks indicates an expected call of StreamBlocks.

func (*MockAPIServiceClientMockRecorder) StreamLogs added in v0.5.10

func (mr *MockAPIServiceClientMockRecorder) StreamLogs(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

StreamLogs indicates an expected call of StreamLogs.

func (*MockAPIServiceClientMockRecorder) SuggestGasPrice added in v0.5.10

func (mr *MockAPIServiceClientMockRecorder) SuggestGasPrice(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

SuggestGasPrice indicates an expected call of SuggestGasPrice.

func (*MockAPIServiceClientMockRecorder) TraceTransactionStructLogs added in v0.5.10

func (mr *MockAPIServiceClientMockRecorder) TraceTransactionStructLogs(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

TraceTransactionStructLogs indicates an expected call of TraceTransactionStructLogs.

type MockAPIServiceServer

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

MockAPIServiceServer is a mock of APIServiceServer interface.

func NewMockAPIServiceServer

func NewMockAPIServiceServer(ctrl *gomock.Controller) *MockAPIServiceServer

NewMockAPIServiceServer creates a new mock instance.

func (*MockAPIServiceServer) EXPECT

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

func (*MockAPIServiceServer) EstimateActionGasConsumption

EstimateActionGasConsumption mocks base method.

func (*MockAPIServiceServer) EstimateGasForAction

EstimateGasForAction mocks base method.

func (*MockAPIServiceServer) GetAccount

GetAccount mocks base method.

func (*MockAPIServiceServer) GetActPoolActions added in v0.4.5

GetActPoolActions mocks base method.

func (*MockAPIServiceServer) GetActions

GetActions mocks base method.

func (*MockAPIServiceServer) GetBlockMetas

GetBlockMetas mocks base method.

func (*MockAPIServiceServer) GetChainMeta

GetChainMeta mocks base method.

func (*MockAPIServiceServer) GetElectionBuckets

GetElectionBuckets mocks base method.

func (*MockAPIServiceServer) GetEpochMeta

GetEpochMeta mocks base method.

func (*MockAPIServiceServer) GetEvmTransfersByActionHash

GetEvmTransfersByActionHash mocks base method.

func (*MockAPIServiceServer) GetEvmTransfersByBlockHeight

GetEvmTransfersByBlockHeight mocks base method.

func (*MockAPIServiceServer) GetLogs

GetLogs mocks base method.

func (*MockAPIServiceServer) GetRawBlocks

GetRawBlocks mocks base method.

func (*MockAPIServiceServer) GetReceiptByAction

GetReceiptByAction mocks base method.

func (*MockAPIServiceServer) GetServerMeta

GetServerMeta mocks base method.

func (*MockAPIServiceServer) GetTransactionLogByActionHash

GetTransactionLogByActionHash mocks base method.

func (*MockAPIServiceServer) GetTransactionLogByBlockHeight

GetTransactionLogByBlockHeight mocks base method.

func (*MockAPIServiceServer) ReadContract

ReadContract mocks base method.

func (*MockAPIServiceServer) ReadContractStorage added in v0.5.5

ReadContractStorage mocks base method.

func (*MockAPIServiceServer) ReadState

ReadState mocks base method.

func (*MockAPIServiceServer) SendAction

SendAction mocks base method.

func (*MockAPIServiceServer) StreamBlocks

StreamBlocks mocks base method.

func (*MockAPIServiceServer) StreamLogs

StreamLogs mocks base method.

func (*MockAPIServiceServer) SuggestGasPrice

SuggestGasPrice mocks base method.

func (*MockAPIServiceServer) TraceTransactionStructLogs added in v0.5.7

TraceTransactionStructLogs mocks base method.

type MockAPIServiceServerMockRecorder

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

MockAPIServiceServerMockRecorder is the mock recorder for MockAPIServiceServer.

func (*MockAPIServiceServerMockRecorder) EstimateActionGasConsumption

func (mr *MockAPIServiceServerMockRecorder) EstimateActionGasConsumption(arg0, arg1 interface{}) *gomock.Call

EstimateActionGasConsumption indicates an expected call of EstimateActionGasConsumption.

func (*MockAPIServiceServerMockRecorder) EstimateGasForAction

func (mr *MockAPIServiceServerMockRecorder) EstimateGasForAction(arg0, arg1 interface{}) *gomock.Call

EstimateGasForAction indicates an expected call of EstimateGasForAction.

func (*MockAPIServiceServerMockRecorder) GetAccount

func (mr *MockAPIServiceServerMockRecorder) GetAccount(arg0, arg1 interface{}) *gomock.Call

GetAccount indicates an expected call of GetAccount.

func (*MockAPIServiceServerMockRecorder) GetActPoolActions added in v0.4.5

func (mr *MockAPIServiceServerMockRecorder) GetActPoolActions(arg0, arg1 interface{}) *gomock.Call

GetActPoolActions indicates an expected call of GetActPoolActions.

func (*MockAPIServiceServerMockRecorder) GetActions

func (mr *MockAPIServiceServerMockRecorder) GetActions(arg0, arg1 interface{}) *gomock.Call

GetActions indicates an expected call of GetActions.

func (*MockAPIServiceServerMockRecorder) GetBlockMetas

func (mr *MockAPIServiceServerMockRecorder) GetBlockMetas(arg0, arg1 interface{}) *gomock.Call

GetBlockMetas indicates an expected call of GetBlockMetas.

func (*MockAPIServiceServerMockRecorder) GetChainMeta

func (mr *MockAPIServiceServerMockRecorder) GetChainMeta(arg0, arg1 interface{}) *gomock.Call

GetChainMeta indicates an expected call of GetChainMeta.

func (*MockAPIServiceServerMockRecorder) GetElectionBuckets

func (mr *MockAPIServiceServerMockRecorder) GetElectionBuckets(arg0, arg1 interface{}) *gomock.Call

GetElectionBuckets indicates an expected call of GetElectionBuckets.

func (*MockAPIServiceServerMockRecorder) GetEpochMeta

func (mr *MockAPIServiceServerMockRecorder) GetEpochMeta(arg0, arg1 interface{}) *gomock.Call

GetEpochMeta indicates an expected call of GetEpochMeta.

func (*MockAPIServiceServerMockRecorder) GetEvmTransfersByActionHash

func (mr *MockAPIServiceServerMockRecorder) GetEvmTransfersByActionHash(arg0, arg1 interface{}) *gomock.Call

GetEvmTransfersByActionHash indicates an expected call of GetEvmTransfersByActionHash.

func (*MockAPIServiceServerMockRecorder) GetEvmTransfersByBlockHeight

func (mr *MockAPIServiceServerMockRecorder) GetEvmTransfersByBlockHeight(arg0, arg1 interface{}) *gomock.Call

GetEvmTransfersByBlockHeight indicates an expected call of GetEvmTransfersByBlockHeight.

func (*MockAPIServiceServerMockRecorder) GetLogs

func (mr *MockAPIServiceServerMockRecorder) GetLogs(arg0, arg1 interface{}) *gomock.Call

GetLogs indicates an expected call of GetLogs.

func (*MockAPIServiceServerMockRecorder) GetRawBlocks

func (mr *MockAPIServiceServerMockRecorder) GetRawBlocks(arg0, arg1 interface{}) *gomock.Call

GetRawBlocks indicates an expected call of GetRawBlocks.

func (*MockAPIServiceServerMockRecorder) GetReceiptByAction

func (mr *MockAPIServiceServerMockRecorder) GetReceiptByAction(arg0, arg1 interface{}) *gomock.Call

GetReceiptByAction indicates an expected call of GetReceiptByAction.

func (*MockAPIServiceServerMockRecorder) GetServerMeta

func (mr *MockAPIServiceServerMockRecorder) GetServerMeta(arg0, arg1 interface{}) *gomock.Call

GetServerMeta indicates an expected call of GetServerMeta.

func (*MockAPIServiceServerMockRecorder) GetTransactionLogByActionHash

func (mr *MockAPIServiceServerMockRecorder) GetTransactionLogByActionHash(arg0, arg1 interface{}) *gomock.Call

GetTransactionLogByActionHash indicates an expected call of GetTransactionLogByActionHash.

func (*MockAPIServiceServerMockRecorder) GetTransactionLogByBlockHeight

func (mr *MockAPIServiceServerMockRecorder) GetTransactionLogByBlockHeight(arg0, arg1 interface{}) *gomock.Call

GetTransactionLogByBlockHeight indicates an expected call of GetTransactionLogByBlockHeight.

func (*MockAPIServiceServerMockRecorder) ReadContract

func (mr *MockAPIServiceServerMockRecorder) ReadContract(arg0, arg1 interface{}) *gomock.Call

ReadContract indicates an expected call of ReadContract.

func (*MockAPIServiceServerMockRecorder) ReadContractStorage added in v0.5.5

func (mr *MockAPIServiceServerMockRecorder) ReadContractStorage(arg0, arg1 interface{}) *gomock.Call

ReadContractStorage indicates an expected call of ReadContractStorage.

func (*MockAPIServiceServerMockRecorder) ReadState

func (mr *MockAPIServiceServerMockRecorder) ReadState(arg0, arg1 interface{}) *gomock.Call

ReadState indicates an expected call of ReadState.

func (*MockAPIServiceServerMockRecorder) SendAction

func (mr *MockAPIServiceServerMockRecorder) SendAction(arg0, arg1 interface{}) *gomock.Call

SendAction indicates an expected call of SendAction.

func (*MockAPIServiceServerMockRecorder) StreamBlocks

func (mr *MockAPIServiceServerMockRecorder) StreamBlocks(arg0, arg1 interface{}) *gomock.Call

StreamBlocks indicates an expected call of StreamBlocks.

func (*MockAPIServiceServerMockRecorder) StreamLogs

func (mr *MockAPIServiceServerMockRecorder) StreamLogs(arg0, arg1 interface{}) *gomock.Call

StreamLogs indicates an expected call of StreamLogs.

func (*MockAPIServiceServerMockRecorder) SuggestGasPrice

func (mr *MockAPIServiceServerMockRecorder) SuggestGasPrice(arg0, arg1 interface{}) *gomock.Call

SuggestGasPrice indicates an expected call of SuggestGasPrice.

func (*MockAPIServiceServerMockRecorder) TraceTransactionStructLogs added in v0.5.7

func (mr *MockAPIServiceServerMockRecorder) TraceTransactionStructLogs(arg0, arg1 interface{}) *gomock.Call

TraceTransactionStructLogs indicates an expected call of TraceTransactionStructLogs.

Jump to

Keyboard shortcuts

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