Documentation
¶
Overview ¶
Package mock_iotexapi is a generated GoMock package.
Index ¶
- type MockAPIServiceServer
- func (m *MockAPIServiceServer) EXPECT() *MockAPIServiceServerMockRecorder
- func (m *MockAPIServiceServer) EstimateActionGasConsumption(arg0 context.Context, arg1 *iotexapi.EstimateActionGasConsumptionRequest) (*iotexapi.EstimateActionGasConsumptionResponse, error)
- func (m *MockAPIServiceServer) EstimateGasForAction(arg0 context.Context, arg1 *iotexapi.EstimateGasForActionRequest) (*iotexapi.EstimateGasForActionResponse, error)
- func (m *MockAPIServiceServer) GetAccount(arg0 context.Context, arg1 *iotexapi.GetAccountRequest) (*iotexapi.GetAccountResponse, error)
- func (m *MockAPIServiceServer) GetActPoolActions(arg0 context.Context, arg1 *iotexapi.GetActPoolActionsRequest) (*iotexapi.GetActPoolActionsResponse, error)
- func (m *MockAPIServiceServer) GetActions(arg0 context.Context, arg1 *iotexapi.GetActionsRequest) (*iotexapi.GetActionsResponse, error)
- func (m *MockAPIServiceServer) GetBlockMetas(arg0 context.Context, arg1 *iotexapi.GetBlockMetasRequest) (*iotexapi.GetBlockMetasResponse, error)
- func (m *MockAPIServiceServer) GetChainMeta(arg0 context.Context, arg1 *iotexapi.GetChainMetaRequest) (*iotexapi.GetChainMetaResponse, error)
- func (m *MockAPIServiceServer) GetElectionBuckets(arg0 context.Context, arg1 *iotexapi.GetElectionBucketsRequest) (*iotexapi.GetElectionBucketsResponse, error)
- func (m *MockAPIServiceServer) GetEpochMeta(arg0 context.Context, arg1 *iotexapi.GetEpochMetaRequest) (*iotexapi.GetEpochMetaResponse, error)
- func (m *MockAPIServiceServer) GetEvmTransfersByActionHash(arg0 context.Context, arg1 *iotexapi.GetEvmTransfersByActionHashRequest) (*iotexapi.GetEvmTransfersByActionHashResponse, error)
- func (m *MockAPIServiceServer) GetEvmTransfersByBlockHeight(arg0 context.Context, arg1 *iotexapi.GetEvmTransfersByBlockHeightRequest) (*iotexapi.GetEvmTransfersByBlockHeightResponse, error)
- func (m *MockAPIServiceServer) GetLogs(arg0 context.Context, arg1 *iotexapi.GetLogsRequest) (*iotexapi.GetLogsResponse, error)
- func (m *MockAPIServiceServer) GetRawBlocks(arg0 context.Context, arg1 *iotexapi.GetRawBlocksRequest) (*iotexapi.GetRawBlocksResponse, error)
- func (m *MockAPIServiceServer) GetReceiptByAction(arg0 context.Context, arg1 *iotexapi.GetReceiptByActionRequest) (*iotexapi.GetReceiptByActionResponse, error)
- func (m *MockAPIServiceServer) GetServerMeta(arg0 context.Context, arg1 *iotexapi.GetServerMetaRequest) (*iotexapi.GetServerMetaResponse, error)
- func (m *MockAPIServiceServer) GetTransactionLogByActionHash(arg0 context.Context, arg1 *iotexapi.GetTransactionLogByActionHashRequest) (*iotexapi.GetTransactionLogByActionHashResponse, error)
- func (m *MockAPIServiceServer) GetTransactionLogByBlockHeight(arg0 context.Context, arg1 *iotexapi.GetTransactionLogByBlockHeightRequest) (*iotexapi.GetTransactionLogByBlockHeightResponse, error)
- func (m *MockAPIServiceServer) ReadContract(arg0 context.Context, arg1 *iotexapi.ReadContractRequest) (*iotexapi.ReadContractResponse, error)
- func (m *MockAPIServiceServer) ReadContractStorage(arg0 context.Context, arg1 *iotexapi.ReadContractStorageRequest) (*iotexapi.ReadContractStorageResponse, error)
- func (m *MockAPIServiceServer) ReadState(arg0 context.Context, arg1 *iotexapi.ReadStateRequest) (*iotexapi.ReadStateResponse, error)
- func (m *MockAPIServiceServer) SendAction(arg0 context.Context, arg1 *iotexapi.SendActionRequest) (*iotexapi.SendActionResponse, error)
- func (m *MockAPIServiceServer) StreamBlocks(arg0 *iotexapi.StreamBlocksRequest, ...) error
- func (m *MockAPIServiceServer) StreamLogs(arg0 *iotexapi.StreamLogsRequest, arg1 iotexapi.APIService_StreamLogsServer) error
- func (m *MockAPIServiceServer) SuggestGasPrice(arg0 context.Context, arg1 *iotexapi.SuggestGasPriceRequest) (*iotexapi.SuggestGasPriceResponse, error)
- func (m *MockAPIServiceServer) TraceTransactionStructLogs(arg0 context.Context, arg1 *iotexapi.TraceTransactionStructLogsRequest) (*iotexapi.TraceTransactionStructLogsResponse, error)
- type MockAPIServiceServerMockRecorder
- func (mr *MockAPIServiceServerMockRecorder) EstimateActionGasConsumption(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIServiceServerMockRecorder) EstimateGasForAction(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIServiceServerMockRecorder) GetAccount(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIServiceServerMockRecorder) GetActPoolActions(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIServiceServerMockRecorder) GetActions(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIServiceServerMockRecorder) GetBlockMetas(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIServiceServerMockRecorder) GetChainMeta(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIServiceServerMockRecorder) GetElectionBuckets(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIServiceServerMockRecorder) GetEpochMeta(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIServiceServerMockRecorder) GetEvmTransfersByActionHash(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIServiceServerMockRecorder) GetEvmTransfersByBlockHeight(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIServiceServerMockRecorder) GetLogs(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIServiceServerMockRecorder) GetRawBlocks(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIServiceServerMockRecorder) GetReceiptByAction(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIServiceServerMockRecorder) GetServerMeta(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIServiceServerMockRecorder) GetTransactionLogByActionHash(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIServiceServerMockRecorder) GetTransactionLogByBlockHeight(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIServiceServerMockRecorder) ReadContract(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIServiceServerMockRecorder) ReadContractStorage(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIServiceServerMockRecorder) ReadState(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIServiceServerMockRecorder) SendAction(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIServiceServerMockRecorder) StreamBlocks(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIServiceServerMockRecorder) StreamLogs(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIServiceServerMockRecorder) SuggestGasPrice(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIServiceServerMockRecorder) TraceTransactionStructLogs(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 ¶
func (m *MockAPIServiceServer) EXPECT() *MockAPIServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAPIServiceServer) EstimateActionGasConsumption ¶
func (m *MockAPIServiceServer) EstimateActionGasConsumption(arg0 context.Context, arg1 *iotexapi.EstimateActionGasConsumptionRequest) (*iotexapi.EstimateActionGasConsumptionResponse, error)
EstimateActionGasConsumption mocks base method.
func (*MockAPIServiceServer) EstimateGasForAction ¶
func (m *MockAPIServiceServer) EstimateGasForAction(arg0 context.Context, arg1 *iotexapi.EstimateGasForActionRequest) (*iotexapi.EstimateGasForActionResponse, error)
EstimateGasForAction mocks base method.
func (*MockAPIServiceServer) GetAccount ¶
func (m *MockAPIServiceServer) GetAccount(arg0 context.Context, arg1 *iotexapi.GetAccountRequest) (*iotexapi.GetAccountResponse, error)
GetAccount mocks base method.
func (*MockAPIServiceServer) GetActPoolActions ¶ added in v0.4.5
func (m *MockAPIServiceServer) GetActPoolActions(arg0 context.Context, arg1 *iotexapi.GetActPoolActionsRequest) (*iotexapi.GetActPoolActionsResponse, error)
GetActPoolActions mocks base method.
func (*MockAPIServiceServer) GetActions ¶
func (m *MockAPIServiceServer) GetActions(arg0 context.Context, arg1 *iotexapi.GetActionsRequest) (*iotexapi.GetActionsResponse, error)
GetActions mocks base method.
func (*MockAPIServiceServer) GetBlockMetas ¶
func (m *MockAPIServiceServer) GetBlockMetas(arg0 context.Context, arg1 *iotexapi.GetBlockMetasRequest) (*iotexapi.GetBlockMetasResponse, error)
GetBlockMetas mocks base method.
func (*MockAPIServiceServer) GetChainMeta ¶
func (m *MockAPIServiceServer) GetChainMeta(arg0 context.Context, arg1 *iotexapi.GetChainMetaRequest) (*iotexapi.GetChainMetaResponse, error)
GetChainMeta mocks base method.
func (*MockAPIServiceServer) GetElectionBuckets ¶
func (m *MockAPIServiceServer) GetElectionBuckets(arg0 context.Context, arg1 *iotexapi.GetElectionBucketsRequest) (*iotexapi.GetElectionBucketsResponse, error)
GetElectionBuckets mocks base method.
func (*MockAPIServiceServer) GetEpochMeta ¶
func (m *MockAPIServiceServer) GetEpochMeta(arg0 context.Context, arg1 *iotexapi.GetEpochMetaRequest) (*iotexapi.GetEpochMetaResponse, error)
GetEpochMeta mocks base method.
func (*MockAPIServiceServer) GetEvmTransfersByActionHash ¶
func (m *MockAPIServiceServer) GetEvmTransfersByActionHash(arg0 context.Context, arg1 *iotexapi.GetEvmTransfersByActionHashRequest) (*iotexapi.GetEvmTransfersByActionHashResponse, error)
GetEvmTransfersByActionHash mocks base method.
func (*MockAPIServiceServer) GetEvmTransfersByBlockHeight ¶
func (m *MockAPIServiceServer) GetEvmTransfersByBlockHeight(arg0 context.Context, arg1 *iotexapi.GetEvmTransfersByBlockHeightRequest) (*iotexapi.GetEvmTransfersByBlockHeightResponse, error)
GetEvmTransfersByBlockHeight mocks base method.
func (*MockAPIServiceServer) GetLogs ¶
func (m *MockAPIServiceServer) GetLogs(arg0 context.Context, arg1 *iotexapi.GetLogsRequest) (*iotexapi.GetLogsResponse, error)
GetLogs mocks base method.
func (*MockAPIServiceServer) GetRawBlocks ¶
func (m *MockAPIServiceServer) GetRawBlocks(arg0 context.Context, arg1 *iotexapi.GetRawBlocksRequest) (*iotexapi.GetRawBlocksResponse, error)
GetRawBlocks mocks base method.
func (*MockAPIServiceServer) GetReceiptByAction ¶
func (m *MockAPIServiceServer) GetReceiptByAction(arg0 context.Context, arg1 *iotexapi.GetReceiptByActionRequest) (*iotexapi.GetReceiptByActionResponse, error)
GetReceiptByAction mocks base method.
func (*MockAPIServiceServer) GetServerMeta ¶
func (m *MockAPIServiceServer) GetServerMeta(arg0 context.Context, arg1 *iotexapi.GetServerMetaRequest) (*iotexapi.GetServerMetaResponse, error)
GetServerMeta mocks base method.
func (*MockAPIServiceServer) GetTransactionLogByActionHash ¶
func (m *MockAPIServiceServer) GetTransactionLogByActionHash(arg0 context.Context, arg1 *iotexapi.GetTransactionLogByActionHashRequest) (*iotexapi.GetTransactionLogByActionHashResponse, error)
GetTransactionLogByActionHash mocks base method.
func (*MockAPIServiceServer) GetTransactionLogByBlockHeight ¶
func (m *MockAPIServiceServer) GetTransactionLogByBlockHeight(arg0 context.Context, arg1 *iotexapi.GetTransactionLogByBlockHeightRequest) (*iotexapi.GetTransactionLogByBlockHeightResponse, error)
GetTransactionLogByBlockHeight mocks base method.
func (*MockAPIServiceServer) ReadContract ¶
func (m *MockAPIServiceServer) ReadContract(arg0 context.Context, arg1 *iotexapi.ReadContractRequest) (*iotexapi.ReadContractResponse, error)
ReadContract mocks base method.
func (*MockAPIServiceServer) ReadContractStorage ¶ added in v0.5.5
func (m *MockAPIServiceServer) ReadContractStorage(arg0 context.Context, arg1 *iotexapi.ReadContractStorageRequest) (*iotexapi.ReadContractStorageResponse, error)
ReadContractStorage mocks base method.
func (*MockAPIServiceServer) ReadState ¶
func (m *MockAPIServiceServer) ReadState(arg0 context.Context, arg1 *iotexapi.ReadStateRequest) (*iotexapi.ReadStateResponse, error)
ReadState mocks base method.
func (*MockAPIServiceServer) SendAction ¶
func (m *MockAPIServiceServer) SendAction(arg0 context.Context, arg1 *iotexapi.SendActionRequest) (*iotexapi.SendActionResponse, error)
SendAction mocks base method.
func (*MockAPIServiceServer) StreamBlocks ¶
func (m *MockAPIServiceServer) StreamBlocks(arg0 *iotexapi.StreamBlocksRequest, arg1 iotexapi.APIService_StreamBlocksServer) error
StreamBlocks mocks base method.
func (*MockAPIServiceServer) StreamLogs ¶
func (m *MockAPIServiceServer) StreamLogs(arg0 *iotexapi.StreamLogsRequest, arg1 iotexapi.APIService_StreamLogsServer) error
StreamLogs mocks base method.
func (*MockAPIServiceServer) SuggestGasPrice ¶
func (m *MockAPIServiceServer) SuggestGasPrice(arg0 context.Context, arg1 *iotexapi.SuggestGasPriceRequest) (*iotexapi.SuggestGasPriceResponse, error)
SuggestGasPrice mocks base method.
func (*MockAPIServiceServer) TraceTransactionStructLogs ¶ added in v0.5.7
func (m *MockAPIServiceServer) TraceTransactionStructLogs(arg0 context.Context, arg1 *iotexapi.TraceTransactionStructLogsRequest) (*iotexapi.TraceTransactionStructLogsResponse, error)
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.