Documentation ¶
Index ¶
- type MockExecutionDataRPCClient
- func (_m *MockExecutionDataRPCClient) GetExecutionDataByBlockID(ctx context.Context, in *executiondata.GetExecutionDataByBlockIDRequest, ...) (*executiondata.GetExecutionDataByBlockIDResponse, error)
- func (_m *MockExecutionDataRPCClient) GetRegisterValues(ctx context.Context, in *executiondata.GetRegisterValuesRequest, ...) (*executiondata.GetRegisterValuesResponse, error)
- func (_m *MockExecutionDataRPCClient) SubscribeEvents(ctx context.Context, in *executiondata.SubscribeEventsRequest, ...) (executiondata.ExecutionDataAPI_SubscribeEventsClient, error)
- func (_m *MockExecutionDataRPCClient) SubscribeExecutionData(ctx context.Context, in *executiondata.SubscribeExecutionDataRequest, ...) (executiondata.ExecutionDataAPI_SubscribeExecutionDataClient, error)
- type MockRPCClient
- func (_m *MockRPCClient) ExecuteScriptAtBlockHeight(ctx context.Context, in *access.ExecuteScriptAtBlockHeightRequest, ...) (*access.ExecuteScriptResponse, error)
- func (_m *MockRPCClient) ExecuteScriptAtBlockID(ctx context.Context, in *access.ExecuteScriptAtBlockIDRequest, ...) (*access.ExecuteScriptResponse, error)
- func (_m *MockRPCClient) ExecuteScriptAtLatestBlock(ctx context.Context, in *access.ExecuteScriptAtLatestBlockRequest, ...) (*access.ExecuteScriptResponse, error)
- func (_m *MockRPCClient) GetAccount(ctx context.Context, in *access.GetAccountRequest, opts ...grpc.CallOption) (*access.GetAccountResponse, error)
- func (_m *MockRPCClient) GetAccountAtBlockHeight(ctx context.Context, in *access.GetAccountAtBlockHeightRequest, ...) (*access.AccountResponse, error)
- func (_m *MockRPCClient) GetAccountAtLatestBlock(ctx context.Context, in *access.GetAccountAtLatestBlockRequest, ...) (*access.AccountResponse, error)
- func (_m *MockRPCClient) GetBlockByHeight(ctx context.Context, in *access.GetBlockByHeightRequest, ...) (*access.BlockResponse, error)
- func (_m *MockRPCClient) GetBlockByID(ctx context.Context, in *access.GetBlockByIDRequest, opts ...grpc.CallOption) (*access.BlockResponse, error)
- func (_m *MockRPCClient) GetBlockHeaderByHeight(ctx context.Context, in *access.GetBlockHeaderByHeightRequest, ...) (*access.BlockHeaderResponse, error)
- func (_m *MockRPCClient) GetBlockHeaderByID(ctx context.Context, in *access.GetBlockHeaderByIDRequest, ...) (*access.BlockHeaderResponse, error)
- func (_m *MockRPCClient) GetCollectionByID(ctx context.Context, in *access.GetCollectionByIDRequest, ...) (*access.CollectionResponse, error)
- func (_m *MockRPCClient) GetEventsForBlockIDs(ctx context.Context, in *access.GetEventsForBlockIDsRequest, ...) (*access.EventsResponse, error)
- func (_m *MockRPCClient) GetEventsForHeightRange(ctx context.Context, in *access.GetEventsForHeightRangeRequest, ...) (*access.EventsResponse, error)
- func (_m *MockRPCClient) GetExecutionResultByID(ctx context.Context, in *access.GetExecutionResultByIDRequest, ...) (*access.ExecutionResultByIDResponse, error)
- func (_m *MockRPCClient) GetExecutionResultForBlockID(ctx context.Context, in *access.GetExecutionResultForBlockIDRequest, ...) (*access.ExecutionResultForBlockIDResponse, error)
- func (_m *MockRPCClient) GetLatestBlock(ctx context.Context, in *access.GetLatestBlockRequest, opts ...grpc.CallOption) (*access.BlockResponse, error)
- func (_m *MockRPCClient) GetLatestBlockHeader(ctx context.Context, in *access.GetLatestBlockHeaderRequest, ...) (*access.BlockHeaderResponse, error)
- func (_m *MockRPCClient) GetLatestProtocolStateSnapshot(ctx context.Context, in *access.GetLatestProtocolStateSnapshotRequest, ...) (*access.ProtocolStateSnapshotResponse, error)
- func (_m *MockRPCClient) GetNetworkParameters(ctx context.Context, in *access.GetNetworkParametersRequest, ...) (*access.GetNetworkParametersResponse, error)
- func (_m *MockRPCClient) GetNodeVersionInfo(ctx context.Context, in *access.GetNodeVersionInfoRequest, ...) (*access.GetNodeVersionInfoResponse, error)
- func (_m *MockRPCClient) GetProtocolStateSnapshotByBlockID(ctx context.Context, in *access.GetProtocolStateSnapshotByBlockIDRequest, ...) (*access.ProtocolStateSnapshotResponse, error)
- func (_m *MockRPCClient) GetProtocolStateSnapshotByHeight(ctx context.Context, in *access.GetProtocolStateSnapshotByHeightRequest, ...) (*access.ProtocolStateSnapshotResponse, error)
- func (_m *MockRPCClient) GetTransaction(ctx context.Context, in *access.GetTransactionRequest, opts ...grpc.CallOption) (*access.TransactionResponse, error)
- func (_m *MockRPCClient) GetTransactionResult(ctx context.Context, in *access.GetTransactionRequest, opts ...grpc.CallOption) (*access.TransactionResultResponse, error)
- func (_m *MockRPCClient) GetTransactionResultByIndex(ctx context.Context, in *access.GetTransactionByIndexRequest, ...) (*access.TransactionResultResponse, error)
- func (_m *MockRPCClient) GetTransactionResultsByBlockID(ctx context.Context, in *access.GetTransactionsByBlockIDRequest, ...) (*access.TransactionResultsResponse, error)
- func (_m *MockRPCClient) GetTransactionsByBlockID(ctx context.Context, in *access.GetTransactionsByBlockIDRequest, ...) (*access.TransactionsResponse, error)
- func (_m *MockRPCClient) Ping(ctx context.Context, in *access.PingRequest, opts ...grpc.CallOption) (*access.PingResponse, error)
- func (_m *MockRPCClient) SendTransaction(ctx context.Context, in *access.SendTransactionRequest, ...) (*access.SendTransactionResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockExecutionDataRPCClient ¶ added in v0.41.19
MockExecutionDataRPCClient is an autogenerated mock type for the ExecutionDataRPCClient type
func (*MockExecutionDataRPCClient) GetExecutionDataByBlockID ¶ added in v0.41.19
func (_m *MockExecutionDataRPCClient) GetExecutionDataByBlockID(ctx context.Context, in *executiondata.GetExecutionDataByBlockIDRequest, opts ...grpc.CallOption) (*executiondata.GetExecutionDataByBlockIDResponse, error)
GetExecutionDataByBlockID provides a mock function with given fields: ctx, in, opts
func (*MockExecutionDataRPCClient) GetRegisterValues ¶ added in v0.41.19
func (_m *MockExecutionDataRPCClient) GetRegisterValues(ctx context.Context, in *executiondata.GetRegisterValuesRequest, opts ...grpc.CallOption) (*executiondata.GetRegisterValuesResponse, error)
GetRegisterValues provides a mock function with given fields: ctx, in, opts
func (*MockExecutionDataRPCClient) SubscribeEvents ¶ added in v0.41.19
func (_m *MockExecutionDataRPCClient) SubscribeEvents(ctx context.Context, in *executiondata.SubscribeEventsRequest, opts ...grpc.CallOption) (executiondata.ExecutionDataAPI_SubscribeEventsClient, error)
SubscribeEvents provides a mock function with given fields: ctx, in, opts
func (*MockExecutionDataRPCClient) SubscribeExecutionData ¶ added in v0.41.19
func (_m *MockExecutionDataRPCClient) SubscribeExecutionData(ctx context.Context, in *executiondata.SubscribeExecutionDataRequest, opts ...grpc.CallOption) (executiondata.ExecutionDataAPI_SubscribeExecutionDataClient, error)
SubscribeExecutionData provides a mock function with given fields: ctx, in, opts
type MockRPCClient ¶
MockRPCClient is an autogenerated mock type for the RPCClient type
func (*MockRPCClient) ExecuteScriptAtBlockHeight ¶
func (_m *MockRPCClient) ExecuteScriptAtBlockHeight(ctx context.Context, in *access.ExecuteScriptAtBlockHeightRequest, opts ...grpc.CallOption) (*access.ExecuteScriptResponse, error)
ExecuteScriptAtBlockHeight provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) ExecuteScriptAtBlockID ¶
func (_m *MockRPCClient) ExecuteScriptAtBlockID(ctx context.Context, in *access.ExecuteScriptAtBlockIDRequest, opts ...grpc.CallOption) (*access.ExecuteScriptResponse, error)
ExecuteScriptAtBlockID provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) ExecuteScriptAtLatestBlock ¶
func (_m *MockRPCClient) ExecuteScriptAtLatestBlock(ctx context.Context, in *access.ExecuteScriptAtLatestBlockRequest, opts ...grpc.CallOption) (*access.ExecuteScriptResponse, error)
ExecuteScriptAtLatestBlock provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) GetAccount ¶
func (_m *MockRPCClient) GetAccount(ctx context.Context, in *access.GetAccountRequest, opts ...grpc.CallOption) (*access.GetAccountResponse, error)
GetAccount provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) GetAccountAtBlockHeight ¶
func (_m *MockRPCClient) GetAccountAtBlockHeight(ctx context.Context, in *access.GetAccountAtBlockHeightRequest, opts ...grpc.CallOption) (*access.AccountResponse, error)
GetAccountAtBlockHeight provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) GetAccountAtLatestBlock ¶
func (_m *MockRPCClient) GetAccountAtLatestBlock(ctx context.Context, in *access.GetAccountAtLatestBlockRequest, opts ...grpc.CallOption) (*access.AccountResponse, error)
GetAccountAtLatestBlock provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) GetBlockByHeight ¶
func (_m *MockRPCClient) GetBlockByHeight(ctx context.Context, in *access.GetBlockByHeightRequest, opts ...grpc.CallOption) (*access.BlockResponse, error)
GetBlockByHeight provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) GetBlockByID ¶
func (_m *MockRPCClient) GetBlockByID(ctx context.Context, in *access.GetBlockByIDRequest, opts ...grpc.CallOption) (*access.BlockResponse, error)
GetBlockByID provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) GetBlockHeaderByHeight ¶
func (_m *MockRPCClient) GetBlockHeaderByHeight(ctx context.Context, in *access.GetBlockHeaderByHeightRequest, opts ...grpc.CallOption) (*access.BlockHeaderResponse, error)
GetBlockHeaderByHeight provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) GetBlockHeaderByID ¶
func (_m *MockRPCClient) GetBlockHeaderByID(ctx context.Context, in *access.GetBlockHeaderByIDRequest, opts ...grpc.CallOption) (*access.BlockHeaderResponse, error)
GetBlockHeaderByID provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) GetCollectionByID ¶
func (_m *MockRPCClient) GetCollectionByID(ctx context.Context, in *access.GetCollectionByIDRequest, opts ...grpc.CallOption) (*access.CollectionResponse, error)
GetCollectionByID provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) GetEventsForBlockIDs ¶
func (_m *MockRPCClient) GetEventsForBlockIDs(ctx context.Context, in *access.GetEventsForBlockIDsRequest, opts ...grpc.CallOption) (*access.EventsResponse, error)
GetEventsForBlockIDs provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) GetEventsForHeightRange ¶
func (_m *MockRPCClient) GetEventsForHeightRange(ctx context.Context, in *access.GetEventsForHeightRangeRequest, opts ...grpc.CallOption) (*access.EventsResponse, error)
GetEventsForHeightRange provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) GetExecutionResultByID ¶
func (_m *MockRPCClient) GetExecutionResultByID(ctx context.Context, in *access.GetExecutionResultByIDRequest, opts ...grpc.CallOption) (*access.ExecutionResultByIDResponse, error)
GetExecutionResultByID provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) GetExecutionResultForBlockID ¶
func (_m *MockRPCClient) GetExecutionResultForBlockID(ctx context.Context, in *access.GetExecutionResultForBlockIDRequest, opts ...grpc.CallOption) (*access.ExecutionResultForBlockIDResponse, error)
GetExecutionResultForBlockID provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) GetLatestBlock ¶
func (_m *MockRPCClient) GetLatestBlock(ctx context.Context, in *access.GetLatestBlockRequest, opts ...grpc.CallOption) (*access.BlockResponse, error)
GetLatestBlock provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) GetLatestBlockHeader ¶
func (_m *MockRPCClient) GetLatestBlockHeader(ctx context.Context, in *access.GetLatestBlockHeaderRequest, opts ...grpc.CallOption) (*access.BlockHeaderResponse, error)
GetLatestBlockHeader provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) GetLatestProtocolStateSnapshot ¶
func (_m *MockRPCClient) GetLatestProtocolStateSnapshot(ctx context.Context, in *access.GetLatestProtocolStateSnapshotRequest, opts ...grpc.CallOption) (*access.ProtocolStateSnapshotResponse, error)
GetLatestProtocolStateSnapshot provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) GetNetworkParameters ¶
func (_m *MockRPCClient) GetNetworkParameters(ctx context.Context, in *access.GetNetworkParametersRequest, opts ...grpc.CallOption) (*access.GetNetworkParametersResponse, error)
GetNetworkParameters provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) GetNodeVersionInfo ¶
func (_m *MockRPCClient) GetNodeVersionInfo(ctx context.Context, in *access.GetNodeVersionInfoRequest, opts ...grpc.CallOption) (*access.GetNodeVersionInfoResponse, error)
GetNodeVersionInfo provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) GetProtocolStateSnapshotByBlockID ¶ added in v0.41.19
func (_m *MockRPCClient) GetProtocolStateSnapshotByBlockID(ctx context.Context, in *access.GetProtocolStateSnapshotByBlockIDRequest, opts ...grpc.CallOption) (*access.ProtocolStateSnapshotResponse, error)
GetProtocolStateSnapshotByBlockID provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) GetProtocolStateSnapshotByHeight ¶ added in v0.41.19
func (_m *MockRPCClient) GetProtocolStateSnapshotByHeight(ctx context.Context, in *access.GetProtocolStateSnapshotByHeightRequest, opts ...grpc.CallOption) (*access.ProtocolStateSnapshotResponse, error)
GetProtocolStateSnapshotByHeight provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) GetTransaction ¶
func (_m *MockRPCClient) GetTransaction(ctx context.Context, in *access.GetTransactionRequest, opts ...grpc.CallOption) (*access.TransactionResponse, error)
GetTransaction provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) GetTransactionResult ¶
func (_m *MockRPCClient) GetTransactionResult(ctx context.Context, in *access.GetTransactionRequest, opts ...grpc.CallOption) (*access.TransactionResultResponse, error)
GetTransactionResult provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) GetTransactionResultByIndex ¶
func (_m *MockRPCClient) GetTransactionResultByIndex(ctx context.Context, in *access.GetTransactionByIndexRequest, opts ...grpc.CallOption) (*access.TransactionResultResponse, error)
GetTransactionResultByIndex provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) GetTransactionResultsByBlockID ¶
func (_m *MockRPCClient) GetTransactionResultsByBlockID(ctx context.Context, in *access.GetTransactionsByBlockIDRequest, opts ...grpc.CallOption) (*access.TransactionResultsResponse, error)
GetTransactionResultsByBlockID provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) GetTransactionsByBlockID ¶
func (_m *MockRPCClient) GetTransactionsByBlockID(ctx context.Context, in *access.GetTransactionsByBlockIDRequest, opts ...grpc.CallOption) (*access.TransactionsResponse, error)
GetTransactionsByBlockID provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) Ping ¶
func (_m *MockRPCClient) Ping(ctx context.Context, in *access.PingRequest, opts ...grpc.CallOption) (*access.PingResponse, error)
Ping provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) SendTransaction ¶
func (_m *MockRPCClient) SendTransaction(ctx context.Context, in *access.SendTransactionRequest, opts ...grpc.CallOption) (*access.SendTransactionResponse, error)
SendTransaction provides a mock function with given fields: ctx, in, opts