Help us shape the future of Go! Take the 2026 Go Developer Survey

mock

package
v0.44.2 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2025 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessAPIClient

type AccessAPIClient struct {
	mock.Mock
}

AccessAPIClient is an autogenerated mock type for the AccessAPIClient type

func NewAccessAPIClient added in v0.26.1

func NewAccessAPIClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *AccessAPIClient

NewAccessAPIClient creates a new instance of AccessAPIClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*AccessAPIClient) ExecuteScriptAtBlockHeight

ExecuteScriptAtBlockHeight provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) ExecuteScriptAtBlockID

ExecuteScriptAtBlockID provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) ExecuteScriptAtLatestBlock

ExecuteScriptAtLatestBlock provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetAccount

GetAccount provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetAccountAtBlockHeight

GetAccountAtBlockHeight provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetAccountAtLatestBlock

GetAccountAtLatestBlock provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetAccountBalanceAtBlockHeight added in v0.36.1

GetAccountBalanceAtBlockHeight provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetAccountBalanceAtLatestBlock added in v0.36.1

GetAccountBalanceAtLatestBlock provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetAccountKeyAtBlockHeight added in v0.36.1

GetAccountKeyAtBlockHeight provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetAccountKeyAtLatestBlock added in v0.36.1

GetAccountKeyAtLatestBlock provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetAccountKeysAtBlockHeight added in v0.36.1

GetAccountKeysAtBlockHeight provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetAccountKeysAtLatestBlock added in v0.36.1

GetAccountKeysAtLatestBlock provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetBlockByHeight

GetBlockByHeight provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetBlockByID

GetBlockByID provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetBlockHeaderByHeight

GetBlockHeaderByHeight provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetBlockHeaderByID

GetBlockHeaderByID provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetCollectionByID

GetCollectionByID provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetEventsForBlockIDs

GetEventsForBlockIDs provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetEventsForHeightRange

GetEventsForHeightRange provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetExecutionResultByID added in v0.32.0

GetExecutionResultByID provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetExecutionResultForBlockID added in v0.21.0

GetExecutionResultForBlockID provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetFullCollectionByID added in v0.33.26

GetFullCollectionByID provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetLatestBlock

GetLatestBlock provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetLatestBlockHeader

GetLatestBlockHeader provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetLatestProtocolStateSnapshot added in v0.14.4

GetLatestProtocolStateSnapshot provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetNetworkParameters

GetNetworkParameters provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetNodeVersionInfo added in v0.31.0

GetNodeVersionInfo provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetProtocolStateSnapshotByBlockID added in v0.33.1

GetProtocolStateSnapshotByBlockID provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetProtocolStateSnapshotByHeight added in v0.33.1

GetProtocolStateSnapshotByHeight provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetScheduledTransaction added in v0.44.0

GetScheduledTransaction provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetScheduledTransactionResult added in v0.44.0

GetScheduledTransactionResult provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetSystemTransaction added in v0.33.1

GetSystemTransaction provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetSystemTransactionResult added in v0.33.1

GetSystemTransactionResult provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetTransaction

GetTransaction provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetTransactionResult

GetTransactionResult provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetTransactionResultByIndex added in v0.24.8

GetTransactionResultByIndex provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetTransactionResultsByBlockID added in v0.24.11

GetTransactionResultsByBlockID provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) GetTransactionsByBlockID added in v0.24.11

GetTransactionsByBlockID provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) Ping

Ping provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) SendAndSubscribeTransactionStatuses added in v0.33.26

SendAndSubscribeTransactionStatuses provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) SendTransaction

SendTransaction provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) SubscribeBlockDigestsFromLatest added in v0.33.26

SubscribeBlockDigestsFromLatest provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) SubscribeBlockDigestsFromStartBlockID added in v0.33.26

SubscribeBlockDigestsFromStartBlockID provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) SubscribeBlockDigestsFromStartHeight added in v0.33.26

SubscribeBlockDigestsFromStartHeight provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) SubscribeBlockHeadersFromLatest added in v0.33.26

SubscribeBlockHeadersFromLatest provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) SubscribeBlockHeadersFromStartBlockID added in v0.33.26

SubscribeBlockHeadersFromStartBlockID provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) SubscribeBlockHeadersFromStartHeight added in v0.33.26

SubscribeBlockHeadersFromStartHeight provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) SubscribeBlocksFromLatest added in v0.33.26

SubscribeBlocksFromLatest provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) SubscribeBlocksFromStartBlockID added in v0.33.26

SubscribeBlocksFromStartBlockID provides a mock function with given fields: ctx, in, opts

func (*AccessAPIClient) SubscribeBlocksFromStartHeight added in v0.33.26

SubscribeBlocksFromStartHeight provides a mock function with given fields: ctx, in, opts

type AccessAPIServer added in v0.14.6

type AccessAPIServer struct {
	mock.Mock
}

AccessAPIServer is an autogenerated mock type for the AccessAPIServer type

func NewAccessAPIServer added in v0.26.1

func NewAccessAPIServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *AccessAPIServer

NewAccessAPIServer creates a new instance of AccessAPIServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*AccessAPIServer) ExecuteScriptAtBlockHeight added in v0.14.6

ExecuteScriptAtBlockHeight provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) ExecuteScriptAtBlockID added in v0.14.6

ExecuteScriptAtBlockID provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) ExecuteScriptAtLatestBlock added in v0.14.6

ExecuteScriptAtLatestBlock provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetAccount added in v0.14.6

GetAccount provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetAccountAtBlockHeight added in v0.14.6

GetAccountAtBlockHeight provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetAccountAtLatestBlock added in v0.14.6

GetAccountAtLatestBlock provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetAccountBalanceAtBlockHeight added in v0.36.1

GetAccountBalanceAtBlockHeight provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetAccountBalanceAtLatestBlock added in v0.36.1

GetAccountBalanceAtLatestBlock provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetAccountKeyAtBlockHeight added in v0.36.1

GetAccountKeyAtBlockHeight provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetAccountKeyAtLatestBlock added in v0.36.1

GetAccountKeyAtLatestBlock provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetAccountKeysAtBlockHeight added in v0.36.1

GetAccountKeysAtBlockHeight provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetAccountKeysAtLatestBlock added in v0.36.1

GetAccountKeysAtLatestBlock provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetBlockByHeight added in v0.14.6

GetBlockByHeight provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetBlockByID added in v0.14.6

GetBlockByID provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetBlockHeaderByHeight added in v0.14.6

GetBlockHeaderByHeight provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetBlockHeaderByID added in v0.14.6

GetBlockHeaderByID provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetCollectionByID added in v0.14.6

GetCollectionByID provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetEventsForBlockIDs added in v0.14.6

GetEventsForBlockIDs provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetEventsForHeightRange added in v0.14.6

GetEventsForHeightRange provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetExecutionResultByID added in v0.32.0

GetExecutionResultByID provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetExecutionResultForBlockID added in v0.21.0

GetExecutionResultForBlockID provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetFullCollectionByID added in v0.33.26

GetFullCollectionByID provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetLatestBlock added in v0.14.6

GetLatestBlock provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetLatestBlockHeader added in v0.14.6

GetLatestBlockHeader provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetLatestProtocolStateSnapshot added in v0.14.6

GetLatestProtocolStateSnapshot provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetNetworkParameters added in v0.14.6

GetNetworkParameters provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetNodeVersionInfo added in v0.31.0

GetNodeVersionInfo provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetProtocolStateSnapshotByBlockID added in v0.33.1

GetProtocolStateSnapshotByBlockID provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetProtocolStateSnapshotByHeight added in v0.33.1

GetProtocolStateSnapshotByHeight provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetScheduledTransaction added in v0.44.0

GetScheduledTransaction provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetScheduledTransactionResult added in v0.44.0

GetScheduledTransactionResult provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetSystemTransaction added in v0.33.1

GetSystemTransaction provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetSystemTransactionResult added in v0.33.1

GetSystemTransactionResult provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetTransaction added in v0.14.6

GetTransaction provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetTransactionResult added in v0.14.6

GetTransactionResult provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetTransactionResultByIndex added in v0.24.8

GetTransactionResultByIndex provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetTransactionResultsByBlockID added in v0.24.11

GetTransactionResultsByBlockID provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) GetTransactionsByBlockID added in v0.24.11

GetTransactionsByBlockID provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) Ping added in v0.14.6

Ping provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) SendAndSubscribeTransactionStatuses added in v0.33.26

SendAndSubscribeTransactionStatuses provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) SendTransaction added in v0.14.6

SendTransaction provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) SubscribeBlockDigestsFromLatest added in v0.33.26

SubscribeBlockDigestsFromLatest provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) SubscribeBlockDigestsFromStartBlockID added in v0.33.26

SubscribeBlockDigestsFromStartBlockID provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) SubscribeBlockDigestsFromStartHeight added in v0.33.26

SubscribeBlockDigestsFromStartHeight provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) SubscribeBlockHeadersFromLatest added in v0.33.26

SubscribeBlockHeadersFromLatest provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) SubscribeBlockHeadersFromStartBlockID added in v0.33.26

SubscribeBlockHeadersFromStartBlockID provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) SubscribeBlockHeadersFromStartHeight added in v0.33.26

SubscribeBlockHeadersFromStartHeight provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) SubscribeBlocksFromLatest added in v0.33.26

SubscribeBlocksFromLatest provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) SubscribeBlocksFromStartBlockID added in v0.33.26

SubscribeBlocksFromStartBlockID provides a mock function with given fields: _a0, _a1

func (*AccessAPIServer) SubscribeBlocksFromStartHeight added in v0.33.26

SubscribeBlocksFromStartHeight provides a mock function with given fields: _a0, _a1

type ExecutionAPIClient

type ExecutionAPIClient struct {
	mock.Mock
}

ExecutionAPIClient is an autogenerated mock type for the ExecutionAPIClient type

func NewExecutionAPIClient added in v0.26.1

func NewExecutionAPIClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *ExecutionAPIClient

NewExecutionAPIClient creates a new instance of ExecutionAPIClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ExecutionAPIClient) ExecuteScriptAtBlockID

ExecuteScriptAtBlockID provides a mock function with given fields: ctx, in, opts

func (*ExecutionAPIClient) GetAccountAtBlockID

GetAccountAtBlockID provides a mock function with given fields: ctx, in, opts

func (*ExecutionAPIClient) GetBlockHeaderByID added in v0.23.1

GetBlockHeaderByID provides a mock function with given fields: ctx, in, opts

func (*ExecutionAPIClient) GetEventsForBlockIDs

GetEventsForBlockIDs provides a mock function with given fields: ctx, in, opts

func (*ExecutionAPIClient) GetLatestBlockHeader added in v0.23.1

GetLatestBlockHeader provides a mock function with given fields: ctx, in, opts

func (*ExecutionAPIClient) GetRegisterAtBlockID added in v0.23.1

GetRegisterAtBlockID provides a mock function with given fields: ctx, in, opts

func (*ExecutionAPIClient) GetTransactionErrorMessage added in v0.33.1

GetTransactionErrorMessage provides a mock function with given fields: ctx, in, opts

func (*ExecutionAPIClient) GetTransactionErrorMessageByIndex added in v0.33.1

GetTransactionErrorMessageByIndex provides a mock function with given fields: ctx, in, opts

func (*ExecutionAPIClient) GetTransactionErrorMessagesByBlockID added in v0.33.1

GetTransactionErrorMessagesByBlockID provides a mock function with given fields: ctx, in, opts

func (*ExecutionAPIClient) GetTransactionExecutionMetricsAfter added in v0.37.22

GetTransactionExecutionMetricsAfter provides a mock function with given fields: ctx, in, opts

func (*ExecutionAPIClient) GetTransactionResult

GetTransactionResult provides a mock function with given fields: ctx, in, opts

func (*ExecutionAPIClient) GetTransactionResultByIndex added in v0.24.8

GetTransactionResultByIndex provides a mock function with given fields: ctx, in, opts

func (*ExecutionAPIClient) GetTransactionResultsByBlockID added in v0.24.11

GetTransactionResultsByBlockID provides a mock function with given fields: ctx, in, opts

func (*ExecutionAPIClient) Ping

Ping provides a mock function with given fields: ctx, in, opts

type ExecutionAPIServer added in v0.14.6

type ExecutionAPIServer struct {
	mock.Mock
}

ExecutionAPIServer is an autogenerated mock type for the ExecutionAPIServer type

func NewExecutionAPIServer added in v0.26.1

func NewExecutionAPIServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *ExecutionAPIServer

NewExecutionAPIServer creates a new instance of ExecutionAPIServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ExecutionAPIServer) ExecuteScriptAtBlockID added in v0.14.6

ExecuteScriptAtBlockID provides a mock function with given fields: _a0, _a1

func (*ExecutionAPIServer) GetAccountAtBlockID added in v0.14.6

GetAccountAtBlockID provides a mock function with given fields: _a0, _a1

func (*ExecutionAPIServer) GetBlockHeaderByID added in v0.23.1

GetBlockHeaderByID provides a mock function with given fields: _a0, _a1

func (*ExecutionAPIServer) GetEventsForBlockIDs added in v0.14.6

GetEventsForBlockIDs provides a mock function with given fields: _a0, _a1

func (*ExecutionAPIServer) GetLatestBlockHeader added in v0.23.1

GetLatestBlockHeader provides a mock function with given fields: _a0, _a1

func (*ExecutionAPIServer) GetRegisterAtBlockID added in v0.23.1

GetRegisterAtBlockID provides a mock function with given fields: _a0, _a1

func (*ExecutionAPIServer) GetTransactionErrorMessage added in v0.33.1

GetTransactionErrorMessage provides a mock function with given fields: _a0, _a1

func (*ExecutionAPIServer) GetTransactionErrorMessageByIndex added in v0.33.1

GetTransactionErrorMessageByIndex provides a mock function with given fields: _a0, _a1

func (*ExecutionAPIServer) GetTransactionErrorMessagesByBlockID added in v0.33.1

GetTransactionErrorMessagesByBlockID provides a mock function with given fields: _a0, _a1

func (*ExecutionAPIServer) GetTransactionExecutionMetricsAfter added in v0.37.22

GetTransactionExecutionMetricsAfter provides a mock function with given fields: _a0, _a1

func (*ExecutionAPIServer) GetTransactionResult added in v0.14.6

GetTransactionResult provides a mock function with given fields: _a0, _a1

func (*ExecutionAPIServer) GetTransactionResultByIndex added in v0.24.8

GetTransactionResultByIndex provides a mock function with given fields: _a0, _a1

func (*ExecutionAPIServer) GetTransactionResultsByBlockID added in v0.24.11

GetTransactionResultsByBlockID provides a mock function with given fields: _a0, _a1

func (*ExecutionAPIServer) Ping added in v0.14.6

Ping provides a mock function with given fields: _a0, _a1

Jump to

Keyboard shortcuts

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