v2alpha1

package
v1.4.6-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: MIT Imports: 24 Imported by: 0

Documentation

Overview

Package v2alpha1 is a generated GoMock package.

Index

Constants

View Source
const (
	Activation       = "activation_v2alpha1"
	ActivationStream = "activation_stream_v2alpha1"
)
View Source
const (
	Reward       = "reward_v2alpha1"
	RewardStream = "reward_stream_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 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 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 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, genesisID types.Hash20, layerDuration time.Duration) *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

Jump to

Keyboard shortcuts

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