Documentation ¶
Overview ¶
Package mock_apiserviceclient is a generated GoMock package.
Index ¶
- type MockServiceClient
- func (m *MockServiceClient) EXPECT() *MockServiceClientMockRecorder
- func (m *MockServiceClient) EstimateActionGasConsumption(ctx context.Context, in *iotexapi.EstimateActionGasConsumptionRequest, ...) (*iotexapi.EstimateActionGasConsumptionResponse, error)
- func (m *MockServiceClient) EstimateGasForAction(ctx context.Context, in *iotexapi.EstimateGasForActionRequest, ...) (*iotexapi.EstimateGasForActionResponse, error)
- func (m *MockServiceClient) GetAccount(ctx context.Context, in *iotexapi.GetAccountRequest, opts ...grpc.CallOption) (*iotexapi.GetAccountResponse, error)
- func (m *MockServiceClient) GetActPoolActions(ctx context.Context, in *iotexapi.GetActPoolActionsRequest, ...) (*iotexapi.GetActPoolActionsResponse, error)
- func (m *MockServiceClient) GetActions(ctx context.Context, in *iotexapi.GetActionsRequest, opts ...grpc.CallOption) (*iotexapi.GetActionsResponse, error)
- func (m *MockServiceClient) GetBlockMetas(ctx context.Context, in *iotexapi.GetBlockMetasRequest, ...) (*iotexapi.GetBlockMetasResponse, error)
- func (m *MockServiceClient) GetChainMeta(ctx context.Context, in *iotexapi.GetChainMetaRequest, opts ...grpc.CallOption) (*iotexapi.GetChainMetaResponse, error)
- func (m *MockServiceClient) GetElectionBuckets(ctx context.Context, in *iotexapi.GetElectionBucketsRequest, ...) (*iotexapi.GetElectionBucketsResponse, error)
- func (m *MockServiceClient) GetEpochMeta(ctx context.Context, in *iotexapi.GetEpochMetaRequest, opts ...grpc.CallOption) (*iotexapi.GetEpochMetaResponse, error)
- func (m *MockServiceClient) GetEvmTransfersByActionHash(ctx context.Context, in *iotexapi.GetEvmTransfersByActionHashRequest, ...) (*iotexapi.GetEvmTransfersByActionHashResponse, error)
- func (m *MockServiceClient) GetEvmTransfersByBlockHeight(ctx context.Context, in *iotexapi.GetEvmTransfersByBlockHeightRequest, ...) (*iotexapi.GetEvmTransfersByBlockHeightResponse, error)
- func (m *MockServiceClient) GetLogs(ctx context.Context, in *iotexapi.GetLogsRequest, opts ...grpc.CallOption) (*iotexapi.GetLogsResponse, error)
- func (m *MockServiceClient) GetRawBlocks(ctx context.Context, in *iotexapi.GetRawBlocksRequest, opts ...grpc.CallOption) (*iotexapi.GetRawBlocksResponse, error)
- func (m *MockServiceClient) GetReceiptByAction(ctx context.Context, in *iotexapi.GetReceiptByActionRequest, ...) (*iotexapi.GetReceiptByActionResponse, error)
- func (m *MockServiceClient) GetServerMeta(ctx context.Context, in *iotexapi.GetServerMetaRequest, ...) (*iotexapi.GetServerMetaResponse, error)
- func (m *MockServiceClient) GetTransactionLogByActionHash(ctx context.Context, in *iotexapi.GetTransactionLogByActionHashRequest, ...) (*iotexapi.GetTransactionLogByActionHashResponse, error)
- func (m *MockServiceClient) GetTransactionLogByBlockHeight(ctx context.Context, in *iotexapi.GetTransactionLogByBlockHeightRequest, ...) (*iotexapi.GetTransactionLogByBlockHeightResponse, error)
- func (m *MockServiceClient) ReadContract(ctx context.Context, in *iotexapi.ReadContractRequest, opts ...grpc.CallOption) (*iotexapi.ReadContractResponse, error)
- func (m *MockServiceClient) ReadState(ctx context.Context, in *iotexapi.ReadStateRequest, opts ...grpc.CallOption) (*iotexapi.ReadStateResponse, error)
- func (m *MockServiceClient) SendAction(ctx context.Context, in *iotexapi.SendActionRequest, opts ...grpc.CallOption) (*iotexapi.SendActionResponse, error)
- func (m *MockServiceClient) StreamBlocks(ctx context.Context, in *iotexapi.StreamBlocksRequest, opts ...grpc.CallOption) (iotexapi.APIService_StreamBlocksClient, error)
- func (m *MockServiceClient) StreamLogs(ctx context.Context, in *iotexapi.StreamLogsRequest, opts ...grpc.CallOption) (iotexapi.APIService_StreamLogsClient, error)
- func (m *MockServiceClient) SuggestGasPrice(ctx context.Context, in *iotexapi.SuggestGasPriceRequest, ...) (*iotexapi.SuggestGasPriceResponse, error)
- type MockServiceClientMockRecorder
- func (mr *MockServiceClientMockRecorder) EstimateActionGasConsumption(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockServiceClientMockRecorder) EstimateGasForAction(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockServiceClientMockRecorder) GetAccount(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockServiceClientMockRecorder) GetActPoolActions(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockServiceClientMockRecorder) GetActions(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockServiceClientMockRecorder) GetBlockMetas(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockServiceClientMockRecorder) GetChainMeta(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockServiceClientMockRecorder) GetElectionBuckets(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockServiceClientMockRecorder) GetEpochMeta(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockServiceClientMockRecorder) GetEvmTransfersByActionHash(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockServiceClientMockRecorder) GetEvmTransfersByBlockHeight(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockServiceClientMockRecorder) GetLogs(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockServiceClientMockRecorder) GetRawBlocks(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockServiceClientMockRecorder) GetReceiptByAction(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockServiceClientMockRecorder) GetServerMeta(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockServiceClientMockRecorder) GetTransactionLogByActionHash(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockServiceClientMockRecorder) GetTransactionLogByBlockHeight(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockServiceClientMockRecorder) ReadContract(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockServiceClientMockRecorder) ReadState(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockServiceClientMockRecorder) SendAction(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockServiceClientMockRecorder) StreamBlocks(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockServiceClientMockRecorder) StreamLogs(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockServiceClientMockRecorder) SuggestGasPrice(ctx, in interface{}, opts ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockServiceClient ¶
type MockServiceClient struct {
// contains filtered or unexported fields
}
MockServiceClient is a mock of ServiceClient interface
func NewMockServiceClient ¶
func NewMockServiceClient(ctrl *gomock.Controller) *MockServiceClient
NewMockServiceClient creates a new mock instance
func (*MockServiceClient) EXPECT ¶
func (m *MockServiceClient) EXPECT() *MockServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockServiceClient) EstimateActionGasConsumption ¶ added in v0.9.0
func (m *MockServiceClient) EstimateActionGasConsumption(ctx context.Context, in *iotexapi.EstimateActionGasConsumptionRequest, opts ...grpc.CallOption) (*iotexapi.EstimateActionGasConsumptionResponse, error)
EstimateActionGasConsumption mocks base method
func (*MockServiceClient) EstimateGasForAction ¶
func (m *MockServiceClient) EstimateGasForAction(ctx context.Context, in *iotexapi.EstimateGasForActionRequest, opts ...grpc.CallOption) (*iotexapi.EstimateGasForActionResponse, error)
EstimateGasForAction mocks base method
func (*MockServiceClient) GetAccount ¶
func (m *MockServiceClient) GetAccount(ctx context.Context, in *iotexapi.GetAccountRequest, opts ...grpc.CallOption) (*iotexapi.GetAccountResponse, error)
GetAccount mocks base method
func (*MockServiceClient) GetActPoolActions ¶ added in v1.1.3
func (m *MockServiceClient) GetActPoolActions(ctx context.Context, in *iotexapi.GetActPoolActionsRequest, opts ...grpc.CallOption) (*iotexapi.GetActPoolActionsResponse, error)
GetActPoolActions mocks base method
func (*MockServiceClient) GetActions ¶
func (m *MockServiceClient) GetActions(ctx context.Context, in *iotexapi.GetActionsRequest, opts ...grpc.CallOption) (*iotexapi.GetActionsResponse, error)
GetActions mocks base method
func (*MockServiceClient) GetBlockMetas ¶
func (m *MockServiceClient) GetBlockMetas(ctx context.Context, in *iotexapi.GetBlockMetasRequest, opts ...grpc.CallOption) (*iotexapi.GetBlockMetasResponse, error)
GetBlockMetas mocks base method
func (*MockServiceClient) GetChainMeta ¶
func (m *MockServiceClient) GetChainMeta(ctx context.Context, in *iotexapi.GetChainMetaRequest, opts ...grpc.CallOption) (*iotexapi.GetChainMetaResponse, error)
GetChainMeta mocks base method
func (*MockServiceClient) GetElectionBuckets ¶ added in v0.9.0
func (m *MockServiceClient) GetElectionBuckets(ctx context.Context, in *iotexapi.GetElectionBucketsRequest, opts ...grpc.CallOption) (*iotexapi.GetElectionBucketsResponse, error)
GetElectionBuckets mocks base method
func (*MockServiceClient) GetEpochMeta ¶
func (m *MockServiceClient) GetEpochMeta(ctx context.Context, in *iotexapi.GetEpochMetaRequest, opts ...grpc.CallOption) (*iotexapi.GetEpochMetaResponse, error)
GetEpochMeta mocks base method
func (*MockServiceClient) GetEvmTransfersByActionHash ¶ added in v1.0.0
func (m *MockServiceClient) GetEvmTransfersByActionHash(ctx context.Context, in *iotexapi.GetEvmTransfersByActionHashRequest, opts ...grpc.CallOption) (*iotexapi.GetEvmTransfersByActionHashResponse, error)
GetEvmTransfersByActionHash mocks base method
func (*MockServiceClient) GetEvmTransfersByBlockHeight ¶ added in v1.0.0
func (m *MockServiceClient) GetEvmTransfersByBlockHeight(ctx context.Context, in *iotexapi.GetEvmTransfersByBlockHeightRequest, opts ...grpc.CallOption) (*iotexapi.GetEvmTransfersByBlockHeightResponse, error)
GetEvmTransfersByBlockHeight mocks base method
func (*MockServiceClient) GetLogs ¶ added in v0.7.1
func (m *MockServiceClient) GetLogs(ctx context.Context, in *iotexapi.GetLogsRequest, opts ...grpc.CallOption) (*iotexapi.GetLogsResponse, error)
GetLogs mocks base method
func (*MockServiceClient) GetRawBlocks ¶
func (m *MockServiceClient) GetRawBlocks(ctx context.Context, in *iotexapi.GetRawBlocksRequest, opts ...grpc.CallOption) (*iotexapi.GetRawBlocksResponse, error)
GetRawBlocks mocks base method
func (*MockServiceClient) GetReceiptByAction ¶
func (m *MockServiceClient) GetReceiptByAction(ctx context.Context, in *iotexapi.GetReceiptByActionRequest, opts ...grpc.CallOption) (*iotexapi.GetReceiptByActionResponse, error)
GetReceiptByAction mocks base method
func (*MockServiceClient) GetServerMeta ¶
func (m *MockServiceClient) GetServerMeta(ctx context.Context, in *iotexapi.GetServerMetaRequest, opts ...grpc.CallOption) (*iotexapi.GetServerMetaResponse, error)
GetServerMeta mocks base method
func (*MockServiceClient) GetTransactionLogByActionHash ¶ added in v1.1.0
func (m *MockServiceClient) GetTransactionLogByActionHash(ctx context.Context, in *iotexapi.GetTransactionLogByActionHashRequest, opts ...grpc.CallOption) (*iotexapi.GetTransactionLogByActionHashResponse, error)
GetTransactionLogByActionHash mocks base method
func (*MockServiceClient) GetTransactionLogByBlockHeight ¶ added in v1.1.0
func (m *MockServiceClient) GetTransactionLogByBlockHeight(ctx context.Context, in *iotexapi.GetTransactionLogByBlockHeightRequest, opts ...grpc.CallOption) (*iotexapi.GetTransactionLogByBlockHeightResponse, error)
GetTransactionLogByBlockHeight mocks base method
func (*MockServiceClient) ReadContract ¶
func (m *MockServiceClient) ReadContract(ctx context.Context, in *iotexapi.ReadContractRequest, opts ...grpc.CallOption) (*iotexapi.ReadContractResponse, error)
ReadContract mocks base method
func (*MockServiceClient) ReadState ¶
func (m *MockServiceClient) ReadState(ctx context.Context, in *iotexapi.ReadStateRequest, opts ...grpc.CallOption) (*iotexapi.ReadStateResponse, error)
ReadState mocks base method
func (*MockServiceClient) SendAction ¶
func (m *MockServiceClient) SendAction(ctx context.Context, in *iotexapi.SendActionRequest, opts ...grpc.CallOption) (*iotexapi.SendActionResponse, error)
SendAction mocks base method
func (*MockServiceClient) StreamBlocks ¶ added in v0.6.2
func (m *MockServiceClient) StreamBlocks(ctx context.Context, in *iotexapi.StreamBlocksRequest, opts ...grpc.CallOption) (iotexapi.APIService_StreamBlocksClient, error)
StreamBlocks mocks base method
func (*MockServiceClient) StreamLogs ¶ added in v0.7.1
func (m *MockServiceClient) StreamLogs(ctx context.Context, in *iotexapi.StreamLogsRequest, opts ...grpc.CallOption) (iotexapi.APIService_StreamLogsClient, error)
StreamLogs mocks base method
func (*MockServiceClient) SuggestGasPrice ¶
func (m *MockServiceClient) SuggestGasPrice(ctx context.Context, in *iotexapi.SuggestGasPriceRequest, opts ...grpc.CallOption) (*iotexapi.SuggestGasPriceResponse, error)
SuggestGasPrice mocks base method
type MockServiceClientMockRecorder ¶
type MockServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceClientMockRecorder is the mock recorder for MockServiceClient
func (*MockServiceClientMockRecorder) EstimateActionGasConsumption ¶ added in v0.9.0
func (mr *MockServiceClientMockRecorder) EstimateActionGasConsumption(ctx, in interface{}, opts ...interface{}) *gomock.Call
EstimateActionGasConsumption indicates an expected call of EstimateActionGasConsumption
func (*MockServiceClientMockRecorder) EstimateGasForAction ¶
func (mr *MockServiceClientMockRecorder) EstimateGasForAction(ctx, in interface{}, opts ...interface{}) *gomock.Call
EstimateGasForAction indicates an expected call of EstimateGasForAction
func (*MockServiceClientMockRecorder) GetAccount ¶
func (mr *MockServiceClientMockRecorder) GetAccount(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetAccount indicates an expected call of GetAccount
func (*MockServiceClientMockRecorder) GetActPoolActions ¶ added in v1.1.3
func (mr *MockServiceClientMockRecorder) GetActPoolActions(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetActPoolActions indicates an expected call of GetActPoolActions
func (*MockServiceClientMockRecorder) GetActions ¶
func (mr *MockServiceClientMockRecorder) GetActions(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetActions indicates an expected call of GetActions
func (*MockServiceClientMockRecorder) GetBlockMetas ¶
func (mr *MockServiceClientMockRecorder) GetBlockMetas(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetBlockMetas indicates an expected call of GetBlockMetas
func (*MockServiceClientMockRecorder) GetChainMeta ¶
func (mr *MockServiceClientMockRecorder) GetChainMeta(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetChainMeta indicates an expected call of GetChainMeta
func (*MockServiceClientMockRecorder) GetElectionBuckets ¶ added in v0.9.0
func (mr *MockServiceClientMockRecorder) GetElectionBuckets(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetElectionBuckets indicates an expected call of GetElectionBuckets
func (*MockServiceClientMockRecorder) GetEpochMeta ¶
func (mr *MockServiceClientMockRecorder) GetEpochMeta(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetEpochMeta indicates an expected call of GetEpochMeta
func (*MockServiceClientMockRecorder) GetEvmTransfersByActionHash ¶ added in v1.0.0
func (mr *MockServiceClientMockRecorder) GetEvmTransfersByActionHash(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetEvmTransfersByActionHash indicates an expected call of GetEvmTransfersByActionHash
func (*MockServiceClientMockRecorder) GetEvmTransfersByBlockHeight ¶ added in v1.0.0
func (mr *MockServiceClientMockRecorder) GetEvmTransfersByBlockHeight(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetEvmTransfersByBlockHeight indicates an expected call of GetEvmTransfersByBlockHeight
func (*MockServiceClientMockRecorder) GetLogs ¶ added in v0.7.1
func (mr *MockServiceClientMockRecorder) GetLogs(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetLogs indicates an expected call of GetLogs
func (*MockServiceClientMockRecorder) GetRawBlocks ¶
func (mr *MockServiceClientMockRecorder) GetRawBlocks(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetRawBlocks indicates an expected call of GetRawBlocks
func (*MockServiceClientMockRecorder) GetReceiptByAction ¶
func (mr *MockServiceClientMockRecorder) GetReceiptByAction(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetReceiptByAction indicates an expected call of GetReceiptByAction
func (*MockServiceClientMockRecorder) GetServerMeta ¶
func (mr *MockServiceClientMockRecorder) GetServerMeta(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetServerMeta indicates an expected call of GetServerMeta
func (*MockServiceClientMockRecorder) GetTransactionLogByActionHash ¶ added in v1.1.0
func (mr *MockServiceClientMockRecorder) GetTransactionLogByActionHash(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetTransactionLogByActionHash indicates an expected call of GetTransactionLogByActionHash
func (*MockServiceClientMockRecorder) GetTransactionLogByBlockHeight ¶ added in v1.1.0
func (mr *MockServiceClientMockRecorder) GetTransactionLogByBlockHeight(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetTransactionLogByBlockHeight indicates an expected call of GetTransactionLogByBlockHeight
func (*MockServiceClientMockRecorder) ReadContract ¶
func (mr *MockServiceClientMockRecorder) ReadContract(ctx, in interface{}, opts ...interface{}) *gomock.Call
ReadContract indicates an expected call of ReadContract
func (*MockServiceClientMockRecorder) ReadState ¶
func (mr *MockServiceClientMockRecorder) ReadState(ctx, in interface{}, opts ...interface{}) *gomock.Call
ReadState indicates an expected call of ReadState
func (*MockServiceClientMockRecorder) SendAction ¶
func (mr *MockServiceClientMockRecorder) SendAction(ctx, in interface{}, opts ...interface{}) *gomock.Call
SendAction indicates an expected call of SendAction
func (*MockServiceClientMockRecorder) StreamBlocks ¶ added in v0.6.2
func (mr *MockServiceClientMockRecorder) StreamBlocks(ctx, in interface{}, opts ...interface{}) *gomock.Call
StreamBlocks indicates an expected call of StreamBlocks
func (*MockServiceClientMockRecorder) StreamLogs ¶ added in v0.7.1
func (mr *MockServiceClientMockRecorder) StreamLogs(ctx, in interface{}, opts ...interface{}) *gomock.Call
StreamLogs indicates an expected call of StreamLogs
func (*MockServiceClientMockRecorder) SuggestGasPrice ¶
func (mr *MockServiceClientMockRecorder) SuggestGasPrice(ctx, in interface{}, opts ...interface{}) *gomock.Call
SuggestGasPrice indicates an expected call of SuggestGasPrice