Documentation
¶
Index ¶
- type Active
- type ActiveMock
- func (mmCreateBuilder *ActiveMock) CreateBuilder(ctx context.Context, pn pulse.Number) (b1 Builder)
- func (mmCreateBuilder *ActiveMock) CreateBuilderAfterCounter() uint64
- func (mmCreateBuilder *ActiveMock) CreateBuilderBeforeCounter() uint64
- func (mmGetCensusState *ActiveMock) GetCensusState() (s1 State)
- func (mmGetCensusState *ActiveMock) GetCensusStateAfterCounter() uint64
- func (mmGetCensusState *ActiveMock) GetCensusStateBeforeCounter() uint64
- func (mmGetCloudStateHash *ActiveMock) GetCloudStateHash() (c1 proofs.CloudStateHash)
- func (mmGetCloudStateHash *ActiveMock) GetCloudStateHashAfterCounter() uint64
- func (mmGetCloudStateHash *ActiveMock) GetCloudStateHashBeforeCounter() uint64
- func (mmGetEvictedPopulation *ActiveMock) GetEvictedPopulation() (e1 EvictedPopulation)
- func (mmGetEvictedPopulation *ActiveMock) GetEvictedPopulationAfterCounter() uint64
- func (mmGetEvictedPopulation *ActiveMock) GetEvictedPopulationBeforeCounter() uint64
- func (mmGetExpectedPulseNumber *ActiveMock) GetExpectedPulseNumber() (n1 pulse.Number)
- func (mmGetExpectedPulseNumber *ActiveMock) GetExpectedPulseNumberAfterCounter() uint64
- func (mmGetExpectedPulseNumber *ActiveMock) GetExpectedPulseNumberBeforeCounter() uint64
- func (mmGetGlobulaStateHash *ActiveMock) GetGlobulaStateHash() (g1 proofs.GlobulaStateHash)
- func (mmGetGlobulaStateHash *ActiveMock) GetGlobulaStateHashAfterCounter() uint64
- func (mmGetGlobulaStateHash *ActiveMock) GetGlobulaStateHashBeforeCounter() uint64
- func (mmGetMandateRegistry *ActiveMock) GetMandateRegistry() (m1 MandateRegistry)
- func (mmGetMandateRegistry *ActiveMock) GetMandateRegistryAfterCounter() uint64
- func (mmGetMandateRegistry *ActiveMock) GetMandateRegistryBeforeCounter() uint64
- func (mmGetMisbehaviorRegistry *ActiveMock) GetMisbehaviorRegistry() (m1 MisbehaviorRegistry)
- func (mmGetMisbehaviorRegistry *ActiveMock) GetMisbehaviorRegistryAfterCounter() uint64
- func (mmGetMisbehaviorRegistry *ActiveMock) GetMisbehaviorRegistryBeforeCounter() uint64
- func (mmGetNearestPulseData *ActiveMock) GetNearestPulseData() (b1 bool, d1 pulse.Data)
- func (mmGetNearestPulseData *ActiveMock) GetNearestPulseDataAfterCounter() uint64
- func (mmGetNearestPulseData *ActiveMock) GetNearestPulseDataBeforeCounter() uint64
- func (mmGetOfflinePopulation *ActiveMock) GetOfflinePopulation() (o1 OfflinePopulation)
- func (mmGetOfflinePopulation *ActiveMock) GetOfflinePopulationAfterCounter() uint64
- func (mmGetOfflinePopulation *ActiveMock) GetOfflinePopulationBeforeCounter() uint64
- func (mmGetOnlinePopulation *ActiveMock) GetOnlinePopulation() (o1 OnlinePopulation)
- func (mmGetOnlinePopulation *ActiveMock) GetOnlinePopulationAfterCounter() uint64
- func (mmGetOnlinePopulation *ActiveMock) GetOnlinePopulationBeforeCounter() uint64
- func (mmGetProfileFactory *ActiveMock) GetProfileFactory(ksf cryptkit.KeyStoreFactory) (f1 profiles.Factory)
- func (mmGetProfileFactory *ActiveMock) GetProfileFactoryAfterCounter() uint64
- func (mmGetProfileFactory *ActiveMock) GetProfileFactoryBeforeCounter() uint64
- func (mmGetPulseData *ActiveMock) GetPulseData() (d1 pulse.Data)
- func (mmGetPulseData *ActiveMock) GetPulseDataAfterCounter() uint64
- func (mmGetPulseData *ActiveMock) GetPulseDataBeforeCounter() uint64
- func (mmGetPulseNumber *ActiveMock) GetPulseNumber() (n1 pulse.Number)
- func (mmGetPulseNumber *ActiveMock) GetPulseNumberAfterCounter() uint64
- func (mmGetPulseNumber *ActiveMock) GetPulseNumberBeforeCounter() uint64
- func (mmIsActive *ActiveMock) IsActive() (b1 bool)
- func (mmIsActive *ActiveMock) IsActiveAfterCounter() uint64
- func (mmIsActive *ActiveMock) IsActiveBeforeCounter() uint64
- func (m *ActiveMock) MinimockCreateBuilderDone() bool
- func (m *ActiveMock) MinimockCreateBuilderInspect()
- func (m *ActiveMock) MinimockFinish()
- func (m *ActiveMock) MinimockGetCensusStateDone() bool
- func (m *ActiveMock) MinimockGetCensusStateInspect()
- func (m *ActiveMock) MinimockGetCloudStateHashDone() bool
- func (m *ActiveMock) MinimockGetCloudStateHashInspect()
- func (m *ActiveMock) MinimockGetEvictedPopulationDone() bool
- func (m *ActiveMock) MinimockGetEvictedPopulationInspect()
- func (m *ActiveMock) MinimockGetExpectedPulseNumberDone() bool
- func (m *ActiveMock) MinimockGetExpectedPulseNumberInspect()
- func (m *ActiveMock) MinimockGetGlobulaStateHashDone() bool
- func (m *ActiveMock) MinimockGetGlobulaStateHashInspect()
- func (m *ActiveMock) MinimockGetMandateRegistryDone() bool
- func (m *ActiveMock) MinimockGetMandateRegistryInspect()
- func (m *ActiveMock) MinimockGetMisbehaviorRegistryDone() bool
- func (m *ActiveMock) MinimockGetMisbehaviorRegistryInspect()
- func (m *ActiveMock) MinimockGetNearestPulseDataDone() bool
- func (m *ActiveMock) MinimockGetNearestPulseDataInspect()
- func (m *ActiveMock) MinimockGetOfflinePopulationDone() bool
- func (m *ActiveMock) MinimockGetOfflinePopulationInspect()
- func (m *ActiveMock) MinimockGetOnlinePopulationDone() bool
- func (m *ActiveMock) MinimockGetOnlinePopulationInspect()
- func (m *ActiveMock) MinimockGetProfileFactoryDone() bool
- func (m *ActiveMock) MinimockGetProfileFactoryInspect()
- func (m *ActiveMock) MinimockGetPulseDataDone() bool
- func (m *ActiveMock) MinimockGetPulseDataInspect()
- func (m *ActiveMock) MinimockGetPulseNumberDone() bool
- func (m *ActiveMock) MinimockGetPulseNumberInspect()
- func (m *ActiveMock) MinimockIsActiveDone() bool
- func (m *ActiveMock) MinimockIsActiveInspect()
- func (m *ActiveMock) MinimockWait(timeout mm_time.Duration)
- type ActiveMockCreateBuilderExpectation
- type ActiveMockCreateBuilderParams
- type ActiveMockCreateBuilderResults
- type ActiveMockGetCensusStateExpectation
- type ActiveMockGetCensusStateResults
- type ActiveMockGetCloudStateHashExpectation
- type ActiveMockGetCloudStateHashResults
- type ActiveMockGetEvictedPopulationExpectation
- type ActiveMockGetEvictedPopulationResults
- type ActiveMockGetExpectedPulseNumberExpectation
- type ActiveMockGetExpectedPulseNumberResults
- type ActiveMockGetGlobulaStateHashExpectation
- type ActiveMockGetGlobulaStateHashResults
- type ActiveMockGetMandateRegistryExpectation
- type ActiveMockGetMandateRegistryResults
- type ActiveMockGetMisbehaviorRegistryExpectation
- type ActiveMockGetMisbehaviorRegistryResults
- type ActiveMockGetNearestPulseDataExpectation
- type ActiveMockGetNearestPulseDataResults
- type ActiveMockGetOfflinePopulationExpectation
- type ActiveMockGetOfflinePopulationResults
- type ActiveMockGetOnlinePopulationExpectation
- type ActiveMockGetOnlinePopulationResults
- type ActiveMockGetProfileFactoryExpectation
- type ActiveMockGetProfileFactoryParams
- type ActiveMockGetProfileFactoryResults
- type ActiveMockGetPulseDataExpectation
- type ActiveMockGetPulseDataResults
- type ActiveMockGetPulseNumberExpectation
- type ActiveMockGetPulseNumberResults
- type ActiveMockIsActiveExpectation
- type ActiveMockIsActiveResults
- type Archived
- type AssignmentFunc
- type Builder
- type Built
- type ConsensusConfiguration
- type EvictedPopulation
- type EvictedPopulationMock
- func (mmFindProfile *EvictedPopulationMock) FindProfile(nodeID node.ShortNodeID) (e1 profiles.EvictedNode)
- func (mmFindProfile *EvictedPopulationMock) FindProfileAfterCounter() uint64
- func (mmFindProfile *EvictedPopulationMock) FindProfileBeforeCounter() uint64
- func (mmGetCount *EvictedPopulationMock) GetCount() (i1 int)
- func (mmGetCount *EvictedPopulationMock) GetCountAfterCounter() uint64
- func (mmGetCount *EvictedPopulationMock) GetCountBeforeCounter() uint64
- func (mmGetDetectedErrors *EvictedPopulationMock) GetDetectedErrors() (r1 RecoverableErrorTypes)
- func (mmGetDetectedErrors *EvictedPopulationMock) GetDetectedErrorsAfterCounter() uint64
- func (mmGetDetectedErrors *EvictedPopulationMock) GetDetectedErrorsBeforeCounter() uint64
- func (mmGetProfiles *EvictedPopulationMock) GetProfiles() (ea1 []profiles.EvictedNode)
- func (mmGetProfiles *EvictedPopulationMock) GetProfilesAfterCounter() uint64
- func (mmGetProfiles *EvictedPopulationMock) GetProfilesBeforeCounter() uint64
- func (mmIsValid *EvictedPopulationMock) IsValid() (b1 bool)
- func (mmIsValid *EvictedPopulationMock) IsValidAfterCounter() uint64
- func (mmIsValid *EvictedPopulationMock) IsValidBeforeCounter() uint64
- func (m *EvictedPopulationMock) MinimockFindProfileDone() bool
- func (m *EvictedPopulationMock) MinimockFindProfileInspect()
- func (m *EvictedPopulationMock) MinimockFinish()
- func (m *EvictedPopulationMock) MinimockGetCountDone() bool
- func (m *EvictedPopulationMock) MinimockGetCountInspect()
- func (m *EvictedPopulationMock) MinimockGetDetectedErrorsDone() bool
- func (m *EvictedPopulationMock) MinimockGetDetectedErrorsInspect()
- func (m *EvictedPopulationMock) MinimockGetProfilesDone() bool
- func (m *EvictedPopulationMock) MinimockGetProfilesInspect()
- func (m *EvictedPopulationMock) MinimockIsValidDone() bool
- func (m *EvictedPopulationMock) MinimockIsValidInspect()
- func (m *EvictedPopulationMock) MinimockWait(timeout mm_time.Duration)
- type EvictedPopulationMockFindProfileExpectation
- type EvictedPopulationMockFindProfileParams
- type EvictedPopulationMockFindProfileResults
- type EvictedPopulationMockGetCountExpectation
- type EvictedPopulationMockGetCountResults
- type EvictedPopulationMockGetDetectedErrorsExpectation
- type EvictedPopulationMockGetDetectedErrorsResults
- type EvictedPopulationMockGetProfilesExpectation
- type EvictedPopulationMockGetProfilesResults
- type EvictedPopulationMockIsValidExpectation
- type EvictedPopulationMockIsValidResults
- type Expected
- type ExpectedMock
- func (mmCreateBuilder *ExpectedMock) CreateBuilder(ctx context.Context, pn pulse.Number) (b1 Builder)
- func (mmCreateBuilder *ExpectedMock) CreateBuilderAfterCounter() uint64
- func (mmCreateBuilder *ExpectedMock) CreateBuilderBeforeCounter() uint64
- func (mmGetCensusState *ExpectedMock) GetCensusState() (s1 State)
- func (mmGetCensusState *ExpectedMock) GetCensusStateAfterCounter() uint64
- func (mmGetCensusState *ExpectedMock) GetCensusStateBeforeCounter() uint64
- func (mmGetCloudStateHash *ExpectedMock) GetCloudStateHash() (c1 proofs.CloudStateHash)
- func (mmGetCloudStateHash *ExpectedMock) GetCloudStateHashAfterCounter() uint64
- func (mmGetCloudStateHash *ExpectedMock) GetCloudStateHashBeforeCounter() uint64
- func (mmGetEvictedPopulation *ExpectedMock) GetEvictedPopulation() (e1 EvictedPopulation)
- func (mmGetEvictedPopulation *ExpectedMock) GetEvictedPopulationAfterCounter() uint64
- func (mmGetEvictedPopulation *ExpectedMock) GetEvictedPopulationBeforeCounter() uint64
- func (mmGetExpectedPulseNumber *ExpectedMock) GetExpectedPulseNumber() (n1 pulse.Number)
- func (mmGetExpectedPulseNumber *ExpectedMock) GetExpectedPulseNumberAfterCounter() uint64
- func (mmGetExpectedPulseNumber *ExpectedMock) GetExpectedPulseNumberBeforeCounter() uint64
- func (mmGetGlobulaStateHash *ExpectedMock) GetGlobulaStateHash() (g1 proofs.GlobulaStateHash)
- func (mmGetGlobulaStateHash *ExpectedMock) GetGlobulaStateHashAfterCounter() uint64
- func (mmGetGlobulaStateHash *ExpectedMock) GetGlobulaStateHashBeforeCounter() uint64
- func (mmGetMandateRegistry *ExpectedMock) GetMandateRegistry() (m1 MandateRegistry)
- func (mmGetMandateRegistry *ExpectedMock) GetMandateRegistryAfterCounter() uint64
- func (mmGetMandateRegistry *ExpectedMock) GetMandateRegistryBeforeCounter() uint64
- func (mmGetMisbehaviorRegistry *ExpectedMock) GetMisbehaviorRegistry() (m1 MisbehaviorRegistry)
- func (mmGetMisbehaviorRegistry *ExpectedMock) GetMisbehaviorRegistryAfterCounter() uint64
- func (mmGetMisbehaviorRegistry *ExpectedMock) GetMisbehaviorRegistryBeforeCounter() uint64
- func (mmGetNearestPulseData *ExpectedMock) GetNearestPulseData() (b1 bool, d1 pulse.Data)
- func (mmGetNearestPulseData *ExpectedMock) GetNearestPulseDataAfterCounter() uint64
- func (mmGetNearestPulseData *ExpectedMock) GetNearestPulseDataBeforeCounter() uint64
- func (mmGetOfflinePopulation *ExpectedMock) GetOfflinePopulation() (o1 OfflinePopulation)
- func (mmGetOfflinePopulation *ExpectedMock) GetOfflinePopulationAfterCounter() uint64
- func (mmGetOfflinePopulation *ExpectedMock) GetOfflinePopulationBeforeCounter() uint64
- func (mmGetOnlinePopulation *ExpectedMock) GetOnlinePopulation() (o1 OnlinePopulation)
- func (mmGetOnlinePopulation *ExpectedMock) GetOnlinePopulationAfterCounter() uint64
- func (mmGetOnlinePopulation *ExpectedMock) GetOnlinePopulationBeforeCounter() uint64
- func (mmGetPrevious *ExpectedMock) GetPrevious() (a1 Active)
- func (mmGetPrevious *ExpectedMock) GetPreviousAfterCounter() uint64
- func (mmGetPrevious *ExpectedMock) GetPreviousBeforeCounter() uint64
- func (mmGetProfileFactory *ExpectedMock) GetProfileFactory(ksf cryptkit.KeyStoreFactory) (f1 profiles.Factory)
- func (mmGetProfileFactory *ExpectedMock) GetProfileFactoryAfterCounter() uint64
- func (mmGetProfileFactory *ExpectedMock) GetProfileFactoryBeforeCounter() uint64
- func (mmGetPulseNumber *ExpectedMock) GetPulseNumber() (n1 pulse.Number)
- func (mmGetPulseNumber *ExpectedMock) GetPulseNumberAfterCounter() uint64
- func (mmGetPulseNumber *ExpectedMock) GetPulseNumberBeforeCounter() uint64
- func (mmIsActive *ExpectedMock) IsActive() (b1 bool)
- func (mmIsActive *ExpectedMock) IsActiveAfterCounter() uint64
- func (mmIsActive *ExpectedMock) IsActiveBeforeCounter() uint64
- func (mmMakeActive *ExpectedMock) MakeActive(pd pulse.Data) (a1 Active)
- func (mmMakeActive *ExpectedMock) MakeActiveAfterCounter() uint64
- func (mmMakeActive *ExpectedMock) MakeActiveBeforeCounter() uint64
- func (m *ExpectedMock) MinimockCreateBuilderDone() bool
- func (m *ExpectedMock) MinimockCreateBuilderInspect()
- func (m *ExpectedMock) MinimockFinish()
- func (m *ExpectedMock) MinimockGetCensusStateDone() bool
- func (m *ExpectedMock) MinimockGetCensusStateInspect()
- func (m *ExpectedMock) MinimockGetCloudStateHashDone() bool
- func (m *ExpectedMock) MinimockGetCloudStateHashInspect()
- func (m *ExpectedMock) MinimockGetEvictedPopulationDone() bool
- func (m *ExpectedMock) MinimockGetEvictedPopulationInspect()
- func (m *ExpectedMock) MinimockGetExpectedPulseNumberDone() bool
- func (m *ExpectedMock) MinimockGetExpectedPulseNumberInspect()
- func (m *ExpectedMock) MinimockGetGlobulaStateHashDone() bool
- func (m *ExpectedMock) MinimockGetGlobulaStateHashInspect()
- func (m *ExpectedMock) MinimockGetMandateRegistryDone() bool
- func (m *ExpectedMock) MinimockGetMandateRegistryInspect()
- func (m *ExpectedMock) MinimockGetMisbehaviorRegistryDone() bool
- func (m *ExpectedMock) MinimockGetMisbehaviorRegistryInspect()
- func (m *ExpectedMock) MinimockGetNearestPulseDataDone() bool
- func (m *ExpectedMock) MinimockGetNearestPulseDataInspect()
- func (m *ExpectedMock) MinimockGetOfflinePopulationDone() bool
- func (m *ExpectedMock) MinimockGetOfflinePopulationInspect()
- func (m *ExpectedMock) MinimockGetOnlinePopulationDone() bool
- func (m *ExpectedMock) MinimockGetOnlinePopulationInspect()
- func (m *ExpectedMock) MinimockGetPreviousDone() bool
- func (m *ExpectedMock) MinimockGetPreviousInspect()
- func (m *ExpectedMock) MinimockGetProfileFactoryDone() bool
- func (m *ExpectedMock) MinimockGetProfileFactoryInspect()
- func (m *ExpectedMock) MinimockGetPulseNumberDone() bool
- func (m *ExpectedMock) MinimockGetPulseNumberInspect()
- func (m *ExpectedMock) MinimockIsActiveDone() bool
- func (m *ExpectedMock) MinimockIsActiveInspect()
- func (m *ExpectedMock) MinimockMakeActiveDone() bool
- func (m *ExpectedMock) MinimockMakeActiveInspect()
- func (m *ExpectedMock) MinimockRebuildDone() bool
- func (m *ExpectedMock) MinimockRebuildInspect()
- func (m *ExpectedMock) MinimockWait(timeout mm_time.Duration)
- func (mmRebuild *ExpectedMock) Rebuild(pn pulse.Number) (b1 Built)
- func (mmRebuild *ExpectedMock) RebuildAfterCounter() uint64
- func (mmRebuild *ExpectedMock) RebuildBeforeCounter() uint64
- type ExpectedMockCreateBuilderExpectation
- type ExpectedMockCreateBuilderParams
- type ExpectedMockCreateBuilderResults
- type ExpectedMockGetCensusStateExpectation
- type ExpectedMockGetCensusStateResults
- type ExpectedMockGetCloudStateHashExpectation
- type ExpectedMockGetCloudStateHashResults
- type ExpectedMockGetEvictedPopulationExpectation
- type ExpectedMockGetEvictedPopulationResults
- type ExpectedMockGetExpectedPulseNumberExpectation
- type ExpectedMockGetExpectedPulseNumberResults
- type ExpectedMockGetGlobulaStateHashExpectation
- type ExpectedMockGetGlobulaStateHashResults
- type ExpectedMockGetMandateRegistryExpectation
- type ExpectedMockGetMandateRegistryResults
- type ExpectedMockGetMisbehaviorRegistryExpectation
- type ExpectedMockGetMisbehaviorRegistryResults
- type ExpectedMockGetNearestPulseDataExpectation
- type ExpectedMockGetNearestPulseDataResults
- type ExpectedMockGetOfflinePopulationExpectation
- type ExpectedMockGetOfflinePopulationResults
- type ExpectedMockGetOnlinePopulationExpectation
- type ExpectedMockGetOnlinePopulationResults
- type ExpectedMockGetPreviousExpectation
- type ExpectedMockGetPreviousResults
- type ExpectedMockGetProfileFactoryExpectation
- type ExpectedMockGetProfileFactoryParams
- type ExpectedMockGetProfileFactoryResults
- type ExpectedMockGetPulseNumberExpectation
- type ExpectedMockGetPulseNumberResults
- type ExpectedMockIsActiveExpectation
- type ExpectedMockIsActiveResults
- type ExpectedMockMakeActiveExpectation
- type ExpectedMockMakeActiveParams
- type ExpectedMockMakeActiveResults
- type ExpectedMockRebuildExpectation
- type ExpectedMockRebuildParams
- type ExpectedMockRebuildResults
- type MandateRegistry
- type MandateRegistryMock
- func (mmFindRegisteredProfile *MandateRegistryMock) FindRegisteredProfile(host endpoints.Inbound) (h1 profiles.Host)
- func (mmFindRegisteredProfile *MandateRegistryMock) FindRegisteredProfileAfterCounter() uint64
- func (mmFindRegisteredProfile *MandateRegistryMock) FindRegisteredProfileBeforeCounter() uint64
- func (mmGetCloudIdentity *MandateRegistryMock) GetCloudIdentity() (d1 cryptkit.DigestHolder)
- func (mmGetCloudIdentity *MandateRegistryMock) GetCloudIdentityAfterCounter() uint64
- func (mmGetCloudIdentity *MandateRegistryMock) GetCloudIdentityBeforeCounter() uint64
- func (mmGetConsensusConfiguration *MandateRegistryMock) GetConsensusConfiguration() (c1 ConsensusConfiguration)
- func (mmGetConsensusConfiguration *MandateRegistryMock) GetConsensusConfigurationAfterCounter() uint64
- func (mmGetConsensusConfiguration *MandateRegistryMock) GetConsensusConfigurationBeforeCounter() uint64
- func (mmGetPrimingCloudHash *MandateRegistryMock) GetPrimingCloudHash() (c1 proofs.CloudStateHash)
- func (mmGetPrimingCloudHash *MandateRegistryMock) GetPrimingCloudHashAfterCounter() uint64
- func (mmGetPrimingCloudHash *MandateRegistryMock) GetPrimingCloudHashBeforeCounter() uint64
- func (m *MandateRegistryMock) MinimockFindRegisteredProfileDone() bool
- func (m *MandateRegistryMock) MinimockFindRegisteredProfileInspect()
- func (m *MandateRegistryMock) MinimockFinish()
- func (m *MandateRegistryMock) MinimockGetCloudIdentityDone() bool
- func (m *MandateRegistryMock) MinimockGetCloudIdentityInspect()
- func (m *MandateRegistryMock) MinimockGetConsensusConfigurationDone() bool
- func (m *MandateRegistryMock) MinimockGetConsensusConfigurationInspect()
- func (m *MandateRegistryMock) MinimockGetPrimingCloudHashDone() bool
- func (m *MandateRegistryMock) MinimockGetPrimingCloudHashInspect()
- func (m *MandateRegistryMock) MinimockWait(timeout mm_time.Duration)
- type MandateRegistryMockFindRegisteredProfileExpectation
- type MandateRegistryMockFindRegisteredProfileParams
- type MandateRegistryMockFindRegisteredProfileResults
- type MandateRegistryMockGetCloudIdentityExpectation
- type MandateRegistryMockGetCloudIdentityResults
- type MandateRegistryMockGetConsensusConfigurationExpectation
- type MandateRegistryMockGetConsensusConfigurationResults
- type MandateRegistryMockGetPrimingCloudHashExpectation
- type MandateRegistryMockGetPrimingCloudHashResults
- type MisbehaviorRegistry
- type MisbehaviorRegistryMock
- func (mmAddReport *MisbehaviorRegistryMock) AddReport(report misbehavior.Report)
- func (mmAddReport *MisbehaviorRegistryMock) AddReportAfterCounter() uint64
- func (mmAddReport *MisbehaviorRegistryMock) AddReportBeforeCounter() uint64
- func (m *MisbehaviorRegistryMock) MinimockAddReportDone() bool
- func (m *MisbehaviorRegistryMock) MinimockAddReportInspect()
- func (m *MisbehaviorRegistryMock) MinimockFinish()
- func (m *MisbehaviorRegistryMock) MinimockWait(timeout mm_time.Duration)
- type MisbehaviorRegistryMockAddReportExpectation
- type MisbehaviorRegistryMockAddReportParams
- type OfflinePopulation
- type OfflinePopulationMock
- func (mmFindRegisteredProfile *OfflinePopulationMock) FindRegisteredProfile(identity endpoints.Inbound) (h1 profiles.Host)
- func (mmFindRegisteredProfile *OfflinePopulationMock) FindRegisteredProfileAfterCounter() uint64
- func (mmFindRegisteredProfile *OfflinePopulationMock) FindRegisteredProfileBeforeCounter() uint64
- func (m *OfflinePopulationMock) MinimockFindRegisteredProfileDone() bool
- func (m *OfflinePopulationMock) MinimockFindRegisteredProfileInspect()
- func (m *OfflinePopulationMock) MinimockFinish()
- func (m *OfflinePopulationMock) MinimockWait(timeout mm_time.Duration)
- type OfflinePopulationMockFindRegisteredProfileExpectation
- type OfflinePopulationMockFindRegisteredProfileParams
- type OfflinePopulationMockFindRegisteredProfileResults
- type OnlinePopulation
- type OnlinePopulationMock
- func (mmFindProfile *OnlinePopulationMock) FindProfile(nodeID node.ShortNodeID) (a1 profiles.ActiveNode)
- func (mmFindProfile *OnlinePopulationMock) FindProfileAfterCounter() uint64
- func (mmFindProfile *OnlinePopulationMock) FindProfileBeforeCounter() uint64
- func (mmGetIdleCount *OnlinePopulationMock) GetIdleCount() (i1 int)
- func (mmGetIdleCount *OnlinePopulationMock) GetIdleCountAfterCounter() uint64
- func (mmGetIdleCount *OnlinePopulationMock) GetIdleCountBeforeCounter() uint64
- func (mmGetIdleProfiles *OnlinePopulationMock) GetIdleProfiles() (aa1 []profiles.ActiveNode)
- func (mmGetIdleProfiles *OnlinePopulationMock) GetIdleProfilesAfterCounter() uint64
- func (mmGetIdleProfiles *OnlinePopulationMock) GetIdleProfilesBeforeCounter() uint64
- func (mmGetIndexedCapacity *OnlinePopulationMock) GetIndexedCapacity() (i1 int)
- func (mmGetIndexedCapacity *OnlinePopulationMock) GetIndexedCapacityAfterCounter() uint64
- func (mmGetIndexedCapacity *OnlinePopulationMock) GetIndexedCapacityBeforeCounter() uint64
- func (mmGetIndexedCount *OnlinePopulationMock) GetIndexedCount() (i1 int)
- func (mmGetIndexedCount *OnlinePopulationMock) GetIndexedCountAfterCounter() uint64
- func (mmGetIndexedCount *OnlinePopulationMock) GetIndexedCountBeforeCounter() uint64
- func (mmGetLocalProfile *OnlinePopulationMock) GetLocalProfile() (l1 profiles.LocalNode)
- func (mmGetLocalProfile *OnlinePopulationMock) GetLocalProfileAfterCounter() uint64
- func (mmGetLocalProfile *OnlinePopulationMock) GetLocalProfileBeforeCounter() uint64
- func (mmGetMistrustedCount *OnlinePopulationMock) GetMistrustedCount() (i1 int)
- func (mmGetMistrustedCount *OnlinePopulationMock) GetMistrustedCountAfterCounter() uint64
- func (mmGetMistrustedCount *OnlinePopulationMock) GetMistrustedCountBeforeCounter() uint64
- func (mmGetPoweredProfiles *OnlinePopulationMock) GetPoweredProfiles() (aa1 []profiles.ActiveNode)
- func (mmGetPoweredProfiles *OnlinePopulationMock) GetPoweredProfilesAfterCounter() uint64
- func (mmGetPoweredProfiles *OnlinePopulationMock) GetPoweredProfilesBeforeCounter() uint64
- func (mmGetPoweredRoles *OnlinePopulationMock) GetPoweredRoles() (pa1 []member.PrimaryRole)
- func (mmGetPoweredRoles *OnlinePopulationMock) GetPoweredRolesAfterCounter() uint64
- func (mmGetPoweredRoles *OnlinePopulationMock) GetPoweredRolesBeforeCounter() uint64
- func (mmGetProfile *OnlinePopulationMock) GetProfile(index member.Index) (a1 profiles.ActiveNode)
- func (mmGetProfile *OnlinePopulationMock) GetProfileAfterCounter() uint64
- func (mmGetProfile *OnlinePopulationMock) GetProfileBeforeCounter() uint64
- func (mmGetProfiles *OnlinePopulationMock) GetProfiles() (aa1 []profiles.ActiveNode)
- func (mmGetProfiles *OnlinePopulationMock) GetProfilesAfterCounter() uint64
- func (mmGetProfiles *OnlinePopulationMock) GetProfilesBeforeCounter() uint64
- func (mmGetRolePopulation *OnlinePopulationMock) GetRolePopulation(role member.PrimaryRole) (r1 RolePopulation)
- func (mmGetRolePopulation *OnlinePopulationMock) GetRolePopulationAfterCounter() uint64
- func (mmGetRolePopulation *OnlinePopulationMock) GetRolePopulationBeforeCounter() uint64
- func (mmGetSuspendedCount *OnlinePopulationMock) GetSuspendedCount() (i1 int)
- func (mmGetSuspendedCount *OnlinePopulationMock) GetSuspendedCountAfterCounter() uint64
- func (mmGetSuspendedCount *OnlinePopulationMock) GetSuspendedCountBeforeCounter() uint64
- func (mmIsClean *OnlinePopulationMock) IsClean() (b1 bool)
- func (mmIsClean *OnlinePopulationMock) IsCleanAfterCounter() uint64
- func (mmIsClean *OnlinePopulationMock) IsCleanBeforeCounter() uint64
- func (mmIsValid *OnlinePopulationMock) IsValid() (b1 bool)
- func (mmIsValid *OnlinePopulationMock) IsValidAfterCounter() uint64
- func (mmIsValid *OnlinePopulationMock) IsValidBeforeCounter() uint64
- func (m *OnlinePopulationMock) MinimockFindProfileDone() bool
- func (m *OnlinePopulationMock) MinimockFindProfileInspect()
- func (m *OnlinePopulationMock) MinimockFinish()
- func (m *OnlinePopulationMock) MinimockGetIdleCountDone() bool
- func (m *OnlinePopulationMock) MinimockGetIdleCountInspect()
- func (m *OnlinePopulationMock) MinimockGetIdleProfilesDone() bool
- func (m *OnlinePopulationMock) MinimockGetIdleProfilesInspect()
- func (m *OnlinePopulationMock) MinimockGetIndexedCapacityDone() bool
- func (m *OnlinePopulationMock) MinimockGetIndexedCapacityInspect()
- func (m *OnlinePopulationMock) MinimockGetIndexedCountDone() bool
- func (m *OnlinePopulationMock) MinimockGetIndexedCountInspect()
- func (m *OnlinePopulationMock) MinimockGetLocalProfileDone() bool
- func (m *OnlinePopulationMock) MinimockGetLocalProfileInspect()
- func (m *OnlinePopulationMock) MinimockGetMistrustedCountDone() bool
- func (m *OnlinePopulationMock) MinimockGetMistrustedCountInspect()
- func (m *OnlinePopulationMock) MinimockGetPoweredProfilesDone() bool
- func (m *OnlinePopulationMock) MinimockGetPoweredProfilesInspect()
- func (m *OnlinePopulationMock) MinimockGetPoweredRolesDone() bool
- func (m *OnlinePopulationMock) MinimockGetPoweredRolesInspect()
- func (m *OnlinePopulationMock) MinimockGetProfileDone() bool
- func (m *OnlinePopulationMock) MinimockGetProfileInspect()
- func (m *OnlinePopulationMock) MinimockGetProfilesDone() bool
- func (m *OnlinePopulationMock) MinimockGetProfilesInspect()
- func (m *OnlinePopulationMock) MinimockGetRolePopulationDone() bool
- func (m *OnlinePopulationMock) MinimockGetRolePopulationInspect()
- func (m *OnlinePopulationMock) MinimockGetSuspendedCountDone() bool
- func (m *OnlinePopulationMock) MinimockGetSuspendedCountInspect()
- func (m *OnlinePopulationMock) MinimockIsCleanDone() bool
- func (m *OnlinePopulationMock) MinimockIsCleanInspect()
- func (m *OnlinePopulationMock) MinimockIsValidDone() bool
- func (m *OnlinePopulationMock) MinimockIsValidInspect()
- func (m *OnlinePopulationMock) MinimockWait(timeout mm_time.Duration)
- type OnlinePopulationMockFindProfileExpectation
- type OnlinePopulationMockFindProfileParams
- type OnlinePopulationMockFindProfileResults
- type OnlinePopulationMockGetIdleCountExpectation
- type OnlinePopulationMockGetIdleCountResults
- type OnlinePopulationMockGetIdleProfilesExpectation
- type OnlinePopulationMockGetIdleProfilesResults
- type OnlinePopulationMockGetIndexedCapacityExpectation
- type OnlinePopulationMockGetIndexedCapacityResults
- type OnlinePopulationMockGetIndexedCountExpectation
- type OnlinePopulationMockGetIndexedCountResults
- type OnlinePopulationMockGetLocalProfileExpectation
- type OnlinePopulationMockGetLocalProfileResults
- type OnlinePopulationMockGetMistrustedCountExpectation
- type OnlinePopulationMockGetMistrustedCountResults
- type OnlinePopulationMockGetPoweredProfilesExpectation
- type OnlinePopulationMockGetPoweredProfilesResults
- type OnlinePopulationMockGetPoweredRolesExpectation
- type OnlinePopulationMockGetPoweredRolesResults
- type OnlinePopulationMockGetProfileExpectation
- type OnlinePopulationMockGetProfileParams
- type OnlinePopulationMockGetProfileResults
- type OnlinePopulationMockGetProfilesExpectation
- type OnlinePopulationMockGetProfilesResults
- type OnlinePopulationMockGetRolePopulationExpectation
- type OnlinePopulationMockGetRolePopulationParams
- type OnlinePopulationMockGetRolePopulationResults
- type OnlinePopulationMockGetSuspendedCountExpectation
- type OnlinePopulationMockGetSuspendedCountResults
- type OnlinePopulationMockIsCleanExpectation
- type OnlinePopulationMockIsCleanResults
- type OnlinePopulationMockIsValidExpectation
- type OnlinePopulationMockIsValidResults
- type Operational
- type PopulationBuilder
- type Prime
- type Pulse
- type RecoverableErrorTypes
- type RolePopulation
- type RolePopulationMock
- func (mmGetAssignmentByCount *RolePopulationMock) GetAssignmentByCount(metric uint64, excludeID node.ShortNodeID) (assigned profiles.ActiveNode, excluded profiles.ActiveNode)
- func (mmGetAssignmentByCount *RolePopulationMock) GetAssignmentByCountAfterCounter() uint64
- func (mmGetAssignmentByCount *RolePopulationMock) GetAssignmentByCountBeforeCounter() uint64
- func (mmGetAssignmentByPower *RolePopulationMock) GetAssignmentByPower(metric uint64, excludeID node.ShortNodeID) (assigned profiles.ActiveNode, excluded profiles.ActiveNode)
- func (mmGetAssignmentByPower *RolePopulationMock) GetAssignmentByPowerAfterCounter() uint64
- func (mmGetAssignmentByPower *RolePopulationMock) GetAssignmentByPowerBeforeCounter() uint64
- func (mmGetIdleCount *RolePopulationMock) GetIdleCount() (i1 int)
- func (mmGetIdleCount *RolePopulationMock) GetIdleCountAfterCounter() uint64
- func (mmGetIdleCount *RolePopulationMock) GetIdleCountBeforeCounter() uint64
- func (mmGetPrimaryRole *RolePopulationMock) GetPrimaryRole() (p1 member.PrimaryRole)
- func (mmGetPrimaryRole *RolePopulationMock) GetPrimaryRoleAfterCounter() uint64
- func (mmGetPrimaryRole *RolePopulationMock) GetPrimaryRoleBeforeCounter() uint64
- func (mmGetProfiles *RolePopulationMock) GetProfiles() (aa1 []profiles.ActiveNode)
- func (mmGetProfiles *RolePopulationMock) GetProfilesAfterCounter() uint64
- func (mmGetProfiles *RolePopulationMock) GetProfilesBeforeCounter() uint64
- func (mmGetWorkingCount *RolePopulationMock) GetWorkingCount() (i1 int)
- func (mmGetWorkingCount *RolePopulationMock) GetWorkingCountAfterCounter() uint64
- func (mmGetWorkingCount *RolePopulationMock) GetWorkingCountBeforeCounter() uint64
- func (mmGetWorkingPower *RolePopulationMock) GetWorkingPower() (u1 uint32)
- func (mmGetWorkingPower *RolePopulationMock) GetWorkingPowerAfterCounter() uint64
- func (mmGetWorkingPower *RolePopulationMock) GetWorkingPowerBeforeCounter() uint64
- func (mmIsValid *RolePopulationMock) IsValid() (b1 bool)
- func (mmIsValid *RolePopulationMock) IsValidAfterCounter() uint64
- func (mmIsValid *RolePopulationMock) IsValidBeforeCounter() uint64
- func (m *RolePopulationMock) MinimockFinish()
- func (m *RolePopulationMock) MinimockGetAssignmentByCountDone() bool
- func (m *RolePopulationMock) MinimockGetAssignmentByCountInspect()
- func (m *RolePopulationMock) MinimockGetAssignmentByPowerDone() bool
- func (m *RolePopulationMock) MinimockGetAssignmentByPowerInspect()
- func (m *RolePopulationMock) MinimockGetIdleCountDone() bool
- func (m *RolePopulationMock) MinimockGetIdleCountInspect()
- func (m *RolePopulationMock) MinimockGetPrimaryRoleDone() bool
- func (m *RolePopulationMock) MinimockGetPrimaryRoleInspect()
- func (m *RolePopulationMock) MinimockGetProfilesDone() bool
- func (m *RolePopulationMock) MinimockGetProfilesInspect()
- func (m *RolePopulationMock) MinimockGetWorkingCountDone() bool
- func (m *RolePopulationMock) MinimockGetWorkingCountInspect()
- func (m *RolePopulationMock) MinimockGetWorkingPowerDone() bool
- func (m *RolePopulationMock) MinimockGetWorkingPowerInspect()
- func (m *RolePopulationMock) MinimockIsValidDone() bool
- func (m *RolePopulationMock) MinimockIsValidInspect()
- func (m *RolePopulationMock) MinimockWait(timeout mm_time.Duration)
- type RolePopulationMockGetAssignmentByCountExpectation
- type RolePopulationMockGetAssignmentByCountParams
- type RolePopulationMockGetAssignmentByCountResults
- type RolePopulationMockGetAssignmentByPowerExpectation
- type RolePopulationMockGetAssignmentByPowerParams
- type RolePopulationMockGetAssignmentByPowerResults
- type RolePopulationMockGetIdleCountExpectation
- type RolePopulationMockGetIdleCountResults
- type RolePopulationMockGetPrimaryRoleExpectation
- type RolePopulationMockGetPrimaryRoleResults
- type RolePopulationMockGetProfilesExpectation
- type RolePopulationMockGetProfilesResults
- type RolePopulationMockGetWorkingCountExpectation
- type RolePopulationMockGetWorkingCountResults
- type RolePopulationMockGetWorkingPowerExpectation
- type RolePopulationMockGetWorkingPowerResults
- type RolePopulationMockIsValidExpectation
- type RolePopulationMockIsValidResults
- type State
- type VersionedRegistries
- type VersionedRegistriesMock
- func (mmCommitNextPulse *VersionedRegistriesMock) CommitNextPulse(pd pulse.Data, population OnlinePopulation) (v1 VersionedRegistries)
- func (mmCommitNextPulse *VersionedRegistriesMock) CommitNextPulseAfterCounter() uint64
- func (mmCommitNextPulse *VersionedRegistriesMock) CommitNextPulseBeforeCounter() uint64
- func (mmGetMandateRegistry *VersionedRegistriesMock) GetMandateRegistry() (m1 MandateRegistry)
- func (mmGetMandateRegistry *VersionedRegistriesMock) GetMandateRegistryAfterCounter() uint64
- func (mmGetMandateRegistry *VersionedRegistriesMock) GetMandateRegistryBeforeCounter() uint64
- func (mmGetMisbehaviorRegistry *VersionedRegistriesMock) GetMisbehaviorRegistry() (m1 MisbehaviorRegistry)
- func (mmGetMisbehaviorRegistry *VersionedRegistriesMock) GetMisbehaviorRegistryAfterCounter() uint64
- func (mmGetMisbehaviorRegistry *VersionedRegistriesMock) GetMisbehaviorRegistryBeforeCounter() uint64
- func (mmGetNearestValidPulseData *VersionedRegistriesMock) GetNearestValidPulseData() (d1 pulse.Data)
- func (mmGetNearestValidPulseData *VersionedRegistriesMock) GetNearestValidPulseDataAfterCounter() uint64
- func (mmGetNearestValidPulseData *VersionedRegistriesMock) GetNearestValidPulseDataBeforeCounter() uint64
- func (mmGetOfflinePopulation *VersionedRegistriesMock) GetOfflinePopulation() (o1 OfflinePopulation)
- func (mmGetOfflinePopulation *VersionedRegistriesMock) GetOfflinePopulationAfterCounter() uint64
- func (mmGetOfflinePopulation *VersionedRegistriesMock) GetOfflinePopulationBeforeCounter() uint64
- func (mmGetVersionPulseData *VersionedRegistriesMock) GetVersionPulseData() (d1 pulse.Data)
- func (mmGetVersionPulseData *VersionedRegistriesMock) GetVersionPulseDataAfterCounter() uint64
- func (mmGetVersionPulseData *VersionedRegistriesMock) GetVersionPulseDataBeforeCounter() uint64
- func (m *VersionedRegistriesMock) MinimockCommitNextPulseDone() bool
- func (m *VersionedRegistriesMock) MinimockCommitNextPulseInspect()
- func (m *VersionedRegistriesMock) MinimockFinish()
- func (m *VersionedRegistriesMock) MinimockGetMandateRegistryDone() bool
- func (m *VersionedRegistriesMock) MinimockGetMandateRegistryInspect()
- func (m *VersionedRegistriesMock) MinimockGetMisbehaviorRegistryDone() bool
- func (m *VersionedRegistriesMock) MinimockGetMisbehaviorRegistryInspect()
- func (m *VersionedRegistriesMock) MinimockGetNearestValidPulseDataDone() bool
- func (m *VersionedRegistriesMock) MinimockGetNearestValidPulseDataInspect()
- func (m *VersionedRegistriesMock) MinimockGetOfflinePopulationDone() bool
- func (m *VersionedRegistriesMock) MinimockGetOfflinePopulationInspect()
- func (m *VersionedRegistriesMock) MinimockGetVersionPulseDataDone() bool
- func (m *VersionedRegistriesMock) MinimockGetVersionPulseDataInspect()
- func (m *VersionedRegistriesMock) MinimockWait(timeout mm_time.Duration)
- type VersionedRegistriesMockCommitNextPulseExpectation
- type VersionedRegistriesMockCommitNextPulseParams
- type VersionedRegistriesMockCommitNextPulseResults
- type VersionedRegistriesMockGetMandateRegistryExpectation
- type VersionedRegistriesMockGetMandateRegistryResults
- type VersionedRegistriesMockGetMisbehaviorRegistryExpectation
- type VersionedRegistriesMockGetMisbehaviorRegistryResults
- type VersionedRegistriesMockGetNearestValidPulseDataExpectation
- type VersionedRegistriesMockGetNearestValidPulseDataResults
- type VersionedRegistriesMockGetOfflinePopulationExpectation
- type VersionedRegistriesMockGetOfflinePopulationResults
- type VersionedRegistriesMockGetVersionPulseDataExpectation
- type VersionedRegistriesMockGetVersionPulseDataResults
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Active ¶
type Active interface { Operational GetPulseData() pulse.Data }
type ActiveMock ¶
type ActiveMock struct { CreateBuilderMock mActiveMockCreateBuilder GetCensusStateMock mActiveMockGetCensusState GetCloudStateHashMock mActiveMockGetCloudStateHash GetEvictedPopulationMock mActiveMockGetEvictedPopulation GetExpectedPulseNumberMock mActiveMockGetExpectedPulseNumber GetGlobulaStateHashMock mActiveMockGetGlobulaStateHash GetMandateRegistryMock mActiveMockGetMandateRegistry GetMisbehaviorRegistryMock mActiveMockGetMisbehaviorRegistry GetNearestPulseDataMock mActiveMockGetNearestPulseData GetOfflinePopulationMock mActiveMockGetOfflinePopulation GetOnlinePopulationMock mActiveMockGetOnlinePopulation GetProfileFactoryMock mActiveMockGetProfileFactory GetPulseDataMock mActiveMockGetPulseData GetPulseNumberMock mActiveMockGetPulseNumber IsActiveMock mActiveMockIsActive // contains filtered or unexported fields }
ActiveMock implements Active
func NewActiveMock ¶
func NewActiveMock(t minimock.Tester) *ActiveMock
NewActiveMock returns a mock for Active
func (*ActiveMock) CreateBuilder ¶
CreateBuilder implements Active
func (*ActiveMock) CreateBuilderAfterCounter ¶
func (mmCreateBuilder *ActiveMock) CreateBuilderAfterCounter() uint64
CreateBuilderAfterCounter returns a count of finished ActiveMock.CreateBuilder invocations
func (*ActiveMock) CreateBuilderBeforeCounter ¶
func (mmCreateBuilder *ActiveMock) CreateBuilderBeforeCounter() uint64
CreateBuilderBeforeCounter returns a count of ActiveMock.CreateBuilder invocations
func (*ActiveMock) GetCensusState ¶
func (mmGetCensusState *ActiveMock) GetCensusState() (s1 State)
GetCensusState implements Active
func (*ActiveMock) GetCensusStateAfterCounter ¶
func (mmGetCensusState *ActiveMock) GetCensusStateAfterCounter() uint64
GetCensusStateAfterCounter returns a count of finished ActiveMock.GetCensusState invocations
func (*ActiveMock) GetCensusStateBeforeCounter ¶
func (mmGetCensusState *ActiveMock) GetCensusStateBeforeCounter() uint64
GetCensusStateBeforeCounter returns a count of ActiveMock.GetCensusState invocations
func (*ActiveMock) GetCloudStateHash ¶
func (mmGetCloudStateHash *ActiveMock) GetCloudStateHash() (c1 proofs.CloudStateHash)
GetCloudStateHash implements Active
func (*ActiveMock) GetCloudStateHashAfterCounter ¶
func (mmGetCloudStateHash *ActiveMock) GetCloudStateHashAfterCounter() uint64
GetCloudStateHashAfterCounter returns a count of finished ActiveMock.GetCloudStateHash invocations
func (*ActiveMock) GetCloudStateHashBeforeCounter ¶
func (mmGetCloudStateHash *ActiveMock) GetCloudStateHashBeforeCounter() uint64
GetCloudStateHashBeforeCounter returns a count of ActiveMock.GetCloudStateHash invocations
func (*ActiveMock) GetEvictedPopulation ¶
func (mmGetEvictedPopulation *ActiveMock) GetEvictedPopulation() (e1 EvictedPopulation)
GetEvictedPopulation implements Active
func (*ActiveMock) GetEvictedPopulationAfterCounter ¶
func (mmGetEvictedPopulation *ActiveMock) GetEvictedPopulationAfterCounter() uint64
GetEvictedPopulationAfterCounter returns a count of finished ActiveMock.GetEvictedPopulation invocations
func (*ActiveMock) GetEvictedPopulationBeforeCounter ¶
func (mmGetEvictedPopulation *ActiveMock) GetEvictedPopulationBeforeCounter() uint64
GetEvictedPopulationBeforeCounter returns a count of ActiveMock.GetEvictedPopulation invocations
func (*ActiveMock) GetExpectedPulseNumber ¶
func (mmGetExpectedPulseNumber *ActiveMock) GetExpectedPulseNumber() (n1 pulse.Number)
GetExpectedPulseNumber implements Active
func (*ActiveMock) GetExpectedPulseNumberAfterCounter ¶
func (mmGetExpectedPulseNumber *ActiveMock) GetExpectedPulseNumberAfterCounter() uint64
GetExpectedPulseNumberAfterCounter returns a count of finished ActiveMock.GetExpectedPulseNumber invocations
func (*ActiveMock) GetExpectedPulseNumberBeforeCounter ¶
func (mmGetExpectedPulseNumber *ActiveMock) GetExpectedPulseNumberBeforeCounter() uint64
GetExpectedPulseNumberBeforeCounter returns a count of ActiveMock.GetExpectedPulseNumber invocations
func (*ActiveMock) GetGlobulaStateHash ¶
func (mmGetGlobulaStateHash *ActiveMock) GetGlobulaStateHash() (g1 proofs.GlobulaStateHash)
GetGlobulaStateHash implements Active
func (*ActiveMock) GetGlobulaStateHashAfterCounter ¶
func (mmGetGlobulaStateHash *ActiveMock) GetGlobulaStateHashAfterCounter() uint64
GetGlobulaStateHashAfterCounter returns a count of finished ActiveMock.GetGlobulaStateHash invocations
func (*ActiveMock) GetGlobulaStateHashBeforeCounter ¶
func (mmGetGlobulaStateHash *ActiveMock) GetGlobulaStateHashBeforeCounter() uint64
GetGlobulaStateHashBeforeCounter returns a count of ActiveMock.GetGlobulaStateHash invocations
func (*ActiveMock) GetMandateRegistry ¶
func (mmGetMandateRegistry *ActiveMock) GetMandateRegistry() (m1 MandateRegistry)
GetMandateRegistry implements Active
func (*ActiveMock) GetMandateRegistryAfterCounter ¶
func (mmGetMandateRegistry *ActiveMock) GetMandateRegistryAfterCounter() uint64
GetMandateRegistryAfterCounter returns a count of finished ActiveMock.GetMandateRegistry invocations
func (*ActiveMock) GetMandateRegistryBeforeCounter ¶
func (mmGetMandateRegistry *ActiveMock) GetMandateRegistryBeforeCounter() uint64
GetMandateRegistryBeforeCounter returns a count of ActiveMock.GetMandateRegistry invocations
func (*ActiveMock) GetMisbehaviorRegistry ¶
func (mmGetMisbehaviorRegistry *ActiveMock) GetMisbehaviorRegistry() (m1 MisbehaviorRegistry)
GetMisbehaviorRegistry implements Active
func (*ActiveMock) GetMisbehaviorRegistryAfterCounter ¶
func (mmGetMisbehaviorRegistry *ActiveMock) GetMisbehaviorRegistryAfterCounter() uint64
GetMisbehaviorRegistryAfterCounter returns a count of finished ActiveMock.GetMisbehaviorRegistry invocations
func (*ActiveMock) GetMisbehaviorRegistryBeforeCounter ¶
func (mmGetMisbehaviorRegistry *ActiveMock) GetMisbehaviorRegistryBeforeCounter() uint64
GetMisbehaviorRegistryBeforeCounter returns a count of ActiveMock.GetMisbehaviorRegistry invocations
func (*ActiveMock) GetNearestPulseData ¶
func (mmGetNearestPulseData *ActiveMock) GetNearestPulseData() (b1 bool, d1 pulse.Data)
GetNearestPulseData implements Active
func (*ActiveMock) GetNearestPulseDataAfterCounter ¶
func (mmGetNearestPulseData *ActiveMock) GetNearestPulseDataAfterCounter() uint64
GetNearestPulseDataAfterCounter returns a count of finished ActiveMock.GetNearestPulseData invocations
func (*ActiveMock) GetNearestPulseDataBeforeCounter ¶
func (mmGetNearestPulseData *ActiveMock) GetNearestPulseDataBeforeCounter() uint64
GetNearestPulseDataBeforeCounter returns a count of ActiveMock.GetNearestPulseData invocations
func (*ActiveMock) GetOfflinePopulation ¶
func (mmGetOfflinePopulation *ActiveMock) GetOfflinePopulation() (o1 OfflinePopulation)
GetOfflinePopulation implements Active
func (*ActiveMock) GetOfflinePopulationAfterCounter ¶
func (mmGetOfflinePopulation *ActiveMock) GetOfflinePopulationAfterCounter() uint64
GetOfflinePopulationAfterCounter returns a count of finished ActiveMock.GetOfflinePopulation invocations
func (*ActiveMock) GetOfflinePopulationBeforeCounter ¶
func (mmGetOfflinePopulation *ActiveMock) GetOfflinePopulationBeforeCounter() uint64
GetOfflinePopulationBeforeCounter returns a count of ActiveMock.GetOfflinePopulation invocations
func (*ActiveMock) GetOnlinePopulation ¶
func (mmGetOnlinePopulation *ActiveMock) GetOnlinePopulation() (o1 OnlinePopulation)
GetOnlinePopulation implements Active
func (*ActiveMock) GetOnlinePopulationAfterCounter ¶
func (mmGetOnlinePopulation *ActiveMock) GetOnlinePopulationAfterCounter() uint64
GetOnlinePopulationAfterCounter returns a count of finished ActiveMock.GetOnlinePopulation invocations
func (*ActiveMock) GetOnlinePopulationBeforeCounter ¶
func (mmGetOnlinePopulation *ActiveMock) GetOnlinePopulationBeforeCounter() uint64
GetOnlinePopulationBeforeCounter returns a count of ActiveMock.GetOnlinePopulation invocations
func (*ActiveMock) GetProfileFactory ¶
func (mmGetProfileFactory *ActiveMock) GetProfileFactory(ksf cryptkit.KeyStoreFactory) (f1 profiles.Factory)
GetProfileFactory implements Active
func (*ActiveMock) GetProfileFactoryAfterCounter ¶
func (mmGetProfileFactory *ActiveMock) GetProfileFactoryAfterCounter() uint64
GetProfileFactoryAfterCounter returns a count of finished ActiveMock.GetProfileFactory invocations
func (*ActiveMock) GetProfileFactoryBeforeCounter ¶
func (mmGetProfileFactory *ActiveMock) GetProfileFactoryBeforeCounter() uint64
GetProfileFactoryBeforeCounter returns a count of ActiveMock.GetProfileFactory invocations
func (*ActiveMock) GetPulseData ¶
func (mmGetPulseData *ActiveMock) GetPulseData() (d1 pulse.Data)
GetPulseData implements Active
func (*ActiveMock) GetPulseDataAfterCounter ¶
func (mmGetPulseData *ActiveMock) GetPulseDataAfterCounter() uint64
GetPulseDataAfterCounter returns a count of finished ActiveMock.GetPulseData invocations
func (*ActiveMock) GetPulseDataBeforeCounter ¶
func (mmGetPulseData *ActiveMock) GetPulseDataBeforeCounter() uint64
GetPulseDataBeforeCounter returns a count of ActiveMock.GetPulseData invocations
func (*ActiveMock) GetPulseNumber ¶
func (mmGetPulseNumber *ActiveMock) GetPulseNumber() (n1 pulse.Number)
GetPulseNumber implements Active
func (*ActiveMock) GetPulseNumberAfterCounter ¶
func (mmGetPulseNumber *ActiveMock) GetPulseNumberAfterCounter() uint64
GetPulseNumberAfterCounter returns a count of finished ActiveMock.GetPulseNumber invocations
func (*ActiveMock) GetPulseNumberBeforeCounter ¶
func (mmGetPulseNumber *ActiveMock) GetPulseNumberBeforeCounter() uint64
GetPulseNumberBeforeCounter returns a count of ActiveMock.GetPulseNumber invocations
func (*ActiveMock) IsActive ¶
func (mmIsActive *ActiveMock) IsActive() (b1 bool)
IsActive implements Active
func (*ActiveMock) IsActiveAfterCounter ¶
func (mmIsActive *ActiveMock) IsActiveAfterCounter() uint64
IsActiveAfterCounter returns a count of finished ActiveMock.IsActive invocations
func (*ActiveMock) IsActiveBeforeCounter ¶
func (mmIsActive *ActiveMock) IsActiveBeforeCounter() uint64
IsActiveBeforeCounter returns a count of ActiveMock.IsActive invocations
func (*ActiveMock) MinimockCreateBuilderDone ¶
func (m *ActiveMock) MinimockCreateBuilderDone() bool
MinimockCreateBuilderDone returns true if the count of the CreateBuilder invocations corresponds the number of defined expectations
func (*ActiveMock) MinimockCreateBuilderInspect ¶
func (m *ActiveMock) MinimockCreateBuilderInspect()
MinimockCreateBuilderInspect logs each unmet expectation
func (*ActiveMock) MinimockFinish ¶
func (m *ActiveMock) MinimockFinish()
MinimockFinish checks that all mocked methods have been called the expected number of times
func (*ActiveMock) MinimockGetCensusStateDone ¶
func (m *ActiveMock) MinimockGetCensusStateDone() bool
MinimockGetCensusStateDone returns true if the count of the GetCensusState invocations corresponds the number of defined expectations
func (*ActiveMock) MinimockGetCensusStateInspect ¶
func (m *ActiveMock) MinimockGetCensusStateInspect()
MinimockGetCensusStateInspect logs each unmet expectation
func (*ActiveMock) MinimockGetCloudStateHashDone ¶
func (m *ActiveMock) MinimockGetCloudStateHashDone() bool
MinimockGetCloudStateHashDone returns true if the count of the GetCloudStateHash invocations corresponds the number of defined expectations
func (*ActiveMock) MinimockGetCloudStateHashInspect ¶
func (m *ActiveMock) MinimockGetCloudStateHashInspect()
MinimockGetCloudStateHashInspect logs each unmet expectation
func (*ActiveMock) MinimockGetEvictedPopulationDone ¶
func (m *ActiveMock) MinimockGetEvictedPopulationDone() bool
MinimockGetEvictedPopulationDone returns true if the count of the GetEvictedPopulation invocations corresponds the number of defined expectations
func (*ActiveMock) MinimockGetEvictedPopulationInspect ¶
func (m *ActiveMock) MinimockGetEvictedPopulationInspect()
MinimockGetEvictedPopulationInspect logs each unmet expectation
func (*ActiveMock) MinimockGetExpectedPulseNumberDone ¶
func (m *ActiveMock) MinimockGetExpectedPulseNumberDone() bool
MinimockGetExpectedPulseNumberDone returns true if the count of the GetExpectedPulseNumber invocations corresponds the number of defined expectations
func (*ActiveMock) MinimockGetExpectedPulseNumberInspect ¶
func (m *ActiveMock) MinimockGetExpectedPulseNumberInspect()
MinimockGetExpectedPulseNumberInspect logs each unmet expectation
func (*ActiveMock) MinimockGetGlobulaStateHashDone ¶
func (m *ActiveMock) MinimockGetGlobulaStateHashDone() bool
MinimockGetGlobulaStateHashDone returns true if the count of the GetGlobulaStateHash invocations corresponds the number of defined expectations
func (*ActiveMock) MinimockGetGlobulaStateHashInspect ¶
func (m *ActiveMock) MinimockGetGlobulaStateHashInspect()
MinimockGetGlobulaStateHashInspect logs each unmet expectation
func (*ActiveMock) MinimockGetMandateRegistryDone ¶
func (m *ActiveMock) MinimockGetMandateRegistryDone() bool
MinimockGetMandateRegistryDone returns true if the count of the GetMandateRegistry invocations corresponds the number of defined expectations
func (*ActiveMock) MinimockGetMandateRegistryInspect ¶
func (m *ActiveMock) MinimockGetMandateRegistryInspect()
MinimockGetMandateRegistryInspect logs each unmet expectation
func (*ActiveMock) MinimockGetMisbehaviorRegistryDone ¶
func (m *ActiveMock) MinimockGetMisbehaviorRegistryDone() bool
MinimockGetMisbehaviorRegistryDone returns true if the count of the GetMisbehaviorRegistry invocations corresponds the number of defined expectations
func (*ActiveMock) MinimockGetMisbehaviorRegistryInspect ¶
func (m *ActiveMock) MinimockGetMisbehaviorRegistryInspect()
MinimockGetMisbehaviorRegistryInspect logs each unmet expectation
func (*ActiveMock) MinimockGetNearestPulseDataDone ¶
func (m *ActiveMock) MinimockGetNearestPulseDataDone() bool
MinimockGetNearestPulseDataDone returns true if the count of the GetNearestPulseData invocations corresponds the number of defined expectations
func (*ActiveMock) MinimockGetNearestPulseDataInspect ¶
func (m *ActiveMock) MinimockGetNearestPulseDataInspect()
MinimockGetNearestPulseDataInspect logs each unmet expectation
func (*ActiveMock) MinimockGetOfflinePopulationDone ¶
func (m *ActiveMock) MinimockGetOfflinePopulationDone() bool
MinimockGetOfflinePopulationDone returns true if the count of the GetOfflinePopulation invocations corresponds the number of defined expectations
func (*ActiveMock) MinimockGetOfflinePopulationInspect ¶
func (m *ActiveMock) MinimockGetOfflinePopulationInspect()
MinimockGetOfflinePopulationInspect logs each unmet expectation
func (*ActiveMock) MinimockGetOnlinePopulationDone ¶
func (m *ActiveMock) MinimockGetOnlinePopulationDone() bool
MinimockGetOnlinePopulationDone returns true if the count of the GetOnlinePopulation invocations corresponds the number of defined expectations
func (*ActiveMock) MinimockGetOnlinePopulationInspect ¶
func (m *ActiveMock) MinimockGetOnlinePopulationInspect()
MinimockGetOnlinePopulationInspect logs each unmet expectation
func (*ActiveMock) MinimockGetProfileFactoryDone ¶
func (m *ActiveMock) MinimockGetProfileFactoryDone() bool
MinimockGetProfileFactoryDone returns true if the count of the GetProfileFactory invocations corresponds the number of defined expectations
func (*ActiveMock) MinimockGetProfileFactoryInspect ¶
func (m *ActiveMock) MinimockGetProfileFactoryInspect()
MinimockGetProfileFactoryInspect logs each unmet expectation
func (*ActiveMock) MinimockGetPulseDataDone ¶
func (m *ActiveMock) MinimockGetPulseDataDone() bool
MinimockGetPulseDataDone returns true if the count of the GetPulseData invocations corresponds the number of defined expectations
func (*ActiveMock) MinimockGetPulseDataInspect ¶
func (m *ActiveMock) MinimockGetPulseDataInspect()
MinimockGetPulseDataInspect logs each unmet expectation
func (*ActiveMock) MinimockGetPulseNumberDone ¶
func (m *ActiveMock) MinimockGetPulseNumberDone() bool
MinimockGetPulseNumberDone returns true if the count of the GetPulseNumber invocations corresponds the number of defined expectations
func (*ActiveMock) MinimockGetPulseNumberInspect ¶
func (m *ActiveMock) MinimockGetPulseNumberInspect()
MinimockGetPulseNumberInspect logs each unmet expectation
func (*ActiveMock) MinimockIsActiveDone ¶
func (m *ActiveMock) MinimockIsActiveDone() bool
MinimockIsActiveDone returns true if the count of the IsActive invocations corresponds the number of defined expectations
func (*ActiveMock) MinimockIsActiveInspect ¶
func (m *ActiveMock) MinimockIsActiveInspect()
MinimockIsActiveInspect logs each unmet expectation
func (*ActiveMock) MinimockWait ¶
func (m *ActiveMock) MinimockWait(timeout mm_time.Duration)
MinimockWait waits for all mocked methods to be called the expected number of times
type ActiveMockCreateBuilderExpectation ¶
type ActiveMockCreateBuilderExpectation struct { Counter uint64 // contains filtered or unexported fields }
ActiveMockCreateBuilderExpectation specifies expectation struct of the Active.CreateBuilder
func (*ActiveMockCreateBuilderExpectation) Then ¶
func (e *ActiveMockCreateBuilderExpectation) Then(b1 Builder) *ActiveMock
Then sets up Active.CreateBuilder return parameters for the expectation previously defined by the When method
type ActiveMockCreateBuilderParams ¶
type ActiveMockCreateBuilderParams struct {
// contains filtered or unexported fields
}
ActiveMockCreateBuilderParams contains parameters of the Active.CreateBuilder
type ActiveMockCreateBuilderResults ¶
type ActiveMockCreateBuilderResults struct {
// contains filtered or unexported fields
}
ActiveMockCreateBuilderResults contains results of the Active.CreateBuilder
type ActiveMockGetCensusStateExpectation ¶
type ActiveMockGetCensusStateExpectation struct { Counter uint64 // contains filtered or unexported fields }
ActiveMockGetCensusStateExpectation specifies expectation struct of the Active.GetCensusState
type ActiveMockGetCensusStateResults ¶
type ActiveMockGetCensusStateResults struct {
// contains filtered or unexported fields
}
ActiveMockGetCensusStateResults contains results of the Active.GetCensusState
type ActiveMockGetCloudStateHashExpectation ¶
type ActiveMockGetCloudStateHashExpectation struct { Counter uint64 // contains filtered or unexported fields }
ActiveMockGetCloudStateHashExpectation specifies expectation struct of the Active.GetCloudStateHash
type ActiveMockGetCloudStateHashResults ¶
type ActiveMockGetCloudStateHashResults struct {
// contains filtered or unexported fields
}
ActiveMockGetCloudStateHashResults contains results of the Active.GetCloudStateHash
type ActiveMockGetEvictedPopulationExpectation ¶
type ActiveMockGetEvictedPopulationExpectation struct { Counter uint64 // contains filtered or unexported fields }
ActiveMockGetEvictedPopulationExpectation specifies expectation struct of the Active.GetEvictedPopulation
type ActiveMockGetEvictedPopulationResults ¶
type ActiveMockGetEvictedPopulationResults struct {
// contains filtered or unexported fields
}
ActiveMockGetEvictedPopulationResults contains results of the Active.GetEvictedPopulation
type ActiveMockGetExpectedPulseNumberExpectation ¶
type ActiveMockGetExpectedPulseNumberExpectation struct { Counter uint64 // contains filtered or unexported fields }
ActiveMockGetExpectedPulseNumberExpectation specifies expectation struct of the Active.GetExpectedPulseNumber
type ActiveMockGetExpectedPulseNumberResults ¶
type ActiveMockGetExpectedPulseNumberResults struct {
// contains filtered or unexported fields
}
ActiveMockGetExpectedPulseNumberResults contains results of the Active.GetExpectedPulseNumber
type ActiveMockGetGlobulaStateHashExpectation ¶
type ActiveMockGetGlobulaStateHashExpectation struct { Counter uint64 // contains filtered or unexported fields }
ActiveMockGetGlobulaStateHashExpectation specifies expectation struct of the Active.GetGlobulaStateHash
type ActiveMockGetGlobulaStateHashResults ¶
type ActiveMockGetGlobulaStateHashResults struct {
// contains filtered or unexported fields
}
ActiveMockGetGlobulaStateHashResults contains results of the Active.GetGlobulaStateHash
type ActiveMockGetMandateRegistryExpectation ¶
type ActiveMockGetMandateRegistryExpectation struct { Counter uint64 // contains filtered or unexported fields }
ActiveMockGetMandateRegistryExpectation specifies expectation struct of the Active.GetMandateRegistry
type ActiveMockGetMandateRegistryResults ¶
type ActiveMockGetMandateRegistryResults struct {
// contains filtered or unexported fields
}
ActiveMockGetMandateRegistryResults contains results of the Active.GetMandateRegistry
type ActiveMockGetMisbehaviorRegistryExpectation ¶
type ActiveMockGetMisbehaviorRegistryExpectation struct { Counter uint64 // contains filtered or unexported fields }
ActiveMockGetMisbehaviorRegistryExpectation specifies expectation struct of the Active.GetMisbehaviorRegistry
type ActiveMockGetMisbehaviorRegistryResults ¶
type ActiveMockGetMisbehaviorRegistryResults struct {
// contains filtered or unexported fields
}
ActiveMockGetMisbehaviorRegistryResults contains results of the Active.GetMisbehaviorRegistry
type ActiveMockGetNearestPulseDataExpectation ¶
type ActiveMockGetNearestPulseDataExpectation struct { Counter uint64 // contains filtered or unexported fields }
ActiveMockGetNearestPulseDataExpectation specifies expectation struct of the Active.GetNearestPulseData
type ActiveMockGetNearestPulseDataResults ¶
type ActiveMockGetNearestPulseDataResults struct {
// contains filtered or unexported fields
}
ActiveMockGetNearestPulseDataResults contains results of the Active.GetNearestPulseData
type ActiveMockGetOfflinePopulationExpectation ¶
type ActiveMockGetOfflinePopulationExpectation struct { Counter uint64 // contains filtered or unexported fields }
ActiveMockGetOfflinePopulationExpectation specifies expectation struct of the Active.GetOfflinePopulation
type ActiveMockGetOfflinePopulationResults ¶
type ActiveMockGetOfflinePopulationResults struct {
// contains filtered or unexported fields
}
ActiveMockGetOfflinePopulationResults contains results of the Active.GetOfflinePopulation
type ActiveMockGetOnlinePopulationExpectation ¶
type ActiveMockGetOnlinePopulationExpectation struct { Counter uint64 // contains filtered or unexported fields }
ActiveMockGetOnlinePopulationExpectation specifies expectation struct of the Active.GetOnlinePopulation
type ActiveMockGetOnlinePopulationResults ¶
type ActiveMockGetOnlinePopulationResults struct {
// contains filtered or unexported fields
}
ActiveMockGetOnlinePopulationResults contains results of the Active.GetOnlinePopulation
type ActiveMockGetProfileFactoryExpectation ¶
type ActiveMockGetProfileFactoryExpectation struct { Counter uint64 // contains filtered or unexported fields }
ActiveMockGetProfileFactoryExpectation specifies expectation struct of the Active.GetProfileFactory
func (*ActiveMockGetProfileFactoryExpectation) Then ¶
func (e *ActiveMockGetProfileFactoryExpectation) Then(f1 profiles.Factory) *ActiveMock
Then sets up Active.GetProfileFactory return parameters for the expectation previously defined by the When method
type ActiveMockGetProfileFactoryParams ¶
type ActiveMockGetProfileFactoryParams struct {
// contains filtered or unexported fields
}
ActiveMockGetProfileFactoryParams contains parameters of the Active.GetProfileFactory
type ActiveMockGetProfileFactoryResults ¶
type ActiveMockGetProfileFactoryResults struct {
// contains filtered or unexported fields
}
ActiveMockGetProfileFactoryResults contains results of the Active.GetProfileFactory
type ActiveMockGetPulseDataExpectation ¶
type ActiveMockGetPulseDataExpectation struct { Counter uint64 // contains filtered or unexported fields }
ActiveMockGetPulseDataExpectation specifies expectation struct of the Active.GetPulseData
type ActiveMockGetPulseDataResults ¶
type ActiveMockGetPulseDataResults struct {
// contains filtered or unexported fields
}
ActiveMockGetPulseDataResults contains results of the Active.GetPulseData
type ActiveMockGetPulseNumberExpectation ¶
type ActiveMockGetPulseNumberExpectation struct { Counter uint64 // contains filtered or unexported fields }
ActiveMockGetPulseNumberExpectation specifies expectation struct of the Active.GetPulseNumber
type ActiveMockGetPulseNumberResults ¶
type ActiveMockGetPulseNumberResults struct {
// contains filtered or unexported fields
}
ActiveMockGetPulseNumberResults contains results of the Active.GetPulseNumber
type ActiveMockIsActiveExpectation ¶
type ActiveMockIsActiveExpectation struct { Counter uint64 // contains filtered or unexported fields }
ActiveMockIsActiveExpectation specifies expectation struct of the Active.IsActive
type ActiveMockIsActiveResults ¶
type ActiveMockIsActiveResults struct {
// contains filtered or unexported fields
}
ActiveMockIsActiveResults contains results of the Active.IsActive
type AssignmentFunc ¶
type AssignmentFunc = func(metric uint64, excludeID node.ShortNodeID) (assigned, excluded profiles.ActiveNode)
type Builder ¶
type Builder interface { GetPopulationBuilder() PopulationBuilder // GetCensusState() State GetPulseNumber() pulse.Number GetGlobulaStateHash() proofs.GlobulaStateHash SetGlobulaStateHash(gsh proofs.GlobulaStateHash) SealCensus() IsSealed() bool Build(csh proofs.CloudStateHash) Built BuildAsBroken(csh proofs.CloudStateHash) Built }
type Built ¶
type Built interface { GetOnlinePopulation() OnlinePopulation GetEvictedPopulation() EvictedPopulation GetGlobulaStateHash() proofs.GlobulaStateHash GetCloudStateHash() proofs.CloudStateHash GetNearestPulseData() (bool, pulse.Data) Update(csh proofs.CloudStateHash, gsh proofs.GlobulaStateHash) Built MakeExpected() Expected }
type ConsensusConfiguration ¶
type ConsensusConfiguration interface { }
type EvictedPopulation ¶
type EvictedPopulation interface { /* when the relevant online population is !IsValid() then not all nodes can be accessed by nodeID */ FindProfile(nodeID node.ShortNodeID) profiles.EvictedNode GetCount() int /* slice will never contain nil. when the relevant online population is !IsValid() then it will also include erroneous nodes */ GetProfiles() []profiles.EvictedNode IsValid() bool GetDetectedErrors() RecoverableErrorTypes }
type EvictedPopulationMock ¶
type EvictedPopulationMock struct { FindProfileMock mEvictedPopulationMockFindProfile GetCountMock mEvictedPopulationMockGetCount GetDetectedErrorsMock mEvictedPopulationMockGetDetectedErrors GetProfilesMock mEvictedPopulationMockGetProfiles IsValidMock mEvictedPopulationMockIsValid // contains filtered or unexported fields }
EvictedPopulationMock implements EvictedPopulation
func NewEvictedPopulationMock ¶
func NewEvictedPopulationMock(t minimock.Tester) *EvictedPopulationMock
NewEvictedPopulationMock returns a mock for EvictedPopulation
func (*EvictedPopulationMock) FindProfile ¶
func (mmFindProfile *EvictedPopulationMock) FindProfile(nodeID node.ShortNodeID) (e1 profiles.EvictedNode)
FindProfile implements EvictedPopulation
func (*EvictedPopulationMock) FindProfileAfterCounter ¶
func (mmFindProfile *EvictedPopulationMock) FindProfileAfterCounter() uint64
FindProfileAfterCounter returns a count of finished EvictedPopulationMock.FindProfile invocations
func (*EvictedPopulationMock) FindProfileBeforeCounter ¶
func (mmFindProfile *EvictedPopulationMock) FindProfileBeforeCounter() uint64
FindProfileBeforeCounter returns a count of EvictedPopulationMock.FindProfile invocations
func (*EvictedPopulationMock) GetCount ¶
func (mmGetCount *EvictedPopulationMock) GetCount() (i1 int)
GetCount implements EvictedPopulation
func (*EvictedPopulationMock) GetCountAfterCounter ¶
func (mmGetCount *EvictedPopulationMock) GetCountAfterCounter() uint64
GetCountAfterCounter returns a count of finished EvictedPopulationMock.GetCount invocations
func (*EvictedPopulationMock) GetCountBeforeCounter ¶
func (mmGetCount *EvictedPopulationMock) GetCountBeforeCounter() uint64
GetCountBeforeCounter returns a count of EvictedPopulationMock.GetCount invocations
func (*EvictedPopulationMock) GetDetectedErrors ¶
func (mmGetDetectedErrors *EvictedPopulationMock) GetDetectedErrors() (r1 RecoverableErrorTypes)
GetDetectedErrors implements EvictedPopulation
func (*EvictedPopulationMock) GetDetectedErrorsAfterCounter ¶
func (mmGetDetectedErrors *EvictedPopulationMock) GetDetectedErrorsAfterCounter() uint64
GetDetectedErrorsAfterCounter returns a count of finished EvictedPopulationMock.GetDetectedErrors invocations
func (*EvictedPopulationMock) GetDetectedErrorsBeforeCounter ¶
func (mmGetDetectedErrors *EvictedPopulationMock) GetDetectedErrorsBeforeCounter() uint64
GetDetectedErrorsBeforeCounter returns a count of EvictedPopulationMock.GetDetectedErrors invocations
func (*EvictedPopulationMock) GetProfiles ¶
func (mmGetProfiles *EvictedPopulationMock) GetProfiles() (ea1 []profiles.EvictedNode)
GetProfiles implements EvictedPopulation
func (*EvictedPopulationMock) GetProfilesAfterCounter ¶
func (mmGetProfiles *EvictedPopulationMock) GetProfilesAfterCounter() uint64
GetProfilesAfterCounter returns a count of finished EvictedPopulationMock.GetProfiles invocations
func (*EvictedPopulationMock) GetProfilesBeforeCounter ¶
func (mmGetProfiles *EvictedPopulationMock) GetProfilesBeforeCounter() uint64
GetProfilesBeforeCounter returns a count of EvictedPopulationMock.GetProfiles invocations
func (*EvictedPopulationMock) IsValid ¶
func (mmIsValid *EvictedPopulationMock) IsValid() (b1 bool)
IsValid implements EvictedPopulation
func (*EvictedPopulationMock) IsValidAfterCounter ¶
func (mmIsValid *EvictedPopulationMock) IsValidAfterCounter() uint64
IsValidAfterCounter returns a count of finished EvictedPopulationMock.IsValid invocations
func (*EvictedPopulationMock) IsValidBeforeCounter ¶
func (mmIsValid *EvictedPopulationMock) IsValidBeforeCounter() uint64
IsValidBeforeCounter returns a count of EvictedPopulationMock.IsValid invocations
func (*EvictedPopulationMock) MinimockFindProfileDone ¶
func (m *EvictedPopulationMock) MinimockFindProfileDone() bool
MinimockFindProfileDone returns true if the count of the FindProfile invocations corresponds the number of defined expectations
func (*EvictedPopulationMock) MinimockFindProfileInspect ¶
func (m *EvictedPopulationMock) MinimockFindProfileInspect()
MinimockFindProfileInspect logs each unmet expectation
func (*EvictedPopulationMock) MinimockFinish ¶
func (m *EvictedPopulationMock) MinimockFinish()
MinimockFinish checks that all mocked methods have been called the expected number of times
func (*EvictedPopulationMock) MinimockGetCountDone ¶
func (m *EvictedPopulationMock) MinimockGetCountDone() bool
MinimockGetCountDone returns true if the count of the GetCount invocations corresponds the number of defined expectations
func (*EvictedPopulationMock) MinimockGetCountInspect ¶
func (m *EvictedPopulationMock) MinimockGetCountInspect()
MinimockGetCountInspect logs each unmet expectation
func (*EvictedPopulationMock) MinimockGetDetectedErrorsDone ¶
func (m *EvictedPopulationMock) MinimockGetDetectedErrorsDone() bool
MinimockGetDetectedErrorsDone returns true if the count of the GetDetectedErrors invocations corresponds the number of defined expectations
func (*EvictedPopulationMock) MinimockGetDetectedErrorsInspect ¶
func (m *EvictedPopulationMock) MinimockGetDetectedErrorsInspect()
MinimockGetDetectedErrorsInspect logs each unmet expectation
func (*EvictedPopulationMock) MinimockGetProfilesDone ¶
func (m *EvictedPopulationMock) MinimockGetProfilesDone() bool
MinimockGetProfilesDone returns true if the count of the GetProfiles invocations corresponds the number of defined expectations
func (*EvictedPopulationMock) MinimockGetProfilesInspect ¶
func (m *EvictedPopulationMock) MinimockGetProfilesInspect()
MinimockGetProfilesInspect logs each unmet expectation
func (*EvictedPopulationMock) MinimockIsValidDone ¶
func (m *EvictedPopulationMock) MinimockIsValidDone() bool
MinimockIsValidDone returns true if the count of the IsValid invocations corresponds the number of defined expectations
func (*EvictedPopulationMock) MinimockIsValidInspect ¶
func (m *EvictedPopulationMock) MinimockIsValidInspect()
MinimockIsValidInspect logs each unmet expectation
func (*EvictedPopulationMock) MinimockWait ¶
func (m *EvictedPopulationMock) MinimockWait(timeout mm_time.Duration)
MinimockWait waits for all mocked methods to be called the expected number of times
type EvictedPopulationMockFindProfileExpectation ¶
type EvictedPopulationMockFindProfileExpectation struct { Counter uint64 // contains filtered or unexported fields }
EvictedPopulationMockFindProfileExpectation specifies expectation struct of the EvictedPopulation.FindProfile
func (*EvictedPopulationMockFindProfileExpectation) Then ¶
func (e *EvictedPopulationMockFindProfileExpectation) Then(e1 profiles.EvictedNode) *EvictedPopulationMock
Then sets up EvictedPopulation.FindProfile return parameters for the expectation previously defined by the When method
type EvictedPopulationMockFindProfileParams ¶
type EvictedPopulationMockFindProfileParams struct {
// contains filtered or unexported fields
}
EvictedPopulationMockFindProfileParams contains parameters of the EvictedPopulation.FindProfile
type EvictedPopulationMockFindProfileResults ¶
type EvictedPopulationMockFindProfileResults struct {
// contains filtered or unexported fields
}
EvictedPopulationMockFindProfileResults contains results of the EvictedPopulation.FindProfile
type EvictedPopulationMockGetCountExpectation ¶
type EvictedPopulationMockGetCountExpectation struct { Counter uint64 // contains filtered or unexported fields }
EvictedPopulationMockGetCountExpectation specifies expectation struct of the EvictedPopulation.GetCount
type EvictedPopulationMockGetCountResults ¶
type EvictedPopulationMockGetCountResults struct {
// contains filtered or unexported fields
}
EvictedPopulationMockGetCountResults contains results of the EvictedPopulation.GetCount
type EvictedPopulationMockGetDetectedErrorsExpectation ¶
type EvictedPopulationMockGetDetectedErrorsExpectation struct { Counter uint64 // contains filtered or unexported fields }
EvictedPopulationMockGetDetectedErrorsExpectation specifies expectation struct of the EvictedPopulation.GetDetectedErrors
type EvictedPopulationMockGetDetectedErrorsResults ¶
type EvictedPopulationMockGetDetectedErrorsResults struct {
// contains filtered or unexported fields
}
EvictedPopulationMockGetDetectedErrorsResults contains results of the EvictedPopulation.GetDetectedErrors
type EvictedPopulationMockGetProfilesExpectation ¶
type EvictedPopulationMockGetProfilesExpectation struct { Counter uint64 // contains filtered or unexported fields }
EvictedPopulationMockGetProfilesExpectation specifies expectation struct of the EvictedPopulation.GetProfiles
type EvictedPopulationMockGetProfilesResults ¶
type EvictedPopulationMockGetProfilesResults struct {
// contains filtered or unexported fields
}
EvictedPopulationMockGetProfilesResults contains results of the EvictedPopulation.GetProfiles
type EvictedPopulationMockIsValidExpectation ¶
type EvictedPopulationMockIsValidExpectation struct { Counter uint64 // contains filtered or unexported fields }
EvictedPopulationMockIsValidExpectation specifies expectation struct of the EvictedPopulation.IsValid
type EvictedPopulationMockIsValidResults ¶
type EvictedPopulationMockIsValidResults struct {
// contains filtered or unexported fields
}
EvictedPopulationMockIsValidResults contains results of the EvictedPopulation.IsValid
type ExpectedMock ¶
type ExpectedMock struct { CreateBuilderMock mExpectedMockCreateBuilder GetCensusStateMock mExpectedMockGetCensusState GetCloudStateHashMock mExpectedMockGetCloudStateHash GetEvictedPopulationMock mExpectedMockGetEvictedPopulation GetExpectedPulseNumberMock mExpectedMockGetExpectedPulseNumber GetGlobulaStateHashMock mExpectedMockGetGlobulaStateHash GetMandateRegistryMock mExpectedMockGetMandateRegistry GetMisbehaviorRegistryMock mExpectedMockGetMisbehaviorRegistry GetNearestPulseDataMock mExpectedMockGetNearestPulseData GetOfflinePopulationMock mExpectedMockGetOfflinePopulation GetOnlinePopulationMock mExpectedMockGetOnlinePopulation GetPreviousMock mExpectedMockGetPrevious GetProfileFactoryMock mExpectedMockGetProfileFactory GetPulseNumberMock mExpectedMockGetPulseNumber IsActiveMock mExpectedMockIsActive MakeActiveMock mExpectedMockMakeActive RebuildMock mExpectedMockRebuild // contains filtered or unexported fields }
ExpectedMock implements Expected
func NewExpectedMock ¶
func NewExpectedMock(t minimock.Tester) *ExpectedMock
NewExpectedMock returns a mock for Expected
func (*ExpectedMock) CreateBuilder ¶
func (mmCreateBuilder *ExpectedMock) CreateBuilder(ctx context.Context, pn pulse.Number) (b1 Builder)
CreateBuilder implements Expected
func (*ExpectedMock) CreateBuilderAfterCounter ¶
func (mmCreateBuilder *ExpectedMock) CreateBuilderAfterCounter() uint64
CreateBuilderAfterCounter returns a count of finished ExpectedMock.CreateBuilder invocations
func (*ExpectedMock) CreateBuilderBeforeCounter ¶
func (mmCreateBuilder *ExpectedMock) CreateBuilderBeforeCounter() uint64
CreateBuilderBeforeCounter returns a count of ExpectedMock.CreateBuilder invocations
func (*ExpectedMock) GetCensusState ¶
func (mmGetCensusState *ExpectedMock) GetCensusState() (s1 State)
GetCensusState implements Expected
func (*ExpectedMock) GetCensusStateAfterCounter ¶
func (mmGetCensusState *ExpectedMock) GetCensusStateAfterCounter() uint64
GetCensusStateAfterCounter returns a count of finished ExpectedMock.GetCensusState invocations
func (*ExpectedMock) GetCensusStateBeforeCounter ¶
func (mmGetCensusState *ExpectedMock) GetCensusStateBeforeCounter() uint64
GetCensusStateBeforeCounter returns a count of ExpectedMock.GetCensusState invocations
func (*ExpectedMock) GetCloudStateHash ¶
func (mmGetCloudStateHash *ExpectedMock) GetCloudStateHash() (c1 proofs.CloudStateHash)
GetCloudStateHash implements Expected
func (*ExpectedMock) GetCloudStateHashAfterCounter ¶
func (mmGetCloudStateHash *ExpectedMock) GetCloudStateHashAfterCounter() uint64
GetCloudStateHashAfterCounter returns a count of finished ExpectedMock.GetCloudStateHash invocations
func (*ExpectedMock) GetCloudStateHashBeforeCounter ¶
func (mmGetCloudStateHash *ExpectedMock) GetCloudStateHashBeforeCounter() uint64
GetCloudStateHashBeforeCounter returns a count of ExpectedMock.GetCloudStateHash invocations
func (*ExpectedMock) GetEvictedPopulation ¶
func (mmGetEvictedPopulation *ExpectedMock) GetEvictedPopulation() (e1 EvictedPopulation)
GetEvictedPopulation implements Expected
func (*ExpectedMock) GetEvictedPopulationAfterCounter ¶
func (mmGetEvictedPopulation *ExpectedMock) GetEvictedPopulationAfterCounter() uint64
GetEvictedPopulationAfterCounter returns a count of finished ExpectedMock.GetEvictedPopulation invocations
func (*ExpectedMock) GetEvictedPopulationBeforeCounter ¶
func (mmGetEvictedPopulation *ExpectedMock) GetEvictedPopulationBeforeCounter() uint64
GetEvictedPopulationBeforeCounter returns a count of ExpectedMock.GetEvictedPopulation invocations
func (*ExpectedMock) GetExpectedPulseNumber ¶
func (mmGetExpectedPulseNumber *ExpectedMock) GetExpectedPulseNumber() (n1 pulse.Number)
GetExpectedPulseNumber implements Expected
func (*ExpectedMock) GetExpectedPulseNumberAfterCounter ¶
func (mmGetExpectedPulseNumber *ExpectedMock) GetExpectedPulseNumberAfterCounter() uint64
GetExpectedPulseNumberAfterCounter returns a count of finished ExpectedMock.GetExpectedPulseNumber invocations
func (*ExpectedMock) GetExpectedPulseNumberBeforeCounter ¶
func (mmGetExpectedPulseNumber *ExpectedMock) GetExpectedPulseNumberBeforeCounter() uint64
GetExpectedPulseNumberBeforeCounter returns a count of ExpectedMock.GetExpectedPulseNumber invocations
func (*ExpectedMock) GetGlobulaStateHash ¶
func (mmGetGlobulaStateHash *ExpectedMock) GetGlobulaStateHash() (g1 proofs.GlobulaStateHash)
GetGlobulaStateHash implements Expected
func (*ExpectedMock) GetGlobulaStateHashAfterCounter ¶
func (mmGetGlobulaStateHash *ExpectedMock) GetGlobulaStateHashAfterCounter() uint64
GetGlobulaStateHashAfterCounter returns a count of finished ExpectedMock.GetGlobulaStateHash invocations
func (*ExpectedMock) GetGlobulaStateHashBeforeCounter ¶
func (mmGetGlobulaStateHash *ExpectedMock) GetGlobulaStateHashBeforeCounter() uint64
GetGlobulaStateHashBeforeCounter returns a count of ExpectedMock.GetGlobulaStateHash invocations
func (*ExpectedMock) GetMandateRegistry ¶
func (mmGetMandateRegistry *ExpectedMock) GetMandateRegistry() (m1 MandateRegistry)
GetMandateRegistry implements Expected
func (*ExpectedMock) GetMandateRegistryAfterCounter ¶
func (mmGetMandateRegistry *ExpectedMock) GetMandateRegistryAfterCounter() uint64
GetMandateRegistryAfterCounter returns a count of finished ExpectedMock.GetMandateRegistry invocations
func (*ExpectedMock) GetMandateRegistryBeforeCounter ¶
func (mmGetMandateRegistry *ExpectedMock) GetMandateRegistryBeforeCounter() uint64
GetMandateRegistryBeforeCounter returns a count of ExpectedMock.GetMandateRegistry invocations
func (*ExpectedMock) GetMisbehaviorRegistry ¶
func (mmGetMisbehaviorRegistry *ExpectedMock) GetMisbehaviorRegistry() (m1 MisbehaviorRegistry)
GetMisbehaviorRegistry implements Expected
func (*ExpectedMock) GetMisbehaviorRegistryAfterCounter ¶
func (mmGetMisbehaviorRegistry *ExpectedMock) GetMisbehaviorRegistryAfterCounter() uint64
GetMisbehaviorRegistryAfterCounter returns a count of finished ExpectedMock.GetMisbehaviorRegistry invocations
func (*ExpectedMock) GetMisbehaviorRegistryBeforeCounter ¶
func (mmGetMisbehaviorRegistry *ExpectedMock) GetMisbehaviorRegistryBeforeCounter() uint64
GetMisbehaviorRegistryBeforeCounter returns a count of ExpectedMock.GetMisbehaviorRegistry invocations
func (*ExpectedMock) GetNearestPulseData ¶
func (mmGetNearestPulseData *ExpectedMock) GetNearestPulseData() (b1 bool, d1 pulse.Data)
GetNearestPulseData implements Expected
func (*ExpectedMock) GetNearestPulseDataAfterCounter ¶
func (mmGetNearestPulseData *ExpectedMock) GetNearestPulseDataAfterCounter() uint64
GetNearestPulseDataAfterCounter returns a count of finished ExpectedMock.GetNearestPulseData invocations
func (*ExpectedMock) GetNearestPulseDataBeforeCounter ¶
func (mmGetNearestPulseData *ExpectedMock) GetNearestPulseDataBeforeCounter() uint64
GetNearestPulseDataBeforeCounter returns a count of ExpectedMock.GetNearestPulseData invocations
func (*ExpectedMock) GetOfflinePopulation ¶
func (mmGetOfflinePopulation *ExpectedMock) GetOfflinePopulation() (o1 OfflinePopulation)
GetOfflinePopulation implements Expected
func (*ExpectedMock) GetOfflinePopulationAfterCounter ¶
func (mmGetOfflinePopulation *ExpectedMock) GetOfflinePopulationAfterCounter() uint64
GetOfflinePopulationAfterCounter returns a count of finished ExpectedMock.GetOfflinePopulation invocations
func (*ExpectedMock) GetOfflinePopulationBeforeCounter ¶
func (mmGetOfflinePopulation *ExpectedMock) GetOfflinePopulationBeforeCounter() uint64
GetOfflinePopulationBeforeCounter returns a count of ExpectedMock.GetOfflinePopulation invocations
func (*ExpectedMock) GetOnlinePopulation ¶
func (mmGetOnlinePopulation *ExpectedMock) GetOnlinePopulation() (o1 OnlinePopulation)
GetOnlinePopulation implements Expected
func (*ExpectedMock) GetOnlinePopulationAfterCounter ¶
func (mmGetOnlinePopulation *ExpectedMock) GetOnlinePopulationAfterCounter() uint64
GetOnlinePopulationAfterCounter returns a count of finished ExpectedMock.GetOnlinePopulation invocations
func (*ExpectedMock) GetOnlinePopulationBeforeCounter ¶
func (mmGetOnlinePopulation *ExpectedMock) GetOnlinePopulationBeforeCounter() uint64
GetOnlinePopulationBeforeCounter returns a count of ExpectedMock.GetOnlinePopulation invocations
func (*ExpectedMock) GetPrevious ¶
func (mmGetPrevious *ExpectedMock) GetPrevious() (a1 Active)
GetPrevious implements Expected
func (*ExpectedMock) GetPreviousAfterCounter ¶
func (mmGetPrevious *ExpectedMock) GetPreviousAfterCounter() uint64
GetPreviousAfterCounter returns a count of finished ExpectedMock.GetPrevious invocations
func (*ExpectedMock) GetPreviousBeforeCounter ¶
func (mmGetPrevious *ExpectedMock) GetPreviousBeforeCounter() uint64
GetPreviousBeforeCounter returns a count of ExpectedMock.GetPrevious invocations
func (*ExpectedMock) GetProfileFactory ¶
func (mmGetProfileFactory *ExpectedMock) GetProfileFactory(ksf cryptkit.KeyStoreFactory) (f1 profiles.Factory)
GetProfileFactory implements Expected
func (*ExpectedMock) GetProfileFactoryAfterCounter ¶
func (mmGetProfileFactory *ExpectedMock) GetProfileFactoryAfterCounter() uint64
GetProfileFactoryAfterCounter returns a count of finished ExpectedMock.GetProfileFactory invocations
func (*ExpectedMock) GetProfileFactoryBeforeCounter ¶
func (mmGetProfileFactory *ExpectedMock) GetProfileFactoryBeforeCounter() uint64
GetProfileFactoryBeforeCounter returns a count of ExpectedMock.GetProfileFactory invocations
func (*ExpectedMock) GetPulseNumber ¶
func (mmGetPulseNumber *ExpectedMock) GetPulseNumber() (n1 pulse.Number)
GetPulseNumber implements Expected
func (*ExpectedMock) GetPulseNumberAfterCounter ¶
func (mmGetPulseNumber *ExpectedMock) GetPulseNumberAfterCounter() uint64
GetPulseNumberAfterCounter returns a count of finished ExpectedMock.GetPulseNumber invocations
func (*ExpectedMock) GetPulseNumberBeforeCounter ¶
func (mmGetPulseNumber *ExpectedMock) GetPulseNumberBeforeCounter() uint64
GetPulseNumberBeforeCounter returns a count of ExpectedMock.GetPulseNumber invocations
func (*ExpectedMock) IsActive ¶
func (mmIsActive *ExpectedMock) IsActive() (b1 bool)
IsActive implements Expected
func (*ExpectedMock) IsActiveAfterCounter ¶
func (mmIsActive *ExpectedMock) IsActiveAfterCounter() uint64
IsActiveAfterCounter returns a count of finished ExpectedMock.IsActive invocations
func (*ExpectedMock) IsActiveBeforeCounter ¶
func (mmIsActive *ExpectedMock) IsActiveBeforeCounter() uint64
IsActiveBeforeCounter returns a count of ExpectedMock.IsActive invocations
func (*ExpectedMock) MakeActive ¶
func (mmMakeActive *ExpectedMock) MakeActive(pd pulse.Data) (a1 Active)
MakeActive implements Expected
func (*ExpectedMock) MakeActiveAfterCounter ¶
func (mmMakeActive *ExpectedMock) MakeActiveAfterCounter() uint64
MakeActiveAfterCounter returns a count of finished ExpectedMock.MakeActive invocations
func (*ExpectedMock) MakeActiveBeforeCounter ¶
func (mmMakeActive *ExpectedMock) MakeActiveBeforeCounter() uint64
MakeActiveBeforeCounter returns a count of ExpectedMock.MakeActive invocations
func (*ExpectedMock) MinimockCreateBuilderDone ¶
func (m *ExpectedMock) MinimockCreateBuilderDone() bool
MinimockCreateBuilderDone returns true if the count of the CreateBuilder invocations corresponds the number of defined expectations
func (*ExpectedMock) MinimockCreateBuilderInspect ¶
func (m *ExpectedMock) MinimockCreateBuilderInspect()
MinimockCreateBuilderInspect logs each unmet expectation
func (*ExpectedMock) MinimockFinish ¶
func (m *ExpectedMock) MinimockFinish()
MinimockFinish checks that all mocked methods have been called the expected number of times
func (*ExpectedMock) MinimockGetCensusStateDone ¶
func (m *ExpectedMock) MinimockGetCensusStateDone() bool
MinimockGetCensusStateDone returns true if the count of the GetCensusState invocations corresponds the number of defined expectations
func (*ExpectedMock) MinimockGetCensusStateInspect ¶
func (m *ExpectedMock) MinimockGetCensusStateInspect()
MinimockGetCensusStateInspect logs each unmet expectation
func (*ExpectedMock) MinimockGetCloudStateHashDone ¶
func (m *ExpectedMock) MinimockGetCloudStateHashDone() bool
MinimockGetCloudStateHashDone returns true if the count of the GetCloudStateHash invocations corresponds the number of defined expectations
func (*ExpectedMock) MinimockGetCloudStateHashInspect ¶
func (m *ExpectedMock) MinimockGetCloudStateHashInspect()
MinimockGetCloudStateHashInspect logs each unmet expectation
func (*ExpectedMock) MinimockGetEvictedPopulationDone ¶
func (m *ExpectedMock) MinimockGetEvictedPopulationDone() bool
MinimockGetEvictedPopulationDone returns true if the count of the GetEvictedPopulation invocations corresponds the number of defined expectations
func (*ExpectedMock) MinimockGetEvictedPopulationInspect ¶
func (m *ExpectedMock) MinimockGetEvictedPopulationInspect()
MinimockGetEvictedPopulationInspect logs each unmet expectation
func (*ExpectedMock) MinimockGetExpectedPulseNumberDone ¶
func (m *ExpectedMock) MinimockGetExpectedPulseNumberDone() bool
MinimockGetExpectedPulseNumberDone returns true if the count of the GetExpectedPulseNumber invocations corresponds the number of defined expectations
func (*ExpectedMock) MinimockGetExpectedPulseNumberInspect ¶
func (m *ExpectedMock) MinimockGetExpectedPulseNumberInspect()
MinimockGetExpectedPulseNumberInspect logs each unmet expectation
func (*ExpectedMock) MinimockGetGlobulaStateHashDone ¶
func (m *ExpectedMock) MinimockGetGlobulaStateHashDone() bool
MinimockGetGlobulaStateHashDone returns true if the count of the GetGlobulaStateHash invocations corresponds the number of defined expectations
func (*ExpectedMock) MinimockGetGlobulaStateHashInspect ¶
func (m *ExpectedMock) MinimockGetGlobulaStateHashInspect()
MinimockGetGlobulaStateHashInspect logs each unmet expectation
func (*ExpectedMock) MinimockGetMandateRegistryDone ¶
func (m *ExpectedMock) MinimockGetMandateRegistryDone() bool
MinimockGetMandateRegistryDone returns true if the count of the GetMandateRegistry invocations corresponds the number of defined expectations
func (*ExpectedMock) MinimockGetMandateRegistryInspect ¶
func (m *ExpectedMock) MinimockGetMandateRegistryInspect()
MinimockGetMandateRegistryInspect logs each unmet expectation
func (*ExpectedMock) MinimockGetMisbehaviorRegistryDone ¶
func (m *ExpectedMock) MinimockGetMisbehaviorRegistryDone() bool
MinimockGetMisbehaviorRegistryDone returns true if the count of the GetMisbehaviorRegistry invocations corresponds the number of defined expectations
func (*ExpectedMock) MinimockGetMisbehaviorRegistryInspect ¶
func (m *ExpectedMock) MinimockGetMisbehaviorRegistryInspect()
MinimockGetMisbehaviorRegistryInspect logs each unmet expectation
func (*ExpectedMock) MinimockGetNearestPulseDataDone ¶
func (m *ExpectedMock) MinimockGetNearestPulseDataDone() bool
MinimockGetNearestPulseDataDone returns true if the count of the GetNearestPulseData invocations corresponds the number of defined expectations
func (*ExpectedMock) MinimockGetNearestPulseDataInspect ¶
func (m *ExpectedMock) MinimockGetNearestPulseDataInspect()
MinimockGetNearestPulseDataInspect logs each unmet expectation
func (*ExpectedMock) MinimockGetOfflinePopulationDone ¶
func (m *ExpectedMock) MinimockGetOfflinePopulationDone() bool
MinimockGetOfflinePopulationDone returns true if the count of the GetOfflinePopulation invocations corresponds the number of defined expectations
func (*ExpectedMock) MinimockGetOfflinePopulationInspect ¶
func (m *ExpectedMock) MinimockGetOfflinePopulationInspect()
MinimockGetOfflinePopulationInspect logs each unmet expectation
func (*ExpectedMock) MinimockGetOnlinePopulationDone ¶
func (m *ExpectedMock) MinimockGetOnlinePopulationDone() bool
MinimockGetOnlinePopulationDone returns true if the count of the GetOnlinePopulation invocations corresponds the number of defined expectations
func (*ExpectedMock) MinimockGetOnlinePopulationInspect ¶
func (m *ExpectedMock) MinimockGetOnlinePopulationInspect()
MinimockGetOnlinePopulationInspect logs each unmet expectation
func (*ExpectedMock) MinimockGetPreviousDone ¶
func (m *ExpectedMock) MinimockGetPreviousDone() bool
MinimockGetPreviousDone returns true if the count of the GetPrevious invocations corresponds the number of defined expectations
func (*ExpectedMock) MinimockGetPreviousInspect ¶
func (m *ExpectedMock) MinimockGetPreviousInspect()
MinimockGetPreviousInspect logs each unmet expectation
func (*ExpectedMock) MinimockGetProfileFactoryDone ¶
func (m *ExpectedMock) MinimockGetProfileFactoryDone() bool
MinimockGetProfileFactoryDone returns true if the count of the GetProfileFactory invocations corresponds the number of defined expectations
func (*ExpectedMock) MinimockGetProfileFactoryInspect ¶
func (m *ExpectedMock) MinimockGetProfileFactoryInspect()
MinimockGetProfileFactoryInspect logs each unmet expectation
func (*ExpectedMock) MinimockGetPulseNumberDone ¶
func (m *ExpectedMock) MinimockGetPulseNumberDone() bool
MinimockGetPulseNumberDone returns true if the count of the GetPulseNumber invocations corresponds the number of defined expectations
func (*ExpectedMock) MinimockGetPulseNumberInspect ¶
func (m *ExpectedMock) MinimockGetPulseNumberInspect()
MinimockGetPulseNumberInspect logs each unmet expectation
func (*ExpectedMock) MinimockIsActiveDone ¶
func (m *ExpectedMock) MinimockIsActiveDone() bool
MinimockIsActiveDone returns true if the count of the IsActive invocations corresponds the number of defined expectations
func (*ExpectedMock) MinimockIsActiveInspect ¶
func (m *ExpectedMock) MinimockIsActiveInspect()
MinimockIsActiveInspect logs each unmet expectation
func (*ExpectedMock) MinimockMakeActiveDone ¶
func (m *ExpectedMock) MinimockMakeActiveDone() bool
MinimockMakeActiveDone returns true if the count of the MakeActive invocations corresponds the number of defined expectations
func (*ExpectedMock) MinimockMakeActiveInspect ¶
func (m *ExpectedMock) MinimockMakeActiveInspect()
MinimockMakeActiveInspect logs each unmet expectation
func (*ExpectedMock) MinimockRebuildDone ¶
func (m *ExpectedMock) MinimockRebuildDone() bool
MinimockRebuildDone returns true if the count of the Rebuild invocations corresponds the number of defined expectations
func (*ExpectedMock) MinimockRebuildInspect ¶
func (m *ExpectedMock) MinimockRebuildInspect()
MinimockRebuildInspect logs each unmet expectation
func (*ExpectedMock) MinimockWait ¶
func (m *ExpectedMock) MinimockWait(timeout mm_time.Duration)
MinimockWait waits for all mocked methods to be called the expected number of times
func (*ExpectedMock) Rebuild ¶
func (mmRebuild *ExpectedMock) Rebuild(pn pulse.Number) (b1 Built)
Rebuild implements Expected
func (*ExpectedMock) RebuildAfterCounter ¶
func (mmRebuild *ExpectedMock) RebuildAfterCounter() uint64
RebuildAfterCounter returns a count of finished ExpectedMock.Rebuild invocations
func (*ExpectedMock) RebuildBeforeCounter ¶
func (mmRebuild *ExpectedMock) RebuildBeforeCounter() uint64
RebuildBeforeCounter returns a count of ExpectedMock.Rebuild invocations
type ExpectedMockCreateBuilderExpectation ¶
type ExpectedMockCreateBuilderExpectation struct { Counter uint64 // contains filtered or unexported fields }
ExpectedMockCreateBuilderExpectation specifies expectation struct of the Expected.CreateBuilder
func (*ExpectedMockCreateBuilderExpectation) Then ¶
func (e *ExpectedMockCreateBuilderExpectation) Then(b1 Builder) *ExpectedMock
Then sets up Expected.CreateBuilder return parameters for the expectation previously defined by the When method
type ExpectedMockCreateBuilderParams ¶
type ExpectedMockCreateBuilderParams struct {
// contains filtered or unexported fields
}
ExpectedMockCreateBuilderParams contains parameters of the Expected.CreateBuilder
type ExpectedMockCreateBuilderResults ¶
type ExpectedMockCreateBuilderResults struct {
// contains filtered or unexported fields
}
ExpectedMockCreateBuilderResults contains results of the Expected.CreateBuilder
type ExpectedMockGetCensusStateExpectation ¶
type ExpectedMockGetCensusStateExpectation struct { Counter uint64 // contains filtered or unexported fields }
ExpectedMockGetCensusStateExpectation specifies expectation struct of the Expected.GetCensusState
type ExpectedMockGetCensusStateResults ¶
type ExpectedMockGetCensusStateResults struct {
// contains filtered or unexported fields
}
ExpectedMockGetCensusStateResults contains results of the Expected.GetCensusState
type ExpectedMockGetCloudStateHashExpectation ¶
type ExpectedMockGetCloudStateHashExpectation struct { Counter uint64 // contains filtered or unexported fields }
ExpectedMockGetCloudStateHashExpectation specifies expectation struct of the Expected.GetCloudStateHash
type ExpectedMockGetCloudStateHashResults ¶
type ExpectedMockGetCloudStateHashResults struct {
// contains filtered or unexported fields
}
ExpectedMockGetCloudStateHashResults contains results of the Expected.GetCloudStateHash
type ExpectedMockGetEvictedPopulationExpectation ¶
type ExpectedMockGetEvictedPopulationExpectation struct { Counter uint64 // contains filtered or unexported fields }
ExpectedMockGetEvictedPopulationExpectation specifies expectation struct of the Expected.GetEvictedPopulation
type ExpectedMockGetEvictedPopulationResults ¶
type ExpectedMockGetEvictedPopulationResults struct {
// contains filtered or unexported fields
}
ExpectedMockGetEvictedPopulationResults contains results of the Expected.GetEvictedPopulation
type ExpectedMockGetExpectedPulseNumberExpectation ¶
type ExpectedMockGetExpectedPulseNumberExpectation struct { Counter uint64 // contains filtered or unexported fields }
ExpectedMockGetExpectedPulseNumberExpectation specifies expectation struct of the Expected.GetExpectedPulseNumber
type ExpectedMockGetExpectedPulseNumberResults ¶
type ExpectedMockGetExpectedPulseNumberResults struct {
// contains filtered or unexported fields
}
ExpectedMockGetExpectedPulseNumberResults contains results of the Expected.GetExpectedPulseNumber
type ExpectedMockGetGlobulaStateHashExpectation ¶
type ExpectedMockGetGlobulaStateHashExpectation struct { Counter uint64 // contains filtered or unexported fields }
ExpectedMockGetGlobulaStateHashExpectation specifies expectation struct of the Expected.GetGlobulaStateHash
type ExpectedMockGetGlobulaStateHashResults ¶
type ExpectedMockGetGlobulaStateHashResults struct {
// contains filtered or unexported fields
}
ExpectedMockGetGlobulaStateHashResults contains results of the Expected.GetGlobulaStateHash
type ExpectedMockGetMandateRegistryExpectation ¶
type ExpectedMockGetMandateRegistryExpectation struct { Counter uint64 // contains filtered or unexported fields }
ExpectedMockGetMandateRegistryExpectation specifies expectation struct of the Expected.GetMandateRegistry
type ExpectedMockGetMandateRegistryResults ¶
type ExpectedMockGetMandateRegistryResults struct {
// contains filtered or unexported fields
}
ExpectedMockGetMandateRegistryResults contains results of the Expected.GetMandateRegistry
type ExpectedMockGetMisbehaviorRegistryExpectation ¶
type ExpectedMockGetMisbehaviorRegistryExpectation struct { Counter uint64 // contains filtered or unexported fields }
ExpectedMockGetMisbehaviorRegistryExpectation specifies expectation struct of the Expected.GetMisbehaviorRegistry
type ExpectedMockGetMisbehaviorRegistryResults ¶
type ExpectedMockGetMisbehaviorRegistryResults struct {
// contains filtered or unexported fields
}
ExpectedMockGetMisbehaviorRegistryResults contains results of the Expected.GetMisbehaviorRegistry
type ExpectedMockGetNearestPulseDataExpectation ¶
type ExpectedMockGetNearestPulseDataExpectation struct { Counter uint64 // contains filtered or unexported fields }
ExpectedMockGetNearestPulseDataExpectation specifies expectation struct of the Expected.GetNearestPulseData
type ExpectedMockGetNearestPulseDataResults ¶
type ExpectedMockGetNearestPulseDataResults struct {
// contains filtered or unexported fields
}
ExpectedMockGetNearestPulseDataResults contains results of the Expected.GetNearestPulseData
type ExpectedMockGetOfflinePopulationExpectation ¶
type ExpectedMockGetOfflinePopulationExpectation struct { Counter uint64 // contains filtered or unexported fields }
ExpectedMockGetOfflinePopulationExpectation specifies expectation struct of the Expected.GetOfflinePopulation
type ExpectedMockGetOfflinePopulationResults ¶
type ExpectedMockGetOfflinePopulationResults struct {
// contains filtered or unexported fields
}
ExpectedMockGetOfflinePopulationResults contains results of the Expected.GetOfflinePopulation
type ExpectedMockGetOnlinePopulationExpectation ¶
type ExpectedMockGetOnlinePopulationExpectation struct { Counter uint64 // contains filtered or unexported fields }
ExpectedMockGetOnlinePopulationExpectation specifies expectation struct of the Expected.GetOnlinePopulation
type ExpectedMockGetOnlinePopulationResults ¶
type ExpectedMockGetOnlinePopulationResults struct {
// contains filtered or unexported fields
}
ExpectedMockGetOnlinePopulationResults contains results of the Expected.GetOnlinePopulation
type ExpectedMockGetPreviousExpectation ¶
type ExpectedMockGetPreviousExpectation struct { Counter uint64 // contains filtered or unexported fields }
ExpectedMockGetPreviousExpectation specifies expectation struct of the Expected.GetPrevious
type ExpectedMockGetPreviousResults ¶
type ExpectedMockGetPreviousResults struct {
// contains filtered or unexported fields
}
ExpectedMockGetPreviousResults contains results of the Expected.GetPrevious
type ExpectedMockGetProfileFactoryExpectation ¶
type ExpectedMockGetProfileFactoryExpectation struct { Counter uint64 // contains filtered or unexported fields }
ExpectedMockGetProfileFactoryExpectation specifies expectation struct of the Expected.GetProfileFactory
func (*ExpectedMockGetProfileFactoryExpectation) Then ¶
func (e *ExpectedMockGetProfileFactoryExpectation) Then(f1 profiles.Factory) *ExpectedMock
Then sets up Expected.GetProfileFactory return parameters for the expectation previously defined by the When method
type ExpectedMockGetProfileFactoryParams ¶
type ExpectedMockGetProfileFactoryParams struct {
// contains filtered or unexported fields
}
ExpectedMockGetProfileFactoryParams contains parameters of the Expected.GetProfileFactory
type ExpectedMockGetProfileFactoryResults ¶
type ExpectedMockGetProfileFactoryResults struct {
// contains filtered or unexported fields
}
ExpectedMockGetProfileFactoryResults contains results of the Expected.GetProfileFactory
type ExpectedMockGetPulseNumberExpectation ¶
type ExpectedMockGetPulseNumberExpectation struct { Counter uint64 // contains filtered or unexported fields }
ExpectedMockGetPulseNumberExpectation specifies expectation struct of the Expected.GetPulseNumber
type ExpectedMockGetPulseNumberResults ¶
type ExpectedMockGetPulseNumberResults struct {
// contains filtered or unexported fields
}
ExpectedMockGetPulseNumberResults contains results of the Expected.GetPulseNumber
type ExpectedMockIsActiveExpectation ¶
type ExpectedMockIsActiveExpectation struct { Counter uint64 // contains filtered or unexported fields }
ExpectedMockIsActiveExpectation specifies expectation struct of the Expected.IsActive
type ExpectedMockIsActiveResults ¶
type ExpectedMockIsActiveResults struct {
// contains filtered or unexported fields
}
ExpectedMockIsActiveResults contains results of the Expected.IsActive
type ExpectedMockMakeActiveExpectation ¶
type ExpectedMockMakeActiveExpectation struct { Counter uint64 // contains filtered or unexported fields }
ExpectedMockMakeActiveExpectation specifies expectation struct of the Expected.MakeActive
func (*ExpectedMockMakeActiveExpectation) Then ¶
func (e *ExpectedMockMakeActiveExpectation) Then(a1 Active) *ExpectedMock
Then sets up Expected.MakeActive return parameters for the expectation previously defined by the When method
type ExpectedMockMakeActiveParams ¶
type ExpectedMockMakeActiveParams struct {
// contains filtered or unexported fields
}
ExpectedMockMakeActiveParams contains parameters of the Expected.MakeActive
type ExpectedMockMakeActiveResults ¶
type ExpectedMockMakeActiveResults struct {
// contains filtered or unexported fields
}
ExpectedMockMakeActiveResults contains results of the Expected.MakeActive
type ExpectedMockRebuildExpectation ¶
type ExpectedMockRebuildExpectation struct { Counter uint64 // contains filtered or unexported fields }
ExpectedMockRebuildExpectation specifies expectation struct of the Expected.Rebuild
func (*ExpectedMockRebuildExpectation) Then ¶
func (e *ExpectedMockRebuildExpectation) Then(b1 Built) *ExpectedMock
Then sets up Expected.Rebuild return parameters for the expectation previously defined by the When method
type ExpectedMockRebuildParams ¶
type ExpectedMockRebuildParams struct {
// contains filtered or unexported fields
}
ExpectedMockRebuildParams contains parameters of the Expected.Rebuild
type ExpectedMockRebuildResults ¶
type ExpectedMockRebuildResults struct {
// contains filtered or unexported fields
}
ExpectedMockRebuildResults contains results of the Expected.Rebuild
type MandateRegistry ¶
type MandateRegistry interface { FindRegisteredProfile(host endpoints.Inbound) profiles.Host GetPrimingCloudHash() proofs.CloudStateHash GetCloudIdentity() cryptkit.DigestHolder GetConsensusConfiguration() ConsensusConfiguration }
type MandateRegistryMock ¶
type MandateRegistryMock struct { FindRegisteredProfileMock mMandateRegistryMockFindRegisteredProfile GetCloudIdentityMock mMandateRegistryMockGetCloudIdentity GetConsensusConfigurationMock mMandateRegistryMockGetConsensusConfiguration GetPrimingCloudHashMock mMandateRegistryMockGetPrimingCloudHash // contains filtered or unexported fields }
MandateRegistryMock implements MandateRegistry
func NewMandateRegistryMock ¶
func NewMandateRegistryMock(t minimock.Tester) *MandateRegistryMock
NewMandateRegistryMock returns a mock for MandateRegistry
func (*MandateRegistryMock) FindRegisteredProfile ¶
func (mmFindRegisteredProfile *MandateRegistryMock) FindRegisteredProfile(host endpoints.Inbound) (h1 profiles.Host)
FindRegisteredProfile implements MandateRegistry
func (*MandateRegistryMock) FindRegisteredProfileAfterCounter ¶
func (mmFindRegisteredProfile *MandateRegistryMock) FindRegisteredProfileAfterCounter() uint64
FindRegisteredProfileAfterCounter returns a count of finished MandateRegistryMock.FindRegisteredProfile invocations
func (*MandateRegistryMock) FindRegisteredProfileBeforeCounter ¶
func (mmFindRegisteredProfile *MandateRegistryMock) FindRegisteredProfileBeforeCounter() uint64
FindRegisteredProfileBeforeCounter returns a count of MandateRegistryMock.FindRegisteredProfile invocations
func (*MandateRegistryMock) GetCloudIdentity ¶
func (mmGetCloudIdentity *MandateRegistryMock) GetCloudIdentity() (d1 cryptkit.DigestHolder)
GetCloudIdentity implements MandateRegistry
func (*MandateRegistryMock) GetCloudIdentityAfterCounter ¶
func (mmGetCloudIdentity *MandateRegistryMock) GetCloudIdentityAfterCounter() uint64
GetCloudIdentityAfterCounter returns a count of finished MandateRegistryMock.GetCloudIdentity invocations
func (*MandateRegistryMock) GetCloudIdentityBeforeCounter ¶
func (mmGetCloudIdentity *MandateRegistryMock) GetCloudIdentityBeforeCounter() uint64
GetCloudIdentityBeforeCounter returns a count of MandateRegistryMock.GetCloudIdentity invocations
func (*MandateRegistryMock) GetConsensusConfiguration ¶
func (mmGetConsensusConfiguration *MandateRegistryMock) GetConsensusConfiguration() (c1 ConsensusConfiguration)
GetConsensusConfiguration implements MandateRegistry
func (*MandateRegistryMock) GetConsensusConfigurationAfterCounter ¶
func (mmGetConsensusConfiguration *MandateRegistryMock) GetConsensusConfigurationAfterCounter() uint64
GetConsensusConfigurationAfterCounter returns a count of finished MandateRegistryMock.GetConsensusConfiguration invocations
func (*MandateRegistryMock) GetConsensusConfigurationBeforeCounter ¶
func (mmGetConsensusConfiguration *MandateRegistryMock) GetConsensusConfigurationBeforeCounter() uint64
GetConsensusConfigurationBeforeCounter returns a count of MandateRegistryMock.GetConsensusConfiguration invocations
func (*MandateRegistryMock) GetPrimingCloudHash ¶
func (mmGetPrimingCloudHash *MandateRegistryMock) GetPrimingCloudHash() (c1 proofs.CloudStateHash)
GetPrimingCloudHash implements MandateRegistry
func (*MandateRegistryMock) GetPrimingCloudHashAfterCounter ¶
func (mmGetPrimingCloudHash *MandateRegistryMock) GetPrimingCloudHashAfterCounter() uint64
GetPrimingCloudHashAfterCounter returns a count of finished MandateRegistryMock.GetPrimingCloudHash invocations
func (*MandateRegistryMock) GetPrimingCloudHashBeforeCounter ¶
func (mmGetPrimingCloudHash *MandateRegistryMock) GetPrimingCloudHashBeforeCounter() uint64
GetPrimingCloudHashBeforeCounter returns a count of MandateRegistryMock.GetPrimingCloudHash invocations
func (*MandateRegistryMock) MinimockFindRegisteredProfileDone ¶
func (m *MandateRegistryMock) MinimockFindRegisteredProfileDone() bool
MinimockFindRegisteredProfileDone returns true if the count of the FindRegisteredProfile invocations corresponds the number of defined expectations
func (*MandateRegistryMock) MinimockFindRegisteredProfileInspect ¶
func (m *MandateRegistryMock) MinimockFindRegisteredProfileInspect()
MinimockFindRegisteredProfileInspect logs each unmet expectation
func (*MandateRegistryMock) MinimockFinish ¶
func (m *MandateRegistryMock) MinimockFinish()
MinimockFinish checks that all mocked methods have been called the expected number of times
func (*MandateRegistryMock) MinimockGetCloudIdentityDone ¶
func (m *MandateRegistryMock) MinimockGetCloudIdentityDone() bool
MinimockGetCloudIdentityDone returns true if the count of the GetCloudIdentity invocations corresponds the number of defined expectations
func (*MandateRegistryMock) MinimockGetCloudIdentityInspect ¶
func (m *MandateRegistryMock) MinimockGetCloudIdentityInspect()
MinimockGetCloudIdentityInspect logs each unmet expectation
func (*MandateRegistryMock) MinimockGetConsensusConfigurationDone ¶
func (m *MandateRegistryMock) MinimockGetConsensusConfigurationDone() bool
MinimockGetConsensusConfigurationDone returns true if the count of the GetConsensusConfiguration invocations corresponds the number of defined expectations
func (*MandateRegistryMock) MinimockGetConsensusConfigurationInspect ¶
func (m *MandateRegistryMock) MinimockGetConsensusConfigurationInspect()
MinimockGetConsensusConfigurationInspect logs each unmet expectation
func (*MandateRegistryMock) MinimockGetPrimingCloudHashDone ¶
func (m *MandateRegistryMock) MinimockGetPrimingCloudHashDone() bool
MinimockGetPrimingCloudHashDone returns true if the count of the GetPrimingCloudHash invocations corresponds the number of defined expectations
func (*MandateRegistryMock) MinimockGetPrimingCloudHashInspect ¶
func (m *MandateRegistryMock) MinimockGetPrimingCloudHashInspect()
MinimockGetPrimingCloudHashInspect logs each unmet expectation
func (*MandateRegistryMock) MinimockWait ¶
func (m *MandateRegistryMock) MinimockWait(timeout mm_time.Duration)
MinimockWait waits for all mocked methods to be called the expected number of times
type MandateRegistryMockFindRegisteredProfileExpectation ¶
type MandateRegistryMockFindRegisteredProfileExpectation struct { Counter uint64 // contains filtered or unexported fields }
MandateRegistryMockFindRegisteredProfileExpectation specifies expectation struct of the MandateRegistry.FindRegisteredProfile
func (*MandateRegistryMockFindRegisteredProfileExpectation) Then ¶
func (e *MandateRegistryMockFindRegisteredProfileExpectation) Then(h1 profiles.Host) *MandateRegistryMock
Then sets up MandateRegistry.FindRegisteredProfile return parameters for the expectation previously defined by the When method
type MandateRegistryMockFindRegisteredProfileParams ¶
type MandateRegistryMockFindRegisteredProfileParams struct {
// contains filtered or unexported fields
}
MandateRegistryMockFindRegisteredProfileParams contains parameters of the MandateRegistry.FindRegisteredProfile
type MandateRegistryMockFindRegisteredProfileResults ¶
type MandateRegistryMockFindRegisteredProfileResults struct {
// contains filtered or unexported fields
}
MandateRegistryMockFindRegisteredProfileResults contains results of the MandateRegistry.FindRegisteredProfile
type MandateRegistryMockGetCloudIdentityExpectation ¶
type MandateRegistryMockGetCloudIdentityExpectation struct { Counter uint64 // contains filtered or unexported fields }
MandateRegistryMockGetCloudIdentityExpectation specifies expectation struct of the MandateRegistry.GetCloudIdentity
type MandateRegistryMockGetCloudIdentityResults ¶
type MandateRegistryMockGetCloudIdentityResults struct {
// contains filtered or unexported fields
}
MandateRegistryMockGetCloudIdentityResults contains results of the MandateRegistry.GetCloudIdentity
type MandateRegistryMockGetConsensusConfigurationExpectation ¶
type MandateRegistryMockGetConsensusConfigurationExpectation struct { Counter uint64 // contains filtered or unexported fields }
MandateRegistryMockGetConsensusConfigurationExpectation specifies expectation struct of the MandateRegistry.GetConsensusConfiguration
type MandateRegistryMockGetConsensusConfigurationResults ¶
type MandateRegistryMockGetConsensusConfigurationResults struct {
// contains filtered or unexported fields
}
MandateRegistryMockGetConsensusConfigurationResults contains results of the MandateRegistry.GetConsensusConfiguration
type MandateRegistryMockGetPrimingCloudHashExpectation ¶
type MandateRegistryMockGetPrimingCloudHashExpectation struct { Counter uint64 // contains filtered or unexported fields }
MandateRegistryMockGetPrimingCloudHashExpectation specifies expectation struct of the MandateRegistry.GetPrimingCloudHash
type MandateRegistryMockGetPrimingCloudHashResults ¶
type MandateRegistryMockGetPrimingCloudHashResults struct {
// contains filtered or unexported fields
}
MandateRegistryMockGetPrimingCloudHashResults contains results of the MandateRegistry.GetPrimingCloudHash
type MisbehaviorRegistry ¶
type MisbehaviorRegistry interface {
AddReport(report misbehavior.Report)
}
type MisbehaviorRegistryMock ¶
type MisbehaviorRegistryMock struct { AddReportMock mMisbehaviorRegistryMockAddReport // contains filtered or unexported fields }
MisbehaviorRegistryMock implements MisbehaviorRegistry
func NewMisbehaviorRegistryMock ¶
func NewMisbehaviorRegistryMock(t minimock.Tester) *MisbehaviorRegistryMock
NewMisbehaviorRegistryMock returns a mock for MisbehaviorRegistry
func (*MisbehaviorRegistryMock) AddReport ¶
func (mmAddReport *MisbehaviorRegistryMock) AddReport(report misbehavior.Report)
AddReport implements MisbehaviorRegistry
func (*MisbehaviorRegistryMock) AddReportAfterCounter ¶
func (mmAddReport *MisbehaviorRegistryMock) AddReportAfterCounter() uint64
AddReportAfterCounter returns a count of finished MisbehaviorRegistryMock.AddReport invocations
func (*MisbehaviorRegistryMock) AddReportBeforeCounter ¶
func (mmAddReport *MisbehaviorRegistryMock) AddReportBeforeCounter() uint64
AddReportBeforeCounter returns a count of MisbehaviorRegistryMock.AddReport invocations
func (*MisbehaviorRegistryMock) MinimockAddReportDone ¶
func (m *MisbehaviorRegistryMock) MinimockAddReportDone() bool
MinimockAddReportDone returns true if the count of the AddReport invocations corresponds the number of defined expectations
func (*MisbehaviorRegistryMock) MinimockAddReportInspect ¶
func (m *MisbehaviorRegistryMock) MinimockAddReportInspect()
MinimockAddReportInspect logs each unmet expectation
func (*MisbehaviorRegistryMock) MinimockFinish ¶
func (m *MisbehaviorRegistryMock) MinimockFinish()
MinimockFinish checks that all mocked methods have been called the expected number of times
func (*MisbehaviorRegistryMock) MinimockWait ¶
func (m *MisbehaviorRegistryMock) MinimockWait(timeout mm_time.Duration)
MinimockWait waits for all mocked methods to be called the expected number of times
type MisbehaviorRegistryMockAddReportExpectation ¶
type MisbehaviorRegistryMockAddReportExpectation struct { Counter uint64 // contains filtered or unexported fields }
MisbehaviorRegistryMockAddReportExpectation specifies expectation struct of the MisbehaviorRegistry.AddReport
type MisbehaviorRegistryMockAddReportParams ¶
type MisbehaviorRegistryMockAddReportParams struct {
// contains filtered or unexported fields
}
MisbehaviorRegistryMockAddReportParams contains parameters of the MisbehaviorRegistry.AddReport
type OfflinePopulation ¶
type OfflinePopulationMock ¶
type OfflinePopulationMock struct { FindRegisteredProfileMock mOfflinePopulationMockFindRegisteredProfile // contains filtered or unexported fields }
OfflinePopulationMock implements OfflinePopulation
func NewOfflinePopulationMock ¶
func NewOfflinePopulationMock(t minimock.Tester) *OfflinePopulationMock
NewOfflinePopulationMock returns a mock for OfflinePopulation
func (*OfflinePopulationMock) FindRegisteredProfile ¶
func (mmFindRegisteredProfile *OfflinePopulationMock) FindRegisteredProfile(identity endpoints.Inbound) (h1 profiles.Host)
FindRegisteredProfile implements OfflinePopulation
func (*OfflinePopulationMock) FindRegisteredProfileAfterCounter ¶
func (mmFindRegisteredProfile *OfflinePopulationMock) FindRegisteredProfileAfterCounter() uint64
FindRegisteredProfileAfterCounter returns a count of finished OfflinePopulationMock.FindRegisteredProfile invocations
func (*OfflinePopulationMock) FindRegisteredProfileBeforeCounter ¶
func (mmFindRegisteredProfile *OfflinePopulationMock) FindRegisteredProfileBeforeCounter() uint64
FindRegisteredProfileBeforeCounter returns a count of OfflinePopulationMock.FindRegisteredProfile invocations
func (*OfflinePopulationMock) MinimockFindRegisteredProfileDone ¶
func (m *OfflinePopulationMock) MinimockFindRegisteredProfileDone() bool
MinimockFindRegisteredProfileDone returns true if the count of the FindRegisteredProfile invocations corresponds the number of defined expectations
func (*OfflinePopulationMock) MinimockFindRegisteredProfileInspect ¶
func (m *OfflinePopulationMock) MinimockFindRegisteredProfileInspect()
MinimockFindRegisteredProfileInspect logs each unmet expectation
func (*OfflinePopulationMock) MinimockFinish ¶
func (m *OfflinePopulationMock) MinimockFinish()
MinimockFinish checks that all mocked methods have been called the expected number of times
func (*OfflinePopulationMock) MinimockWait ¶
func (m *OfflinePopulationMock) MinimockWait(timeout mm_time.Duration)
MinimockWait waits for all mocked methods to be called the expected number of times
type OfflinePopulationMockFindRegisteredProfileExpectation ¶
type OfflinePopulationMockFindRegisteredProfileExpectation struct { Counter uint64 // contains filtered or unexported fields }
OfflinePopulationMockFindRegisteredProfileExpectation specifies expectation struct of the OfflinePopulation.FindRegisteredProfile
func (*OfflinePopulationMockFindRegisteredProfileExpectation) Then ¶
func (e *OfflinePopulationMockFindRegisteredProfileExpectation) Then(h1 profiles.Host) *OfflinePopulationMock
Then sets up OfflinePopulation.FindRegisteredProfile return parameters for the expectation previously defined by the When method
type OfflinePopulationMockFindRegisteredProfileParams ¶
type OfflinePopulationMockFindRegisteredProfileParams struct {
// contains filtered or unexported fields
}
OfflinePopulationMockFindRegisteredProfileParams contains parameters of the OfflinePopulation.FindRegisteredProfile
type OfflinePopulationMockFindRegisteredProfileResults ¶
type OfflinePopulationMockFindRegisteredProfileResults struct {
// contains filtered or unexported fields
}
OfflinePopulationMockFindRegisteredProfileResults contains results of the OfflinePopulation.FindRegisteredProfile
type OnlinePopulation ¶
type OnlinePopulation interface { FindProfile(nodeID node.ShortNodeID) profiles.ActiveNode // IsValid indicates that this population was built without issues IsValid() bool // IsClean indicates that this population is both valid and does not contain non-operational nodes IsClean() bool // GetIndexedCount gets a number of indexed (valid) nodes in the population GetIndexedCount() int // GetIndexedCapacity indicates the expected size of population. // when IsValid()==true then GetIndexedCapacity() == GetIndexedCount(), otherwise GetIndexedCapacity() >= GetIndexedCount() GetIndexedCapacity() int // GetSuspendedCount returns a number of suspended nodes in the population GetSuspendedCount() int // GetMistrustedCount returns a number of mistrusted nodes in the population GetMistrustedCount() int // GetRolePopulation returns nil for (1) PrimaryRoleInactive, (2) for roles without any members either working or idle GetRolePopulation(role member.PrimaryRole) RolePopulation // GetIdleProfiles returns a list of idle members, irrelevant of their roles. Will return nil when !IsValid(). // Returned slice doesn't contain nil. GetIdleProfiles() []profiles.ActiveNode // GetPoweredProfiles returns a list of non-idle members, irrelevant of their roles. Will return nil when !IsValid(). // Returned slice doesn't contain nil. GetPoweredProfiles() []profiles.ActiveNode // GetIdleCount returns a total number of idle members in the population, irrelevant of their roles. GetIdleCount() int // GetPoweredRoles returns a sorted (starting from the highest role) list of roles with non-idle members. GetPoweredRoles() []member.PrimaryRole // GetProfiles returns a list of nodes of GetIndexedCapacity() size, will contain nil values when GetIndexedCapacity() > GetIndexedCount() GetProfiles() []profiles.ActiveNode // GetProfile returns nil or node for the given index. GetProfile(index member.Index) profiles.ActiveNode // GetLocalProfile returns local node, can be nil when !IsValid(). GetLocalProfile() profiles.LocalNode }
type OnlinePopulationMock ¶
type OnlinePopulationMock struct { FindProfileMock mOnlinePopulationMockFindProfile GetIdleCountMock mOnlinePopulationMockGetIdleCount GetIdleProfilesMock mOnlinePopulationMockGetIdleProfiles GetIndexedCapacityMock mOnlinePopulationMockGetIndexedCapacity GetIndexedCountMock mOnlinePopulationMockGetIndexedCount GetLocalProfileMock mOnlinePopulationMockGetLocalProfile GetMistrustedCountMock mOnlinePopulationMockGetMistrustedCount GetPoweredProfilesMock mOnlinePopulationMockGetPoweredProfiles GetPoweredRolesMock mOnlinePopulationMockGetPoweredRoles GetProfileMock mOnlinePopulationMockGetProfile GetProfilesMock mOnlinePopulationMockGetProfiles GetRolePopulationMock mOnlinePopulationMockGetRolePopulation GetSuspendedCountMock mOnlinePopulationMockGetSuspendedCount IsCleanMock mOnlinePopulationMockIsClean IsValidMock mOnlinePopulationMockIsValid // contains filtered or unexported fields }
OnlinePopulationMock implements OnlinePopulation
func NewOnlinePopulationMock ¶
func NewOnlinePopulationMock(t minimock.Tester) *OnlinePopulationMock
NewOnlinePopulationMock returns a mock for OnlinePopulation
func (*OnlinePopulationMock) FindProfile ¶
func (mmFindProfile *OnlinePopulationMock) FindProfile(nodeID node.ShortNodeID) (a1 profiles.ActiveNode)
FindProfile implements OnlinePopulation
func (*OnlinePopulationMock) FindProfileAfterCounter ¶
func (mmFindProfile *OnlinePopulationMock) FindProfileAfterCounter() uint64
FindProfileAfterCounter returns a count of finished OnlinePopulationMock.FindProfile invocations
func (*OnlinePopulationMock) FindProfileBeforeCounter ¶
func (mmFindProfile *OnlinePopulationMock) FindProfileBeforeCounter() uint64
FindProfileBeforeCounter returns a count of OnlinePopulationMock.FindProfile invocations
func (*OnlinePopulationMock) GetIdleCount ¶
func (mmGetIdleCount *OnlinePopulationMock) GetIdleCount() (i1 int)
GetIdleCount implements OnlinePopulation
func (*OnlinePopulationMock) GetIdleCountAfterCounter ¶
func (mmGetIdleCount *OnlinePopulationMock) GetIdleCountAfterCounter() uint64
GetIdleCountAfterCounter returns a count of finished OnlinePopulationMock.GetIdleCount invocations
func (*OnlinePopulationMock) GetIdleCountBeforeCounter ¶
func (mmGetIdleCount *OnlinePopulationMock) GetIdleCountBeforeCounter() uint64
GetIdleCountBeforeCounter returns a count of OnlinePopulationMock.GetIdleCount invocations
func (*OnlinePopulationMock) GetIdleProfiles ¶
func (mmGetIdleProfiles *OnlinePopulationMock) GetIdleProfiles() (aa1 []profiles.ActiveNode)
GetIdleProfiles implements OnlinePopulation
func (*OnlinePopulationMock) GetIdleProfilesAfterCounter ¶
func (mmGetIdleProfiles *OnlinePopulationMock) GetIdleProfilesAfterCounter() uint64
GetIdleProfilesAfterCounter returns a count of finished OnlinePopulationMock.GetIdleProfiles invocations
func (*OnlinePopulationMock) GetIdleProfilesBeforeCounter ¶
func (mmGetIdleProfiles *OnlinePopulationMock) GetIdleProfilesBeforeCounter() uint64
GetIdleProfilesBeforeCounter returns a count of OnlinePopulationMock.GetIdleProfiles invocations
func (*OnlinePopulationMock) GetIndexedCapacity ¶
func (mmGetIndexedCapacity *OnlinePopulationMock) GetIndexedCapacity() (i1 int)
GetIndexedCapacity implements OnlinePopulation
func (*OnlinePopulationMock) GetIndexedCapacityAfterCounter ¶
func (mmGetIndexedCapacity *OnlinePopulationMock) GetIndexedCapacityAfterCounter() uint64
GetIndexedCapacityAfterCounter returns a count of finished OnlinePopulationMock.GetIndexedCapacity invocations
func (*OnlinePopulationMock) GetIndexedCapacityBeforeCounter ¶
func (mmGetIndexedCapacity *OnlinePopulationMock) GetIndexedCapacityBeforeCounter() uint64
GetIndexedCapacityBeforeCounter returns a count of OnlinePopulationMock.GetIndexedCapacity invocations
func (*OnlinePopulationMock) GetIndexedCount ¶
func (mmGetIndexedCount *OnlinePopulationMock) GetIndexedCount() (i1 int)
GetIndexedCount implements OnlinePopulation
func (*OnlinePopulationMock) GetIndexedCountAfterCounter ¶
func (mmGetIndexedCount *OnlinePopulationMock) GetIndexedCountAfterCounter() uint64
GetIndexedCountAfterCounter returns a count of finished OnlinePopulationMock.GetIndexedCount invocations
func (*OnlinePopulationMock) GetIndexedCountBeforeCounter ¶
func (mmGetIndexedCount *OnlinePopulationMock) GetIndexedCountBeforeCounter() uint64
GetIndexedCountBeforeCounter returns a count of OnlinePopulationMock.GetIndexedCount invocations
func (*OnlinePopulationMock) GetLocalProfile ¶
func (mmGetLocalProfile *OnlinePopulationMock) GetLocalProfile() (l1 profiles.LocalNode)
GetLocalProfile implements OnlinePopulation
func (*OnlinePopulationMock) GetLocalProfileAfterCounter ¶
func (mmGetLocalProfile *OnlinePopulationMock) GetLocalProfileAfterCounter() uint64
GetLocalProfileAfterCounter returns a count of finished OnlinePopulationMock.GetLocalProfile invocations
func (*OnlinePopulationMock) GetLocalProfileBeforeCounter ¶
func (mmGetLocalProfile *OnlinePopulationMock) GetLocalProfileBeforeCounter() uint64
GetLocalProfileBeforeCounter returns a count of OnlinePopulationMock.GetLocalProfile invocations
func (*OnlinePopulationMock) GetMistrustedCount ¶
func (mmGetMistrustedCount *OnlinePopulationMock) GetMistrustedCount() (i1 int)
GetMistrustedCount implements OnlinePopulation
func (*OnlinePopulationMock) GetMistrustedCountAfterCounter ¶
func (mmGetMistrustedCount *OnlinePopulationMock) GetMistrustedCountAfterCounter() uint64
GetMistrustedCountAfterCounter returns a count of finished OnlinePopulationMock.GetMistrustedCount invocations
func (*OnlinePopulationMock) GetMistrustedCountBeforeCounter ¶
func (mmGetMistrustedCount *OnlinePopulationMock) GetMistrustedCountBeforeCounter() uint64
GetMistrustedCountBeforeCounter returns a count of OnlinePopulationMock.GetMistrustedCount invocations
func (*OnlinePopulationMock) GetPoweredProfiles ¶
func (mmGetPoweredProfiles *OnlinePopulationMock) GetPoweredProfiles() (aa1 []profiles.ActiveNode)
GetPoweredProfiles implements OnlinePopulation
func (*OnlinePopulationMock) GetPoweredProfilesAfterCounter ¶
func (mmGetPoweredProfiles *OnlinePopulationMock) GetPoweredProfilesAfterCounter() uint64
GetPoweredProfilesAfterCounter returns a count of finished OnlinePopulationMock.GetPoweredProfiles invocations
func (*OnlinePopulationMock) GetPoweredProfilesBeforeCounter ¶
func (mmGetPoweredProfiles *OnlinePopulationMock) GetPoweredProfilesBeforeCounter() uint64
GetPoweredProfilesBeforeCounter returns a count of OnlinePopulationMock.GetPoweredProfiles invocations
func (*OnlinePopulationMock) GetPoweredRoles ¶
func (mmGetPoweredRoles *OnlinePopulationMock) GetPoweredRoles() (pa1 []member.PrimaryRole)
GetPoweredRoles implements OnlinePopulation
func (*OnlinePopulationMock) GetPoweredRolesAfterCounter ¶
func (mmGetPoweredRoles *OnlinePopulationMock) GetPoweredRolesAfterCounter() uint64
GetPoweredRolesAfterCounter returns a count of finished OnlinePopulationMock.GetPoweredRoles invocations
func (*OnlinePopulationMock) GetPoweredRolesBeforeCounter ¶
func (mmGetPoweredRoles *OnlinePopulationMock) GetPoweredRolesBeforeCounter() uint64
GetPoweredRolesBeforeCounter returns a count of OnlinePopulationMock.GetPoweredRoles invocations
func (*OnlinePopulationMock) GetProfile ¶
func (mmGetProfile *OnlinePopulationMock) GetProfile(index member.Index) (a1 profiles.ActiveNode)
GetProfile implements OnlinePopulation
func (*OnlinePopulationMock) GetProfileAfterCounter ¶
func (mmGetProfile *OnlinePopulationMock) GetProfileAfterCounter() uint64
GetProfileAfterCounter returns a count of finished OnlinePopulationMock.GetProfile invocations
func (*OnlinePopulationMock) GetProfileBeforeCounter ¶
func (mmGetProfile *OnlinePopulationMock) GetProfileBeforeCounter() uint64
GetProfileBeforeCounter returns a count of OnlinePopulationMock.GetProfile invocations
func (*OnlinePopulationMock) GetProfiles ¶
func (mmGetProfiles *OnlinePopulationMock) GetProfiles() (aa1 []profiles.ActiveNode)
GetProfiles implements OnlinePopulation
func (*OnlinePopulationMock) GetProfilesAfterCounter ¶
func (mmGetProfiles *OnlinePopulationMock) GetProfilesAfterCounter() uint64
GetProfilesAfterCounter returns a count of finished OnlinePopulationMock.GetProfiles invocations
func (*OnlinePopulationMock) GetProfilesBeforeCounter ¶
func (mmGetProfiles *OnlinePopulationMock) GetProfilesBeforeCounter() uint64
GetProfilesBeforeCounter returns a count of OnlinePopulationMock.GetProfiles invocations
func (*OnlinePopulationMock) GetRolePopulation ¶
func (mmGetRolePopulation *OnlinePopulationMock) GetRolePopulation(role member.PrimaryRole) (r1 RolePopulation)
GetRolePopulation implements OnlinePopulation
func (*OnlinePopulationMock) GetRolePopulationAfterCounter ¶
func (mmGetRolePopulation *OnlinePopulationMock) GetRolePopulationAfterCounter() uint64
GetRolePopulationAfterCounter returns a count of finished OnlinePopulationMock.GetRolePopulation invocations
func (*OnlinePopulationMock) GetRolePopulationBeforeCounter ¶
func (mmGetRolePopulation *OnlinePopulationMock) GetRolePopulationBeforeCounter() uint64
GetRolePopulationBeforeCounter returns a count of OnlinePopulationMock.GetRolePopulation invocations
func (*OnlinePopulationMock) GetSuspendedCount ¶
func (mmGetSuspendedCount *OnlinePopulationMock) GetSuspendedCount() (i1 int)
GetSuspendedCount implements OnlinePopulation
func (*OnlinePopulationMock) GetSuspendedCountAfterCounter ¶
func (mmGetSuspendedCount *OnlinePopulationMock) GetSuspendedCountAfterCounter() uint64
GetSuspendedCountAfterCounter returns a count of finished OnlinePopulationMock.GetSuspendedCount invocations
func (*OnlinePopulationMock) GetSuspendedCountBeforeCounter ¶
func (mmGetSuspendedCount *OnlinePopulationMock) GetSuspendedCountBeforeCounter() uint64
GetSuspendedCountBeforeCounter returns a count of OnlinePopulationMock.GetSuspendedCount invocations
func (*OnlinePopulationMock) IsClean ¶
func (mmIsClean *OnlinePopulationMock) IsClean() (b1 bool)
IsClean implements OnlinePopulation
func (*OnlinePopulationMock) IsCleanAfterCounter ¶
func (mmIsClean *OnlinePopulationMock) IsCleanAfterCounter() uint64
IsCleanAfterCounter returns a count of finished OnlinePopulationMock.IsClean invocations
func (*OnlinePopulationMock) IsCleanBeforeCounter ¶
func (mmIsClean *OnlinePopulationMock) IsCleanBeforeCounter() uint64
IsCleanBeforeCounter returns a count of OnlinePopulationMock.IsClean invocations
func (*OnlinePopulationMock) IsValid ¶
func (mmIsValid *OnlinePopulationMock) IsValid() (b1 bool)
IsValid implements OnlinePopulation
func (*OnlinePopulationMock) IsValidAfterCounter ¶
func (mmIsValid *OnlinePopulationMock) IsValidAfterCounter() uint64
IsValidAfterCounter returns a count of finished OnlinePopulationMock.IsValid invocations
func (*OnlinePopulationMock) IsValidBeforeCounter ¶
func (mmIsValid *OnlinePopulationMock) IsValidBeforeCounter() uint64
IsValidBeforeCounter returns a count of OnlinePopulationMock.IsValid invocations
func (*OnlinePopulationMock) MinimockFindProfileDone ¶
func (m *OnlinePopulationMock) MinimockFindProfileDone() bool
MinimockFindProfileDone returns true if the count of the FindProfile invocations corresponds the number of defined expectations
func (*OnlinePopulationMock) MinimockFindProfileInspect ¶
func (m *OnlinePopulationMock) MinimockFindProfileInspect()
MinimockFindProfileInspect logs each unmet expectation
func (*OnlinePopulationMock) MinimockFinish ¶
func (m *OnlinePopulationMock) MinimockFinish()
MinimockFinish checks that all mocked methods have been called the expected number of times
func (*OnlinePopulationMock) MinimockGetIdleCountDone ¶
func (m *OnlinePopulationMock) MinimockGetIdleCountDone() bool
MinimockGetIdleCountDone returns true if the count of the GetIdleCount invocations corresponds the number of defined expectations
func (*OnlinePopulationMock) MinimockGetIdleCountInspect ¶
func (m *OnlinePopulationMock) MinimockGetIdleCountInspect()
MinimockGetIdleCountInspect logs each unmet expectation
func (*OnlinePopulationMock) MinimockGetIdleProfilesDone ¶
func (m *OnlinePopulationMock) MinimockGetIdleProfilesDone() bool
MinimockGetIdleProfilesDone returns true if the count of the GetIdleProfiles invocations corresponds the number of defined expectations
func (*OnlinePopulationMock) MinimockGetIdleProfilesInspect ¶
func (m *OnlinePopulationMock) MinimockGetIdleProfilesInspect()
MinimockGetIdleProfilesInspect logs each unmet expectation
func (*OnlinePopulationMock) MinimockGetIndexedCapacityDone ¶
func (m *OnlinePopulationMock) MinimockGetIndexedCapacityDone() bool
MinimockGetIndexedCapacityDone returns true if the count of the GetIndexedCapacity invocations corresponds the number of defined expectations
func (*OnlinePopulationMock) MinimockGetIndexedCapacityInspect ¶
func (m *OnlinePopulationMock) MinimockGetIndexedCapacityInspect()
MinimockGetIndexedCapacityInspect logs each unmet expectation
func (*OnlinePopulationMock) MinimockGetIndexedCountDone ¶
func (m *OnlinePopulationMock) MinimockGetIndexedCountDone() bool
MinimockGetIndexedCountDone returns true if the count of the GetIndexedCount invocations corresponds the number of defined expectations
func (*OnlinePopulationMock) MinimockGetIndexedCountInspect ¶
func (m *OnlinePopulationMock) MinimockGetIndexedCountInspect()
MinimockGetIndexedCountInspect logs each unmet expectation
func (*OnlinePopulationMock) MinimockGetLocalProfileDone ¶
func (m *OnlinePopulationMock) MinimockGetLocalProfileDone() bool
MinimockGetLocalProfileDone returns true if the count of the GetLocalProfile invocations corresponds the number of defined expectations
func (*OnlinePopulationMock) MinimockGetLocalProfileInspect ¶
func (m *OnlinePopulationMock) MinimockGetLocalProfileInspect()
MinimockGetLocalProfileInspect logs each unmet expectation
func (*OnlinePopulationMock) MinimockGetMistrustedCountDone ¶
func (m *OnlinePopulationMock) MinimockGetMistrustedCountDone() bool
MinimockGetMistrustedCountDone returns true if the count of the GetMistrustedCount invocations corresponds the number of defined expectations
func (*OnlinePopulationMock) MinimockGetMistrustedCountInspect ¶
func (m *OnlinePopulationMock) MinimockGetMistrustedCountInspect()
MinimockGetMistrustedCountInspect logs each unmet expectation
func (*OnlinePopulationMock) MinimockGetPoweredProfilesDone ¶
func (m *OnlinePopulationMock) MinimockGetPoweredProfilesDone() bool
MinimockGetPoweredProfilesDone returns true if the count of the GetPoweredProfiles invocations corresponds the number of defined expectations
func (*OnlinePopulationMock) MinimockGetPoweredProfilesInspect ¶
func (m *OnlinePopulationMock) MinimockGetPoweredProfilesInspect()
MinimockGetPoweredProfilesInspect logs each unmet expectation
func (*OnlinePopulationMock) MinimockGetPoweredRolesDone ¶
func (m *OnlinePopulationMock) MinimockGetPoweredRolesDone() bool
MinimockGetPoweredRolesDone returns true if the count of the GetPoweredRoles invocations corresponds the number of defined expectations
func (*OnlinePopulationMock) MinimockGetPoweredRolesInspect ¶
func (m *OnlinePopulationMock) MinimockGetPoweredRolesInspect()
MinimockGetPoweredRolesInspect logs each unmet expectation
func (*OnlinePopulationMock) MinimockGetProfileDone ¶
func (m *OnlinePopulationMock) MinimockGetProfileDone() bool
MinimockGetProfileDone returns true if the count of the GetProfile invocations corresponds the number of defined expectations
func (*OnlinePopulationMock) MinimockGetProfileInspect ¶
func (m *OnlinePopulationMock) MinimockGetProfileInspect()
MinimockGetProfileInspect logs each unmet expectation
func (*OnlinePopulationMock) MinimockGetProfilesDone ¶
func (m *OnlinePopulationMock) MinimockGetProfilesDone() bool
MinimockGetProfilesDone returns true if the count of the GetProfiles invocations corresponds the number of defined expectations
func (*OnlinePopulationMock) MinimockGetProfilesInspect ¶
func (m *OnlinePopulationMock) MinimockGetProfilesInspect()
MinimockGetProfilesInspect logs each unmet expectation
func (*OnlinePopulationMock) MinimockGetRolePopulationDone ¶
func (m *OnlinePopulationMock) MinimockGetRolePopulationDone() bool
MinimockGetRolePopulationDone returns true if the count of the GetRolePopulation invocations corresponds the number of defined expectations
func (*OnlinePopulationMock) MinimockGetRolePopulationInspect ¶
func (m *OnlinePopulationMock) MinimockGetRolePopulationInspect()
MinimockGetRolePopulationInspect logs each unmet expectation
func (*OnlinePopulationMock) MinimockGetSuspendedCountDone ¶
func (m *OnlinePopulationMock) MinimockGetSuspendedCountDone() bool
MinimockGetSuspendedCountDone returns true if the count of the GetSuspendedCount invocations corresponds the number of defined expectations
func (*OnlinePopulationMock) MinimockGetSuspendedCountInspect ¶
func (m *OnlinePopulationMock) MinimockGetSuspendedCountInspect()
MinimockGetSuspendedCountInspect logs each unmet expectation
func (*OnlinePopulationMock) MinimockIsCleanDone ¶
func (m *OnlinePopulationMock) MinimockIsCleanDone() bool
MinimockIsCleanDone returns true if the count of the IsClean invocations corresponds the number of defined expectations
func (*OnlinePopulationMock) MinimockIsCleanInspect ¶
func (m *OnlinePopulationMock) MinimockIsCleanInspect()
MinimockIsCleanInspect logs each unmet expectation
func (*OnlinePopulationMock) MinimockIsValidDone ¶
func (m *OnlinePopulationMock) MinimockIsValidDone() bool
MinimockIsValidDone returns true if the count of the IsValid invocations corresponds the number of defined expectations
func (*OnlinePopulationMock) MinimockIsValidInspect ¶
func (m *OnlinePopulationMock) MinimockIsValidInspect()
MinimockIsValidInspect logs each unmet expectation
func (*OnlinePopulationMock) MinimockWait ¶
func (m *OnlinePopulationMock) MinimockWait(timeout mm_time.Duration)
MinimockWait waits for all mocked methods to be called the expected number of times
type OnlinePopulationMockFindProfileExpectation ¶
type OnlinePopulationMockFindProfileExpectation struct { Counter uint64 // contains filtered or unexported fields }
OnlinePopulationMockFindProfileExpectation specifies expectation struct of the OnlinePopulation.FindProfile
func (*OnlinePopulationMockFindProfileExpectation) Then ¶
func (e *OnlinePopulationMockFindProfileExpectation) Then(a1 profiles.ActiveNode) *OnlinePopulationMock
Then sets up OnlinePopulation.FindProfile return parameters for the expectation previously defined by the When method
type OnlinePopulationMockFindProfileParams ¶
type OnlinePopulationMockFindProfileParams struct {
// contains filtered or unexported fields
}
OnlinePopulationMockFindProfileParams contains parameters of the OnlinePopulation.FindProfile
type OnlinePopulationMockFindProfileResults ¶
type OnlinePopulationMockFindProfileResults struct {
// contains filtered or unexported fields
}
OnlinePopulationMockFindProfileResults contains results of the OnlinePopulation.FindProfile
type OnlinePopulationMockGetIdleCountExpectation ¶
type OnlinePopulationMockGetIdleCountExpectation struct { Counter uint64 // contains filtered or unexported fields }
OnlinePopulationMockGetIdleCountExpectation specifies expectation struct of the OnlinePopulation.GetIdleCount
type OnlinePopulationMockGetIdleCountResults ¶
type OnlinePopulationMockGetIdleCountResults struct {
// contains filtered or unexported fields
}
OnlinePopulationMockGetIdleCountResults contains results of the OnlinePopulation.GetIdleCount
type OnlinePopulationMockGetIdleProfilesExpectation ¶
type OnlinePopulationMockGetIdleProfilesExpectation struct { Counter uint64 // contains filtered or unexported fields }
OnlinePopulationMockGetIdleProfilesExpectation specifies expectation struct of the OnlinePopulation.GetIdleProfiles
type OnlinePopulationMockGetIdleProfilesResults ¶
type OnlinePopulationMockGetIdleProfilesResults struct {
// contains filtered or unexported fields
}
OnlinePopulationMockGetIdleProfilesResults contains results of the OnlinePopulation.GetIdleProfiles
type OnlinePopulationMockGetIndexedCapacityExpectation ¶
type OnlinePopulationMockGetIndexedCapacityExpectation struct { Counter uint64 // contains filtered or unexported fields }
OnlinePopulationMockGetIndexedCapacityExpectation specifies expectation struct of the OnlinePopulation.GetIndexedCapacity
type OnlinePopulationMockGetIndexedCapacityResults ¶
type OnlinePopulationMockGetIndexedCapacityResults struct {
// contains filtered or unexported fields
}
OnlinePopulationMockGetIndexedCapacityResults contains results of the OnlinePopulation.GetIndexedCapacity
type OnlinePopulationMockGetIndexedCountExpectation ¶
type OnlinePopulationMockGetIndexedCountExpectation struct { Counter uint64 // contains filtered or unexported fields }
OnlinePopulationMockGetIndexedCountExpectation specifies expectation struct of the OnlinePopulation.GetIndexedCount
type OnlinePopulationMockGetIndexedCountResults ¶
type OnlinePopulationMockGetIndexedCountResults struct {
// contains filtered or unexported fields
}
OnlinePopulationMockGetIndexedCountResults contains results of the OnlinePopulation.GetIndexedCount
type OnlinePopulationMockGetLocalProfileExpectation ¶
type OnlinePopulationMockGetLocalProfileExpectation struct { Counter uint64 // contains filtered or unexported fields }
OnlinePopulationMockGetLocalProfileExpectation specifies expectation struct of the OnlinePopulation.GetLocalProfile
type OnlinePopulationMockGetLocalProfileResults ¶
type OnlinePopulationMockGetLocalProfileResults struct {
// contains filtered or unexported fields
}
OnlinePopulationMockGetLocalProfileResults contains results of the OnlinePopulation.GetLocalProfile
type OnlinePopulationMockGetMistrustedCountExpectation ¶
type OnlinePopulationMockGetMistrustedCountExpectation struct { Counter uint64 // contains filtered or unexported fields }
OnlinePopulationMockGetMistrustedCountExpectation specifies expectation struct of the OnlinePopulation.GetMistrustedCount
type OnlinePopulationMockGetMistrustedCountResults ¶
type OnlinePopulationMockGetMistrustedCountResults struct {
// contains filtered or unexported fields
}
OnlinePopulationMockGetMistrustedCountResults contains results of the OnlinePopulation.GetMistrustedCount
type OnlinePopulationMockGetPoweredProfilesExpectation ¶
type OnlinePopulationMockGetPoweredProfilesExpectation struct { Counter uint64 // contains filtered or unexported fields }
OnlinePopulationMockGetPoweredProfilesExpectation specifies expectation struct of the OnlinePopulation.GetPoweredProfiles
type OnlinePopulationMockGetPoweredProfilesResults ¶
type OnlinePopulationMockGetPoweredProfilesResults struct {
// contains filtered or unexported fields
}
OnlinePopulationMockGetPoweredProfilesResults contains results of the OnlinePopulation.GetPoweredProfiles
type OnlinePopulationMockGetPoweredRolesExpectation ¶
type OnlinePopulationMockGetPoweredRolesExpectation struct { Counter uint64 // contains filtered or unexported fields }
OnlinePopulationMockGetPoweredRolesExpectation specifies expectation struct of the OnlinePopulation.GetPoweredRoles
type OnlinePopulationMockGetPoweredRolesResults ¶
type OnlinePopulationMockGetPoweredRolesResults struct {
// contains filtered or unexported fields
}
OnlinePopulationMockGetPoweredRolesResults contains results of the OnlinePopulation.GetPoweredRoles
type OnlinePopulationMockGetProfileExpectation ¶
type OnlinePopulationMockGetProfileExpectation struct { Counter uint64 // contains filtered or unexported fields }
OnlinePopulationMockGetProfileExpectation specifies expectation struct of the OnlinePopulation.GetProfile
func (*OnlinePopulationMockGetProfileExpectation) Then ¶
func (e *OnlinePopulationMockGetProfileExpectation) Then(a1 profiles.ActiveNode) *OnlinePopulationMock
Then sets up OnlinePopulation.GetProfile return parameters for the expectation previously defined by the When method
type OnlinePopulationMockGetProfileParams ¶
type OnlinePopulationMockGetProfileParams struct {
// contains filtered or unexported fields
}
OnlinePopulationMockGetProfileParams contains parameters of the OnlinePopulation.GetProfile
type OnlinePopulationMockGetProfileResults ¶
type OnlinePopulationMockGetProfileResults struct {
// contains filtered or unexported fields
}
OnlinePopulationMockGetProfileResults contains results of the OnlinePopulation.GetProfile
type OnlinePopulationMockGetProfilesExpectation ¶
type OnlinePopulationMockGetProfilesExpectation struct { Counter uint64 // contains filtered or unexported fields }
OnlinePopulationMockGetProfilesExpectation specifies expectation struct of the OnlinePopulation.GetProfiles
type OnlinePopulationMockGetProfilesResults ¶
type OnlinePopulationMockGetProfilesResults struct {
// contains filtered or unexported fields
}
OnlinePopulationMockGetProfilesResults contains results of the OnlinePopulation.GetProfiles
type OnlinePopulationMockGetRolePopulationExpectation ¶
type OnlinePopulationMockGetRolePopulationExpectation struct { Counter uint64 // contains filtered or unexported fields }
OnlinePopulationMockGetRolePopulationExpectation specifies expectation struct of the OnlinePopulation.GetRolePopulation
func (*OnlinePopulationMockGetRolePopulationExpectation) Then ¶
func (e *OnlinePopulationMockGetRolePopulationExpectation) Then(r1 RolePopulation) *OnlinePopulationMock
Then sets up OnlinePopulation.GetRolePopulation return parameters for the expectation previously defined by the When method
type OnlinePopulationMockGetRolePopulationParams ¶
type OnlinePopulationMockGetRolePopulationParams struct {
// contains filtered or unexported fields
}
OnlinePopulationMockGetRolePopulationParams contains parameters of the OnlinePopulation.GetRolePopulation
type OnlinePopulationMockGetRolePopulationResults ¶
type OnlinePopulationMockGetRolePopulationResults struct {
// contains filtered or unexported fields
}
OnlinePopulationMockGetRolePopulationResults contains results of the OnlinePopulation.GetRolePopulation
type OnlinePopulationMockGetSuspendedCountExpectation ¶
type OnlinePopulationMockGetSuspendedCountExpectation struct { Counter uint64 // contains filtered or unexported fields }
OnlinePopulationMockGetSuspendedCountExpectation specifies expectation struct of the OnlinePopulation.GetSuspendedCount
type OnlinePopulationMockGetSuspendedCountResults ¶
type OnlinePopulationMockGetSuspendedCountResults struct {
// contains filtered or unexported fields
}
OnlinePopulationMockGetSuspendedCountResults contains results of the OnlinePopulation.GetSuspendedCount
type OnlinePopulationMockIsCleanExpectation ¶
type OnlinePopulationMockIsCleanExpectation struct { Counter uint64 // contains filtered or unexported fields }
OnlinePopulationMockIsCleanExpectation specifies expectation struct of the OnlinePopulation.IsClean
type OnlinePopulationMockIsCleanResults ¶
type OnlinePopulationMockIsCleanResults struct {
// contains filtered or unexported fields
}
OnlinePopulationMockIsCleanResults contains results of the OnlinePopulation.IsClean
type OnlinePopulationMockIsValidExpectation ¶
type OnlinePopulationMockIsValidExpectation struct { Counter uint64 // contains filtered or unexported fields }
OnlinePopulationMockIsValidExpectation specifies expectation struct of the OnlinePopulation.IsValid
type OnlinePopulationMockIsValidResults ¶
type OnlinePopulationMockIsValidResults struct {
// contains filtered or unexported fields
}
OnlinePopulationMockIsValidResults contains results of the OnlinePopulation.IsValid
type Operational ¶
type Operational interface { Pulse GetOnlinePopulation() OnlinePopulation GetEvictedPopulation() EvictedPopulation GetOfflinePopulation() OfflinePopulation CreateBuilder(ctx context.Context, pn pulse.Number) Builder IsActive() bool GetMisbehaviorRegistry() MisbehaviorRegistry GetMandateRegistry() MandateRegistry GetProfileFactory(ksf cryptkit.KeyStoreFactory) profiles.Factory }
type PopulationBuilder ¶
type PopulationBuilder interface { GetCount() int // SetCapacity AddProfile(intro profiles.StaticProfile) profiles.Updatable RemoveProfile(nodeID node.ShortNodeID) GetUnorderedProfiles() []profiles.Updatable FindProfile(nodeID node.ShortNodeID) profiles.Updatable GetLocalProfile() profiles.Updatable RemoveOthers() }
type Prime ¶
type Prime interface { Active BuildCopy(pd pulse.Data, csh proofs.CloudStateHash, gsh proofs.GlobulaStateHash) Built }
type Pulse ¶
type Pulse interface { GetCensusState() State GetPulseNumber() pulse.Number GetExpectedPulseNumber() pulse.Number GetGlobulaStateHash() proofs.GlobulaStateHash GetCloudStateHash() proofs.CloudStateHash // returns true, when PulseData belongs to this census, PulseData can be empty for PrimingCensus GetNearestPulseData() (bool, pulse.Data) }
type RecoverableErrorTypes ¶
type RecoverableErrorTypes uint32
const ( External RecoverableErrorTypes = 1 << iota EmptySlot IllegalRole IllegalMode IllegalIndex DuplicateIndex BriefProfile DuplicateID IllegalSorting MissingSelf )
const EmptyPopulation RecoverableErrorTypes = 0
func (RecoverableErrorTypes) String ¶
func (v RecoverableErrorTypes) String() string
type RolePopulation ¶
type RolePopulation interface { // GetPrimaryRole returns a role of all nodes of this population, != PrimaryRoleInactive GetPrimaryRole() member.PrimaryRole // IsValid returns true when the relevant population is valid and there are some members in this role IsValid() bool // GetWorkingPower returns total power of all members in this role GetWorkingPower() uint32 // GetWorkingCount returns total number of working (powered) members in this role GetWorkingCount() int // GetIdleCount returns total number of idle (non-powered) members in this role GetIdleCount() int // GetProfiles gives a list of working members in this role, will return nil when !IsValid() or GetWorkingPower()==0 */ GetProfiles() []profiles.ActiveNode /* Returns a member (assigned) that can be assigned to to a task with the given (metric). It does flat distribution (all members with non-zero power are considered of same weight). If a default distribution falls the a member given as excludeID, then such member will be returned as (excluded) and the function will provide an alternative member as (assigned). When it was not possible to provide an alternative member then the same member will be returned as (assigned) and (excluded). When population is empty or invalid, then (nil, nil) is returned. */ GetAssignmentByCount(metric uint64, excludeID node.ShortNodeID) (assigned, excluded profiles.ActiveNode) /* Similar to GetAssignmentByCount, but it does weighed distribution across non-zero power members based on member's power. */ GetAssignmentByPower(metric uint64, excludeID node.ShortNodeID) (assigned, excluded profiles.ActiveNode) }
type RolePopulationMock ¶
type RolePopulationMock struct { GetAssignmentByCountMock mRolePopulationMockGetAssignmentByCount GetAssignmentByPowerMock mRolePopulationMockGetAssignmentByPower GetIdleCountMock mRolePopulationMockGetIdleCount GetPrimaryRoleMock mRolePopulationMockGetPrimaryRole GetProfilesMock mRolePopulationMockGetProfiles GetWorkingCountMock mRolePopulationMockGetWorkingCount GetWorkingPowerMock mRolePopulationMockGetWorkingPower IsValidMock mRolePopulationMockIsValid // contains filtered or unexported fields }
RolePopulationMock implements RolePopulation
func NewRolePopulationMock ¶
func NewRolePopulationMock(t minimock.Tester) *RolePopulationMock
NewRolePopulationMock returns a mock for RolePopulation
func (*RolePopulationMock) GetAssignmentByCount ¶
func (mmGetAssignmentByCount *RolePopulationMock) GetAssignmentByCount(metric uint64, excludeID node.ShortNodeID) (assigned profiles.ActiveNode, excluded profiles.ActiveNode)
GetAssignmentByCount implements RolePopulation
func (*RolePopulationMock) GetAssignmentByCountAfterCounter ¶
func (mmGetAssignmentByCount *RolePopulationMock) GetAssignmentByCountAfterCounter() uint64
GetAssignmentByCountAfterCounter returns a count of finished RolePopulationMock.GetAssignmentByCount invocations
func (*RolePopulationMock) GetAssignmentByCountBeforeCounter ¶
func (mmGetAssignmentByCount *RolePopulationMock) GetAssignmentByCountBeforeCounter() uint64
GetAssignmentByCountBeforeCounter returns a count of RolePopulationMock.GetAssignmentByCount invocations
func (*RolePopulationMock) GetAssignmentByPower ¶
func (mmGetAssignmentByPower *RolePopulationMock) GetAssignmentByPower(metric uint64, excludeID node.ShortNodeID) (assigned profiles.ActiveNode, excluded profiles.ActiveNode)
GetAssignmentByPower implements RolePopulation
func (*RolePopulationMock) GetAssignmentByPowerAfterCounter ¶
func (mmGetAssignmentByPower *RolePopulationMock) GetAssignmentByPowerAfterCounter() uint64
GetAssignmentByPowerAfterCounter returns a count of finished RolePopulationMock.GetAssignmentByPower invocations
func (*RolePopulationMock) GetAssignmentByPowerBeforeCounter ¶
func (mmGetAssignmentByPower *RolePopulationMock) GetAssignmentByPowerBeforeCounter() uint64
GetAssignmentByPowerBeforeCounter returns a count of RolePopulationMock.GetAssignmentByPower invocations
func (*RolePopulationMock) GetIdleCount ¶
func (mmGetIdleCount *RolePopulationMock) GetIdleCount() (i1 int)
GetIdleCount implements RolePopulation
func (*RolePopulationMock) GetIdleCountAfterCounter ¶
func (mmGetIdleCount *RolePopulationMock) GetIdleCountAfterCounter() uint64
GetIdleCountAfterCounter returns a count of finished RolePopulationMock.GetIdleCount invocations
func (*RolePopulationMock) GetIdleCountBeforeCounter ¶
func (mmGetIdleCount *RolePopulationMock) GetIdleCountBeforeCounter() uint64
GetIdleCountBeforeCounter returns a count of RolePopulationMock.GetIdleCount invocations
func (*RolePopulationMock) GetPrimaryRole ¶
func (mmGetPrimaryRole *RolePopulationMock) GetPrimaryRole() (p1 member.PrimaryRole)
GetPrimaryRole implements RolePopulation
func (*RolePopulationMock) GetPrimaryRoleAfterCounter ¶
func (mmGetPrimaryRole *RolePopulationMock) GetPrimaryRoleAfterCounter() uint64
GetPrimaryRoleAfterCounter returns a count of finished RolePopulationMock.GetPrimaryRole invocations
func (*RolePopulationMock) GetPrimaryRoleBeforeCounter ¶
func (mmGetPrimaryRole *RolePopulationMock) GetPrimaryRoleBeforeCounter() uint64
GetPrimaryRoleBeforeCounter returns a count of RolePopulationMock.GetPrimaryRole invocations
func (*RolePopulationMock) GetProfiles ¶
func (mmGetProfiles *RolePopulationMock) GetProfiles() (aa1 []profiles.ActiveNode)
GetProfiles implements RolePopulation
func (*RolePopulationMock) GetProfilesAfterCounter ¶
func (mmGetProfiles *RolePopulationMock) GetProfilesAfterCounter() uint64
GetProfilesAfterCounter returns a count of finished RolePopulationMock.GetProfiles invocations
func (*RolePopulationMock) GetProfilesBeforeCounter ¶
func (mmGetProfiles *RolePopulationMock) GetProfilesBeforeCounter() uint64
GetProfilesBeforeCounter returns a count of RolePopulationMock.GetProfiles invocations
func (*RolePopulationMock) GetWorkingCount ¶
func (mmGetWorkingCount *RolePopulationMock) GetWorkingCount() (i1 int)
GetWorkingCount implements RolePopulation
func (*RolePopulationMock) GetWorkingCountAfterCounter ¶
func (mmGetWorkingCount *RolePopulationMock) GetWorkingCountAfterCounter() uint64
GetWorkingCountAfterCounter returns a count of finished RolePopulationMock.GetWorkingCount invocations
func (*RolePopulationMock) GetWorkingCountBeforeCounter ¶
func (mmGetWorkingCount *RolePopulationMock) GetWorkingCountBeforeCounter() uint64
GetWorkingCountBeforeCounter returns a count of RolePopulationMock.GetWorkingCount invocations
func (*RolePopulationMock) GetWorkingPower ¶
func (mmGetWorkingPower *RolePopulationMock) GetWorkingPower() (u1 uint32)
GetWorkingPower implements RolePopulation
func (*RolePopulationMock) GetWorkingPowerAfterCounter ¶
func (mmGetWorkingPower *RolePopulationMock) GetWorkingPowerAfterCounter() uint64
GetWorkingPowerAfterCounter returns a count of finished RolePopulationMock.GetWorkingPower invocations
func (*RolePopulationMock) GetWorkingPowerBeforeCounter ¶
func (mmGetWorkingPower *RolePopulationMock) GetWorkingPowerBeforeCounter() uint64
GetWorkingPowerBeforeCounter returns a count of RolePopulationMock.GetWorkingPower invocations
func (*RolePopulationMock) IsValid ¶
func (mmIsValid *RolePopulationMock) IsValid() (b1 bool)
IsValid implements RolePopulation
func (*RolePopulationMock) IsValidAfterCounter ¶
func (mmIsValid *RolePopulationMock) IsValidAfterCounter() uint64
IsValidAfterCounter returns a count of finished RolePopulationMock.IsValid invocations
func (*RolePopulationMock) IsValidBeforeCounter ¶
func (mmIsValid *RolePopulationMock) IsValidBeforeCounter() uint64
IsValidBeforeCounter returns a count of RolePopulationMock.IsValid invocations
func (*RolePopulationMock) MinimockFinish ¶
func (m *RolePopulationMock) MinimockFinish()
MinimockFinish checks that all mocked methods have been called the expected number of times
func (*RolePopulationMock) MinimockGetAssignmentByCountDone ¶
func (m *RolePopulationMock) MinimockGetAssignmentByCountDone() bool
MinimockGetAssignmentByCountDone returns true if the count of the GetAssignmentByCount invocations corresponds the number of defined expectations
func (*RolePopulationMock) MinimockGetAssignmentByCountInspect ¶
func (m *RolePopulationMock) MinimockGetAssignmentByCountInspect()
MinimockGetAssignmentByCountInspect logs each unmet expectation
func (*RolePopulationMock) MinimockGetAssignmentByPowerDone ¶
func (m *RolePopulationMock) MinimockGetAssignmentByPowerDone() bool
MinimockGetAssignmentByPowerDone returns true if the count of the GetAssignmentByPower invocations corresponds the number of defined expectations
func (*RolePopulationMock) MinimockGetAssignmentByPowerInspect ¶
func (m *RolePopulationMock) MinimockGetAssignmentByPowerInspect()
MinimockGetAssignmentByPowerInspect logs each unmet expectation
func (*RolePopulationMock) MinimockGetIdleCountDone ¶
func (m *RolePopulationMock) MinimockGetIdleCountDone() bool
MinimockGetIdleCountDone returns true if the count of the GetIdleCount invocations corresponds the number of defined expectations
func (*RolePopulationMock) MinimockGetIdleCountInspect ¶
func (m *RolePopulationMock) MinimockGetIdleCountInspect()
MinimockGetIdleCountInspect logs each unmet expectation
func (*RolePopulationMock) MinimockGetPrimaryRoleDone ¶
func (m *RolePopulationMock) MinimockGetPrimaryRoleDone() bool
MinimockGetPrimaryRoleDone returns true if the count of the GetPrimaryRole invocations corresponds the number of defined expectations
func (*RolePopulationMock) MinimockGetPrimaryRoleInspect ¶
func (m *RolePopulationMock) MinimockGetPrimaryRoleInspect()
MinimockGetPrimaryRoleInspect logs each unmet expectation
func (*RolePopulationMock) MinimockGetProfilesDone ¶
func (m *RolePopulationMock) MinimockGetProfilesDone() bool
MinimockGetProfilesDone returns true if the count of the GetProfiles invocations corresponds the number of defined expectations
func (*RolePopulationMock) MinimockGetProfilesInspect ¶
func (m *RolePopulationMock) MinimockGetProfilesInspect()
MinimockGetProfilesInspect logs each unmet expectation
func (*RolePopulationMock) MinimockGetWorkingCountDone ¶
func (m *RolePopulationMock) MinimockGetWorkingCountDone() bool
MinimockGetWorkingCountDone returns true if the count of the GetWorkingCount invocations corresponds the number of defined expectations
func (*RolePopulationMock) MinimockGetWorkingCountInspect ¶
func (m *RolePopulationMock) MinimockGetWorkingCountInspect()
MinimockGetWorkingCountInspect logs each unmet expectation
func (*RolePopulationMock) MinimockGetWorkingPowerDone ¶
func (m *RolePopulationMock) MinimockGetWorkingPowerDone() bool
MinimockGetWorkingPowerDone returns true if the count of the GetWorkingPower invocations corresponds the number of defined expectations
func (*RolePopulationMock) MinimockGetWorkingPowerInspect ¶
func (m *RolePopulationMock) MinimockGetWorkingPowerInspect()
MinimockGetWorkingPowerInspect logs each unmet expectation
func (*RolePopulationMock) MinimockIsValidDone ¶
func (m *RolePopulationMock) MinimockIsValidDone() bool
MinimockIsValidDone returns true if the count of the IsValid invocations corresponds the number of defined expectations
func (*RolePopulationMock) MinimockIsValidInspect ¶
func (m *RolePopulationMock) MinimockIsValidInspect()
MinimockIsValidInspect logs each unmet expectation
func (*RolePopulationMock) MinimockWait ¶
func (m *RolePopulationMock) MinimockWait(timeout mm_time.Duration)
MinimockWait waits for all mocked methods to be called the expected number of times
type RolePopulationMockGetAssignmentByCountExpectation ¶
type RolePopulationMockGetAssignmentByCountExpectation struct { Counter uint64 // contains filtered or unexported fields }
RolePopulationMockGetAssignmentByCountExpectation specifies expectation struct of the RolePopulation.GetAssignmentByCount
func (*RolePopulationMockGetAssignmentByCountExpectation) Then ¶
func (e *RolePopulationMockGetAssignmentByCountExpectation) Then(assigned profiles.ActiveNode, excluded profiles.ActiveNode) *RolePopulationMock
Then sets up RolePopulation.GetAssignmentByCount return parameters for the expectation previously defined by the When method
type RolePopulationMockGetAssignmentByCountParams ¶
type RolePopulationMockGetAssignmentByCountParams struct {
// contains filtered or unexported fields
}
RolePopulationMockGetAssignmentByCountParams contains parameters of the RolePopulation.GetAssignmentByCount
type RolePopulationMockGetAssignmentByCountResults ¶
type RolePopulationMockGetAssignmentByCountResults struct {
// contains filtered or unexported fields
}
RolePopulationMockGetAssignmentByCountResults contains results of the RolePopulation.GetAssignmentByCount
type RolePopulationMockGetAssignmentByPowerExpectation ¶
type RolePopulationMockGetAssignmentByPowerExpectation struct { Counter uint64 // contains filtered or unexported fields }
RolePopulationMockGetAssignmentByPowerExpectation specifies expectation struct of the RolePopulation.GetAssignmentByPower
func (*RolePopulationMockGetAssignmentByPowerExpectation) Then ¶
func (e *RolePopulationMockGetAssignmentByPowerExpectation) Then(assigned profiles.ActiveNode, excluded profiles.ActiveNode) *RolePopulationMock
Then sets up RolePopulation.GetAssignmentByPower return parameters for the expectation previously defined by the When method
type RolePopulationMockGetAssignmentByPowerParams ¶
type RolePopulationMockGetAssignmentByPowerParams struct {
// contains filtered or unexported fields
}
RolePopulationMockGetAssignmentByPowerParams contains parameters of the RolePopulation.GetAssignmentByPower
type RolePopulationMockGetAssignmentByPowerResults ¶
type RolePopulationMockGetAssignmentByPowerResults struct {
// contains filtered or unexported fields
}
RolePopulationMockGetAssignmentByPowerResults contains results of the RolePopulation.GetAssignmentByPower
type RolePopulationMockGetIdleCountExpectation ¶
type RolePopulationMockGetIdleCountExpectation struct { Counter uint64 // contains filtered or unexported fields }
RolePopulationMockGetIdleCountExpectation specifies expectation struct of the RolePopulation.GetIdleCount
type RolePopulationMockGetIdleCountResults ¶
type RolePopulationMockGetIdleCountResults struct {
// contains filtered or unexported fields
}
RolePopulationMockGetIdleCountResults contains results of the RolePopulation.GetIdleCount
type RolePopulationMockGetPrimaryRoleExpectation ¶
type RolePopulationMockGetPrimaryRoleExpectation struct { Counter uint64 // contains filtered or unexported fields }
RolePopulationMockGetPrimaryRoleExpectation specifies expectation struct of the RolePopulation.GetPrimaryRole
type RolePopulationMockGetPrimaryRoleResults ¶
type RolePopulationMockGetPrimaryRoleResults struct {
// contains filtered or unexported fields
}
RolePopulationMockGetPrimaryRoleResults contains results of the RolePopulation.GetPrimaryRole
type RolePopulationMockGetProfilesExpectation ¶
type RolePopulationMockGetProfilesExpectation struct { Counter uint64 // contains filtered or unexported fields }
RolePopulationMockGetProfilesExpectation specifies expectation struct of the RolePopulation.GetProfiles
type RolePopulationMockGetProfilesResults ¶
type RolePopulationMockGetProfilesResults struct {
// contains filtered or unexported fields
}
RolePopulationMockGetProfilesResults contains results of the RolePopulation.GetProfiles
type RolePopulationMockGetWorkingCountExpectation ¶
type RolePopulationMockGetWorkingCountExpectation struct { Counter uint64 // contains filtered or unexported fields }
RolePopulationMockGetWorkingCountExpectation specifies expectation struct of the RolePopulation.GetWorkingCount
type RolePopulationMockGetWorkingCountResults ¶
type RolePopulationMockGetWorkingCountResults struct {
// contains filtered or unexported fields
}
RolePopulationMockGetWorkingCountResults contains results of the RolePopulation.GetWorkingCount
type RolePopulationMockGetWorkingPowerExpectation ¶
type RolePopulationMockGetWorkingPowerExpectation struct { Counter uint64 // contains filtered or unexported fields }
RolePopulationMockGetWorkingPowerExpectation specifies expectation struct of the RolePopulation.GetWorkingPower
type RolePopulationMockGetWorkingPowerResults ¶
type RolePopulationMockGetWorkingPowerResults struct {
// contains filtered or unexported fields
}
RolePopulationMockGetWorkingPowerResults contains results of the RolePopulation.GetWorkingPower
type RolePopulationMockIsValidExpectation ¶
type RolePopulationMockIsValidExpectation struct { Counter uint64 // contains filtered or unexported fields }
RolePopulationMockIsValidExpectation specifies expectation struct of the RolePopulation.IsValid
type RolePopulationMockIsValidResults ¶
type RolePopulationMockIsValidResults struct {
// contains filtered or unexported fields
}
RolePopulationMockIsValidResults contains results of the RolePopulation.IsValid
type VersionedRegistries ¶
type VersionedRegistries interface { // GetVersionId() int CommitNextPulse(pd pulse.Data, population OnlinePopulation) VersionedRegistries GetMisbehaviorRegistry() MisbehaviorRegistry GetMandateRegistry() MandateRegistry GetOfflinePopulation() OfflinePopulation GetVersionPulseData() pulse.Data GetNearestValidPulseData() pulse.Data }
type VersionedRegistriesMock ¶
type VersionedRegistriesMock struct { CommitNextPulseMock mVersionedRegistriesMockCommitNextPulse GetMandateRegistryMock mVersionedRegistriesMockGetMandateRegistry GetMisbehaviorRegistryMock mVersionedRegistriesMockGetMisbehaviorRegistry GetNearestValidPulseDataMock mVersionedRegistriesMockGetNearestValidPulseData GetOfflinePopulationMock mVersionedRegistriesMockGetOfflinePopulation GetVersionPulseDataMock mVersionedRegistriesMockGetVersionPulseData // contains filtered or unexported fields }
VersionedRegistriesMock implements VersionedRegistries
func NewVersionedRegistriesMock ¶
func NewVersionedRegistriesMock(t minimock.Tester) *VersionedRegistriesMock
NewVersionedRegistriesMock returns a mock for VersionedRegistries
func (*VersionedRegistriesMock) CommitNextPulse ¶
func (mmCommitNextPulse *VersionedRegistriesMock) CommitNextPulse(pd pulse.Data, population OnlinePopulation) (v1 VersionedRegistries)
CommitNextPulse implements VersionedRegistries
func (*VersionedRegistriesMock) CommitNextPulseAfterCounter ¶
func (mmCommitNextPulse *VersionedRegistriesMock) CommitNextPulseAfterCounter() uint64
CommitNextPulseAfterCounter returns a count of finished VersionedRegistriesMock.CommitNextPulse invocations
func (*VersionedRegistriesMock) CommitNextPulseBeforeCounter ¶
func (mmCommitNextPulse *VersionedRegistriesMock) CommitNextPulseBeforeCounter() uint64
CommitNextPulseBeforeCounter returns a count of VersionedRegistriesMock.CommitNextPulse invocations
func (*VersionedRegistriesMock) GetMandateRegistry ¶
func (mmGetMandateRegistry *VersionedRegistriesMock) GetMandateRegistry() (m1 MandateRegistry)
GetMandateRegistry implements VersionedRegistries
func (*VersionedRegistriesMock) GetMandateRegistryAfterCounter ¶
func (mmGetMandateRegistry *VersionedRegistriesMock) GetMandateRegistryAfterCounter() uint64
GetMandateRegistryAfterCounter returns a count of finished VersionedRegistriesMock.GetMandateRegistry invocations
func (*VersionedRegistriesMock) GetMandateRegistryBeforeCounter ¶
func (mmGetMandateRegistry *VersionedRegistriesMock) GetMandateRegistryBeforeCounter() uint64
GetMandateRegistryBeforeCounter returns a count of VersionedRegistriesMock.GetMandateRegistry invocations
func (*VersionedRegistriesMock) GetMisbehaviorRegistry ¶
func (mmGetMisbehaviorRegistry *VersionedRegistriesMock) GetMisbehaviorRegistry() (m1 MisbehaviorRegistry)
GetMisbehaviorRegistry implements VersionedRegistries
func (*VersionedRegistriesMock) GetMisbehaviorRegistryAfterCounter ¶
func (mmGetMisbehaviorRegistry *VersionedRegistriesMock) GetMisbehaviorRegistryAfterCounter() uint64
GetMisbehaviorRegistryAfterCounter returns a count of finished VersionedRegistriesMock.GetMisbehaviorRegistry invocations
func (*VersionedRegistriesMock) GetMisbehaviorRegistryBeforeCounter ¶
func (mmGetMisbehaviorRegistry *VersionedRegistriesMock) GetMisbehaviorRegistryBeforeCounter() uint64
GetMisbehaviorRegistryBeforeCounter returns a count of VersionedRegistriesMock.GetMisbehaviorRegistry invocations
func (*VersionedRegistriesMock) GetNearestValidPulseData ¶
func (mmGetNearestValidPulseData *VersionedRegistriesMock) GetNearestValidPulseData() (d1 pulse.Data)
GetNearestValidPulseData implements VersionedRegistries
func (*VersionedRegistriesMock) GetNearestValidPulseDataAfterCounter ¶
func (mmGetNearestValidPulseData *VersionedRegistriesMock) GetNearestValidPulseDataAfterCounter() uint64
GetNearestValidPulseDataAfterCounter returns a count of finished VersionedRegistriesMock.GetNearestValidPulseData invocations
func (*VersionedRegistriesMock) GetNearestValidPulseDataBeforeCounter ¶
func (mmGetNearestValidPulseData *VersionedRegistriesMock) GetNearestValidPulseDataBeforeCounter() uint64
GetNearestValidPulseDataBeforeCounter returns a count of VersionedRegistriesMock.GetNearestValidPulseData invocations
func (*VersionedRegistriesMock) GetOfflinePopulation ¶
func (mmGetOfflinePopulation *VersionedRegistriesMock) GetOfflinePopulation() (o1 OfflinePopulation)
GetOfflinePopulation implements VersionedRegistries
func (*VersionedRegistriesMock) GetOfflinePopulationAfterCounter ¶
func (mmGetOfflinePopulation *VersionedRegistriesMock) GetOfflinePopulationAfterCounter() uint64
GetOfflinePopulationAfterCounter returns a count of finished VersionedRegistriesMock.GetOfflinePopulation invocations
func (*VersionedRegistriesMock) GetOfflinePopulationBeforeCounter ¶
func (mmGetOfflinePopulation *VersionedRegistriesMock) GetOfflinePopulationBeforeCounter() uint64
GetOfflinePopulationBeforeCounter returns a count of VersionedRegistriesMock.GetOfflinePopulation invocations
func (*VersionedRegistriesMock) GetVersionPulseData ¶
func (mmGetVersionPulseData *VersionedRegistriesMock) GetVersionPulseData() (d1 pulse.Data)
GetVersionPulseData implements VersionedRegistries
func (*VersionedRegistriesMock) GetVersionPulseDataAfterCounter ¶
func (mmGetVersionPulseData *VersionedRegistriesMock) GetVersionPulseDataAfterCounter() uint64
GetVersionPulseDataAfterCounter returns a count of finished VersionedRegistriesMock.GetVersionPulseData invocations
func (*VersionedRegistriesMock) GetVersionPulseDataBeforeCounter ¶
func (mmGetVersionPulseData *VersionedRegistriesMock) GetVersionPulseDataBeforeCounter() uint64
GetVersionPulseDataBeforeCounter returns a count of VersionedRegistriesMock.GetVersionPulseData invocations
func (*VersionedRegistriesMock) MinimockCommitNextPulseDone ¶
func (m *VersionedRegistriesMock) MinimockCommitNextPulseDone() bool
MinimockCommitNextPulseDone returns true if the count of the CommitNextPulse invocations corresponds the number of defined expectations
func (*VersionedRegistriesMock) MinimockCommitNextPulseInspect ¶
func (m *VersionedRegistriesMock) MinimockCommitNextPulseInspect()
MinimockCommitNextPulseInspect logs each unmet expectation
func (*VersionedRegistriesMock) MinimockFinish ¶
func (m *VersionedRegistriesMock) MinimockFinish()
MinimockFinish checks that all mocked methods have been called the expected number of times
func (*VersionedRegistriesMock) MinimockGetMandateRegistryDone ¶
func (m *VersionedRegistriesMock) MinimockGetMandateRegistryDone() bool
MinimockGetMandateRegistryDone returns true if the count of the GetMandateRegistry invocations corresponds the number of defined expectations
func (*VersionedRegistriesMock) MinimockGetMandateRegistryInspect ¶
func (m *VersionedRegistriesMock) MinimockGetMandateRegistryInspect()
MinimockGetMandateRegistryInspect logs each unmet expectation
func (*VersionedRegistriesMock) MinimockGetMisbehaviorRegistryDone ¶
func (m *VersionedRegistriesMock) MinimockGetMisbehaviorRegistryDone() bool
MinimockGetMisbehaviorRegistryDone returns true if the count of the GetMisbehaviorRegistry invocations corresponds the number of defined expectations
func (*VersionedRegistriesMock) MinimockGetMisbehaviorRegistryInspect ¶
func (m *VersionedRegistriesMock) MinimockGetMisbehaviorRegistryInspect()
MinimockGetMisbehaviorRegistryInspect logs each unmet expectation
func (*VersionedRegistriesMock) MinimockGetNearestValidPulseDataDone ¶
func (m *VersionedRegistriesMock) MinimockGetNearestValidPulseDataDone() bool
MinimockGetNearestValidPulseDataDone returns true if the count of the GetNearestValidPulseData invocations corresponds the number of defined expectations
func (*VersionedRegistriesMock) MinimockGetNearestValidPulseDataInspect ¶
func (m *VersionedRegistriesMock) MinimockGetNearestValidPulseDataInspect()
MinimockGetNearestValidPulseDataInspect logs each unmet expectation
func (*VersionedRegistriesMock) MinimockGetOfflinePopulationDone ¶
func (m *VersionedRegistriesMock) MinimockGetOfflinePopulationDone() bool
MinimockGetOfflinePopulationDone returns true if the count of the GetOfflinePopulation invocations corresponds the number of defined expectations
func (*VersionedRegistriesMock) MinimockGetOfflinePopulationInspect ¶
func (m *VersionedRegistriesMock) MinimockGetOfflinePopulationInspect()
MinimockGetOfflinePopulationInspect logs each unmet expectation
func (*VersionedRegistriesMock) MinimockGetVersionPulseDataDone ¶
func (m *VersionedRegistriesMock) MinimockGetVersionPulseDataDone() bool
MinimockGetVersionPulseDataDone returns true if the count of the GetVersionPulseData invocations corresponds the number of defined expectations
func (*VersionedRegistriesMock) MinimockGetVersionPulseDataInspect ¶
func (m *VersionedRegistriesMock) MinimockGetVersionPulseDataInspect()
MinimockGetVersionPulseDataInspect logs each unmet expectation
func (*VersionedRegistriesMock) MinimockWait ¶
func (m *VersionedRegistriesMock) MinimockWait(timeout mm_time.Duration)
MinimockWait waits for all mocked methods to be called the expected number of times
type VersionedRegistriesMockCommitNextPulseExpectation ¶
type VersionedRegistriesMockCommitNextPulseExpectation struct { Counter uint64 // contains filtered or unexported fields }
VersionedRegistriesMockCommitNextPulseExpectation specifies expectation struct of the VersionedRegistries.CommitNextPulse
func (*VersionedRegistriesMockCommitNextPulseExpectation) Then ¶
func (e *VersionedRegistriesMockCommitNextPulseExpectation) Then(v1 VersionedRegistries) *VersionedRegistriesMock
Then sets up VersionedRegistries.CommitNextPulse return parameters for the expectation previously defined by the When method
type VersionedRegistriesMockCommitNextPulseParams ¶
type VersionedRegistriesMockCommitNextPulseParams struct {
// contains filtered or unexported fields
}
VersionedRegistriesMockCommitNextPulseParams contains parameters of the VersionedRegistries.CommitNextPulse
type VersionedRegistriesMockCommitNextPulseResults ¶
type VersionedRegistriesMockCommitNextPulseResults struct {
// contains filtered or unexported fields
}
VersionedRegistriesMockCommitNextPulseResults contains results of the VersionedRegistries.CommitNextPulse
type VersionedRegistriesMockGetMandateRegistryExpectation ¶
type VersionedRegistriesMockGetMandateRegistryExpectation struct { Counter uint64 // contains filtered or unexported fields }
VersionedRegistriesMockGetMandateRegistryExpectation specifies expectation struct of the VersionedRegistries.GetMandateRegistry
type VersionedRegistriesMockGetMandateRegistryResults ¶
type VersionedRegistriesMockGetMandateRegistryResults struct {
// contains filtered or unexported fields
}
VersionedRegistriesMockGetMandateRegistryResults contains results of the VersionedRegistries.GetMandateRegistry
type VersionedRegistriesMockGetMisbehaviorRegistryExpectation ¶
type VersionedRegistriesMockGetMisbehaviorRegistryExpectation struct { Counter uint64 // contains filtered or unexported fields }
VersionedRegistriesMockGetMisbehaviorRegistryExpectation specifies expectation struct of the VersionedRegistries.GetMisbehaviorRegistry
type VersionedRegistriesMockGetMisbehaviorRegistryResults ¶
type VersionedRegistriesMockGetMisbehaviorRegistryResults struct {
// contains filtered or unexported fields
}
VersionedRegistriesMockGetMisbehaviorRegistryResults contains results of the VersionedRegistries.GetMisbehaviorRegistry
type VersionedRegistriesMockGetNearestValidPulseDataExpectation ¶
type VersionedRegistriesMockGetNearestValidPulseDataExpectation struct { Counter uint64 // contains filtered or unexported fields }
VersionedRegistriesMockGetNearestValidPulseDataExpectation specifies expectation struct of the VersionedRegistries.GetNearestValidPulseData
type VersionedRegistriesMockGetNearestValidPulseDataResults ¶
type VersionedRegistriesMockGetNearestValidPulseDataResults struct {
// contains filtered or unexported fields
}
VersionedRegistriesMockGetNearestValidPulseDataResults contains results of the VersionedRegistries.GetNearestValidPulseData
type VersionedRegistriesMockGetOfflinePopulationExpectation ¶
type VersionedRegistriesMockGetOfflinePopulationExpectation struct { Counter uint64 // contains filtered or unexported fields }
VersionedRegistriesMockGetOfflinePopulationExpectation specifies expectation struct of the VersionedRegistries.GetOfflinePopulation
type VersionedRegistriesMockGetOfflinePopulationResults ¶
type VersionedRegistriesMockGetOfflinePopulationResults struct {
// contains filtered or unexported fields
}
VersionedRegistriesMockGetOfflinePopulationResults contains results of the VersionedRegistries.GetOfflinePopulation
type VersionedRegistriesMockGetVersionPulseDataExpectation ¶
type VersionedRegistriesMockGetVersionPulseDataExpectation struct { Counter uint64 // contains filtered or unexported fields }
VersionedRegistriesMockGetVersionPulseDataExpectation specifies expectation struct of the VersionedRegistries.GetVersionPulseData
type VersionedRegistriesMockGetVersionPulseDataResults ¶
type VersionedRegistriesMockGetVersionPulseDataResults struct {
// contains filtered or unexported fields
}
VersionedRegistriesMockGetVersionPulseDataResults contains results of the VersionedRegistries.GetVersionPulseData