v2alpha1

package
v1.7.0-alpha.1-nomain Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: MIT Imports: 41 Imported by: 0

Documentation

Overview

Package v2alpha1 is a generated GoMock package.

Package v2alpha1 is a generated GoMock package.

Package v2alpha1 is a generated GoMock package.

Index

Constants

View Source
const (
	Activation       = "activation_v2alpha1"
	ActivationStream = "activation_stream_v2alpha1"
)
View Source
const (
	Layer       = "layer_v2alpha1"
	LayerStream = "layer_stream_v2alpha1"
)
View Source
const (
	Reward       = "reward_v2alpha1"
	RewardStream = "reward_stream_v2alpha1"
)
View Source
const (
	Transaction       = "transaction_v2alpha1"
	TransactionStream = "transaction_stream_v2alpha1"
)
View Source
const (
	Account = "account_v2alpha1"
)
View Source
const (
	Network = "network_v2alpha1"
)
View Source
const (
	Node = "node_v2alpha1"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountService added in v1.6.0

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

func NewAccountService added in v1.6.0

func NewAccountService(db sql.Executor, conState accountConState) *AccountService

func (*AccountService) List added in v1.6.0

func (*AccountService) RegisterHandlerService added in v1.6.0

func (s *AccountService) RegisterHandlerService(mux *runtime.ServeMux) error

func (*AccountService) RegisterService added in v1.6.0

func (s *AccountService) RegisterService(server *grpc.Server)

func (*AccountService) String added in v1.6.0

func (s *AccountService) String() string

String returns the service name.

type ActivationService

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

func NewActivationService

func NewActivationService(db sql.Executor) *ActivationService

func (*ActivationService) List

func (*ActivationService) RegisterHandlerService

func (s *ActivationService) RegisterHandlerService(mux *runtime.ServeMux) error

func (*ActivationService) RegisterService

func (s *ActivationService) RegisterService(server *grpc.Server)

func (*ActivationService) String

func (s *ActivationService) String() string

String returns the service name.

type ActivationStreamService

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

func NewActivationStreamService

func NewActivationStreamService(db sql.Executor) *ActivationStreamService

func (*ActivationStreamService) RegisterHandlerService

func (s *ActivationStreamService) RegisterHandlerService(mux *runtime.ServeMux) error

func (*ActivationStreamService) RegisterService

func (s *ActivationStreamService) RegisterService(server *grpc.Server)

func (*ActivationStreamService) String

func (s *ActivationStreamService) String() string

type LayerService added in v1.6.0

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

func NewLayerService added in v1.6.0

func NewLayerService(db sql.Executor) *LayerService

func (*LayerService) List added in v1.6.0

func (*LayerService) RegisterHandlerService added in v1.6.0

func (s *LayerService) RegisterHandlerService(mux *runtime.ServeMux) error

func (*LayerService) RegisterService added in v1.6.0

func (s *LayerService) RegisterService(server *grpc.Server)

func (*LayerService) String added in v1.6.0

func (s *LayerService) String() string

String returns the service name.

type LayerStreamService added in v1.6.0

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

func NewLayerStreamService added in v1.6.0

func NewLayerStreamService(db sql.Executor) *LayerStreamService

func (*LayerStreamService) RegisterHandlerService added in v1.6.0

func (s *LayerStreamService) RegisterHandlerService(mux *runtime.ServeMux) error

func (*LayerStreamService) RegisterService added in v1.6.0

func (s *LayerStreamService) RegisterService(server *grpc.Server)

func (*LayerStreamService) Stream added in v1.6.0

func (*LayerStreamService) String added in v1.6.0

func (s *LayerStreamService) String() string

type MockaccountConState added in v1.6.0

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

MockaccountConState is a mock of accountConState interface.

func NewMockaccountConState added in v1.6.0

func NewMockaccountConState(ctrl *gomock.Controller) *MockaccountConState

NewMockaccountConState creates a new mock instance.

func (*MockaccountConState) EXPECT added in v1.6.0

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

func (*MockaccountConState) GetProjection added in v1.6.0

func (m *MockaccountConState) GetProjection(arg0 types.Address) (uint64, uint64)

GetProjection mocks base method.

type MockaccountConStateGetProjectionCall added in v1.6.0

type MockaccountConStateGetProjectionCall struct {
	*gomock.Call
}

MockaccountConStateGetProjectionCall wrap *gomock.Call

func (*MockaccountConStateGetProjectionCall) Do added in v1.6.0

Do rewrite *gomock.Call.Do

func (*MockaccountConStateGetProjectionCall) DoAndReturn added in v1.6.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockaccountConStateGetProjectionCall) Return added in v1.6.0

Return rewrite *gomock.Call.Return

type MockaccountConStateMockRecorder added in v1.6.0

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

MockaccountConStateMockRecorder is the mock recorder for MockaccountConState.

func (*MockaccountConStateMockRecorder) GetProjection added in v1.6.0

GetProjection indicates an expected call of GetProjection.

type MocknodeMeshAPI added in v1.4.5

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

MocknodeMeshAPI is a mock of nodeMeshAPI interface.

func NewMocknodeMeshAPI added in v1.4.5

func NewMocknodeMeshAPI(ctrl *gomock.Controller) *MocknodeMeshAPI

NewMocknodeMeshAPI creates a new mock instance.

func (*MocknodeMeshAPI) EXPECT added in v1.4.5

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

func (*MocknodeMeshAPI) LatestLayer added in v1.4.5

func (m *MocknodeMeshAPI) LatestLayer() types.LayerID

LatestLayer mocks base method.

func (*MocknodeMeshAPI) LatestLayerInState added in v1.4.5

func (m *MocknodeMeshAPI) LatestLayerInState() types.LayerID

LatestLayerInState mocks base method.

func (*MocknodeMeshAPI) ProcessedLayer added in v1.4.5

func (m *MocknodeMeshAPI) ProcessedLayer() types.LayerID

ProcessedLayer mocks base method.

type MocknodeMeshAPILatestLayerCall added in v1.4.5

type MocknodeMeshAPILatestLayerCall struct {
	*gomock.Call
}

MocknodeMeshAPILatestLayerCall wrap *gomock.Call

func (*MocknodeMeshAPILatestLayerCall) Do added in v1.4.5

Do rewrite *gomock.Call.Do

func (*MocknodeMeshAPILatestLayerCall) DoAndReturn added in v1.4.5

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MocknodeMeshAPILatestLayerCall) Return added in v1.4.5

Return rewrite *gomock.Call.Return

type MocknodeMeshAPILatestLayerInStateCall added in v1.4.5

type MocknodeMeshAPILatestLayerInStateCall struct {
	*gomock.Call
}

MocknodeMeshAPILatestLayerInStateCall wrap *gomock.Call

func (*MocknodeMeshAPILatestLayerInStateCall) Do added in v1.4.5

Do rewrite *gomock.Call.Do

func (*MocknodeMeshAPILatestLayerInStateCall) DoAndReturn added in v1.4.5

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MocknodeMeshAPILatestLayerInStateCall) Return added in v1.4.5

Return rewrite *gomock.Call.Return

type MocknodeMeshAPIMockRecorder added in v1.4.5

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

MocknodeMeshAPIMockRecorder is the mock recorder for MocknodeMeshAPI.

func (*MocknodeMeshAPIMockRecorder) LatestLayer added in v1.4.5

LatestLayer indicates an expected call of LatestLayer.

func (*MocknodeMeshAPIMockRecorder) LatestLayerInState added in v1.4.5

LatestLayerInState indicates an expected call of LatestLayerInState.

func (*MocknodeMeshAPIMockRecorder) ProcessedLayer added in v1.4.5

ProcessedLayer indicates an expected call of ProcessedLayer.

type MocknodeMeshAPIProcessedLayerCall added in v1.4.5

type MocknodeMeshAPIProcessedLayerCall struct {
	*gomock.Call
}

MocknodeMeshAPIProcessedLayerCall wrap *gomock.Call

func (*MocknodeMeshAPIProcessedLayerCall) Do added in v1.4.5

Do rewrite *gomock.Call.Do

func (*MocknodeMeshAPIProcessedLayerCall) DoAndReturn added in v1.4.5

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MocknodeMeshAPIProcessedLayerCall) Return added in v1.4.5

Return rewrite *gomock.Call.Return

type MocknodePeerCounter added in v1.4.5

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

MocknodePeerCounter is a mock of nodePeerCounter interface.

func NewMocknodePeerCounter added in v1.4.5

func NewMocknodePeerCounter(ctrl *gomock.Controller) *MocknodePeerCounter

NewMocknodePeerCounter creates a new mock instance.

func (*MocknodePeerCounter) EXPECT added in v1.4.5

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

func (*MocknodePeerCounter) PeerCount added in v1.4.5

func (m *MocknodePeerCounter) PeerCount() uint64

PeerCount mocks base method.

type MocknodePeerCounterMockRecorder added in v1.4.5

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

MocknodePeerCounterMockRecorder is the mock recorder for MocknodePeerCounter.

func (*MocknodePeerCounterMockRecorder) PeerCount added in v1.4.5

PeerCount indicates an expected call of PeerCount.

type MocknodePeerCounterPeerCountCall added in v1.4.5

type MocknodePeerCounterPeerCountCall struct {
	*gomock.Call
}

MocknodePeerCounterPeerCountCall wrap *gomock.Call

func (*MocknodePeerCounterPeerCountCall) Do added in v1.4.5

Do rewrite *gomock.Call.Do

func (*MocknodePeerCounterPeerCountCall) DoAndReturn added in v1.4.5

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MocknodePeerCounterPeerCountCall) Return added in v1.4.5

Return rewrite *gomock.Call.Return

type MocknodeSyncer added in v1.4.5

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

MocknodeSyncer is a mock of nodeSyncer interface.

func NewMocknodeSyncer added in v1.4.5

func NewMocknodeSyncer(ctrl *gomock.Controller) *MocknodeSyncer

NewMocknodeSyncer creates a new mock instance.

func (*MocknodeSyncer) EXPECT added in v1.4.5

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

func (*MocknodeSyncer) IsSynced added in v1.4.5

func (m *MocknodeSyncer) IsSynced(arg0 context.Context) bool

IsSynced mocks base method.

type MocknodeSyncerIsSyncedCall added in v1.4.5

type MocknodeSyncerIsSyncedCall struct {
	*gomock.Call
}

MocknodeSyncerIsSyncedCall wrap *gomock.Call

func (*MocknodeSyncerIsSyncedCall) Do added in v1.4.5

Do rewrite *gomock.Call.Do

func (*MocknodeSyncerIsSyncedCall) DoAndReturn added in v1.4.5

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MocknodeSyncerIsSyncedCall) Return added in v1.4.5

Return rewrite *gomock.Call.Return

type MocknodeSyncerMockRecorder added in v1.4.5

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

MocknodeSyncerMockRecorder is the mock recorder for MocknodeSyncer.

func (*MocknodeSyncerMockRecorder) IsSynced added in v1.4.5

IsSynced indicates an expected call of IsSynced.

type MocktransactionConState added in v1.6.0

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

MocktransactionConState is a mock of transactionConState interface.

func NewMocktransactionConState added in v1.6.0

func NewMocktransactionConState(ctrl *gomock.Controller) *MocktransactionConState

NewMocktransactionConState creates a new mock instance.

func (*MocktransactionConState) EXPECT added in v1.6.0

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

func (*MocktransactionConState) Validation added in v1.6.0

Validation mocks base method.

type MocktransactionConStateMockRecorder added in v1.6.0

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

MocktransactionConStateMockRecorder is the mock recorder for MocktransactionConState.

func (*MocktransactionConStateMockRecorder) Validation added in v1.6.0

Validation indicates an expected call of Validation.

type MocktransactionConStateValidationCall added in v1.6.0

type MocktransactionConStateValidationCall struct {
	*gomock.Call
}

MocktransactionConStateValidationCall wrap *gomock.Call

func (*MocktransactionConStateValidationCall) Do added in v1.6.0

Do rewrite *gomock.Call.Do

func (*MocktransactionConStateValidationCall) DoAndReturn added in v1.6.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MocktransactionConStateValidationCall) Return added in v1.6.0

Return rewrite *gomock.Call.Return

type MocktransactionSyncer added in v1.6.0

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

MocktransactionSyncer is a mock of transactionSyncer interface.

func NewMocktransactionSyncer added in v1.6.0

func NewMocktransactionSyncer(ctrl *gomock.Controller) *MocktransactionSyncer

NewMocktransactionSyncer creates a new mock instance.

func (*MocktransactionSyncer) EXPECT added in v1.6.0

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

func (*MocktransactionSyncer) IsSynced added in v1.6.0

func (m *MocktransactionSyncer) IsSynced(arg0 context.Context) bool

IsSynced mocks base method.

type MocktransactionSyncerIsSyncedCall added in v1.6.0

type MocktransactionSyncerIsSyncedCall struct {
	*gomock.Call
}

MocktransactionSyncerIsSyncedCall wrap *gomock.Call

func (*MocktransactionSyncerIsSyncedCall) Do added in v1.6.0

Do rewrite *gomock.Call.Do

func (*MocktransactionSyncerIsSyncedCall) DoAndReturn added in v1.6.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MocktransactionSyncerIsSyncedCall) Return added in v1.6.0

Return rewrite *gomock.Call.Return

type MocktransactionSyncerMockRecorder added in v1.6.0

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

MocktransactionSyncerMockRecorder is the mock recorder for MocktransactionSyncer.

func (*MocktransactionSyncerMockRecorder) IsSynced added in v1.6.0

IsSynced indicates an expected call of IsSynced.

type MocktransactionValidator added in v1.6.0

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

MocktransactionValidator is a mock of transactionValidator interface.

func NewMocktransactionValidator added in v1.6.0

func NewMocktransactionValidator(ctrl *gomock.Controller) *MocktransactionValidator

NewMocktransactionValidator creates a new mock instance.

func (*MocktransactionValidator) EXPECT added in v1.6.0

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

func (*MocktransactionValidator) VerifyAndCacheTx added in v1.6.0

func (m *MocktransactionValidator) VerifyAndCacheTx(arg0 context.Context, arg1 []byte) error

VerifyAndCacheTx mocks base method.

type MocktransactionValidatorMockRecorder added in v1.6.0

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

MocktransactionValidatorMockRecorder is the mock recorder for MocktransactionValidator.

func (*MocktransactionValidatorMockRecorder) VerifyAndCacheTx added in v1.6.0

VerifyAndCacheTx indicates an expected call of VerifyAndCacheTx.

type MocktransactionValidatorVerifyAndCacheTxCall added in v1.6.0

type MocktransactionValidatorVerifyAndCacheTxCall struct {
	*gomock.Call
}

MocktransactionValidatorVerifyAndCacheTxCall wrap *gomock.Call

func (*MocktransactionValidatorVerifyAndCacheTxCall) Do added in v1.6.0

Do rewrite *gomock.Call.Do

func (*MocktransactionValidatorVerifyAndCacheTxCall) DoAndReturn added in v1.6.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MocktransactionValidatorVerifyAndCacheTxCall) Return added in v1.6.0

Return rewrite *gomock.Call.Return

type NetworkService added in v1.4.3

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

func NewNetworkService added in v1.4.3

func NewNetworkService(genesisTime time.Time, config *config.Config) *NetworkService

func (*NetworkService) Info added in v1.4.3

func (*NetworkService) RegisterHandlerService added in v1.4.3

func (s *NetworkService) RegisterHandlerService(mux *runtime.ServeMux) error

func (*NetworkService) RegisterService added in v1.4.3

func (s *NetworkService) RegisterService(server *grpc.Server)

func (*NetworkService) String added in v1.4.3

func (s *NetworkService) String() string

String returns the service name.

type NodeService added in v1.4.5

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

func NewNodeService added in v1.4.5

func NewNodeService(peers nodePeerCounter, msh nodeMeshAPI, clock *timesync.NodeClock, syncer nodeSyncer) *NodeService

func (*NodeService) RegisterHandlerService added in v1.4.5

func (s *NodeService) RegisterHandlerService(mux *runtime.ServeMux) error

func (*NodeService) RegisterService added in v1.4.5

func (s *NodeService) RegisterService(server *grpc.Server)

func (*NodeService) Status added in v1.4.5

func (*NodeService) String added in v1.4.5

func (s *NodeService) String() string

String returns the service name.

type RewardService

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

func NewRewardService

func NewRewardService(db sql.Executor) *RewardService

func (*RewardService) List

func (*RewardService) RegisterHandlerService

func (s *RewardService) RegisterHandlerService(mux *runtime.ServeMux) error

func (*RewardService) RegisterService

func (s *RewardService) RegisterService(server *grpc.Server)

func (*RewardService) String

func (s *RewardService) String() string

String returns the service name.

type RewardStreamService

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

func NewRewardStreamService

func NewRewardStreamService(db sql.Executor) *RewardStreamService

func (*RewardStreamService) RegisterHandlerService

func (s *RewardStreamService) RegisterHandlerService(mux *runtime.ServeMux) error

func (*RewardStreamService) RegisterService

func (s *RewardStreamService) RegisterService(server *grpc.Server)

func (*RewardStreamService) String

func (s *RewardStreamService) String() string

type TransactionService added in v1.6.0

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

func NewTransactionService added in v1.6.0

func NewTransactionService(db sql.Executor, conState transactionConState,
	syncer transactionSyncer, validator transactionValidator,
	publisher pubsub.Publisher,
) *TransactionService

func (*TransactionService) EstimateGas added in v1.6.0

func (*TransactionService) List added in v1.6.0

func (*TransactionService) ParseTransaction added in v1.6.0

func (*TransactionService) RegisterHandlerService added in v1.6.0

func (s *TransactionService) RegisterHandlerService(mux *runtime.ServeMux) error

func (*TransactionService) RegisterService added in v1.6.0

func (s *TransactionService) RegisterService(server *grpc.Server)

func (*TransactionService) String added in v1.6.0

func (s *TransactionService) String() string

String returns the service name.

func (*TransactionService) SubmitTransaction added in v1.6.0

type TransactionStreamService added in v1.6.0

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

func NewTransactionStreamService added in v1.6.0

func NewTransactionStreamService(db sql.Executor) *TransactionStreamService

func (*TransactionStreamService) RegisterHandlerService added in v1.6.0

func (s *TransactionStreamService) RegisterHandlerService(mux *runtime.ServeMux) error

func (*TransactionStreamService) RegisterService added in v1.6.0

func (s *TransactionStreamService) RegisterService(server *grpc.Server)

func (*TransactionStreamService) Stream added in v1.6.0

func (*TransactionStreamService) String added in v1.6.0

func (s *TransactionStreamService) String() string

Jump to

Keyboard shortcuts

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