mocks

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockactiveSetCache

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

MockactiveSetCache is a mock of activeSetCache interface.

func NewMockactiveSetCache

func NewMockactiveSetCache(ctrl *gomock.Controller) *MockactiveSetCache

NewMockactiveSetCache creates a new mock instance.

func (*MockactiveSetCache) EXPECT

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

func (*MockactiveSetCache) GetMissingActiveSet

func (m *MockactiveSetCache) GetMissingActiveSet(arg0 types.EpochID, arg1 []types.ATXID) []types.ATXID

GetMissingActiveSet mocks base method.

type MockactiveSetCacheMockRecorder

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

MockactiveSetCacheMockRecorder is the mock recorder for MockactiveSetCache.

func (*MockactiveSetCacheMockRecorder) GetMissingActiveSet

func (mr *MockactiveSetCacheMockRecorder) GetMissingActiveSet(arg0, arg1 interface{}) *gomock.Call

GetMissingActiveSet indicates an expected call of GetMissingActiveSet.

type MockcertHandler

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

MockcertHandler is a mock of certHandler interface.

func NewMockcertHandler

func NewMockcertHandler(ctrl *gomock.Controller) *MockcertHandler

NewMockcertHandler creates a new mock instance.

func (*MockcertHandler) EXPECT

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

func (*MockcertHandler) HandleSyncedCertificate

func (m *MockcertHandler) HandleSyncedCertificate(arg0 context.Context, arg1 types.LayerID, arg2 *types.Certificate) error

HandleSyncedCertificate mocks base method.

type MockcertHandlerMockRecorder

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

MockcertHandlerMockRecorder is the mock recorder for MockcertHandler.

func (*MockcertHandlerMockRecorder) HandleSyncedCertificate

func (mr *MockcertHandlerMockRecorder) HandleSyncedCertificate(arg0, arg1, arg2 interface{}) *gomock.Call

HandleSyncedCertificate indicates an expected call of HandleSyncedCertificate.

type MockfetchLogic

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

MockfetchLogic is a mock of fetchLogic interface.

func NewMockfetchLogic

func NewMockfetchLogic(ctrl *gomock.Controller) *MockfetchLogic

NewMockfetchLogic creates a new mock instance.

func (*MockfetchLogic) EXPECT

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

func (*MockfetchLogic) GetAtxs

func (m *MockfetchLogic) GetAtxs(arg0 context.Context, arg1 []types.ATXID) error

GetAtxs mocks base method.

func (*MockfetchLogic) GetBallots

func (m *MockfetchLogic) GetBallots(arg0 context.Context, arg1 []types.BallotID) error

GetBallots mocks base method.

func (*MockfetchLogic) GetBlocks

func (m *MockfetchLogic) GetBlocks(arg0 context.Context, arg1 []types.BlockID) error

GetBlocks mocks base method.

func (*MockfetchLogic) GetCert added in v1.1.0

func (m *MockfetchLogic) GetCert(arg0 context.Context, arg1 types.LayerID, arg2 types.BlockID, arg3 []p2p.Peer) (*types.Certificate, error)

GetCert mocks base method.

func (*MockfetchLogic) GetEpochATXs

func (m *MockfetchLogic) GetEpochATXs(arg0 context.Context, arg1 types.EpochID) error

GetEpochATXs mocks base method.

func (*MockfetchLogic) GetLayerData

func (m *MockfetchLogic) GetLayerData(arg0 context.Context, arg1 []p2p.Peer, arg2 types.LayerID, arg3 func([]byte, p2p.Peer), arg4 func(error, p2p.Peer)) error

GetLayerData mocks base method.

func (*MockfetchLogic) GetLayerOpinions

func (m *MockfetchLogic) GetLayerOpinions(arg0 context.Context, arg1 []p2p.Peer, arg2 types.LayerID, arg3 func([]byte, p2p.Peer), arg4 func(error, p2p.Peer)) error

GetLayerOpinions mocks base method.

func (*MockfetchLogic) GetLayerOpinions2 added in v1.1.0

func (m *MockfetchLogic) GetLayerOpinions2(arg0 context.Context, arg1 []p2p.Peer, arg2 types.LayerID, arg3 func([]byte, p2p.Peer), arg4 func(error, p2p.Peer)) error

GetLayerOpinions2 mocks base method.

func (*MockfetchLogic) GetMalfeasanceProofs

func (m *MockfetchLogic) GetMalfeasanceProofs(arg0 context.Context, arg1 []types.NodeID) error

GetMalfeasanceProofs mocks base method.

func (*MockfetchLogic) GetMaliciousIDs

func (m *MockfetchLogic) GetMaliciousIDs(arg0 context.Context, arg1 []p2p.Peer, arg2 func([]byte, p2p.Peer), arg3 func(error, p2p.Peer)) error

GetMaliciousIDs mocks base method.

func (*MockfetchLogic) GetPeers

func (m *MockfetchLogic) GetPeers() []p2p.Peer

GetPeers mocks base method.

func (*MockfetchLogic) PeerEpochInfo

func (m *MockfetchLogic) PeerEpochInfo(arg0 context.Context, arg1 p2p.Peer, arg2 types.EpochID) (*fetch.EpochData, error)

PeerEpochInfo mocks base method.

func (*MockfetchLogic) PeerMeshHashes

func (m *MockfetchLogic) PeerMeshHashes(arg0 context.Context, arg1 p2p.Peer, arg2 *fetch.MeshHashRequest) (*fetch.MeshHashes, error)

PeerMeshHashes mocks base method.

func (*MockfetchLogic) PeerProtocols added in v1.1.0

func (m *MockfetchLogic) PeerProtocols(arg0 p2p.Peer) ([]protocol.ID, error)

PeerProtocols mocks base method.

func (*MockfetchLogic) PollLayerData

func (m *MockfetchLogic) PollLayerData(arg0 context.Context, arg1 types.LayerID, arg2 ...p2p.Peer) error

PollLayerData mocks base method.

func (*MockfetchLogic) PollLayerOpinions

func (m *MockfetchLogic) PollLayerOpinions(arg0 context.Context, arg1 types.LayerID, arg2 []p2p.Peer) ([]*fetch.LayerOpinion, error)

PollLayerOpinions mocks base method.

func (*MockfetchLogic) PollLayerOpinions2 added in v1.1.0

func (m *MockfetchLogic) PollLayerOpinions2(arg0 context.Context, arg1 types.LayerID, arg2 bool, arg3 []p2p.Peer) ([]*fetch.LayerOpinion2, []*types.Certificate, error)

PollLayerOpinions2 mocks base method.

func (*MockfetchLogic) PollMaliciousProofs

func (m *MockfetchLogic) PollMaliciousProofs(ctx context.Context) error

PollMaliciousProofs mocks base method.

func (*MockfetchLogic) RegisterPeerHashes

func (m *MockfetchLogic) RegisterPeerHashes(peer p2p.Peer, hashes []types.Hash32)

RegisterPeerHashes mocks base method.

type MockfetchLogicMockRecorder

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

MockfetchLogicMockRecorder is the mock recorder for MockfetchLogic.

func (*MockfetchLogicMockRecorder) GetAtxs

func (mr *MockfetchLogicMockRecorder) GetAtxs(arg0, arg1 interface{}) *gomock.Call

GetAtxs indicates an expected call of GetAtxs.

func (*MockfetchLogicMockRecorder) GetBallots

func (mr *MockfetchLogicMockRecorder) GetBallots(arg0, arg1 interface{}) *gomock.Call

GetBallots indicates an expected call of GetBallots.

func (*MockfetchLogicMockRecorder) GetBlocks

func (mr *MockfetchLogicMockRecorder) GetBlocks(arg0, arg1 interface{}) *gomock.Call

GetBlocks indicates an expected call of GetBlocks.

func (*MockfetchLogicMockRecorder) GetCert added in v1.1.0

func (mr *MockfetchLogicMockRecorder) GetCert(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetCert indicates an expected call of GetCert.

func (*MockfetchLogicMockRecorder) GetEpochATXs

func (mr *MockfetchLogicMockRecorder) GetEpochATXs(arg0, arg1 interface{}) *gomock.Call

GetEpochATXs indicates an expected call of GetEpochATXs.

func (*MockfetchLogicMockRecorder) GetLayerData

func (mr *MockfetchLogicMockRecorder) GetLayerData(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

GetLayerData indicates an expected call of GetLayerData.

func (*MockfetchLogicMockRecorder) GetLayerOpinions

func (mr *MockfetchLogicMockRecorder) GetLayerOpinions(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

GetLayerOpinions indicates an expected call of GetLayerOpinions.

func (*MockfetchLogicMockRecorder) GetLayerOpinions2 added in v1.1.0

func (mr *MockfetchLogicMockRecorder) GetLayerOpinions2(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

GetLayerOpinions2 indicates an expected call of GetLayerOpinions2.

func (*MockfetchLogicMockRecorder) GetMalfeasanceProofs

func (mr *MockfetchLogicMockRecorder) GetMalfeasanceProofs(arg0, arg1 interface{}) *gomock.Call

GetMalfeasanceProofs indicates an expected call of GetMalfeasanceProofs.

func (*MockfetchLogicMockRecorder) GetMaliciousIDs

func (mr *MockfetchLogicMockRecorder) GetMaliciousIDs(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetMaliciousIDs indicates an expected call of GetMaliciousIDs.

func (*MockfetchLogicMockRecorder) GetPeers

func (mr *MockfetchLogicMockRecorder) GetPeers() *gomock.Call

GetPeers indicates an expected call of GetPeers.

func (*MockfetchLogicMockRecorder) PeerEpochInfo

func (mr *MockfetchLogicMockRecorder) PeerEpochInfo(arg0, arg1, arg2 interface{}) *gomock.Call

PeerEpochInfo indicates an expected call of PeerEpochInfo.

func (*MockfetchLogicMockRecorder) PeerMeshHashes

func (mr *MockfetchLogicMockRecorder) PeerMeshHashes(arg0, arg1, arg2 interface{}) *gomock.Call

PeerMeshHashes indicates an expected call of PeerMeshHashes.

func (*MockfetchLogicMockRecorder) PeerProtocols added in v1.1.0

func (mr *MockfetchLogicMockRecorder) PeerProtocols(arg0 interface{}) *gomock.Call

PeerProtocols indicates an expected call of PeerProtocols.

func (*MockfetchLogicMockRecorder) PollLayerData

func (mr *MockfetchLogicMockRecorder) PollLayerData(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

PollLayerData indicates an expected call of PollLayerData.

func (*MockfetchLogicMockRecorder) PollLayerOpinions

func (mr *MockfetchLogicMockRecorder) PollLayerOpinions(arg0, arg1, arg2 interface{}) *gomock.Call

PollLayerOpinions indicates an expected call of PollLayerOpinions.

func (*MockfetchLogicMockRecorder) PollLayerOpinions2 added in v1.1.0

func (mr *MockfetchLogicMockRecorder) PollLayerOpinions2(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

PollLayerOpinions2 indicates an expected call of PollLayerOpinions2.

func (*MockfetchLogicMockRecorder) PollMaliciousProofs

func (mr *MockfetchLogicMockRecorder) PollMaliciousProofs(ctx interface{}) *gomock.Call

PollMaliciousProofs indicates an expected call of PollMaliciousProofs.

func (*MockfetchLogicMockRecorder) RegisterPeerHashes

func (mr *MockfetchLogicMockRecorder) RegisterPeerHashes(peer, hashes interface{}) *gomock.Call

RegisterPeerHashes indicates an expected call of RegisterPeerHashes.

type Mockfetcher

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

Mockfetcher is a mock of fetcher interface.

func NewMockfetcher

func NewMockfetcher(ctrl *gomock.Controller) *Mockfetcher

NewMockfetcher creates a new mock instance.

func (*Mockfetcher) EXPECT

func (m *Mockfetcher) EXPECT() *MockfetcherMockRecorder

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

func (*Mockfetcher) GetAtxs

func (m *Mockfetcher) GetAtxs(arg0 context.Context, arg1 []types.ATXID) error

GetAtxs mocks base method.

func (*Mockfetcher) GetBallots

func (m *Mockfetcher) GetBallots(arg0 context.Context, arg1 []types.BallotID) error

GetBallots mocks base method.

func (*Mockfetcher) GetBlocks

func (m *Mockfetcher) GetBlocks(arg0 context.Context, arg1 []types.BlockID) error

GetBlocks mocks base method.

func (*Mockfetcher) GetCert added in v1.1.0

func (m *Mockfetcher) GetCert(arg0 context.Context, arg1 types.LayerID, arg2 types.BlockID, arg3 []p2p.Peer) (*types.Certificate, error)

GetCert mocks base method.

func (*Mockfetcher) GetLayerData

func (m *Mockfetcher) GetLayerData(arg0 context.Context, arg1 []p2p.Peer, arg2 types.LayerID, arg3 func([]byte, p2p.Peer), arg4 func(error, p2p.Peer)) error

GetLayerData mocks base method.

func (*Mockfetcher) GetLayerOpinions

func (m *Mockfetcher) GetLayerOpinions(arg0 context.Context, arg1 []p2p.Peer, arg2 types.LayerID, arg3 func([]byte, p2p.Peer), arg4 func(error, p2p.Peer)) error

GetLayerOpinions mocks base method.

func (*Mockfetcher) GetLayerOpinions2 added in v1.1.0

func (m *Mockfetcher) GetLayerOpinions2(arg0 context.Context, arg1 []p2p.Peer, arg2 types.LayerID, arg3 func([]byte, p2p.Peer), arg4 func(error, p2p.Peer)) error

GetLayerOpinions2 mocks base method.

func (*Mockfetcher) GetMalfeasanceProofs

func (m *Mockfetcher) GetMalfeasanceProofs(arg0 context.Context, arg1 []types.NodeID) error

GetMalfeasanceProofs mocks base method.

func (*Mockfetcher) GetMaliciousIDs

func (m *Mockfetcher) GetMaliciousIDs(arg0 context.Context, arg1 []p2p.Peer, arg2 func([]byte, p2p.Peer), arg3 func(error, p2p.Peer)) error

GetMaliciousIDs mocks base method.

func (*Mockfetcher) GetPeers

func (m *Mockfetcher) GetPeers() []p2p.Peer

GetPeers mocks base method.

func (*Mockfetcher) PeerEpochInfo

func (m *Mockfetcher) PeerEpochInfo(arg0 context.Context, arg1 p2p.Peer, arg2 types.EpochID) (*fetch.EpochData, error)

PeerEpochInfo mocks base method.

func (*Mockfetcher) PeerMeshHashes

func (m *Mockfetcher) PeerMeshHashes(arg0 context.Context, arg1 p2p.Peer, arg2 *fetch.MeshHashRequest) (*fetch.MeshHashes, error)

PeerMeshHashes mocks base method.

func (*Mockfetcher) PeerProtocols added in v1.1.0

func (m *Mockfetcher) PeerProtocols(arg0 p2p.Peer) ([]protocol.ID, error)

PeerProtocols mocks base method.

func (*Mockfetcher) RegisterPeerHashes

func (m *Mockfetcher) RegisterPeerHashes(peer p2p.Peer, hashes []types.Hash32)

RegisterPeerHashes mocks base method.

type MockfetcherMockRecorder

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

MockfetcherMockRecorder is the mock recorder for Mockfetcher.

func (*MockfetcherMockRecorder) GetAtxs

func (mr *MockfetcherMockRecorder) GetAtxs(arg0, arg1 interface{}) *gomock.Call

GetAtxs indicates an expected call of GetAtxs.

func (*MockfetcherMockRecorder) GetBallots

func (mr *MockfetcherMockRecorder) GetBallots(arg0, arg1 interface{}) *gomock.Call

GetBallots indicates an expected call of GetBallots.

func (*MockfetcherMockRecorder) GetBlocks

func (mr *MockfetcherMockRecorder) GetBlocks(arg0, arg1 interface{}) *gomock.Call

GetBlocks indicates an expected call of GetBlocks.

func (*MockfetcherMockRecorder) GetCert added in v1.1.0

func (mr *MockfetcherMockRecorder) GetCert(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetCert indicates an expected call of GetCert.

func (*MockfetcherMockRecorder) GetLayerData

func (mr *MockfetcherMockRecorder) GetLayerData(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

GetLayerData indicates an expected call of GetLayerData.

func (*MockfetcherMockRecorder) GetLayerOpinions

func (mr *MockfetcherMockRecorder) GetLayerOpinions(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

GetLayerOpinions indicates an expected call of GetLayerOpinions.

func (*MockfetcherMockRecorder) GetLayerOpinions2 added in v1.1.0

func (mr *MockfetcherMockRecorder) GetLayerOpinions2(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

GetLayerOpinions2 indicates an expected call of GetLayerOpinions2.

func (*MockfetcherMockRecorder) GetMalfeasanceProofs

func (mr *MockfetcherMockRecorder) GetMalfeasanceProofs(arg0, arg1 interface{}) *gomock.Call

GetMalfeasanceProofs indicates an expected call of GetMalfeasanceProofs.

func (*MockfetcherMockRecorder) GetMaliciousIDs

func (mr *MockfetcherMockRecorder) GetMaliciousIDs(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetMaliciousIDs indicates an expected call of GetMaliciousIDs.

func (*MockfetcherMockRecorder) GetPeers

func (mr *MockfetcherMockRecorder) GetPeers() *gomock.Call

GetPeers indicates an expected call of GetPeers.

func (*MockfetcherMockRecorder) PeerEpochInfo

func (mr *MockfetcherMockRecorder) PeerEpochInfo(arg0, arg1, arg2 interface{}) *gomock.Call

PeerEpochInfo indicates an expected call of PeerEpochInfo.

func (*MockfetcherMockRecorder) PeerMeshHashes

func (mr *MockfetcherMockRecorder) PeerMeshHashes(arg0, arg1, arg2 interface{}) *gomock.Call

PeerMeshHashes indicates an expected call of PeerMeshHashes.

func (*MockfetcherMockRecorder) PeerProtocols added in v1.1.0

func (mr *MockfetcherMockRecorder) PeerProtocols(arg0 interface{}) *gomock.Call

PeerProtocols indicates an expected call of PeerProtocols.

func (*MockfetcherMockRecorder) RegisterPeerHashes

func (mr *MockfetcherMockRecorder) RegisterPeerHashes(peer, hashes interface{}) *gomock.Call

RegisterPeerHashes indicates an expected call of RegisterPeerHashes.

type MockforkFinder

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

MockforkFinder is a mock of forkFinder interface.

func NewMockforkFinder

func NewMockforkFinder(ctrl *gomock.Controller) *MockforkFinder

NewMockforkFinder creates a new mock instance.

func (*MockforkFinder) AddResynced

func (m *MockforkFinder) AddResynced(arg0 types.LayerID, arg1 types.Hash32)

AddResynced mocks base method.

func (*MockforkFinder) EXPECT

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

func (*MockforkFinder) FindFork

func (m *MockforkFinder) FindFork(arg0 context.Context, arg1 p2p.Peer, arg2 types.LayerID, arg3 types.Hash32) (types.LayerID, error)

FindFork mocks base method.

func (*MockforkFinder) NeedResync

func (m *MockforkFinder) NeedResync(arg0 types.LayerID, arg1 types.Hash32) bool

NeedResync mocks base method.

func (*MockforkFinder) Purge

func (m *MockforkFinder) Purge(arg0 bool, arg1 ...p2p.Peer)

Purge mocks base method.

func (*MockforkFinder) UpdateAgreement

func (m *MockforkFinder) UpdateAgreement(arg0 p2p.Peer, arg1 types.LayerID, arg2 types.Hash32, arg3 time.Time)

UpdateAgreement mocks base method.

type MockforkFinderMockRecorder

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

MockforkFinderMockRecorder is the mock recorder for MockforkFinder.

func (*MockforkFinderMockRecorder) AddResynced

func (mr *MockforkFinderMockRecorder) AddResynced(arg0, arg1 interface{}) *gomock.Call

AddResynced indicates an expected call of AddResynced.

func (*MockforkFinderMockRecorder) FindFork

func (mr *MockforkFinderMockRecorder) FindFork(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

FindFork indicates an expected call of FindFork.

func (*MockforkFinderMockRecorder) NeedResync

func (mr *MockforkFinderMockRecorder) NeedResync(arg0, arg1 interface{}) *gomock.Call

NeedResync indicates an expected call of NeedResync.

func (*MockforkFinderMockRecorder) Purge

func (mr *MockforkFinderMockRecorder) Purge(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Purge indicates an expected call of Purge.

func (*MockforkFinderMockRecorder) UpdateAgreement

func (mr *MockforkFinderMockRecorder) UpdateAgreement(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

UpdateAgreement indicates an expected call of UpdateAgreement.

type MockidProvider

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

MockidProvider is a mock of idProvider interface.

func NewMockidProvider

func NewMockidProvider(ctrl *gomock.Controller) *MockidProvider

NewMockidProvider creates a new mock instance.

func (*MockidProvider) EXPECT

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

func (*MockidProvider) IdentityExists

func (m *MockidProvider) IdentityExists(id types.NodeID) (bool, error)

IdentityExists mocks base method.

type MockidProviderMockRecorder

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

MockidProviderMockRecorder is the mock recorder for MockidProvider.

func (*MockidProviderMockRecorder) IdentityExists

func (mr *MockidProviderMockRecorder) IdentityExists(id interface{}) *gomock.Call

IdentityExists indicates an expected call of IdentityExists.

type MocklayerPatrol

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

MocklayerPatrol is a mock of layerPatrol interface.

func NewMocklayerPatrol

func NewMocklayerPatrol(ctrl *gomock.Controller) *MocklayerPatrol

NewMocklayerPatrol creates a new mock instance.

func (*MocklayerPatrol) EXPECT

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

func (*MocklayerPatrol) IsHareInCharge

func (m *MocklayerPatrol) IsHareInCharge(arg0 types.LayerID) bool

IsHareInCharge mocks base method.

type MocklayerPatrolMockRecorder

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

MocklayerPatrolMockRecorder is the mock recorder for MocklayerPatrol.

func (*MocklayerPatrolMockRecorder) IsHareInCharge

func (mr *MocklayerPatrolMockRecorder) IsHareInCharge(arg0 interface{}) *gomock.Call

IsHareInCharge indicates an expected call of IsHareInCharge.

type MocklayerTicker

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

MocklayerTicker is a mock of layerTicker interface.

func NewMocklayerTicker

func NewMocklayerTicker(ctrl *gomock.Controller) *MocklayerTicker

NewMocklayerTicker creates a new mock instance.

func (*MocklayerTicker) CurrentLayer

func (m *MocklayerTicker) CurrentLayer() types.LayerID

CurrentLayer mocks base method.

func (*MocklayerTicker) EXPECT

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

type MocklayerTickerMockRecorder

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

MocklayerTickerMockRecorder is the mock recorder for MocklayerTicker.

func (*MocklayerTickerMockRecorder) CurrentLayer

func (mr *MocklayerTickerMockRecorder) CurrentLayer() *gomock.Call

CurrentLayer indicates an expected call of CurrentLayer.

type MockmeshProvider

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

MockmeshProvider is a mock of meshProvider interface.

func NewMockmeshProvider

func NewMockmeshProvider(ctrl *gomock.Controller) *MockmeshProvider

NewMockmeshProvider creates a new mock instance.

func (*MockmeshProvider) EXPECT

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

func (*MockmeshProvider) SetZeroBlockLayer

func (m *MockmeshProvider) SetZeroBlockLayer(arg0 context.Context, arg1 types.LayerID)

SetZeroBlockLayer mocks base method.

type MockmeshProviderMockRecorder

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

MockmeshProviderMockRecorder is the mock recorder for MockmeshProvider.

func (*MockmeshProviderMockRecorder) SetZeroBlockLayer

func (mr *MockmeshProviderMockRecorder) SetZeroBlockLayer(arg0, arg1 interface{}) *gomock.Call

SetZeroBlockLayer indicates an expected call of SetZeroBlockLayer.

Jump to

Keyboard shortcuts

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