Documentation ¶
Index ¶
- func RandomID() core.RecordID
- func RandomRef() core.RecordRef
- func RandomString() string
- type ArtifactManagerMock
- func (m *ArtifactManagerMock) ActivateObject(p context.Context, p1 core.RecordRef, p2 core.RecordRef, p3 core.RecordRef, ...) (r core.ObjectDescriptor, r1 error)
- func (m *ArtifactManagerMock) ActivateObjectMinimockCounter() uint64
- func (m *ArtifactManagerMock) ActivateObjectMinimockPreCounter() uint64
- func (m *ArtifactManagerMock) ActivatePrototype(p context.Context, p1 core.RecordRef, p2 core.RecordRef, p3 core.RecordRef, ...) (r core.ObjectDescriptor, r1 error)
- func (m *ArtifactManagerMock) ActivatePrototypeMinimockCounter() uint64
- func (m *ArtifactManagerMock) ActivatePrototypeMinimockPreCounter() uint64
- func (m *ArtifactManagerMock) AllMocksCalled() bool
- func (m *ArtifactManagerMock) CheckMocksCalled()
- func (m *ArtifactManagerMock) DeactivateObject(p context.Context, p1 core.RecordRef, p2 core.RecordRef, ...) (r *core.RecordID, r1 error)
- func (m *ArtifactManagerMock) DeactivateObjectMinimockCounter() uint64
- func (m *ArtifactManagerMock) DeactivateObjectMinimockPreCounter() uint64
- func (m *ArtifactManagerMock) DeclareType(p context.Context, p1 core.RecordRef, p2 core.RecordRef, p3 []byte) (r *core.RecordID, r1 error)
- func (m *ArtifactManagerMock) DeclareTypeMinimockCounter() uint64
- func (m *ArtifactManagerMock) DeclareTypeMinimockPreCounter() uint64
- func (m *ArtifactManagerMock) DeployCode(p context.Context, p1 core.RecordRef, p2 core.RecordRef, p3 []byte, ...) (r *core.RecordID, r1 error)
- func (m *ArtifactManagerMock) DeployCodeMinimockCounter() uint64
- func (m *ArtifactManagerMock) DeployCodeMinimockPreCounter() uint64
- func (m *ArtifactManagerMock) Finish()
- func (m *ArtifactManagerMock) GenesisRef() (r *core.RecordRef)
- func (m *ArtifactManagerMock) GenesisRefMinimockCounter() uint64
- func (m *ArtifactManagerMock) GenesisRefMinimockPreCounter() uint64
- func (m *ArtifactManagerMock) GetChildren(p context.Context, p1 core.RecordRef, p2 *core.PulseNumber) (r core.RefIterator, r1 error)
- func (m *ArtifactManagerMock) GetChildrenMinimockCounter() uint64
- func (m *ArtifactManagerMock) GetChildrenMinimockPreCounter() uint64
- func (m *ArtifactManagerMock) GetCode(p context.Context, p1 core.RecordRef) (r core.CodeDescriptor, r1 error)
- func (m *ArtifactManagerMock) GetCodeMinimockCounter() uint64
- func (m *ArtifactManagerMock) GetCodeMinimockPreCounter() uint64
- func (m *ArtifactManagerMock) GetDelegate(p context.Context, p1 core.RecordRef, p2 core.RecordRef) (r *core.RecordRef, r1 error)
- func (m *ArtifactManagerMock) GetDelegateMinimockCounter() uint64
- func (m *ArtifactManagerMock) GetDelegateMinimockPreCounter() uint64
- func (m *ArtifactManagerMock) GetObject(p context.Context, p1 core.RecordRef, p2 *core.RecordID, p3 bool) (r core.ObjectDescriptor, r1 error)
- func (m *ArtifactManagerMock) GetObjectMinimockCounter() uint64
- func (m *ArtifactManagerMock) GetObjectMinimockPreCounter() uint64
- func (m *ArtifactManagerMock) MinimockFinish()
- func (m *ArtifactManagerMock) MinimockWait(timeout time.Duration)
- func (m *ArtifactManagerMock) RegisterRequest(p context.Context, p1 core.Parcel) (r *core.RecordID, r1 error)
- func (m *ArtifactManagerMock) RegisterRequestMinimockCounter() uint64
- func (m *ArtifactManagerMock) RegisterRequestMinimockPreCounter() uint64
- func (m *ArtifactManagerMock) RegisterResult(p context.Context, p1 core.RecordRef, p2 []byte) (r *core.RecordID, r1 error)
- func (m *ArtifactManagerMock) RegisterResultMinimockCounter() uint64
- func (m *ArtifactManagerMock) RegisterResultMinimockPreCounter() uint64
- func (m *ArtifactManagerMock) RegisterValidation(p context.Context, p1 core.RecordRef, p2 core.RecordID, p3 bool, ...) (r error)
- func (m *ArtifactManagerMock) RegisterValidationMinimockCounter() uint64
- func (m *ArtifactManagerMock) RegisterValidationMinimockPreCounter() uint64
- func (m *ArtifactManagerMock) State() (r []byte, r1 error)
- func (m *ArtifactManagerMock) StateMinimockCounter() uint64
- func (m *ArtifactManagerMock) StateMinimockPreCounter() uint64
- func (m *ArtifactManagerMock) UpdateObject(p context.Context, p1 core.RecordRef, p2 core.RecordRef, ...) (r core.ObjectDescriptor, r1 error)
- func (m *ArtifactManagerMock) UpdateObjectMinimockCounter() uint64
- func (m *ArtifactManagerMock) UpdateObjectMinimockPreCounter() uint64
- func (m *ArtifactManagerMock) UpdatePrototype(p context.Context, p1 core.RecordRef, p2 core.RecordRef, ...) (r core.ObjectDescriptor, r1 error)
- func (m *ArtifactManagerMock) UpdatePrototypeMinimockCounter() uint64
- func (m *ArtifactManagerMock) UpdatePrototypeMinimockPreCounter() uint64
- func (m *ArtifactManagerMock) ValidateCallCounters()
- func (m *ArtifactManagerMock) Wait(timeout time.Duration)
- type ArtifactManagerMockActivateObjectParams
- type ArtifactManagerMockActivatePrototypeParams
- type ArtifactManagerMockDeactivateObjectParams
- type ArtifactManagerMockDeclareTypeParams
- type ArtifactManagerMockDeployCodeParams
- type ArtifactManagerMockGetChildrenParams
- type ArtifactManagerMockGetCodeParams
- type ArtifactManagerMockGetDelegateParams
- type ArtifactManagerMockGetObjectParams
- type ArtifactManagerMockRegisterRequestParams
- type ArtifactManagerMockRegisterResultParams
- type ArtifactManagerMockRegisterValidationParams
- type ArtifactManagerMockUpdateObjectParams
- type ArtifactManagerMockUpdatePrototypeParams
- type CertificateMock
- func (m *CertificateMock) AllMocksCalled() bool
- func (m *CertificateMock) CheckMocksCalled()
- func (m *CertificateMock) Finish()
- func (m *CertificateMock) GetDiscoveryNodes() (r []core.DiscoveryNode)
- func (m *CertificateMock) GetDiscoveryNodesMinimockCounter() uint64
- func (m *CertificateMock) GetDiscoveryNodesMinimockPreCounter() uint64
- func (m *CertificateMock) GetNodeRef() (r *core.RecordRef)
- func (m *CertificateMock) GetNodeRefMinimockCounter() uint64
- func (m *CertificateMock) GetNodeRefMinimockPreCounter() uint64
- func (m *CertificateMock) GetPublicKey() (r crypto.PublicKey)
- func (m *CertificateMock) GetPublicKeyMinimockCounter() uint64
- func (m *CertificateMock) GetPublicKeyMinimockPreCounter() uint64
- func (m *CertificateMock) GetRole() (r core.StaticRole)
- func (m *CertificateMock) GetRoleMinimockCounter() uint64
- func (m *CertificateMock) GetRoleMinimockPreCounter() uint64
- func (m *CertificateMock) GetRootDomainReference() (r *core.RecordRef)
- func (m *CertificateMock) GetRootDomainReferenceMinimockCounter() uint64
- func (m *CertificateMock) GetRootDomainReferenceMinimockPreCounter() uint64
- func (m *CertificateMock) MinimockFinish()
- func (m *CertificateMock) MinimockWait(timeout time.Duration)
- func (m *CertificateMock) SetRootDomainReference(p *core.RecordRef)
- func (m *CertificateMock) SetRootDomainReferenceMinimockCounter() uint64
- func (m *CertificateMock) SetRootDomainReferenceMinimockPreCounter() uint64
- func (m *CertificateMock) ValidateCallCounters()
- func (m *CertificateMock) Wait(timeout time.Duration)
- type CertificateMockSetRootDomainReferenceParams
- type ContractRequesterMock
- func (m *ContractRequesterMock) AllMocksCalled() bool
- func (m *ContractRequesterMock) CheckMocksCalled()
- func (m *ContractRequesterMock) Finish()
- func (m *ContractRequesterMock) MinimockFinish()
- func (m *ContractRequesterMock) MinimockWait(timeout time.Duration)
- func (m *ContractRequesterMock) SendRequest(p context.Context, p1 *core.RecordRef, p2 string, p3 []interface{}) (r core.Reply, r1 error)
- func (m *ContractRequesterMock) SendRequestMinimockCounter() uint64
- func (m *ContractRequesterMock) SendRequestMinimockPreCounter() uint64
- func (m *ContractRequesterMock) ValidateCallCounters()
- func (m *ContractRequesterMock) Wait(timeout time.Duration)
- type ContractRequesterMockSendRequestParams
- type CryptographyServiceMock
- func (m *CryptographyServiceMock) AllMocksCalled() bool
- func (m *CryptographyServiceMock) CheckMocksCalled()
- func (m *CryptographyServiceMock) Finish()
- func (m *CryptographyServiceMock) GetPublicKey() (r crypto.PublicKey, r1 error)
- func (m *CryptographyServiceMock) GetPublicKeyMinimockCounter() uint64
- func (m *CryptographyServiceMock) GetPublicKeyMinimockPreCounter() uint64
- func (m *CryptographyServiceMock) MinimockFinish()
- func (m *CryptographyServiceMock) MinimockWait(timeout time.Duration)
- func (m *CryptographyServiceMock) Sign(p []byte) (r *core.Signature, r1 error)
- func (m *CryptographyServiceMock) SignMinimockCounter() uint64
- func (m *CryptographyServiceMock) SignMinimockPreCounter() uint64
- func (m *CryptographyServiceMock) ValidateCallCounters()
- func (m *CryptographyServiceMock) Verify(p crypto.PublicKey, p1 core.Signature, p2 []byte) (r bool)
- func (m *CryptographyServiceMock) VerifyMinimockCounter() uint64
- func (m *CryptographyServiceMock) VerifyMinimockPreCounter() uint64
- func (m *CryptographyServiceMock) Wait(timeout time.Duration)
- type CryptographyServiceMockSignParams
- type CryptographyServiceMockVerifyParams
- type DelegationTokenFactoryMock
- func (m *DelegationTokenFactoryMock) AllMocksCalled() bool
- func (m *DelegationTokenFactoryMock) CheckMocksCalled()
- func (m *DelegationTokenFactoryMock) Finish()
- func (m *DelegationTokenFactoryMock) IssueGetChildrenRedirect(p *core.RecordRef, p1 core.Message) (r core.DelegationToken, r1 error)
- func (m *DelegationTokenFactoryMock) IssueGetChildrenRedirectMinimockCounter() uint64
- func (m *DelegationTokenFactoryMock) IssueGetChildrenRedirectMinimockPreCounter() uint64
- func (m *DelegationTokenFactoryMock) IssueGetCodeRedirect(p *core.RecordRef, p1 core.Message) (r core.DelegationToken, r1 error)
- func (m *DelegationTokenFactoryMock) IssueGetCodeRedirectMinimockCounter() uint64
- func (m *DelegationTokenFactoryMock) IssueGetCodeRedirectMinimockPreCounter() uint64
- func (m *DelegationTokenFactoryMock) IssueGetObjectRedirect(p *core.RecordRef, p1 core.Message) (r core.DelegationToken, r1 error)
- func (m *DelegationTokenFactoryMock) IssueGetObjectRedirectMinimockCounter() uint64
- func (m *DelegationTokenFactoryMock) IssueGetObjectRedirectMinimockPreCounter() uint64
- func (m *DelegationTokenFactoryMock) IssuePendingExecution(p core.Message, p1 core.PulseNumber) (r core.DelegationToken, r1 error)
- func (m *DelegationTokenFactoryMock) IssuePendingExecutionMinimockCounter() uint64
- func (m *DelegationTokenFactoryMock) IssuePendingExecutionMinimockPreCounter() uint64
- func (m *DelegationTokenFactoryMock) MinimockFinish()
- func (m *DelegationTokenFactoryMock) MinimockWait(timeout time.Duration)
- func (m *DelegationTokenFactoryMock) ValidateCallCounters()
- func (m *DelegationTokenFactoryMock) Verify(p core.Parcel) (r bool, r1 error)
- func (m *DelegationTokenFactoryMock) VerifyMinimockCounter() uint64
- func (m *DelegationTokenFactoryMock) VerifyMinimockPreCounter() uint64
- func (m *DelegationTokenFactoryMock) Wait(timeout time.Duration)
- type DelegationTokenFactoryMockIssueGetChildrenRedirectParams
- type DelegationTokenFactoryMockIssueGetCodeRedirectParams
- type DelegationTokenFactoryMockIssueGetObjectRedirectParams
- type DelegationTokenFactoryMockIssuePendingExecutionParams
- type DelegationTokenFactoryMockVerifyParams
- type DiscoveryNodeMock
- func (m *DiscoveryNodeMock) AllMocksCalled() bool
- func (m *DiscoveryNodeMock) CheckMocksCalled()
- func (m *DiscoveryNodeMock) Finish()
- func (m *DiscoveryNodeMock) GetHost() (r string)
- func (m *DiscoveryNodeMock) GetHostMinimockCounter() uint64
- func (m *DiscoveryNodeMock) GetHostMinimockPreCounter() uint64
- func (m *DiscoveryNodeMock) GetNodeRef() (r *core.RecordRef)
- func (m *DiscoveryNodeMock) GetNodeRefMinimockCounter() uint64
- func (m *DiscoveryNodeMock) GetNodeRefMinimockPreCounter() uint64
- func (m *DiscoveryNodeMock) GetPublicKey() (r crypto.PublicKey)
- func (m *DiscoveryNodeMock) GetPublicKeyMinimockCounter() uint64
- func (m *DiscoveryNodeMock) GetPublicKeyMinimockPreCounter() uint64
- func (m *DiscoveryNodeMock) MinimockFinish()
- func (m *DiscoveryNodeMock) MinimockWait(timeout time.Duration)
- func (m *DiscoveryNodeMock) ValidateCallCounters()
- func (m *DiscoveryNodeMock) Wait(timeout time.Duration)
- type HeavySyncMock
- func (m *HeavySyncMock) AllMocksCalled() bool
- func (m *HeavySyncMock) CheckMocksCalled()
- func (m *HeavySyncMock) Finish()
- func (m *HeavySyncMock) MinimockFinish()
- func (m *HeavySyncMock) MinimockWait(timeout time.Duration)
- func (m *HeavySyncMock) Start(p context.Context, p1 core.PulseNumber) (r error)
- func (m *HeavySyncMock) StartMinimockCounter() uint64
- func (m *HeavySyncMock) StartMinimockPreCounter() uint64
- func (m *HeavySyncMock) Stop(p context.Context, p1 core.PulseNumber) (r error)
- func (m *HeavySyncMock) StopMinimockCounter() uint64
- func (m *HeavySyncMock) StopMinimockPreCounter() uint64
- func (m *HeavySyncMock) Store(p context.Context, p1 core.PulseNumber, p2 []core.KV) (r error)
- func (m *HeavySyncMock) StoreMinimockCounter() uint64
- func (m *HeavySyncMock) StoreMinimockPreCounter() uint64
- func (m *HeavySyncMock) ValidateCallCounters()
- func (m *HeavySyncMock) Wait(timeout time.Duration)
- type HeavySyncMockStartParams
- type HeavySyncMockStopParams
- type HeavySyncMockStoreParams
- type JetCoordinatorMock
- func (m *JetCoordinatorMock) AllMocksCalled() bool
- func (m *JetCoordinatorMock) CheckMocksCalled()
- func (m *JetCoordinatorMock) Finish()
- func (m *JetCoordinatorMock) GetActiveNodes(p core.PulseNumber) (r []core.Node, r1 error)
- func (m *JetCoordinatorMock) GetActiveNodesMinimockCounter() uint64
- func (m *JetCoordinatorMock) GetActiveNodesMinimockPreCounter() uint64
- func (m *JetCoordinatorMock) IsAuthorized(p context.Context, p1 core.DynamicRole, p2 *core.RecordRef, ...) (r bool, r1 error)
- func (m *JetCoordinatorMock) IsAuthorizedMinimockCounter() uint64
- func (m *JetCoordinatorMock) IsAuthorizedMinimockPreCounter() uint64
- func (m *JetCoordinatorMock) MinimockFinish()
- func (m *JetCoordinatorMock) MinimockWait(timeout time.Duration)
- func (m *JetCoordinatorMock) QueryRole(p context.Context, p1 core.DynamicRole, p2 *core.RecordRef, ...) (r []core.RecordRef, r1 error)
- func (m *JetCoordinatorMock) QueryRoleMinimockCounter() uint64
- func (m *JetCoordinatorMock) QueryRoleMinimockPreCounter() uint64
- func (m *JetCoordinatorMock) ValidateCallCounters()
- func (m *JetCoordinatorMock) Wait(timeout time.Duration)
- type JetCoordinatorMockGetActiveNodesParams
- type JetCoordinatorMockIsAuthorizedParams
- type JetCoordinatorMockQueryRoleParams
- type KeyProcessorMock
- func (m *KeyProcessorMock) AllMocksCalled() bool
- func (m *KeyProcessorMock) CheckMocksCalled()
- func (m *KeyProcessorMock) ExportPrivateKey(p crypto.PrivateKey) (r []byte, r1 error)
- func (m *KeyProcessorMock) ExportPrivateKeyMinimockCounter() uint64
- func (m *KeyProcessorMock) ExportPrivateKeyMinimockPreCounter() uint64
- func (m *KeyProcessorMock) ExportPublicKey(p crypto.PublicKey) (r []byte, r1 error)
- func (m *KeyProcessorMock) ExportPublicKeyMinimockCounter() uint64
- func (m *KeyProcessorMock) ExportPublicKeyMinimockPreCounter() uint64
- func (m *KeyProcessorMock) ExtractPublicKey(p crypto.PrivateKey) (r crypto.PublicKey)
- func (m *KeyProcessorMock) ExtractPublicKeyMinimockCounter() uint64
- func (m *KeyProcessorMock) ExtractPublicKeyMinimockPreCounter() uint64
- func (m *KeyProcessorMock) Finish()
- func (m *KeyProcessorMock) GeneratePrivateKey() (r crypto.PrivateKey, r1 error)
- func (m *KeyProcessorMock) GeneratePrivateKeyMinimockCounter() uint64
- func (m *KeyProcessorMock) GeneratePrivateKeyMinimockPreCounter() uint64
- func (m *KeyProcessorMock) ImportPrivateKey(p []byte) (r crypto.PrivateKey, r1 error)
- func (m *KeyProcessorMock) ImportPrivateKeyMinimockCounter() uint64
- func (m *KeyProcessorMock) ImportPrivateKeyMinimockPreCounter() uint64
- func (m *KeyProcessorMock) ImportPublicKey(p []byte) (r crypto.PublicKey, r1 error)
- func (m *KeyProcessorMock) ImportPublicKeyMinimockCounter() uint64
- func (m *KeyProcessorMock) ImportPublicKeyMinimockPreCounter() uint64
- func (m *KeyProcessorMock) MinimockFinish()
- func (m *KeyProcessorMock) MinimockWait(timeout time.Duration)
- func (m *KeyProcessorMock) ValidateCallCounters()
- func (m *KeyProcessorMock) Wait(timeout time.Duration)
- type KeyProcessorMockExportPrivateKeyParams
- type KeyProcessorMockExportPublicKeyParams
- type KeyProcessorMockExtractPublicKeyParams
- type KeyProcessorMockImportPrivateKeyParams
- type KeyProcessorMockImportPublicKeyParams
- type LocalStorageMock
- func (m *LocalStorageMock) AllMocksCalled() bool
- func (m *LocalStorageMock) CheckMocksCalled()
- func (m *LocalStorageMock) Finish()
- func (m *LocalStorageMock) Get(p context.Context, p1 core.PulseNumber, p2 []byte) (r []byte, r1 error)
- func (m *LocalStorageMock) GetMinimockCounter() uint64
- func (m *LocalStorageMock) GetMinimockPreCounter() uint64
- func (m *LocalStorageMock) Iterate(p context.Context, p1 core.PulseNumber, p2 []byte, ...) (r error)
- func (m *LocalStorageMock) IterateMinimockCounter() uint64
- func (m *LocalStorageMock) IterateMinimockPreCounter() uint64
- func (m *LocalStorageMock) MinimockFinish()
- func (m *LocalStorageMock) MinimockWait(timeout time.Duration)
- func (m *LocalStorageMock) Set(p context.Context, p1 core.PulseNumber, p2 []byte, p3 []byte) (r error)
- func (m *LocalStorageMock) SetMinimockCounter() uint64
- func (m *LocalStorageMock) SetMinimockPreCounter() uint64
- func (m *LocalStorageMock) ValidateCallCounters()
- func (m *LocalStorageMock) Wait(timeout time.Duration)
- type LocalStorageMockGetParams
- type LocalStorageMockIterateParams
- type LocalStorageMockSetParams
- type LogicRunnerMock
- func (m *LogicRunnerMock) AllMocksCalled() bool
- func (m *LogicRunnerMock) CheckMocksCalled()
- func (m *LogicRunnerMock) Execute(p context.Context, p1 core.Parcel) (r core.Reply, r1 error)
- func (m *LogicRunnerMock) ExecuteMinimockCounter() uint64
- func (m *LogicRunnerMock) ExecuteMinimockPreCounter() uint64
- func (m *LogicRunnerMock) ExecutorResults(p context.Context, p1 core.Parcel) (r core.Reply, r1 error)
- func (m *LogicRunnerMock) ExecutorResultsMinimockCounter() uint64
- func (m *LogicRunnerMock) ExecutorResultsMinimockPreCounter() uint64
- func (m *LogicRunnerMock) Finish()
- func (m *LogicRunnerMock) MinimockFinish()
- func (m *LogicRunnerMock) MinimockWait(timeout time.Duration)
- func (m *LogicRunnerMock) OnPulse(p context.Context, p1 core.Pulse) (r error)
- func (m *LogicRunnerMock) OnPulseMinimockCounter() uint64
- func (m *LogicRunnerMock) OnPulseMinimockPreCounter() uint64
- func (m *LogicRunnerMock) ProcessValidationResults(p context.Context, p1 core.Parcel) (r core.Reply, r1 error)
- func (m *LogicRunnerMock) ProcessValidationResultsMinimockCounter() uint64
- func (m *LogicRunnerMock) ProcessValidationResultsMinimockPreCounter() uint64
- func (m *LogicRunnerMock) Validate(p context.Context, p1 core.RecordRef, p2 core.Pulse, p3 core.CaseBind) (r int, r1 error)
- func (m *LogicRunnerMock) ValidateCallCounters()
- func (m *LogicRunnerMock) ValidateCaseBind(p context.Context, p1 core.Parcel) (r core.Reply, r1 error)
- func (m *LogicRunnerMock) ValidateCaseBindMinimockCounter() uint64
- func (m *LogicRunnerMock) ValidateCaseBindMinimockPreCounter() uint64
- func (m *LogicRunnerMock) ValidateMinimockCounter() uint64
- func (m *LogicRunnerMock) ValidateMinimockPreCounter() uint64
- func (m *LogicRunnerMock) Wait(timeout time.Duration)
- type LogicRunnerMockExecuteParams
- type LogicRunnerMockExecutorResultsParams
- type LogicRunnerMockOnPulseParams
- type LogicRunnerMockProcessValidationResultsParams
- type LogicRunnerMockValidateCaseBindParams
- type LogicRunnerMockValidateParams
- type MessageBusMock
- func (m *MessageBusMock) AllMocksCalled() bool
- func (m *MessageBusMock) CheckMocksCalled()
- func (m *MessageBusMock) Finish()
- func (m *MessageBusMock) MinimockFinish()
- func (m *MessageBusMock) MinimockWait(timeout time.Duration)
- func (m *MessageBusMock) MustRegister(p core.MessageType, p1 core.MessageHandler)
- func (m *MessageBusMock) MustRegisterMinimockCounter() uint64
- func (m *MessageBusMock) MustRegisterMinimockPreCounter() uint64
- func (m *MessageBusMock) NewPlayer(p context.Context, p1 io.Reader) (r core.MessageBus, r1 error)
- func (m *MessageBusMock) NewPlayerMinimockCounter() uint64
- func (m *MessageBusMock) NewPlayerMinimockPreCounter() uint64
- func (m *MessageBusMock) NewRecorder(p context.Context) (r core.MessageBus, r1 error)
- func (m *MessageBusMock) NewRecorderMinimockCounter() uint64
- func (m *MessageBusMock) NewRecorderMinimockPreCounter() uint64
- func (m *MessageBusMock) Register(p core.MessageType, p1 core.MessageHandler) (r error)
- func (m *MessageBusMock) RegisterMinimockCounter() uint64
- func (m *MessageBusMock) RegisterMinimockPreCounter() uint64
- func (m *MessageBusMock) Send(p context.Context, p1 core.Message, p2 *core.MessageSendOptions) (r core.Reply, r1 error)
- func (m *MessageBusMock) SendMinimockCounter() uint64
- func (m *MessageBusMock) SendMinimockPreCounter() uint64
- func (m *MessageBusMock) ValidateCallCounters()
- func (m *MessageBusMock) Wait(timeout time.Duration)
- func (m *MessageBusMock) WriteTape(p context.Context, p1 io.Writer) (r error)
- func (m *MessageBusMock) WriteTapeMinimockCounter() uint64
- func (m *MessageBusMock) WriteTapeMinimockPreCounter() uint64
- type MessageBusMockMustRegisterParams
- type MessageBusMockNewPlayerParams
- type MessageBusMockNewRecorderParams
- type MessageBusMockRegisterParams
- type MessageBusMockSendParams
- type MessageBusMockWriteTapeParams
- type NetworkCoordinatorMock
- func (m *NetworkCoordinatorMock) AllMocksCalled() bool
- func (m *NetworkCoordinatorMock) CheckMocksCalled()
- func (m *NetworkCoordinatorMock) Finish()
- func (m *NetworkCoordinatorMock) GetCert(p context.Context, p1 core.RecordRef) (r core.Certificate, r1 error)
- func (m *NetworkCoordinatorMock) GetCertMinimockCounter() uint64
- func (m *NetworkCoordinatorMock) GetCertMinimockPreCounter() uint64
- func (m *NetworkCoordinatorMock) MinimockFinish()
- func (m *NetworkCoordinatorMock) MinimockWait(timeout time.Duration)
- func (m *NetworkCoordinatorMock) SetPulse(p context.Context, p1 core.Pulse) (r error)
- func (m *NetworkCoordinatorMock) SetPulseMinimockCounter() uint64
- func (m *NetworkCoordinatorMock) SetPulseMinimockPreCounter() uint64
- func (m *NetworkCoordinatorMock) ValidateCallCounters()
- func (m *NetworkCoordinatorMock) ValidateCert(p context.Context, p1 core.Certificate) (r bool, r1 error)
- func (m *NetworkCoordinatorMock) ValidateCertMinimockCounter() uint64
- func (m *NetworkCoordinatorMock) ValidateCertMinimockPreCounter() uint64
- func (m *NetworkCoordinatorMock) Wait(timeout time.Duration)
- func (m *NetworkCoordinatorMock) WriteActiveNodes(p context.Context, p1 core.PulseNumber, p2 []core.Node) (r error)
- func (m *NetworkCoordinatorMock) WriteActiveNodesMinimockCounter() uint64
- func (m *NetworkCoordinatorMock) WriteActiveNodesMinimockPreCounter() uint64
- type NetworkCoordinatorMockGetCertParams
- type NetworkCoordinatorMockSetPulseParams
- type NetworkCoordinatorMockValidateCertParams
- type NetworkCoordinatorMockWriteActiveNodesParams
- type PulseManagerMock
- func (m *PulseManagerMock) AllMocksCalled() bool
- func (m *PulseManagerMock) CheckMocksCalled()
- func (m *PulseManagerMock) Current(p context.Context) (r *core.Pulse, r1 error)
- func (m *PulseManagerMock) CurrentMinimockCounter() uint64
- func (m *PulseManagerMock) CurrentMinimockPreCounter() uint64
- func (m *PulseManagerMock) Finish()
- func (m *PulseManagerMock) MinimockFinish()
- func (m *PulseManagerMock) MinimockWait(timeout time.Duration)
- func (m *PulseManagerMock) Set(p context.Context, p1 core.Pulse) (r error)
- func (m *PulseManagerMock) SetMinimockCounter() uint64
- func (m *PulseManagerMock) SetMinimockPreCounter() uint64
- func (m *PulseManagerMock) ValidateCallCounters()
- func (m *PulseManagerMock) Wait(timeout time.Duration)
- type PulseManagerMockCurrentParams
- type PulseManagerMockSetParams
- type Recorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RandomString ¶ added in v0.3.0
func RandomString() string
RandomString generates random uuid and return it as a string
Types ¶
type ArtifactManagerMock ¶ added in v0.6.3
type ArtifactManagerMock struct { ActivateObjectFunc func(p context.Context, p1 core.RecordRef, p2 core.RecordRef, p3 core.RecordRef, p4 core.RecordRef, p5 bool, p6 []byte) (r core.ObjectDescriptor, r1 error) ActivateObjectCounter uint64 ActivateObjectPreCounter uint64 ActivateObjectMock mArtifactManagerMockActivateObject ActivatePrototypeFunc func(p context.Context, p1 core.RecordRef, p2 core.RecordRef, p3 core.RecordRef, p4 core.RecordRef, p5 []byte) (r core.ObjectDescriptor, r1 error) ActivatePrototypeCounter uint64 ActivatePrototypePreCounter uint64 ActivatePrototypeMock mArtifactManagerMockActivatePrototype DeactivateObjectFunc func(p context.Context, p1 core.RecordRef, p2 core.RecordRef, p3 core.ObjectDescriptor) (r *core.RecordID, r1 error) DeactivateObjectCounter uint64 DeactivateObjectPreCounter uint64 DeactivateObjectMock mArtifactManagerMockDeactivateObject DeclareTypeFunc func(p context.Context, p1 core.RecordRef, p2 core.RecordRef, p3 []byte) (r *core.RecordID, r1 error) DeclareTypeCounter uint64 DeclareTypePreCounter uint64 DeclareTypeMock mArtifactManagerMockDeclareType DeployCodeFunc func(p context.Context, p1 core.RecordRef, p2 core.RecordRef, p3 []byte, p4 core.MachineType) (r *core.RecordID, r1 error) DeployCodeCounter uint64 DeployCodePreCounter uint64 DeployCodeMock mArtifactManagerMockDeployCode GenesisRefFunc func() (r *core.RecordRef) GenesisRefCounter uint64 GenesisRefPreCounter uint64 GenesisRefMock mArtifactManagerMockGenesisRef GetChildrenFunc func(p context.Context, p1 core.RecordRef, p2 *core.PulseNumber) (r core.RefIterator, r1 error) GetChildrenCounter uint64 GetChildrenPreCounter uint64 GetChildrenMock mArtifactManagerMockGetChildren GetCodeFunc func(p context.Context, p1 core.RecordRef) (r core.CodeDescriptor, r1 error) GetCodeCounter uint64 GetCodePreCounter uint64 GetCodeMock mArtifactManagerMockGetCode GetDelegateFunc func(p context.Context, p1 core.RecordRef, p2 core.RecordRef) (r *core.RecordRef, r1 error) GetDelegateCounter uint64 GetDelegatePreCounter uint64 GetDelegateMock mArtifactManagerMockGetDelegate GetObjectFunc func(p context.Context, p1 core.RecordRef, p2 *core.RecordID, p3 bool) (r core.ObjectDescriptor, r1 error) GetObjectCounter uint64 GetObjectPreCounter uint64 GetObjectMock mArtifactManagerMockGetObject RegisterRequestFunc func(p context.Context, p1 core.Parcel) (r *core.RecordID, r1 error) RegisterRequestCounter uint64 RegisterRequestPreCounter uint64 RegisterRequestMock mArtifactManagerMockRegisterRequest RegisterResultFunc func(p context.Context, p1 core.RecordRef, p2 []byte) (r *core.RecordID, r1 error) RegisterResultCounter uint64 RegisterResultPreCounter uint64 RegisterResultMock mArtifactManagerMockRegisterResult RegisterValidationFunc func(p context.Context, p1 core.RecordRef, p2 core.RecordID, p3 bool, p4 []core.Message) (r error) RegisterValidationCounter uint64 RegisterValidationPreCounter uint64 RegisterValidationMock mArtifactManagerMockRegisterValidation StateFunc func() (r []byte, r1 error) StateCounter uint64 StatePreCounter uint64 StateMock mArtifactManagerMockState UpdateObjectFunc func(p context.Context, p1 core.RecordRef, p2 core.RecordRef, p3 core.ObjectDescriptor, p4 []byte) (r core.ObjectDescriptor, r1 error) UpdateObjectCounter uint64 UpdateObjectPreCounter uint64 UpdateObjectMock mArtifactManagerMockUpdateObject UpdatePrototypeFunc func(p context.Context, p1 core.RecordRef, p2 core.RecordRef, p3 core.ObjectDescriptor, p4 []byte, p5 *core.RecordRef) (r core.ObjectDescriptor, r1 error) UpdatePrototypeCounter uint64 UpdatePrototypePreCounter uint64 UpdatePrototypeMock mArtifactManagerMockUpdatePrototype // contains filtered or unexported fields }
ArtifactManagerMock implements github.com/insolar/insolar/core.ArtifactManager
func NewArtifactManagerMock ¶ added in v0.6.3
func NewArtifactManagerMock(t minimock.Tester) *ArtifactManagerMock
NewArtifactManagerMock returns a mock for github.com/insolar/insolar/core.ArtifactManager
func (*ArtifactManagerMock) ActivateObject ¶ added in v0.6.3
func (m *ArtifactManagerMock) ActivateObject(p context.Context, p1 core.RecordRef, p2 core.RecordRef, p3 core.RecordRef, p4 core.RecordRef, p5 bool, p6 []byte) (r core.ObjectDescriptor, r1 error)
ActivateObject implements github.com/insolar/insolar/core.ArtifactManager interface
func (*ArtifactManagerMock) ActivateObjectMinimockCounter ¶ added in v0.6.3
func (m *ArtifactManagerMock) ActivateObjectMinimockCounter() uint64
ActivateObjectMinimockCounter returns a count of ArtifactManagerMock.ActivateObjectFunc invocations
func (*ArtifactManagerMock) ActivateObjectMinimockPreCounter ¶ added in v0.6.3
func (m *ArtifactManagerMock) ActivateObjectMinimockPreCounter() uint64
ActivateObjectMinimockPreCounter returns the value of ArtifactManagerMock.ActivateObject invocations
func (*ArtifactManagerMock) ActivatePrototype ¶ added in v0.6.3
func (m *ArtifactManagerMock) ActivatePrototype(p context.Context, p1 core.RecordRef, p2 core.RecordRef, p3 core.RecordRef, p4 core.RecordRef, p5 []byte) (r core.ObjectDescriptor, r1 error)
ActivatePrototype implements github.com/insolar/insolar/core.ArtifactManager interface
func (*ArtifactManagerMock) ActivatePrototypeMinimockCounter ¶ added in v0.6.3
func (m *ArtifactManagerMock) ActivatePrototypeMinimockCounter() uint64
ActivatePrototypeMinimockCounter returns a count of ArtifactManagerMock.ActivatePrototypeFunc invocations
func (*ArtifactManagerMock) ActivatePrototypeMinimockPreCounter ¶ added in v0.6.3
func (m *ArtifactManagerMock) ActivatePrototypeMinimockPreCounter() uint64
ActivatePrototypeMinimockPreCounter returns the value of ArtifactManagerMock.ActivatePrototype invocations
func (*ArtifactManagerMock) AllMocksCalled ¶ added in v0.6.3
func (m *ArtifactManagerMock) AllMocksCalled() bool
AllMocksCalled returns true if all mocked methods were called before the execution of AllMocksCalled, it can be used with assert/require, i.e. assert.True(mock.AllMocksCalled())
func (*ArtifactManagerMock) CheckMocksCalled ¶ added in v0.6.3
func (m *ArtifactManagerMock) CheckMocksCalled()
CheckMocksCalled checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller
func (*ArtifactManagerMock) DeactivateObject ¶ added in v0.6.3
func (m *ArtifactManagerMock) DeactivateObject(p context.Context, p1 core.RecordRef, p2 core.RecordRef, p3 core.ObjectDescriptor) (r *core.RecordID, r1 error)
DeactivateObject implements github.com/insolar/insolar/core.ArtifactManager interface
func (*ArtifactManagerMock) DeactivateObjectMinimockCounter ¶ added in v0.6.3
func (m *ArtifactManagerMock) DeactivateObjectMinimockCounter() uint64
DeactivateObjectMinimockCounter returns a count of ArtifactManagerMock.DeactivateObjectFunc invocations
func (*ArtifactManagerMock) DeactivateObjectMinimockPreCounter ¶ added in v0.6.3
func (m *ArtifactManagerMock) DeactivateObjectMinimockPreCounter() uint64
DeactivateObjectMinimockPreCounter returns the value of ArtifactManagerMock.DeactivateObject invocations
func (*ArtifactManagerMock) DeclareType ¶ added in v0.6.3
func (m *ArtifactManagerMock) DeclareType(p context.Context, p1 core.RecordRef, p2 core.RecordRef, p3 []byte) (r *core.RecordID, r1 error)
DeclareType implements github.com/insolar/insolar/core.ArtifactManager interface
func (*ArtifactManagerMock) DeclareTypeMinimockCounter ¶ added in v0.6.3
func (m *ArtifactManagerMock) DeclareTypeMinimockCounter() uint64
DeclareTypeMinimockCounter returns a count of ArtifactManagerMock.DeclareTypeFunc invocations
func (*ArtifactManagerMock) DeclareTypeMinimockPreCounter ¶ added in v0.6.3
func (m *ArtifactManagerMock) DeclareTypeMinimockPreCounter() uint64
DeclareTypeMinimockPreCounter returns the value of ArtifactManagerMock.DeclareType invocations
func (*ArtifactManagerMock) DeployCode ¶ added in v0.6.3
func (m *ArtifactManagerMock) DeployCode(p context.Context, p1 core.RecordRef, p2 core.RecordRef, p3 []byte, p4 core.MachineType) (r *core.RecordID, r1 error)
DeployCode implements github.com/insolar/insolar/core.ArtifactManager interface
func (*ArtifactManagerMock) DeployCodeMinimockCounter ¶ added in v0.6.3
func (m *ArtifactManagerMock) DeployCodeMinimockCounter() uint64
DeployCodeMinimockCounter returns a count of ArtifactManagerMock.DeployCodeFunc invocations
func (*ArtifactManagerMock) DeployCodeMinimockPreCounter ¶ added in v0.6.3
func (m *ArtifactManagerMock) DeployCodeMinimockPreCounter() uint64
DeployCodeMinimockPreCounter returns the value of ArtifactManagerMock.DeployCode invocations
func (*ArtifactManagerMock) Finish ¶ added in v0.6.3
func (m *ArtifactManagerMock) Finish()
Finish checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish or use Finish method of minimock.Controller
func (*ArtifactManagerMock) GenesisRef ¶ added in v0.6.3
func (m *ArtifactManagerMock) GenesisRef() (r *core.RecordRef)
GenesisRef implements github.com/insolar/insolar/core.ArtifactManager interface
func (*ArtifactManagerMock) GenesisRefMinimockCounter ¶ added in v0.6.3
func (m *ArtifactManagerMock) GenesisRefMinimockCounter() uint64
GenesisRefMinimockCounter returns a count of ArtifactManagerMock.GenesisRefFunc invocations
func (*ArtifactManagerMock) GenesisRefMinimockPreCounter ¶ added in v0.6.3
func (m *ArtifactManagerMock) GenesisRefMinimockPreCounter() uint64
GenesisRefMinimockPreCounter returns the value of ArtifactManagerMock.GenesisRef invocations
func (*ArtifactManagerMock) GetChildren ¶ added in v0.6.3
func (m *ArtifactManagerMock) GetChildren(p context.Context, p1 core.RecordRef, p2 *core.PulseNumber) (r core.RefIterator, r1 error)
GetChildren implements github.com/insolar/insolar/core.ArtifactManager interface
func (*ArtifactManagerMock) GetChildrenMinimockCounter ¶ added in v0.6.3
func (m *ArtifactManagerMock) GetChildrenMinimockCounter() uint64
GetChildrenMinimockCounter returns a count of ArtifactManagerMock.GetChildrenFunc invocations
func (*ArtifactManagerMock) GetChildrenMinimockPreCounter ¶ added in v0.6.3
func (m *ArtifactManagerMock) GetChildrenMinimockPreCounter() uint64
GetChildrenMinimockPreCounter returns the value of ArtifactManagerMock.GetChildren invocations
func (*ArtifactManagerMock) GetCode ¶ added in v0.6.3
func (m *ArtifactManagerMock) GetCode(p context.Context, p1 core.RecordRef) (r core.CodeDescriptor, r1 error)
GetCode implements github.com/insolar/insolar/core.ArtifactManager interface
func (*ArtifactManagerMock) GetCodeMinimockCounter ¶ added in v0.6.3
func (m *ArtifactManagerMock) GetCodeMinimockCounter() uint64
GetCodeMinimockCounter returns a count of ArtifactManagerMock.GetCodeFunc invocations
func (*ArtifactManagerMock) GetCodeMinimockPreCounter ¶ added in v0.6.3
func (m *ArtifactManagerMock) GetCodeMinimockPreCounter() uint64
GetCodeMinimockPreCounter returns the value of ArtifactManagerMock.GetCode invocations
func (*ArtifactManagerMock) GetDelegate ¶ added in v0.6.3
func (m *ArtifactManagerMock) GetDelegate(p context.Context, p1 core.RecordRef, p2 core.RecordRef) (r *core.RecordRef, r1 error)
GetDelegate implements github.com/insolar/insolar/core.ArtifactManager interface
func (*ArtifactManagerMock) GetDelegateMinimockCounter ¶ added in v0.6.3
func (m *ArtifactManagerMock) GetDelegateMinimockCounter() uint64
GetDelegateMinimockCounter returns a count of ArtifactManagerMock.GetDelegateFunc invocations
func (*ArtifactManagerMock) GetDelegateMinimockPreCounter ¶ added in v0.6.3
func (m *ArtifactManagerMock) GetDelegateMinimockPreCounter() uint64
GetDelegateMinimockPreCounter returns the value of ArtifactManagerMock.GetDelegate invocations
func (*ArtifactManagerMock) GetObject ¶ added in v0.6.3
func (m *ArtifactManagerMock) GetObject(p context.Context, p1 core.RecordRef, p2 *core.RecordID, p3 bool) (r core.ObjectDescriptor, r1 error)
GetObject implements github.com/insolar/insolar/core.ArtifactManager interface
func (*ArtifactManagerMock) GetObjectMinimockCounter ¶ added in v0.6.3
func (m *ArtifactManagerMock) GetObjectMinimockCounter() uint64
GetObjectMinimockCounter returns a count of ArtifactManagerMock.GetObjectFunc invocations
func (*ArtifactManagerMock) GetObjectMinimockPreCounter ¶ added in v0.6.3
func (m *ArtifactManagerMock) GetObjectMinimockPreCounter() uint64
GetObjectMinimockPreCounter returns the value of ArtifactManagerMock.GetObject invocations
func (*ArtifactManagerMock) MinimockFinish ¶ added in v0.6.3
func (m *ArtifactManagerMock) MinimockFinish()
MinimockFinish checks that all mocked methods of the interface have been called at least once
func (*ArtifactManagerMock) MinimockWait ¶ added in v0.6.3
func (m *ArtifactManagerMock) MinimockWait(timeout time.Duration)
MinimockWait waits for all mocked methods to be called at least once this method is called by minimock.Controller
func (*ArtifactManagerMock) RegisterRequest ¶ added in v0.6.3
func (m *ArtifactManagerMock) RegisterRequest(p context.Context, p1 core.Parcel) (r *core.RecordID, r1 error)
RegisterRequest implements github.com/insolar/insolar/core.ArtifactManager interface
func (*ArtifactManagerMock) RegisterRequestMinimockCounter ¶ added in v0.6.3
func (m *ArtifactManagerMock) RegisterRequestMinimockCounter() uint64
RegisterRequestMinimockCounter returns a count of ArtifactManagerMock.RegisterRequestFunc invocations
func (*ArtifactManagerMock) RegisterRequestMinimockPreCounter ¶ added in v0.6.3
func (m *ArtifactManagerMock) RegisterRequestMinimockPreCounter() uint64
RegisterRequestMinimockPreCounter returns the value of ArtifactManagerMock.RegisterRequest invocations
func (*ArtifactManagerMock) RegisterResult ¶ added in v0.6.3
func (m *ArtifactManagerMock) RegisterResult(p context.Context, p1 core.RecordRef, p2 []byte) (r *core.RecordID, r1 error)
RegisterResult implements github.com/insolar/insolar/core.ArtifactManager interface
func (*ArtifactManagerMock) RegisterResultMinimockCounter ¶ added in v0.6.3
func (m *ArtifactManagerMock) RegisterResultMinimockCounter() uint64
RegisterResultMinimockCounter returns a count of ArtifactManagerMock.RegisterResultFunc invocations
func (*ArtifactManagerMock) RegisterResultMinimockPreCounter ¶ added in v0.6.3
func (m *ArtifactManagerMock) RegisterResultMinimockPreCounter() uint64
RegisterResultMinimockPreCounter returns the value of ArtifactManagerMock.RegisterResult invocations
func (*ArtifactManagerMock) RegisterValidation ¶ added in v0.6.3
func (m *ArtifactManagerMock) RegisterValidation(p context.Context, p1 core.RecordRef, p2 core.RecordID, p3 bool, p4 []core.Message) (r error)
RegisterValidation implements github.com/insolar/insolar/core.ArtifactManager interface
func (*ArtifactManagerMock) RegisterValidationMinimockCounter ¶ added in v0.6.3
func (m *ArtifactManagerMock) RegisterValidationMinimockCounter() uint64
RegisterValidationMinimockCounter returns a count of ArtifactManagerMock.RegisterValidationFunc invocations
func (*ArtifactManagerMock) RegisterValidationMinimockPreCounter ¶ added in v0.6.3
func (m *ArtifactManagerMock) RegisterValidationMinimockPreCounter() uint64
RegisterValidationMinimockPreCounter returns the value of ArtifactManagerMock.RegisterValidation invocations
func (*ArtifactManagerMock) State ¶ added in v0.6.3
func (m *ArtifactManagerMock) State() (r []byte, r1 error)
State implements github.com/insolar/insolar/core.ArtifactManager interface
func (*ArtifactManagerMock) StateMinimockCounter ¶ added in v0.6.3
func (m *ArtifactManagerMock) StateMinimockCounter() uint64
StateMinimockCounter returns a count of ArtifactManagerMock.StateFunc invocations
func (*ArtifactManagerMock) StateMinimockPreCounter ¶ added in v0.6.3
func (m *ArtifactManagerMock) StateMinimockPreCounter() uint64
StateMinimockPreCounter returns the value of ArtifactManagerMock.State invocations
func (*ArtifactManagerMock) UpdateObject ¶ added in v0.6.3
func (m *ArtifactManagerMock) UpdateObject(p context.Context, p1 core.RecordRef, p2 core.RecordRef, p3 core.ObjectDescriptor, p4 []byte) (r core.ObjectDescriptor, r1 error)
UpdateObject implements github.com/insolar/insolar/core.ArtifactManager interface
func (*ArtifactManagerMock) UpdateObjectMinimockCounter ¶ added in v0.6.3
func (m *ArtifactManagerMock) UpdateObjectMinimockCounter() uint64
UpdateObjectMinimockCounter returns a count of ArtifactManagerMock.UpdateObjectFunc invocations
func (*ArtifactManagerMock) UpdateObjectMinimockPreCounter ¶ added in v0.6.3
func (m *ArtifactManagerMock) UpdateObjectMinimockPreCounter() uint64
UpdateObjectMinimockPreCounter returns the value of ArtifactManagerMock.UpdateObject invocations
func (*ArtifactManagerMock) UpdatePrototype ¶ added in v0.6.3
func (m *ArtifactManagerMock) UpdatePrototype(p context.Context, p1 core.RecordRef, p2 core.RecordRef, p3 core.ObjectDescriptor, p4 []byte, p5 *core.RecordRef) (r core.ObjectDescriptor, r1 error)
UpdatePrototype implements github.com/insolar/insolar/core.ArtifactManager interface
func (*ArtifactManagerMock) UpdatePrototypeMinimockCounter ¶ added in v0.6.3
func (m *ArtifactManagerMock) UpdatePrototypeMinimockCounter() uint64
UpdatePrototypeMinimockCounter returns a count of ArtifactManagerMock.UpdatePrototypeFunc invocations
func (*ArtifactManagerMock) UpdatePrototypeMinimockPreCounter ¶ added in v0.6.3
func (m *ArtifactManagerMock) UpdatePrototypeMinimockPreCounter() uint64
UpdatePrototypeMinimockPreCounter returns the value of ArtifactManagerMock.UpdatePrototype invocations
func (*ArtifactManagerMock) ValidateCallCounters ¶ added in v0.6.3
func (m *ArtifactManagerMock) ValidateCallCounters()
ValidateCallCounters checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller
func (*ArtifactManagerMock) Wait ¶ added in v0.6.3
func (m *ArtifactManagerMock) Wait(timeout time.Duration)
Wait waits for all mocked methods to be called at least once Deprecated: please use MinimockWait or use Wait method of minimock.Controller
type ArtifactManagerMockActivateObjectParams ¶ added in v0.6.3
type ArtifactManagerMockActivateObjectParams struct {
// contains filtered or unexported fields
}
ArtifactManagerMockActivateObjectParams represents input parameters of the ArtifactManager.ActivateObject
type ArtifactManagerMockActivatePrototypeParams ¶ added in v0.6.3
type ArtifactManagerMockActivatePrototypeParams struct {
// contains filtered or unexported fields
}
ArtifactManagerMockActivatePrototypeParams represents input parameters of the ArtifactManager.ActivatePrototype
type ArtifactManagerMockDeactivateObjectParams ¶ added in v0.6.3
type ArtifactManagerMockDeactivateObjectParams struct {
// contains filtered or unexported fields
}
ArtifactManagerMockDeactivateObjectParams represents input parameters of the ArtifactManager.DeactivateObject
type ArtifactManagerMockDeclareTypeParams ¶ added in v0.6.3
type ArtifactManagerMockDeclareTypeParams struct {
// contains filtered or unexported fields
}
ArtifactManagerMockDeclareTypeParams represents input parameters of the ArtifactManager.DeclareType
type ArtifactManagerMockDeployCodeParams ¶ added in v0.6.3
type ArtifactManagerMockDeployCodeParams struct {
// contains filtered or unexported fields
}
ArtifactManagerMockDeployCodeParams represents input parameters of the ArtifactManager.DeployCode
type ArtifactManagerMockGetChildrenParams ¶ added in v0.6.3
type ArtifactManagerMockGetChildrenParams struct {
// contains filtered or unexported fields
}
ArtifactManagerMockGetChildrenParams represents input parameters of the ArtifactManager.GetChildren
type ArtifactManagerMockGetCodeParams ¶ added in v0.6.3
type ArtifactManagerMockGetCodeParams struct {
// contains filtered or unexported fields
}
ArtifactManagerMockGetCodeParams represents input parameters of the ArtifactManager.GetCode
type ArtifactManagerMockGetDelegateParams ¶ added in v0.6.3
type ArtifactManagerMockGetDelegateParams struct {
// contains filtered or unexported fields
}
ArtifactManagerMockGetDelegateParams represents input parameters of the ArtifactManager.GetDelegate
type ArtifactManagerMockGetObjectParams ¶ added in v0.6.3
type ArtifactManagerMockGetObjectParams struct {
// contains filtered or unexported fields
}
ArtifactManagerMockGetObjectParams represents input parameters of the ArtifactManager.GetObject
type ArtifactManagerMockRegisterRequestParams ¶ added in v0.6.3
type ArtifactManagerMockRegisterRequestParams struct {
// contains filtered or unexported fields
}
ArtifactManagerMockRegisterRequestParams represents input parameters of the ArtifactManager.RegisterRequest
type ArtifactManagerMockRegisterResultParams ¶ added in v0.6.3
type ArtifactManagerMockRegisterResultParams struct {
// contains filtered or unexported fields
}
ArtifactManagerMockRegisterResultParams represents input parameters of the ArtifactManager.RegisterResult
type ArtifactManagerMockRegisterValidationParams ¶ added in v0.6.3
type ArtifactManagerMockRegisterValidationParams struct {
// contains filtered or unexported fields
}
ArtifactManagerMockRegisterValidationParams represents input parameters of the ArtifactManager.RegisterValidation
type ArtifactManagerMockUpdateObjectParams ¶ added in v0.6.3
type ArtifactManagerMockUpdateObjectParams struct {
// contains filtered or unexported fields
}
ArtifactManagerMockUpdateObjectParams represents input parameters of the ArtifactManager.UpdateObject
type ArtifactManagerMockUpdatePrototypeParams ¶ added in v0.6.3
type ArtifactManagerMockUpdatePrototypeParams struct {
// contains filtered or unexported fields
}
ArtifactManagerMockUpdatePrototypeParams represents input parameters of the ArtifactManager.UpdatePrototype
type CertificateMock ¶ added in v0.6.3
type CertificateMock struct { GetDiscoveryNodesFunc func() (r []core.DiscoveryNode) GetDiscoveryNodesCounter uint64 GetDiscoveryNodesPreCounter uint64 GetDiscoveryNodesMock mCertificateMockGetDiscoveryNodes GetNodeRefFunc func() (r *core.RecordRef) GetNodeRefCounter uint64 GetNodeRefPreCounter uint64 GetNodeRefMock mCertificateMockGetNodeRef GetPublicKeyFunc func() (r crypto.PublicKey) GetPublicKeyCounter uint64 GetPublicKeyPreCounter uint64 GetPublicKeyMock mCertificateMockGetPublicKey GetRoleFunc func() (r core.StaticRole) GetRoleCounter uint64 GetRolePreCounter uint64 GetRoleMock mCertificateMockGetRole GetRootDomainReferenceFunc func() (r *core.RecordRef) GetRootDomainReferenceCounter uint64 GetRootDomainReferencePreCounter uint64 GetRootDomainReferenceMock mCertificateMockGetRootDomainReference SetRootDomainReferenceFunc func(p *core.RecordRef) SetRootDomainReferenceCounter uint64 SetRootDomainReferencePreCounter uint64 SetRootDomainReferenceMock mCertificateMockSetRootDomainReference // contains filtered or unexported fields }
CertificateMock implements github.com/insolar/insolar/core.Certificate
func NewCertificateMock ¶ added in v0.6.3
func NewCertificateMock(t minimock.Tester) *CertificateMock
NewCertificateMock returns a mock for github.com/insolar/insolar/core.Certificate
func (*CertificateMock) AllMocksCalled ¶ added in v0.6.3
func (m *CertificateMock) AllMocksCalled() bool
AllMocksCalled returns true if all mocked methods were called before the execution of AllMocksCalled, it can be used with assert/require, i.e. assert.True(mock.AllMocksCalled())
func (*CertificateMock) CheckMocksCalled ¶ added in v0.6.3
func (m *CertificateMock) CheckMocksCalled()
CheckMocksCalled checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller
func (*CertificateMock) Finish ¶ added in v0.6.3
func (m *CertificateMock) Finish()
Finish checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish or use Finish method of minimock.Controller
func (*CertificateMock) GetDiscoveryNodes ¶ added in v0.6.3
func (m *CertificateMock) GetDiscoveryNodes() (r []core.DiscoveryNode)
GetDiscoveryNodes implements github.com/insolar/insolar/core.Certificate interface
func (*CertificateMock) GetDiscoveryNodesMinimockCounter ¶ added in v0.6.3
func (m *CertificateMock) GetDiscoveryNodesMinimockCounter() uint64
GetDiscoveryNodesMinimockCounter returns a count of CertificateMock.GetDiscoveryNodesFunc invocations
func (*CertificateMock) GetDiscoveryNodesMinimockPreCounter ¶ added in v0.6.3
func (m *CertificateMock) GetDiscoveryNodesMinimockPreCounter() uint64
GetDiscoveryNodesMinimockPreCounter returns the value of CertificateMock.GetDiscoveryNodes invocations
func (*CertificateMock) GetNodeRef ¶ added in v0.6.3
func (m *CertificateMock) GetNodeRef() (r *core.RecordRef)
GetNodeRef implements github.com/insolar/insolar/core.Certificate interface
func (*CertificateMock) GetNodeRefMinimockCounter ¶ added in v0.6.3
func (m *CertificateMock) GetNodeRefMinimockCounter() uint64
GetNodeRefMinimockCounter returns a count of CertificateMock.GetNodeRefFunc invocations
func (*CertificateMock) GetNodeRefMinimockPreCounter ¶ added in v0.6.3
func (m *CertificateMock) GetNodeRefMinimockPreCounter() uint64
GetNodeRefMinimockPreCounter returns the value of CertificateMock.GetNodeRef invocations
func (*CertificateMock) GetPublicKey ¶ added in v0.6.3
func (m *CertificateMock) GetPublicKey() (r crypto.PublicKey)
GetPublicKey implements github.com/insolar/insolar/core.Certificate interface
func (*CertificateMock) GetPublicKeyMinimockCounter ¶ added in v0.6.3
func (m *CertificateMock) GetPublicKeyMinimockCounter() uint64
GetPublicKeyMinimockCounter returns a count of CertificateMock.GetPublicKeyFunc invocations
func (*CertificateMock) GetPublicKeyMinimockPreCounter ¶ added in v0.6.3
func (m *CertificateMock) GetPublicKeyMinimockPreCounter() uint64
GetPublicKeyMinimockPreCounter returns the value of CertificateMock.GetPublicKey invocations
func (*CertificateMock) GetRole ¶ added in v0.6.3
func (m *CertificateMock) GetRole() (r core.StaticRole)
GetRole implements github.com/insolar/insolar/core.Certificate interface
func (*CertificateMock) GetRoleMinimockCounter ¶ added in v0.6.3
func (m *CertificateMock) GetRoleMinimockCounter() uint64
GetRoleMinimockCounter returns a count of CertificateMock.GetRoleFunc invocations
func (*CertificateMock) GetRoleMinimockPreCounter ¶ added in v0.6.3
func (m *CertificateMock) GetRoleMinimockPreCounter() uint64
GetRoleMinimockPreCounter returns the value of CertificateMock.GetRole invocations
func (*CertificateMock) GetRootDomainReference ¶ added in v0.6.3
func (m *CertificateMock) GetRootDomainReference() (r *core.RecordRef)
GetRootDomainReference implements github.com/insolar/insolar/core.Certificate interface
func (*CertificateMock) GetRootDomainReferenceMinimockCounter ¶ added in v0.6.3
func (m *CertificateMock) GetRootDomainReferenceMinimockCounter() uint64
GetRootDomainReferenceMinimockCounter returns a count of CertificateMock.GetRootDomainReferenceFunc invocations
func (*CertificateMock) GetRootDomainReferenceMinimockPreCounter ¶ added in v0.6.3
func (m *CertificateMock) GetRootDomainReferenceMinimockPreCounter() uint64
GetRootDomainReferenceMinimockPreCounter returns the value of CertificateMock.GetRootDomainReference invocations
func (*CertificateMock) MinimockFinish ¶ added in v0.6.3
func (m *CertificateMock) MinimockFinish()
MinimockFinish checks that all mocked methods of the interface have been called at least once
func (*CertificateMock) MinimockWait ¶ added in v0.6.3
func (m *CertificateMock) MinimockWait(timeout time.Duration)
MinimockWait waits for all mocked methods to be called at least once this method is called by minimock.Controller
func (*CertificateMock) SetRootDomainReference ¶ added in v0.6.3
func (m *CertificateMock) SetRootDomainReference(p *core.RecordRef)
SetRootDomainReference implements github.com/insolar/insolar/core.Certificate interface
func (*CertificateMock) SetRootDomainReferenceMinimockCounter ¶ added in v0.6.3
func (m *CertificateMock) SetRootDomainReferenceMinimockCounter() uint64
SetRootDomainReferenceMinimockCounter returns a count of CertificateMock.SetRootDomainReferenceFunc invocations
func (*CertificateMock) SetRootDomainReferenceMinimockPreCounter ¶ added in v0.6.3
func (m *CertificateMock) SetRootDomainReferenceMinimockPreCounter() uint64
SetRootDomainReferenceMinimockPreCounter returns the value of CertificateMock.SetRootDomainReference invocations
func (*CertificateMock) ValidateCallCounters ¶ added in v0.6.3
func (m *CertificateMock) ValidateCallCounters()
ValidateCallCounters checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller
func (*CertificateMock) Wait ¶ added in v0.6.3
func (m *CertificateMock) Wait(timeout time.Duration)
Wait waits for all mocked methods to be called at least once Deprecated: please use MinimockWait or use Wait method of minimock.Controller
type CertificateMockSetRootDomainReferenceParams ¶ added in v0.6.3
type CertificateMockSetRootDomainReferenceParams struct {
// contains filtered or unexported fields
}
CertificateMockSetRootDomainReferenceParams represents input parameters of the Certificate.SetRootDomainReference
type ContractRequesterMock ¶ added in v0.6.3
type ContractRequesterMock struct { SendRequestFunc func(p context.Context, p1 *core.RecordRef, p2 string, p3 []interface{}) (r core.Reply, r1 error) SendRequestCounter uint64 SendRequestPreCounter uint64 SendRequestMock mContractRequesterMockSendRequest // contains filtered or unexported fields }
ContractRequesterMock implements github.com/insolar/insolar/core.ContractRequester
func NewContractRequesterMock ¶ added in v0.6.3
func NewContractRequesterMock(t minimock.Tester) *ContractRequesterMock
NewContractRequesterMock returns a mock for github.com/insolar/insolar/core.ContractRequester
func (*ContractRequesterMock) AllMocksCalled ¶ added in v0.6.3
func (m *ContractRequesterMock) AllMocksCalled() bool
AllMocksCalled returns true if all mocked methods were called before the execution of AllMocksCalled, it can be used with assert/require, i.e. assert.True(mock.AllMocksCalled())
func (*ContractRequesterMock) CheckMocksCalled ¶ added in v0.6.3
func (m *ContractRequesterMock) CheckMocksCalled()
CheckMocksCalled checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller
func (*ContractRequesterMock) Finish ¶ added in v0.6.3
func (m *ContractRequesterMock) Finish()
Finish checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish or use Finish method of minimock.Controller
func (*ContractRequesterMock) MinimockFinish ¶ added in v0.6.3
func (m *ContractRequesterMock) MinimockFinish()
MinimockFinish checks that all mocked methods of the interface have been called at least once
func (*ContractRequesterMock) MinimockWait ¶ added in v0.6.3
func (m *ContractRequesterMock) MinimockWait(timeout time.Duration)
MinimockWait waits for all mocked methods to be called at least once this method is called by minimock.Controller
func (*ContractRequesterMock) SendRequest ¶ added in v0.6.3
func (m *ContractRequesterMock) SendRequest(p context.Context, p1 *core.RecordRef, p2 string, p3 []interface{}) (r core.Reply, r1 error)
SendRequest implements github.com/insolar/insolar/core.ContractRequester interface
func (*ContractRequesterMock) SendRequestMinimockCounter ¶ added in v0.6.3
func (m *ContractRequesterMock) SendRequestMinimockCounter() uint64
SendRequestMinimockCounter returns a count of ContractRequesterMock.SendRequestFunc invocations
func (*ContractRequesterMock) SendRequestMinimockPreCounter ¶ added in v0.6.3
func (m *ContractRequesterMock) SendRequestMinimockPreCounter() uint64
SendRequestMinimockPreCounter returns the value of ContractRequesterMock.SendRequest invocations
func (*ContractRequesterMock) ValidateCallCounters ¶ added in v0.6.3
func (m *ContractRequesterMock) ValidateCallCounters()
ValidateCallCounters checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller
func (*ContractRequesterMock) Wait ¶ added in v0.6.3
func (m *ContractRequesterMock) Wait(timeout time.Duration)
Wait waits for all mocked methods to be called at least once Deprecated: please use MinimockWait or use Wait method of minimock.Controller
type ContractRequesterMockSendRequestParams ¶ added in v0.6.3
type ContractRequesterMockSendRequestParams struct {
// contains filtered or unexported fields
}
ContractRequesterMockSendRequestParams represents input parameters of the ContractRequester.SendRequest
type CryptographyServiceMock ¶ added in v0.6.3
type CryptographyServiceMock struct { GetPublicKeyFunc func() (r crypto.PublicKey, r1 error) GetPublicKeyCounter uint64 GetPublicKeyPreCounter uint64 GetPublicKeyMock mCryptographyServiceMockGetPublicKey SignFunc func(p []byte) (r *core.Signature, r1 error) SignCounter uint64 SignPreCounter uint64 SignMock mCryptographyServiceMockSign VerifyFunc func(p crypto.PublicKey, p1 core.Signature, p2 []byte) (r bool) VerifyCounter uint64 VerifyPreCounter uint64 VerifyMock mCryptographyServiceMockVerify // contains filtered or unexported fields }
CryptographyServiceMock implements github.com/insolar/insolar/core.CryptographyService
func NewCryptographyServiceMock ¶ added in v0.6.3
func NewCryptographyServiceMock(t minimock.Tester) *CryptographyServiceMock
NewCryptographyServiceMock returns a mock for github.com/insolar/insolar/core.CryptographyService
func (*CryptographyServiceMock) AllMocksCalled ¶ added in v0.6.3
func (m *CryptographyServiceMock) AllMocksCalled() bool
AllMocksCalled returns true if all mocked methods were called before the execution of AllMocksCalled, it can be used with assert/require, i.e. assert.True(mock.AllMocksCalled())
func (*CryptographyServiceMock) CheckMocksCalled ¶ added in v0.6.3
func (m *CryptographyServiceMock) CheckMocksCalled()
CheckMocksCalled checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller
func (*CryptographyServiceMock) Finish ¶ added in v0.6.3
func (m *CryptographyServiceMock) Finish()
Finish checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish or use Finish method of minimock.Controller
func (*CryptographyServiceMock) GetPublicKey ¶ added in v0.6.3
func (m *CryptographyServiceMock) GetPublicKey() (r crypto.PublicKey, r1 error)
GetPublicKey implements github.com/insolar/insolar/core.CryptographyService interface
func (*CryptographyServiceMock) GetPublicKeyMinimockCounter ¶ added in v0.6.3
func (m *CryptographyServiceMock) GetPublicKeyMinimockCounter() uint64
GetPublicKeyMinimockCounter returns a count of CryptographyServiceMock.GetPublicKeyFunc invocations
func (*CryptographyServiceMock) GetPublicKeyMinimockPreCounter ¶ added in v0.6.3
func (m *CryptographyServiceMock) GetPublicKeyMinimockPreCounter() uint64
GetPublicKeyMinimockPreCounter returns the value of CryptographyServiceMock.GetPublicKey invocations
func (*CryptographyServiceMock) MinimockFinish ¶ added in v0.6.3
func (m *CryptographyServiceMock) MinimockFinish()
MinimockFinish checks that all mocked methods of the interface have been called at least once
func (*CryptographyServiceMock) MinimockWait ¶ added in v0.6.3
func (m *CryptographyServiceMock) MinimockWait(timeout time.Duration)
MinimockWait waits for all mocked methods to be called at least once this method is called by minimock.Controller
func (*CryptographyServiceMock) Sign ¶ added in v0.6.3
func (m *CryptographyServiceMock) Sign(p []byte) (r *core.Signature, r1 error)
Sign implements github.com/insolar/insolar/core.CryptographyService interface
func (*CryptographyServiceMock) SignMinimockCounter ¶ added in v0.6.3
func (m *CryptographyServiceMock) SignMinimockCounter() uint64
SignMinimockCounter returns a count of CryptographyServiceMock.SignFunc invocations
func (*CryptographyServiceMock) SignMinimockPreCounter ¶ added in v0.6.3
func (m *CryptographyServiceMock) SignMinimockPreCounter() uint64
SignMinimockPreCounter returns the value of CryptographyServiceMock.Sign invocations
func (*CryptographyServiceMock) ValidateCallCounters ¶ added in v0.6.3
func (m *CryptographyServiceMock) ValidateCallCounters()
ValidateCallCounters checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller
func (*CryptographyServiceMock) Verify ¶ added in v0.6.3
Verify implements github.com/insolar/insolar/core.CryptographyService interface
func (*CryptographyServiceMock) VerifyMinimockCounter ¶ added in v0.6.3
func (m *CryptographyServiceMock) VerifyMinimockCounter() uint64
VerifyMinimockCounter returns a count of CryptographyServiceMock.VerifyFunc invocations
func (*CryptographyServiceMock) VerifyMinimockPreCounter ¶ added in v0.6.3
func (m *CryptographyServiceMock) VerifyMinimockPreCounter() uint64
VerifyMinimockPreCounter returns the value of CryptographyServiceMock.Verify invocations
func (*CryptographyServiceMock) Wait ¶ added in v0.6.3
func (m *CryptographyServiceMock) Wait(timeout time.Duration)
Wait waits for all mocked methods to be called at least once Deprecated: please use MinimockWait or use Wait method of minimock.Controller
type CryptographyServiceMockSignParams ¶ added in v0.6.3
type CryptographyServiceMockSignParams struct {
// contains filtered or unexported fields
}
CryptographyServiceMockSignParams represents input parameters of the CryptographyService.Sign
type CryptographyServiceMockVerifyParams ¶ added in v0.6.3
type CryptographyServiceMockVerifyParams struct {
// contains filtered or unexported fields
}
CryptographyServiceMockVerifyParams represents input parameters of the CryptographyService.Verify
type DelegationTokenFactoryMock ¶ added in v0.6.3
type DelegationTokenFactoryMock struct { IssueGetChildrenRedirectFunc func(p *core.RecordRef, p1 core.Message) (r core.DelegationToken, r1 error) IssueGetChildrenRedirectCounter uint64 IssueGetChildrenRedirectPreCounter uint64 IssueGetChildrenRedirectMock mDelegationTokenFactoryMockIssueGetChildrenRedirect IssueGetCodeRedirectFunc func(p *core.RecordRef, p1 core.Message) (r core.DelegationToken, r1 error) IssueGetCodeRedirectCounter uint64 IssueGetCodeRedirectPreCounter uint64 IssueGetCodeRedirectMock mDelegationTokenFactoryMockIssueGetCodeRedirect IssueGetObjectRedirectFunc func(p *core.RecordRef, p1 core.Message) (r core.DelegationToken, r1 error) IssueGetObjectRedirectCounter uint64 IssueGetObjectRedirectPreCounter uint64 IssueGetObjectRedirectMock mDelegationTokenFactoryMockIssueGetObjectRedirect IssuePendingExecutionFunc func(p core.Message, p1 core.PulseNumber) (r core.DelegationToken, r1 error) IssuePendingExecutionCounter uint64 IssuePendingExecutionPreCounter uint64 IssuePendingExecutionMock mDelegationTokenFactoryMockIssuePendingExecution VerifyFunc func(p core.Parcel) (r bool, r1 error) VerifyCounter uint64 VerifyPreCounter uint64 VerifyMock mDelegationTokenFactoryMockVerify // contains filtered or unexported fields }
DelegationTokenFactoryMock implements github.com/insolar/insolar/core.DelegationTokenFactory
func NewDelegationTokenFactoryMock ¶ added in v0.6.3
func NewDelegationTokenFactoryMock(t minimock.Tester) *DelegationTokenFactoryMock
NewDelegationTokenFactoryMock returns a mock for github.com/insolar/insolar/core.DelegationTokenFactory
func (*DelegationTokenFactoryMock) AllMocksCalled ¶ added in v0.6.3
func (m *DelegationTokenFactoryMock) AllMocksCalled() bool
AllMocksCalled returns true if all mocked methods were called before the execution of AllMocksCalled, it can be used with assert/require, i.e. assert.True(mock.AllMocksCalled())
func (*DelegationTokenFactoryMock) CheckMocksCalled ¶ added in v0.6.3
func (m *DelegationTokenFactoryMock) CheckMocksCalled()
CheckMocksCalled checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller
func (*DelegationTokenFactoryMock) Finish ¶ added in v0.6.3
func (m *DelegationTokenFactoryMock) Finish()
Finish checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish or use Finish method of minimock.Controller
func (*DelegationTokenFactoryMock) IssueGetChildrenRedirect ¶ added in v0.6.3
func (m *DelegationTokenFactoryMock) IssueGetChildrenRedirect(p *core.RecordRef, p1 core.Message) (r core.DelegationToken, r1 error)
IssueGetChildrenRedirect implements github.com/insolar/insolar/core.DelegationTokenFactory interface
func (*DelegationTokenFactoryMock) IssueGetChildrenRedirectMinimockCounter ¶ added in v0.6.3
func (m *DelegationTokenFactoryMock) IssueGetChildrenRedirectMinimockCounter() uint64
IssueGetChildrenRedirectMinimockCounter returns a count of DelegationTokenFactoryMock.IssueGetChildrenRedirectFunc invocations
func (*DelegationTokenFactoryMock) IssueGetChildrenRedirectMinimockPreCounter ¶ added in v0.6.3
func (m *DelegationTokenFactoryMock) IssueGetChildrenRedirectMinimockPreCounter() uint64
IssueGetChildrenRedirectMinimockPreCounter returns the value of DelegationTokenFactoryMock.IssueGetChildrenRedirect invocations
func (*DelegationTokenFactoryMock) IssueGetCodeRedirect ¶ added in v0.6.3
func (m *DelegationTokenFactoryMock) IssueGetCodeRedirect(p *core.RecordRef, p1 core.Message) (r core.DelegationToken, r1 error)
IssueGetCodeRedirect implements github.com/insolar/insolar/core.DelegationTokenFactory interface
func (*DelegationTokenFactoryMock) IssueGetCodeRedirectMinimockCounter ¶ added in v0.6.3
func (m *DelegationTokenFactoryMock) IssueGetCodeRedirectMinimockCounter() uint64
IssueGetCodeRedirectMinimockCounter returns a count of DelegationTokenFactoryMock.IssueGetCodeRedirectFunc invocations
func (*DelegationTokenFactoryMock) IssueGetCodeRedirectMinimockPreCounter ¶ added in v0.6.3
func (m *DelegationTokenFactoryMock) IssueGetCodeRedirectMinimockPreCounter() uint64
IssueGetCodeRedirectMinimockPreCounter returns the value of DelegationTokenFactoryMock.IssueGetCodeRedirect invocations
func (*DelegationTokenFactoryMock) IssueGetObjectRedirect ¶ added in v0.6.3
func (m *DelegationTokenFactoryMock) IssueGetObjectRedirect(p *core.RecordRef, p1 core.Message) (r core.DelegationToken, r1 error)
IssueGetObjectRedirect implements github.com/insolar/insolar/core.DelegationTokenFactory interface
func (*DelegationTokenFactoryMock) IssueGetObjectRedirectMinimockCounter ¶ added in v0.6.3
func (m *DelegationTokenFactoryMock) IssueGetObjectRedirectMinimockCounter() uint64
IssueGetObjectRedirectMinimockCounter returns a count of DelegationTokenFactoryMock.IssueGetObjectRedirectFunc invocations
func (*DelegationTokenFactoryMock) IssueGetObjectRedirectMinimockPreCounter ¶ added in v0.6.3
func (m *DelegationTokenFactoryMock) IssueGetObjectRedirectMinimockPreCounter() uint64
IssueGetObjectRedirectMinimockPreCounter returns the value of DelegationTokenFactoryMock.IssueGetObjectRedirect invocations
func (*DelegationTokenFactoryMock) IssuePendingExecution ¶ added in v0.6.3
func (m *DelegationTokenFactoryMock) IssuePendingExecution(p core.Message, p1 core.PulseNumber) (r core.DelegationToken, r1 error)
IssuePendingExecution implements github.com/insolar/insolar/core.DelegationTokenFactory interface
func (*DelegationTokenFactoryMock) IssuePendingExecutionMinimockCounter ¶ added in v0.6.3
func (m *DelegationTokenFactoryMock) IssuePendingExecutionMinimockCounter() uint64
IssuePendingExecutionMinimockCounter returns a count of DelegationTokenFactoryMock.IssuePendingExecutionFunc invocations
func (*DelegationTokenFactoryMock) IssuePendingExecutionMinimockPreCounter ¶ added in v0.6.3
func (m *DelegationTokenFactoryMock) IssuePendingExecutionMinimockPreCounter() uint64
IssuePendingExecutionMinimockPreCounter returns the value of DelegationTokenFactoryMock.IssuePendingExecution invocations
func (*DelegationTokenFactoryMock) MinimockFinish ¶ added in v0.6.3
func (m *DelegationTokenFactoryMock) MinimockFinish()
MinimockFinish checks that all mocked methods of the interface have been called at least once
func (*DelegationTokenFactoryMock) MinimockWait ¶ added in v0.6.3
func (m *DelegationTokenFactoryMock) MinimockWait(timeout time.Duration)
MinimockWait waits for all mocked methods to be called at least once this method is called by minimock.Controller
func (*DelegationTokenFactoryMock) ValidateCallCounters ¶ added in v0.6.3
func (m *DelegationTokenFactoryMock) ValidateCallCounters()
ValidateCallCounters checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller
func (*DelegationTokenFactoryMock) Verify ¶ added in v0.6.3
func (m *DelegationTokenFactoryMock) Verify(p core.Parcel) (r bool, r1 error)
Verify implements github.com/insolar/insolar/core.DelegationTokenFactory interface
func (*DelegationTokenFactoryMock) VerifyMinimockCounter ¶ added in v0.6.3
func (m *DelegationTokenFactoryMock) VerifyMinimockCounter() uint64
VerifyMinimockCounter returns a count of DelegationTokenFactoryMock.VerifyFunc invocations
func (*DelegationTokenFactoryMock) VerifyMinimockPreCounter ¶ added in v0.6.3
func (m *DelegationTokenFactoryMock) VerifyMinimockPreCounter() uint64
VerifyMinimockPreCounter returns the value of DelegationTokenFactoryMock.Verify invocations
func (*DelegationTokenFactoryMock) Wait ¶ added in v0.6.3
func (m *DelegationTokenFactoryMock) Wait(timeout time.Duration)
Wait waits for all mocked methods to be called at least once Deprecated: please use MinimockWait or use Wait method of minimock.Controller
type DelegationTokenFactoryMockIssueGetChildrenRedirectParams ¶ added in v0.6.3
type DelegationTokenFactoryMockIssueGetChildrenRedirectParams struct {
// contains filtered or unexported fields
}
DelegationTokenFactoryMockIssueGetChildrenRedirectParams represents input parameters of the DelegationTokenFactory.IssueGetChildrenRedirect
type DelegationTokenFactoryMockIssueGetCodeRedirectParams ¶ added in v0.6.3
type DelegationTokenFactoryMockIssueGetCodeRedirectParams struct {
// contains filtered or unexported fields
}
DelegationTokenFactoryMockIssueGetCodeRedirectParams represents input parameters of the DelegationTokenFactory.IssueGetCodeRedirect
type DelegationTokenFactoryMockIssueGetObjectRedirectParams ¶ added in v0.6.3
type DelegationTokenFactoryMockIssueGetObjectRedirectParams struct {
// contains filtered or unexported fields
}
DelegationTokenFactoryMockIssueGetObjectRedirectParams represents input parameters of the DelegationTokenFactory.IssueGetObjectRedirect
type DelegationTokenFactoryMockIssuePendingExecutionParams ¶ added in v0.6.3
type DelegationTokenFactoryMockIssuePendingExecutionParams struct {
// contains filtered or unexported fields
}
DelegationTokenFactoryMockIssuePendingExecutionParams represents input parameters of the DelegationTokenFactory.IssuePendingExecution
type DelegationTokenFactoryMockVerifyParams ¶ added in v0.6.3
type DelegationTokenFactoryMockVerifyParams struct {
// contains filtered or unexported fields
}
DelegationTokenFactoryMockVerifyParams represents input parameters of the DelegationTokenFactory.Verify
type DiscoveryNodeMock ¶ added in v0.6.3
type DiscoveryNodeMock struct { GetHostFunc func() (r string) GetHostCounter uint64 GetHostPreCounter uint64 GetHostMock mDiscoveryNodeMockGetHost GetNodeRefFunc func() (r *core.RecordRef) GetNodeRefCounter uint64 GetNodeRefPreCounter uint64 GetNodeRefMock mDiscoveryNodeMockGetNodeRef GetPublicKeyFunc func() (r crypto.PublicKey) GetPublicKeyCounter uint64 GetPublicKeyPreCounter uint64 GetPublicKeyMock mDiscoveryNodeMockGetPublicKey // contains filtered or unexported fields }
DiscoveryNodeMock implements github.com/insolar/insolar/core.DiscoveryNode
func NewDiscoveryNodeMock ¶ added in v0.6.3
func NewDiscoveryNodeMock(t minimock.Tester) *DiscoveryNodeMock
NewDiscoveryNodeMock returns a mock for github.com/insolar/insolar/core.DiscoveryNode
func (*DiscoveryNodeMock) AllMocksCalled ¶ added in v0.6.3
func (m *DiscoveryNodeMock) AllMocksCalled() bool
AllMocksCalled returns true if all mocked methods were called before the execution of AllMocksCalled, it can be used with assert/require, i.e. assert.True(mock.AllMocksCalled())
func (*DiscoveryNodeMock) CheckMocksCalled ¶ added in v0.6.3
func (m *DiscoveryNodeMock) CheckMocksCalled()
CheckMocksCalled checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller
func (*DiscoveryNodeMock) Finish ¶ added in v0.6.3
func (m *DiscoveryNodeMock) Finish()
Finish checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish or use Finish method of minimock.Controller
func (*DiscoveryNodeMock) GetHost ¶ added in v0.6.3
func (m *DiscoveryNodeMock) GetHost() (r string)
GetHost implements github.com/insolar/insolar/core.DiscoveryNode interface
func (*DiscoveryNodeMock) GetHostMinimockCounter ¶ added in v0.6.3
func (m *DiscoveryNodeMock) GetHostMinimockCounter() uint64
GetHostMinimockCounter returns a count of DiscoveryNodeMock.GetHostFunc invocations
func (*DiscoveryNodeMock) GetHostMinimockPreCounter ¶ added in v0.6.3
func (m *DiscoveryNodeMock) GetHostMinimockPreCounter() uint64
GetHostMinimockPreCounter returns the value of DiscoveryNodeMock.GetHost invocations
func (*DiscoveryNodeMock) GetNodeRef ¶ added in v0.6.3
func (m *DiscoveryNodeMock) GetNodeRef() (r *core.RecordRef)
GetNodeRef implements github.com/insolar/insolar/core.DiscoveryNode interface
func (*DiscoveryNodeMock) GetNodeRefMinimockCounter ¶ added in v0.6.3
func (m *DiscoveryNodeMock) GetNodeRefMinimockCounter() uint64
GetNodeRefMinimockCounter returns a count of DiscoveryNodeMock.GetNodeRefFunc invocations
func (*DiscoveryNodeMock) GetNodeRefMinimockPreCounter ¶ added in v0.6.3
func (m *DiscoveryNodeMock) GetNodeRefMinimockPreCounter() uint64
GetNodeRefMinimockPreCounter returns the value of DiscoveryNodeMock.GetNodeRef invocations
func (*DiscoveryNodeMock) GetPublicKey ¶ added in v0.6.3
func (m *DiscoveryNodeMock) GetPublicKey() (r crypto.PublicKey)
GetPublicKey implements github.com/insolar/insolar/core.DiscoveryNode interface
func (*DiscoveryNodeMock) GetPublicKeyMinimockCounter ¶ added in v0.6.3
func (m *DiscoveryNodeMock) GetPublicKeyMinimockCounter() uint64
GetPublicKeyMinimockCounter returns a count of DiscoveryNodeMock.GetPublicKeyFunc invocations
func (*DiscoveryNodeMock) GetPublicKeyMinimockPreCounter ¶ added in v0.6.3
func (m *DiscoveryNodeMock) GetPublicKeyMinimockPreCounter() uint64
GetPublicKeyMinimockPreCounter returns the value of DiscoveryNodeMock.GetPublicKey invocations
func (*DiscoveryNodeMock) MinimockFinish ¶ added in v0.6.3
func (m *DiscoveryNodeMock) MinimockFinish()
MinimockFinish checks that all mocked methods of the interface have been called at least once
func (*DiscoveryNodeMock) MinimockWait ¶ added in v0.6.3
func (m *DiscoveryNodeMock) MinimockWait(timeout time.Duration)
MinimockWait waits for all mocked methods to be called at least once this method is called by minimock.Controller
func (*DiscoveryNodeMock) ValidateCallCounters ¶ added in v0.6.3
func (m *DiscoveryNodeMock) ValidateCallCounters()
ValidateCallCounters checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller
func (*DiscoveryNodeMock) Wait ¶ added in v0.6.3
func (m *DiscoveryNodeMock) Wait(timeout time.Duration)
Wait waits for all mocked methods to be called at least once Deprecated: please use MinimockWait or use Wait method of minimock.Controller
type HeavySyncMock ¶ added in v0.6.3
type HeavySyncMock struct { StartFunc func(p context.Context, p1 core.PulseNumber) (r error) StartCounter uint64 StartPreCounter uint64 StartMock mHeavySyncMockStart StopFunc func(p context.Context, p1 core.PulseNumber) (r error) StopCounter uint64 StopPreCounter uint64 StopMock mHeavySyncMockStop StoreFunc func(p context.Context, p1 core.PulseNumber, p2 []core.KV) (r error) StoreCounter uint64 StorePreCounter uint64 StoreMock mHeavySyncMockStore // contains filtered or unexported fields }
HeavySyncMock implements github.com/insolar/insolar/core.HeavySync
func NewHeavySyncMock ¶ added in v0.6.3
func NewHeavySyncMock(t minimock.Tester) *HeavySyncMock
NewHeavySyncMock returns a mock for github.com/insolar/insolar/core.HeavySync
func (*HeavySyncMock) AllMocksCalled ¶ added in v0.6.3
func (m *HeavySyncMock) AllMocksCalled() bool
AllMocksCalled returns true if all mocked methods were called before the execution of AllMocksCalled, it can be used with assert/require, i.e. assert.True(mock.AllMocksCalled())
func (*HeavySyncMock) CheckMocksCalled ¶ added in v0.6.3
func (m *HeavySyncMock) CheckMocksCalled()
CheckMocksCalled checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller
func (*HeavySyncMock) Finish ¶ added in v0.6.3
func (m *HeavySyncMock) Finish()
Finish checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish or use Finish method of minimock.Controller
func (*HeavySyncMock) MinimockFinish ¶ added in v0.6.3
func (m *HeavySyncMock) MinimockFinish()
MinimockFinish checks that all mocked methods of the interface have been called at least once
func (*HeavySyncMock) MinimockWait ¶ added in v0.6.3
func (m *HeavySyncMock) MinimockWait(timeout time.Duration)
MinimockWait waits for all mocked methods to be called at least once this method is called by minimock.Controller
func (*HeavySyncMock) Start ¶ added in v0.6.3
func (m *HeavySyncMock) Start(p context.Context, p1 core.PulseNumber) (r error)
Start implements github.com/insolar/insolar/core.HeavySync interface
func (*HeavySyncMock) StartMinimockCounter ¶ added in v0.6.3
func (m *HeavySyncMock) StartMinimockCounter() uint64
StartMinimockCounter returns a count of HeavySyncMock.StartFunc invocations
func (*HeavySyncMock) StartMinimockPreCounter ¶ added in v0.6.3
func (m *HeavySyncMock) StartMinimockPreCounter() uint64
StartMinimockPreCounter returns the value of HeavySyncMock.Start invocations
func (*HeavySyncMock) Stop ¶ added in v0.6.3
func (m *HeavySyncMock) Stop(p context.Context, p1 core.PulseNumber) (r error)
Stop implements github.com/insolar/insolar/core.HeavySync interface
func (*HeavySyncMock) StopMinimockCounter ¶ added in v0.6.3
func (m *HeavySyncMock) StopMinimockCounter() uint64
StopMinimockCounter returns a count of HeavySyncMock.StopFunc invocations
func (*HeavySyncMock) StopMinimockPreCounter ¶ added in v0.6.3
func (m *HeavySyncMock) StopMinimockPreCounter() uint64
StopMinimockPreCounter returns the value of HeavySyncMock.Stop invocations
func (*HeavySyncMock) Store ¶ added in v0.6.3
func (m *HeavySyncMock) Store(p context.Context, p1 core.PulseNumber, p2 []core.KV) (r error)
Store implements github.com/insolar/insolar/core.HeavySync interface
func (*HeavySyncMock) StoreMinimockCounter ¶ added in v0.6.3
func (m *HeavySyncMock) StoreMinimockCounter() uint64
StoreMinimockCounter returns a count of HeavySyncMock.StoreFunc invocations
func (*HeavySyncMock) StoreMinimockPreCounter ¶ added in v0.6.3
func (m *HeavySyncMock) StoreMinimockPreCounter() uint64
StoreMinimockPreCounter returns the value of HeavySyncMock.Store invocations
func (*HeavySyncMock) ValidateCallCounters ¶ added in v0.6.3
func (m *HeavySyncMock) ValidateCallCounters()
ValidateCallCounters checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller
func (*HeavySyncMock) Wait ¶ added in v0.6.3
func (m *HeavySyncMock) Wait(timeout time.Duration)
Wait waits for all mocked methods to be called at least once Deprecated: please use MinimockWait or use Wait method of minimock.Controller
type HeavySyncMockStartParams ¶ added in v0.6.3
type HeavySyncMockStartParams struct {
// contains filtered or unexported fields
}
HeavySyncMockStartParams represents input parameters of the HeavySync.Start
type HeavySyncMockStopParams ¶ added in v0.6.3
type HeavySyncMockStopParams struct {
// contains filtered or unexported fields
}
HeavySyncMockStopParams represents input parameters of the HeavySync.Stop
type HeavySyncMockStoreParams ¶ added in v0.6.3
type HeavySyncMockStoreParams struct {
// contains filtered or unexported fields
}
HeavySyncMockStoreParams represents input parameters of the HeavySync.Store
type JetCoordinatorMock ¶ added in v0.6.3
type JetCoordinatorMock struct { GetActiveNodesFunc func(p core.PulseNumber) (r []core.Node, r1 error) GetActiveNodesCounter uint64 GetActiveNodesPreCounter uint64 GetActiveNodesMock mJetCoordinatorMockGetActiveNodes IsAuthorizedFunc func(p context.Context, p1 core.DynamicRole, p2 *core.RecordRef, p3 core.PulseNumber, p4 core.RecordRef) (r bool, r1 error) IsAuthorizedCounter uint64 IsAuthorizedPreCounter uint64 IsAuthorizedMock mJetCoordinatorMockIsAuthorized QueryRoleFunc func(p context.Context, p1 core.DynamicRole, p2 *core.RecordRef, p3 core.PulseNumber) (r []core.RecordRef, r1 error) QueryRoleCounter uint64 QueryRolePreCounter uint64 QueryRoleMock mJetCoordinatorMockQueryRole // contains filtered or unexported fields }
JetCoordinatorMock implements github.com/insolar/insolar/core.JetCoordinator
func NewJetCoordinatorMock ¶ added in v0.6.3
func NewJetCoordinatorMock(t minimock.Tester) *JetCoordinatorMock
NewJetCoordinatorMock returns a mock for github.com/insolar/insolar/core.JetCoordinator
func (*JetCoordinatorMock) AllMocksCalled ¶ added in v0.6.3
func (m *JetCoordinatorMock) AllMocksCalled() bool
AllMocksCalled returns true if all mocked methods were called before the execution of AllMocksCalled, it can be used with assert/require, i.e. assert.True(mock.AllMocksCalled())
func (*JetCoordinatorMock) CheckMocksCalled ¶ added in v0.6.3
func (m *JetCoordinatorMock) CheckMocksCalled()
CheckMocksCalled checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller
func (*JetCoordinatorMock) Finish ¶ added in v0.6.3
func (m *JetCoordinatorMock) Finish()
Finish checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish or use Finish method of minimock.Controller
func (*JetCoordinatorMock) GetActiveNodes ¶ added in v0.6.3
func (m *JetCoordinatorMock) GetActiveNodes(p core.PulseNumber) (r []core.Node, r1 error)
GetActiveNodes implements github.com/insolar/insolar/core.JetCoordinator interface
func (*JetCoordinatorMock) GetActiveNodesMinimockCounter ¶ added in v0.6.3
func (m *JetCoordinatorMock) GetActiveNodesMinimockCounter() uint64
GetActiveNodesMinimockCounter returns a count of JetCoordinatorMock.GetActiveNodesFunc invocations
func (*JetCoordinatorMock) GetActiveNodesMinimockPreCounter ¶ added in v0.6.3
func (m *JetCoordinatorMock) GetActiveNodesMinimockPreCounter() uint64
GetActiveNodesMinimockPreCounter returns the value of JetCoordinatorMock.GetActiveNodes invocations
func (*JetCoordinatorMock) IsAuthorized ¶ added in v0.6.3
func (m *JetCoordinatorMock) IsAuthorized(p context.Context, p1 core.DynamicRole, p2 *core.RecordRef, p3 core.PulseNumber, p4 core.RecordRef) (r bool, r1 error)
IsAuthorized implements github.com/insolar/insolar/core.JetCoordinator interface
func (*JetCoordinatorMock) IsAuthorizedMinimockCounter ¶ added in v0.6.3
func (m *JetCoordinatorMock) IsAuthorizedMinimockCounter() uint64
IsAuthorizedMinimockCounter returns a count of JetCoordinatorMock.IsAuthorizedFunc invocations
func (*JetCoordinatorMock) IsAuthorizedMinimockPreCounter ¶ added in v0.6.3
func (m *JetCoordinatorMock) IsAuthorizedMinimockPreCounter() uint64
IsAuthorizedMinimockPreCounter returns the value of JetCoordinatorMock.IsAuthorized invocations
func (*JetCoordinatorMock) MinimockFinish ¶ added in v0.6.3
func (m *JetCoordinatorMock) MinimockFinish()
MinimockFinish checks that all mocked methods of the interface have been called at least once
func (*JetCoordinatorMock) MinimockWait ¶ added in v0.6.3
func (m *JetCoordinatorMock) MinimockWait(timeout time.Duration)
MinimockWait waits for all mocked methods to be called at least once this method is called by minimock.Controller
func (*JetCoordinatorMock) QueryRole ¶ added in v0.6.3
func (m *JetCoordinatorMock) QueryRole(p context.Context, p1 core.DynamicRole, p2 *core.RecordRef, p3 core.PulseNumber) (r []core.RecordRef, r1 error)
QueryRole implements github.com/insolar/insolar/core.JetCoordinator interface
func (*JetCoordinatorMock) QueryRoleMinimockCounter ¶ added in v0.6.3
func (m *JetCoordinatorMock) QueryRoleMinimockCounter() uint64
QueryRoleMinimockCounter returns a count of JetCoordinatorMock.QueryRoleFunc invocations
func (*JetCoordinatorMock) QueryRoleMinimockPreCounter ¶ added in v0.6.3
func (m *JetCoordinatorMock) QueryRoleMinimockPreCounter() uint64
QueryRoleMinimockPreCounter returns the value of JetCoordinatorMock.QueryRole invocations
func (*JetCoordinatorMock) ValidateCallCounters ¶ added in v0.6.3
func (m *JetCoordinatorMock) ValidateCallCounters()
ValidateCallCounters checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller
func (*JetCoordinatorMock) Wait ¶ added in v0.6.3
func (m *JetCoordinatorMock) Wait(timeout time.Duration)
Wait waits for all mocked methods to be called at least once Deprecated: please use MinimockWait or use Wait method of minimock.Controller
type JetCoordinatorMockGetActiveNodesParams ¶ added in v0.6.3
type JetCoordinatorMockGetActiveNodesParams struct {
// contains filtered or unexported fields
}
JetCoordinatorMockGetActiveNodesParams represents input parameters of the JetCoordinator.GetActiveNodes
type JetCoordinatorMockIsAuthorizedParams ¶ added in v0.6.3
type JetCoordinatorMockIsAuthorizedParams struct {
// contains filtered or unexported fields
}
JetCoordinatorMockIsAuthorizedParams represents input parameters of the JetCoordinator.IsAuthorized
type JetCoordinatorMockQueryRoleParams ¶ added in v0.6.3
type JetCoordinatorMockQueryRoleParams struct {
// contains filtered or unexported fields
}
JetCoordinatorMockQueryRoleParams represents input parameters of the JetCoordinator.QueryRole
type KeyProcessorMock ¶ added in v0.6.3
type KeyProcessorMock struct { ExportPrivateKeyFunc func(p crypto.PrivateKey) (r []byte, r1 error) ExportPrivateKeyCounter uint64 ExportPrivateKeyPreCounter uint64 ExportPrivateKeyMock mKeyProcessorMockExportPrivateKey ExportPublicKeyFunc func(p crypto.PublicKey) (r []byte, r1 error) ExportPublicKeyCounter uint64 ExportPublicKeyPreCounter uint64 ExportPublicKeyMock mKeyProcessorMockExportPublicKey ExtractPublicKeyFunc func(p crypto.PrivateKey) (r crypto.PublicKey) ExtractPublicKeyCounter uint64 ExtractPublicKeyPreCounter uint64 ExtractPublicKeyMock mKeyProcessorMockExtractPublicKey GeneratePrivateKeyFunc func() (r crypto.PrivateKey, r1 error) GeneratePrivateKeyCounter uint64 GeneratePrivateKeyPreCounter uint64 GeneratePrivateKeyMock mKeyProcessorMockGeneratePrivateKey ImportPrivateKeyFunc func(p []byte) (r crypto.PrivateKey, r1 error) ImportPrivateKeyCounter uint64 ImportPrivateKeyPreCounter uint64 ImportPrivateKeyMock mKeyProcessorMockImportPrivateKey ImportPublicKeyFunc func(p []byte) (r crypto.PublicKey, r1 error) ImportPublicKeyCounter uint64 ImportPublicKeyPreCounter uint64 ImportPublicKeyMock mKeyProcessorMockImportPublicKey // contains filtered or unexported fields }
KeyProcessorMock implements github.com/insolar/insolar/core.KeyProcessor
func NewKeyProcessorMock ¶ added in v0.6.3
func NewKeyProcessorMock(t minimock.Tester) *KeyProcessorMock
NewKeyProcessorMock returns a mock for github.com/insolar/insolar/core.KeyProcessor
func (*KeyProcessorMock) AllMocksCalled ¶ added in v0.6.3
func (m *KeyProcessorMock) AllMocksCalled() bool
AllMocksCalled returns true if all mocked methods were called before the execution of AllMocksCalled, it can be used with assert/require, i.e. assert.True(mock.AllMocksCalled())
func (*KeyProcessorMock) CheckMocksCalled ¶ added in v0.6.3
func (m *KeyProcessorMock) CheckMocksCalled()
CheckMocksCalled checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller
func (*KeyProcessorMock) ExportPrivateKey ¶ added in v0.6.3
func (m *KeyProcessorMock) ExportPrivateKey(p crypto.PrivateKey) (r []byte, r1 error)
ExportPrivateKey implements github.com/insolar/insolar/core.KeyProcessor interface
func (*KeyProcessorMock) ExportPrivateKeyMinimockCounter ¶ added in v0.6.3
func (m *KeyProcessorMock) ExportPrivateKeyMinimockCounter() uint64
ExportPrivateKeyMinimockCounter returns a count of KeyProcessorMock.ExportPrivateKeyFunc invocations
func (*KeyProcessorMock) ExportPrivateKeyMinimockPreCounter ¶ added in v0.6.3
func (m *KeyProcessorMock) ExportPrivateKeyMinimockPreCounter() uint64
ExportPrivateKeyMinimockPreCounter returns the value of KeyProcessorMock.ExportPrivateKey invocations
func (*KeyProcessorMock) ExportPublicKey ¶ added in v0.6.3
func (m *KeyProcessorMock) ExportPublicKey(p crypto.PublicKey) (r []byte, r1 error)
ExportPublicKey implements github.com/insolar/insolar/core.KeyProcessor interface
func (*KeyProcessorMock) ExportPublicKeyMinimockCounter ¶ added in v0.6.3
func (m *KeyProcessorMock) ExportPublicKeyMinimockCounter() uint64
ExportPublicKeyMinimockCounter returns a count of KeyProcessorMock.ExportPublicKeyFunc invocations
func (*KeyProcessorMock) ExportPublicKeyMinimockPreCounter ¶ added in v0.6.3
func (m *KeyProcessorMock) ExportPublicKeyMinimockPreCounter() uint64
ExportPublicKeyMinimockPreCounter returns the value of KeyProcessorMock.ExportPublicKey invocations
func (*KeyProcessorMock) ExtractPublicKey ¶ added in v0.6.3
func (m *KeyProcessorMock) ExtractPublicKey(p crypto.PrivateKey) (r crypto.PublicKey)
ExtractPublicKey implements github.com/insolar/insolar/core.KeyProcessor interface
func (*KeyProcessorMock) ExtractPublicKeyMinimockCounter ¶ added in v0.6.3
func (m *KeyProcessorMock) ExtractPublicKeyMinimockCounter() uint64
ExtractPublicKeyMinimockCounter returns a count of KeyProcessorMock.ExtractPublicKeyFunc invocations
func (*KeyProcessorMock) ExtractPublicKeyMinimockPreCounter ¶ added in v0.6.3
func (m *KeyProcessorMock) ExtractPublicKeyMinimockPreCounter() uint64
ExtractPublicKeyMinimockPreCounter returns the value of KeyProcessorMock.ExtractPublicKey invocations
func (*KeyProcessorMock) Finish ¶ added in v0.6.3
func (m *KeyProcessorMock) Finish()
Finish checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish or use Finish method of minimock.Controller
func (*KeyProcessorMock) GeneratePrivateKey ¶ added in v0.6.3
func (m *KeyProcessorMock) GeneratePrivateKey() (r crypto.PrivateKey, r1 error)
GeneratePrivateKey implements github.com/insolar/insolar/core.KeyProcessor interface
func (*KeyProcessorMock) GeneratePrivateKeyMinimockCounter ¶ added in v0.6.3
func (m *KeyProcessorMock) GeneratePrivateKeyMinimockCounter() uint64
GeneratePrivateKeyMinimockCounter returns a count of KeyProcessorMock.GeneratePrivateKeyFunc invocations
func (*KeyProcessorMock) GeneratePrivateKeyMinimockPreCounter ¶ added in v0.6.3
func (m *KeyProcessorMock) GeneratePrivateKeyMinimockPreCounter() uint64
GeneratePrivateKeyMinimockPreCounter returns the value of KeyProcessorMock.GeneratePrivateKey invocations
func (*KeyProcessorMock) ImportPrivateKey ¶ added in v0.6.3
func (m *KeyProcessorMock) ImportPrivateKey(p []byte) (r crypto.PrivateKey, r1 error)
ImportPrivateKey implements github.com/insolar/insolar/core.KeyProcessor interface
func (*KeyProcessorMock) ImportPrivateKeyMinimockCounter ¶ added in v0.6.3
func (m *KeyProcessorMock) ImportPrivateKeyMinimockCounter() uint64
ImportPrivateKeyMinimockCounter returns a count of KeyProcessorMock.ImportPrivateKeyFunc invocations
func (*KeyProcessorMock) ImportPrivateKeyMinimockPreCounter ¶ added in v0.6.3
func (m *KeyProcessorMock) ImportPrivateKeyMinimockPreCounter() uint64
ImportPrivateKeyMinimockPreCounter returns the value of KeyProcessorMock.ImportPrivateKey invocations
func (*KeyProcessorMock) ImportPublicKey ¶ added in v0.6.3
func (m *KeyProcessorMock) ImportPublicKey(p []byte) (r crypto.PublicKey, r1 error)
ImportPublicKey implements github.com/insolar/insolar/core.KeyProcessor interface
func (*KeyProcessorMock) ImportPublicKeyMinimockCounter ¶ added in v0.6.3
func (m *KeyProcessorMock) ImportPublicKeyMinimockCounter() uint64
ImportPublicKeyMinimockCounter returns a count of KeyProcessorMock.ImportPublicKeyFunc invocations
func (*KeyProcessorMock) ImportPublicKeyMinimockPreCounter ¶ added in v0.6.3
func (m *KeyProcessorMock) ImportPublicKeyMinimockPreCounter() uint64
ImportPublicKeyMinimockPreCounter returns the value of KeyProcessorMock.ImportPublicKey invocations
func (*KeyProcessorMock) MinimockFinish ¶ added in v0.6.3
func (m *KeyProcessorMock) MinimockFinish()
MinimockFinish checks that all mocked methods of the interface have been called at least once
func (*KeyProcessorMock) MinimockWait ¶ added in v0.6.3
func (m *KeyProcessorMock) MinimockWait(timeout time.Duration)
MinimockWait waits for all mocked methods to be called at least once this method is called by minimock.Controller
func (*KeyProcessorMock) ValidateCallCounters ¶ added in v0.6.3
func (m *KeyProcessorMock) ValidateCallCounters()
ValidateCallCounters checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller
func (*KeyProcessorMock) Wait ¶ added in v0.6.3
func (m *KeyProcessorMock) Wait(timeout time.Duration)
Wait waits for all mocked methods to be called at least once Deprecated: please use MinimockWait or use Wait method of minimock.Controller
type KeyProcessorMockExportPrivateKeyParams ¶ added in v0.6.3
type KeyProcessorMockExportPrivateKeyParams struct {
// contains filtered or unexported fields
}
KeyProcessorMockExportPrivateKeyParams represents input parameters of the KeyProcessor.ExportPrivateKey
type KeyProcessorMockExportPublicKeyParams ¶ added in v0.6.3
type KeyProcessorMockExportPublicKeyParams struct {
// contains filtered or unexported fields
}
KeyProcessorMockExportPublicKeyParams represents input parameters of the KeyProcessor.ExportPublicKey
type KeyProcessorMockExtractPublicKeyParams ¶ added in v0.6.3
type KeyProcessorMockExtractPublicKeyParams struct {
// contains filtered or unexported fields
}
KeyProcessorMockExtractPublicKeyParams represents input parameters of the KeyProcessor.ExtractPublicKey
type KeyProcessorMockImportPrivateKeyParams ¶ added in v0.6.3
type KeyProcessorMockImportPrivateKeyParams struct {
// contains filtered or unexported fields
}
KeyProcessorMockImportPrivateKeyParams represents input parameters of the KeyProcessor.ImportPrivateKey
type KeyProcessorMockImportPublicKeyParams ¶ added in v0.6.3
type KeyProcessorMockImportPublicKeyParams struct {
// contains filtered or unexported fields
}
KeyProcessorMockImportPublicKeyParams represents input parameters of the KeyProcessor.ImportPublicKey
type LocalStorageMock ¶ added in v0.6.3
type LocalStorageMock struct { GetFunc func(p context.Context, p1 core.PulseNumber, p2 []byte) (r []byte, r1 error) GetCounter uint64 GetPreCounter uint64 GetMock mLocalStorageMockGet IterateFunc func(p context.Context, p1 core.PulseNumber, p2 []byte, p3 func(p []byte, p1 []byte) (r error)) (r error) IterateCounter uint64 IteratePreCounter uint64 IterateMock mLocalStorageMockIterate SetFunc func(p context.Context, p1 core.PulseNumber, p2 []byte, p3 []byte) (r error) SetCounter uint64 SetPreCounter uint64 SetMock mLocalStorageMockSet // contains filtered or unexported fields }
LocalStorageMock implements github.com/insolar/insolar/core.LocalStorage
func NewLocalStorageMock ¶ added in v0.6.3
func NewLocalStorageMock(t minimock.Tester) *LocalStorageMock
NewLocalStorageMock returns a mock for github.com/insolar/insolar/core.LocalStorage
func (*LocalStorageMock) AllMocksCalled ¶ added in v0.6.3
func (m *LocalStorageMock) AllMocksCalled() bool
AllMocksCalled returns true if all mocked methods were called before the execution of AllMocksCalled, it can be used with assert/require, i.e. assert.True(mock.AllMocksCalled())
func (*LocalStorageMock) CheckMocksCalled ¶ added in v0.6.3
func (m *LocalStorageMock) CheckMocksCalled()
CheckMocksCalled checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller
func (*LocalStorageMock) Finish ¶ added in v0.6.3
func (m *LocalStorageMock) Finish()
Finish checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish or use Finish method of minimock.Controller
func (*LocalStorageMock) Get ¶ added in v0.6.3
func (m *LocalStorageMock) Get(p context.Context, p1 core.PulseNumber, p2 []byte) (r []byte, r1 error)
Get implements github.com/insolar/insolar/core.LocalStorage interface
func (*LocalStorageMock) GetMinimockCounter ¶ added in v0.6.3
func (m *LocalStorageMock) GetMinimockCounter() uint64
GetMinimockCounter returns a count of LocalStorageMock.GetFunc invocations
func (*LocalStorageMock) GetMinimockPreCounter ¶ added in v0.6.3
func (m *LocalStorageMock) GetMinimockPreCounter() uint64
GetMinimockPreCounter returns the value of LocalStorageMock.Get invocations
func (*LocalStorageMock) Iterate ¶ added in v0.6.3
func (m *LocalStorageMock) Iterate(p context.Context, p1 core.PulseNumber, p2 []byte, p3 func(p []byte, p1 []byte) (r error)) (r error)
Iterate implements github.com/insolar/insolar/core.LocalStorage interface
func (*LocalStorageMock) IterateMinimockCounter ¶ added in v0.6.3
func (m *LocalStorageMock) IterateMinimockCounter() uint64
IterateMinimockCounter returns a count of LocalStorageMock.IterateFunc invocations
func (*LocalStorageMock) IterateMinimockPreCounter ¶ added in v0.6.3
func (m *LocalStorageMock) IterateMinimockPreCounter() uint64
IterateMinimockPreCounter returns the value of LocalStorageMock.Iterate invocations
func (*LocalStorageMock) MinimockFinish ¶ added in v0.6.3
func (m *LocalStorageMock) MinimockFinish()
MinimockFinish checks that all mocked methods of the interface have been called at least once
func (*LocalStorageMock) MinimockWait ¶ added in v0.6.3
func (m *LocalStorageMock) MinimockWait(timeout time.Duration)
MinimockWait waits for all mocked methods to be called at least once this method is called by minimock.Controller
func (*LocalStorageMock) Set ¶ added in v0.6.3
func (m *LocalStorageMock) Set(p context.Context, p1 core.PulseNumber, p2 []byte, p3 []byte) (r error)
Set implements github.com/insolar/insolar/core.LocalStorage interface
func (*LocalStorageMock) SetMinimockCounter ¶ added in v0.6.3
func (m *LocalStorageMock) SetMinimockCounter() uint64
SetMinimockCounter returns a count of LocalStorageMock.SetFunc invocations
func (*LocalStorageMock) SetMinimockPreCounter ¶ added in v0.6.3
func (m *LocalStorageMock) SetMinimockPreCounter() uint64
SetMinimockPreCounter returns the value of LocalStorageMock.Set invocations
func (*LocalStorageMock) ValidateCallCounters ¶ added in v0.6.3
func (m *LocalStorageMock) ValidateCallCounters()
ValidateCallCounters checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller
func (*LocalStorageMock) Wait ¶ added in v0.6.3
func (m *LocalStorageMock) Wait(timeout time.Duration)
Wait waits for all mocked methods to be called at least once Deprecated: please use MinimockWait or use Wait method of minimock.Controller
type LocalStorageMockGetParams ¶ added in v0.6.3
type LocalStorageMockGetParams struct {
// contains filtered or unexported fields
}
LocalStorageMockGetParams represents input parameters of the LocalStorage.Get
type LocalStorageMockIterateParams ¶ added in v0.6.3
type LocalStorageMockIterateParams struct {
// contains filtered or unexported fields
}
LocalStorageMockIterateParams represents input parameters of the LocalStorage.Iterate
type LocalStorageMockSetParams ¶ added in v0.6.3
type LocalStorageMockSetParams struct {
// contains filtered or unexported fields
}
LocalStorageMockSetParams represents input parameters of the LocalStorage.Set
type LogicRunnerMock ¶ added in v0.6.3
type LogicRunnerMock struct { ExecuteFunc func(p context.Context, p1 core.Parcel) (r core.Reply, r1 error) ExecuteCounter uint64 ExecutePreCounter uint64 ExecuteMock mLogicRunnerMockExecute ExecutorResultsFunc func(p context.Context, p1 core.Parcel) (r core.Reply, r1 error) ExecutorResultsCounter uint64 ExecutorResultsPreCounter uint64 ExecutorResultsMock mLogicRunnerMockExecutorResults OnPulseFunc func(p context.Context, p1 core.Pulse) (r error) OnPulseCounter uint64 OnPulsePreCounter uint64 OnPulseMock mLogicRunnerMockOnPulse ProcessValidationResultsFunc func(p context.Context, p1 core.Parcel) (r core.Reply, r1 error) ProcessValidationResultsCounter uint64 ProcessValidationResultsPreCounter uint64 ProcessValidationResultsMock mLogicRunnerMockProcessValidationResults ValidateFunc func(p context.Context, p1 core.RecordRef, p2 core.Pulse, p3 core.CaseBind) (r int, r1 error) ValidateCounter uint64 ValidatePreCounter uint64 ValidateMock mLogicRunnerMockValidate ValidateCaseBindFunc func(p context.Context, p1 core.Parcel) (r core.Reply, r1 error) ValidateCaseBindCounter uint64 ValidateCaseBindPreCounter uint64 ValidateCaseBindMock mLogicRunnerMockValidateCaseBind // contains filtered or unexported fields }
LogicRunnerMock implements github.com/insolar/insolar/core.LogicRunner
func NewLogicRunnerMock ¶ added in v0.6.3
func NewLogicRunnerMock(t minimock.Tester) *LogicRunnerMock
NewLogicRunnerMock returns a mock for github.com/insolar/insolar/core.LogicRunner
func (*LogicRunnerMock) AllMocksCalled ¶ added in v0.6.3
func (m *LogicRunnerMock) AllMocksCalled() bool
AllMocksCalled returns true if all mocked methods were called before the execution of AllMocksCalled, it can be used with assert/require, i.e. assert.True(mock.AllMocksCalled())
func (*LogicRunnerMock) CheckMocksCalled ¶ added in v0.6.3
func (m *LogicRunnerMock) CheckMocksCalled()
CheckMocksCalled checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller
func (*LogicRunnerMock) Execute ¶ added in v0.6.3
Execute implements github.com/insolar/insolar/core.LogicRunner interface
func (*LogicRunnerMock) ExecuteMinimockCounter ¶ added in v0.6.3
func (m *LogicRunnerMock) ExecuteMinimockCounter() uint64
ExecuteMinimockCounter returns a count of LogicRunnerMock.ExecuteFunc invocations
func (*LogicRunnerMock) ExecuteMinimockPreCounter ¶ added in v0.6.3
func (m *LogicRunnerMock) ExecuteMinimockPreCounter() uint64
ExecuteMinimockPreCounter returns the value of LogicRunnerMock.Execute invocations
func (*LogicRunnerMock) ExecutorResults ¶ added in v0.6.3
func (m *LogicRunnerMock) ExecutorResults(p context.Context, p1 core.Parcel) (r core.Reply, r1 error)
ExecutorResults implements github.com/insolar/insolar/core.LogicRunner interface
func (*LogicRunnerMock) ExecutorResultsMinimockCounter ¶ added in v0.6.3
func (m *LogicRunnerMock) ExecutorResultsMinimockCounter() uint64
ExecutorResultsMinimockCounter returns a count of LogicRunnerMock.ExecutorResultsFunc invocations
func (*LogicRunnerMock) ExecutorResultsMinimockPreCounter ¶ added in v0.6.3
func (m *LogicRunnerMock) ExecutorResultsMinimockPreCounter() uint64
ExecutorResultsMinimockPreCounter returns the value of LogicRunnerMock.ExecutorResults invocations
func (*LogicRunnerMock) Finish ¶ added in v0.6.3
func (m *LogicRunnerMock) Finish()
Finish checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish or use Finish method of minimock.Controller
func (*LogicRunnerMock) MinimockFinish ¶ added in v0.6.3
func (m *LogicRunnerMock) MinimockFinish()
MinimockFinish checks that all mocked methods of the interface have been called at least once
func (*LogicRunnerMock) MinimockWait ¶ added in v0.6.3
func (m *LogicRunnerMock) MinimockWait(timeout time.Duration)
MinimockWait waits for all mocked methods to be called at least once this method is called by minimock.Controller
func (*LogicRunnerMock) OnPulse ¶ added in v0.6.3
OnPulse implements github.com/insolar/insolar/core.LogicRunner interface
func (*LogicRunnerMock) OnPulseMinimockCounter ¶ added in v0.6.3
func (m *LogicRunnerMock) OnPulseMinimockCounter() uint64
OnPulseMinimockCounter returns a count of LogicRunnerMock.OnPulseFunc invocations
func (*LogicRunnerMock) OnPulseMinimockPreCounter ¶ added in v0.6.3
func (m *LogicRunnerMock) OnPulseMinimockPreCounter() uint64
OnPulseMinimockPreCounter returns the value of LogicRunnerMock.OnPulse invocations
func (*LogicRunnerMock) ProcessValidationResults ¶ added in v0.6.3
func (m *LogicRunnerMock) ProcessValidationResults(p context.Context, p1 core.Parcel) (r core.Reply, r1 error)
ProcessValidationResults implements github.com/insolar/insolar/core.LogicRunner interface
func (*LogicRunnerMock) ProcessValidationResultsMinimockCounter ¶ added in v0.6.3
func (m *LogicRunnerMock) ProcessValidationResultsMinimockCounter() uint64
ProcessValidationResultsMinimockCounter returns a count of LogicRunnerMock.ProcessValidationResultsFunc invocations
func (*LogicRunnerMock) ProcessValidationResultsMinimockPreCounter ¶ added in v0.6.3
func (m *LogicRunnerMock) ProcessValidationResultsMinimockPreCounter() uint64
ProcessValidationResultsMinimockPreCounter returns the value of LogicRunnerMock.ProcessValidationResults invocations
func (*LogicRunnerMock) Validate ¶ added in v0.6.3
func (m *LogicRunnerMock) Validate(p context.Context, p1 core.RecordRef, p2 core.Pulse, p3 core.CaseBind) (r int, r1 error)
Validate implements github.com/insolar/insolar/core.LogicRunner interface
func (*LogicRunnerMock) ValidateCallCounters ¶ added in v0.6.3
func (m *LogicRunnerMock) ValidateCallCounters()
ValidateCallCounters checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller
func (*LogicRunnerMock) ValidateCaseBind ¶ added in v0.6.3
func (m *LogicRunnerMock) ValidateCaseBind(p context.Context, p1 core.Parcel) (r core.Reply, r1 error)
ValidateCaseBind implements github.com/insolar/insolar/core.LogicRunner interface
func (*LogicRunnerMock) ValidateCaseBindMinimockCounter ¶ added in v0.6.3
func (m *LogicRunnerMock) ValidateCaseBindMinimockCounter() uint64
ValidateCaseBindMinimockCounter returns a count of LogicRunnerMock.ValidateCaseBindFunc invocations
func (*LogicRunnerMock) ValidateCaseBindMinimockPreCounter ¶ added in v0.6.3
func (m *LogicRunnerMock) ValidateCaseBindMinimockPreCounter() uint64
ValidateCaseBindMinimockPreCounter returns the value of LogicRunnerMock.ValidateCaseBind invocations
func (*LogicRunnerMock) ValidateMinimockCounter ¶ added in v0.6.3
func (m *LogicRunnerMock) ValidateMinimockCounter() uint64
ValidateMinimockCounter returns a count of LogicRunnerMock.ValidateFunc invocations
func (*LogicRunnerMock) ValidateMinimockPreCounter ¶ added in v0.6.3
func (m *LogicRunnerMock) ValidateMinimockPreCounter() uint64
ValidateMinimockPreCounter returns the value of LogicRunnerMock.Validate invocations
func (*LogicRunnerMock) Wait ¶ added in v0.6.3
func (m *LogicRunnerMock) Wait(timeout time.Duration)
Wait waits for all mocked methods to be called at least once Deprecated: please use MinimockWait or use Wait method of minimock.Controller
type LogicRunnerMockExecuteParams ¶ added in v0.6.3
type LogicRunnerMockExecuteParams struct {
// contains filtered or unexported fields
}
LogicRunnerMockExecuteParams represents input parameters of the LogicRunner.Execute
type LogicRunnerMockExecutorResultsParams ¶ added in v0.6.3
type LogicRunnerMockExecutorResultsParams struct {
// contains filtered or unexported fields
}
LogicRunnerMockExecutorResultsParams represents input parameters of the LogicRunner.ExecutorResults
type LogicRunnerMockOnPulseParams ¶ added in v0.6.3
type LogicRunnerMockOnPulseParams struct {
// contains filtered or unexported fields
}
LogicRunnerMockOnPulseParams represents input parameters of the LogicRunner.OnPulse
type LogicRunnerMockProcessValidationResultsParams ¶ added in v0.6.3
type LogicRunnerMockProcessValidationResultsParams struct {
// contains filtered or unexported fields
}
LogicRunnerMockProcessValidationResultsParams represents input parameters of the LogicRunner.ProcessValidationResults
type LogicRunnerMockValidateCaseBindParams ¶ added in v0.6.3
type LogicRunnerMockValidateCaseBindParams struct {
// contains filtered or unexported fields
}
LogicRunnerMockValidateCaseBindParams represents input parameters of the LogicRunner.ValidateCaseBind
type LogicRunnerMockValidateParams ¶ added in v0.6.3
type LogicRunnerMockValidateParams struct {
// contains filtered or unexported fields
}
LogicRunnerMockValidateParams represents input parameters of the LogicRunner.Validate
type MessageBusMock ¶ added in v0.6.3
type MessageBusMock struct { MustRegisterFunc func(p core.MessageType, p1 core.MessageHandler) MustRegisterCounter uint64 MustRegisterPreCounter uint64 MustRegisterMock mMessageBusMockMustRegister NewPlayerFunc func(p context.Context, p1 io.Reader) (r core.MessageBus, r1 error) NewPlayerCounter uint64 NewPlayerPreCounter uint64 NewPlayerMock mMessageBusMockNewPlayer NewRecorderFunc func(p context.Context) (r core.MessageBus, r1 error) NewRecorderCounter uint64 NewRecorderPreCounter uint64 NewRecorderMock mMessageBusMockNewRecorder RegisterFunc func(p core.MessageType, p1 core.MessageHandler) (r error) RegisterCounter uint64 RegisterPreCounter uint64 RegisterMock mMessageBusMockRegister SendFunc func(p context.Context, p1 core.Message, p2 *core.MessageSendOptions) (r core.Reply, r1 error) SendCounter uint64 SendPreCounter uint64 SendMock mMessageBusMockSend WriteTapeFunc func(p context.Context, p1 io.Writer) (r error) WriteTapeCounter uint64 WriteTapePreCounter uint64 WriteTapeMock mMessageBusMockWriteTape // contains filtered or unexported fields }
MessageBusMock implements github.com/insolar/insolar/core.MessageBus
func NewMessageBusMock ¶ added in v0.6.3
func NewMessageBusMock(t minimock.Tester) *MessageBusMock
NewMessageBusMock returns a mock for github.com/insolar/insolar/core.MessageBus
func (*MessageBusMock) AllMocksCalled ¶ added in v0.6.3
func (m *MessageBusMock) AllMocksCalled() bool
AllMocksCalled returns true if all mocked methods were called before the execution of AllMocksCalled, it can be used with assert/require, i.e. assert.True(mock.AllMocksCalled())
func (*MessageBusMock) CheckMocksCalled ¶ added in v0.6.3
func (m *MessageBusMock) CheckMocksCalled()
CheckMocksCalled checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller
func (*MessageBusMock) Finish ¶ added in v0.6.3
func (m *MessageBusMock) Finish()
Finish checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish or use Finish method of minimock.Controller
func (*MessageBusMock) MinimockFinish ¶ added in v0.6.3
func (m *MessageBusMock) MinimockFinish()
MinimockFinish checks that all mocked methods of the interface have been called at least once
func (*MessageBusMock) MinimockWait ¶ added in v0.6.3
func (m *MessageBusMock) MinimockWait(timeout time.Duration)
MinimockWait waits for all mocked methods to be called at least once this method is called by minimock.Controller
func (*MessageBusMock) MustRegister ¶ added in v0.6.3
func (m *MessageBusMock) MustRegister(p core.MessageType, p1 core.MessageHandler)
MustRegister implements github.com/insolar/insolar/core.MessageBus interface
func (*MessageBusMock) MustRegisterMinimockCounter ¶ added in v0.6.3
func (m *MessageBusMock) MustRegisterMinimockCounter() uint64
MustRegisterMinimockCounter returns a count of MessageBusMock.MustRegisterFunc invocations
func (*MessageBusMock) MustRegisterMinimockPreCounter ¶ added in v0.6.3
func (m *MessageBusMock) MustRegisterMinimockPreCounter() uint64
MustRegisterMinimockPreCounter returns the value of MessageBusMock.MustRegister invocations
func (*MessageBusMock) NewPlayer ¶ added in v0.6.3
func (m *MessageBusMock) NewPlayer(p context.Context, p1 io.Reader) (r core.MessageBus, r1 error)
NewPlayer implements github.com/insolar/insolar/core.MessageBus interface
func (*MessageBusMock) NewPlayerMinimockCounter ¶ added in v0.6.3
func (m *MessageBusMock) NewPlayerMinimockCounter() uint64
NewPlayerMinimockCounter returns a count of MessageBusMock.NewPlayerFunc invocations
func (*MessageBusMock) NewPlayerMinimockPreCounter ¶ added in v0.6.3
func (m *MessageBusMock) NewPlayerMinimockPreCounter() uint64
NewPlayerMinimockPreCounter returns the value of MessageBusMock.NewPlayer invocations
func (*MessageBusMock) NewRecorder ¶ added in v0.6.3
func (m *MessageBusMock) NewRecorder(p context.Context) (r core.MessageBus, r1 error)
NewRecorder implements github.com/insolar/insolar/core.MessageBus interface
func (*MessageBusMock) NewRecorderMinimockCounter ¶ added in v0.6.3
func (m *MessageBusMock) NewRecorderMinimockCounter() uint64
NewRecorderMinimockCounter returns a count of MessageBusMock.NewRecorderFunc invocations
func (*MessageBusMock) NewRecorderMinimockPreCounter ¶ added in v0.6.3
func (m *MessageBusMock) NewRecorderMinimockPreCounter() uint64
NewRecorderMinimockPreCounter returns the value of MessageBusMock.NewRecorder invocations
func (*MessageBusMock) Register ¶ added in v0.6.3
func (m *MessageBusMock) Register(p core.MessageType, p1 core.MessageHandler) (r error)
Register implements github.com/insolar/insolar/core.MessageBus interface
func (*MessageBusMock) RegisterMinimockCounter ¶ added in v0.6.3
func (m *MessageBusMock) RegisterMinimockCounter() uint64
RegisterMinimockCounter returns a count of MessageBusMock.RegisterFunc invocations
func (*MessageBusMock) RegisterMinimockPreCounter ¶ added in v0.6.3
func (m *MessageBusMock) RegisterMinimockPreCounter() uint64
RegisterMinimockPreCounter returns the value of MessageBusMock.Register invocations
func (*MessageBusMock) Send ¶ added in v0.6.3
func (m *MessageBusMock) Send(p context.Context, p1 core.Message, p2 *core.MessageSendOptions) (r core.Reply, r1 error)
Send implements github.com/insolar/insolar/core.MessageBus interface
func (*MessageBusMock) SendMinimockCounter ¶ added in v0.6.3
func (m *MessageBusMock) SendMinimockCounter() uint64
SendMinimockCounter returns a count of MessageBusMock.SendFunc invocations
func (*MessageBusMock) SendMinimockPreCounter ¶ added in v0.6.3
func (m *MessageBusMock) SendMinimockPreCounter() uint64
SendMinimockPreCounter returns the value of MessageBusMock.Send invocations
func (*MessageBusMock) ValidateCallCounters ¶ added in v0.6.3
func (m *MessageBusMock) ValidateCallCounters()
ValidateCallCounters checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller
func (*MessageBusMock) Wait ¶ added in v0.6.3
func (m *MessageBusMock) Wait(timeout time.Duration)
Wait waits for all mocked methods to be called at least once Deprecated: please use MinimockWait or use Wait method of minimock.Controller
func (*MessageBusMock) WriteTape ¶ added in v0.6.3
WriteTape implements github.com/insolar/insolar/core.MessageBus interface
func (*MessageBusMock) WriteTapeMinimockCounter ¶ added in v0.6.3
func (m *MessageBusMock) WriteTapeMinimockCounter() uint64
WriteTapeMinimockCounter returns a count of MessageBusMock.WriteTapeFunc invocations
func (*MessageBusMock) WriteTapeMinimockPreCounter ¶ added in v0.6.3
func (m *MessageBusMock) WriteTapeMinimockPreCounter() uint64
WriteTapeMinimockPreCounter returns the value of MessageBusMock.WriteTape invocations
type MessageBusMockMustRegisterParams ¶ added in v0.6.3
type MessageBusMockMustRegisterParams struct {
// contains filtered or unexported fields
}
MessageBusMockMustRegisterParams represents input parameters of the MessageBus.MustRegister
type MessageBusMockNewPlayerParams ¶ added in v0.6.3
type MessageBusMockNewPlayerParams struct {
// contains filtered or unexported fields
}
MessageBusMockNewPlayerParams represents input parameters of the MessageBus.NewPlayer
type MessageBusMockNewRecorderParams ¶ added in v0.6.3
type MessageBusMockNewRecorderParams struct {
// contains filtered or unexported fields
}
MessageBusMockNewRecorderParams represents input parameters of the MessageBus.NewRecorder
type MessageBusMockRegisterParams ¶ added in v0.6.3
type MessageBusMockRegisterParams struct {
// contains filtered or unexported fields
}
MessageBusMockRegisterParams represents input parameters of the MessageBus.Register
type MessageBusMockSendParams ¶ added in v0.6.3
type MessageBusMockSendParams struct {
// contains filtered or unexported fields
}
MessageBusMockSendParams represents input parameters of the MessageBus.Send
type MessageBusMockWriteTapeParams ¶ added in v0.6.3
type MessageBusMockWriteTapeParams struct {
// contains filtered or unexported fields
}
MessageBusMockWriteTapeParams represents input parameters of the MessageBus.WriteTape
type NetworkCoordinatorMock ¶ added in v0.6.3
type NetworkCoordinatorMock struct { GetCertFunc func(p context.Context, p1 core.RecordRef) (r core.Certificate, r1 error) GetCertCounter uint64 GetCertPreCounter uint64 GetCertMock mNetworkCoordinatorMockGetCert SetPulseFunc func(p context.Context, p1 core.Pulse) (r error) SetPulseCounter uint64 SetPulsePreCounter uint64 SetPulseMock mNetworkCoordinatorMockSetPulse ValidateCertFunc func(p context.Context, p1 core.Certificate) (r bool, r1 error) ValidateCertCounter uint64 ValidateCertPreCounter uint64 ValidateCertMock mNetworkCoordinatorMockValidateCert WriteActiveNodesFunc func(p context.Context, p1 core.PulseNumber, p2 []core.Node) (r error) WriteActiveNodesCounter uint64 WriteActiveNodesPreCounter uint64 WriteActiveNodesMock mNetworkCoordinatorMockWriteActiveNodes // contains filtered or unexported fields }
NetworkCoordinatorMock implements github.com/insolar/insolar/core.NetworkCoordinator
func NewNetworkCoordinatorMock ¶ added in v0.6.3
func NewNetworkCoordinatorMock(t minimock.Tester) *NetworkCoordinatorMock
NewNetworkCoordinatorMock returns a mock for github.com/insolar/insolar/core.NetworkCoordinator
func (*NetworkCoordinatorMock) AllMocksCalled ¶ added in v0.6.3
func (m *NetworkCoordinatorMock) AllMocksCalled() bool
AllMocksCalled returns true if all mocked methods were called before the execution of AllMocksCalled, it can be used with assert/require, i.e. assert.True(mock.AllMocksCalled())
func (*NetworkCoordinatorMock) CheckMocksCalled ¶ added in v0.6.3
func (m *NetworkCoordinatorMock) CheckMocksCalled()
CheckMocksCalled checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller
func (*NetworkCoordinatorMock) Finish ¶ added in v0.6.3
func (m *NetworkCoordinatorMock) Finish()
Finish checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish or use Finish method of minimock.Controller
func (*NetworkCoordinatorMock) GetCert ¶ added in v0.6.3
func (m *NetworkCoordinatorMock) GetCert(p context.Context, p1 core.RecordRef) (r core.Certificate, r1 error)
GetCert implements github.com/insolar/insolar/core.NetworkCoordinator interface
func (*NetworkCoordinatorMock) GetCertMinimockCounter ¶ added in v0.6.3
func (m *NetworkCoordinatorMock) GetCertMinimockCounter() uint64
GetCertMinimockCounter returns a count of NetworkCoordinatorMock.GetCertFunc invocations
func (*NetworkCoordinatorMock) GetCertMinimockPreCounter ¶ added in v0.6.3
func (m *NetworkCoordinatorMock) GetCertMinimockPreCounter() uint64
GetCertMinimockPreCounter returns the value of NetworkCoordinatorMock.GetCert invocations
func (*NetworkCoordinatorMock) MinimockFinish ¶ added in v0.6.3
func (m *NetworkCoordinatorMock) MinimockFinish()
MinimockFinish checks that all mocked methods of the interface have been called at least once
func (*NetworkCoordinatorMock) MinimockWait ¶ added in v0.6.3
func (m *NetworkCoordinatorMock) MinimockWait(timeout time.Duration)
MinimockWait waits for all mocked methods to be called at least once this method is called by minimock.Controller
func (*NetworkCoordinatorMock) SetPulse ¶ added in v0.6.3
SetPulse implements github.com/insolar/insolar/core.NetworkCoordinator interface
func (*NetworkCoordinatorMock) SetPulseMinimockCounter ¶ added in v0.6.3
func (m *NetworkCoordinatorMock) SetPulseMinimockCounter() uint64
SetPulseMinimockCounter returns a count of NetworkCoordinatorMock.SetPulseFunc invocations
func (*NetworkCoordinatorMock) SetPulseMinimockPreCounter ¶ added in v0.6.3
func (m *NetworkCoordinatorMock) SetPulseMinimockPreCounter() uint64
SetPulseMinimockPreCounter returns the value of NetworkCoordinatorMock.SetPulse invocations
func (*NetworkCoordinatorMock) ValidateCallCounters ¶ added in v0.6.3
func (m *NetworkCoordinatorMock) ValidateCallCounters()
ValidateCallCounters checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller
func (*NetworkCoordinatorMock) ValidateCert ¶ added in v0.6.3
func (m *NetworkCoordinatorMock) ValidateCert(p context.Context, p1 core.Certificate) (r bool, r1 error)
ValidateCert implements github.com/insolar/insolar/core.NetworkCoordinator interface
func (*NetworkCoordinatorMock) ValidateCertMinimockCounter ¶ added in v0.6.3
func (m *NetworkCoordinatorMock) ValidateCertMinimockCounter() uint64
ValidateCertMinimockCounter returns a count of NetworkCoordinatorMock.ValidateCertFunc invocations
func (*NetworkCoordinatorMock) ValidateCertMinimockPreCounter ¶ added in v0.6.3
func (m *NetworkCoordinatorMock) ValidateCertMinimockPreCounter() uint64
ValidateCertMinimockPreCounter returns the value of NetworkCoordinatorMock.ValidateCert invocations
func (*NetworkCoordinatorMock) Wait ¶ added in v0.6.3
func (m *NetworkCoordinatorMock) Wait(timeout time.Duration)
Wait waits for all mocked methods to be called at least once Deprecated: please use MinimockWait or use Wait method of minimock.Controller
func (*NetworkCoordinatorMock) WriteActiveNodes ¶ added in v0.6.3
func (m *NetworkCoordinatorMock) WriteActiveNodes(p context.Context, p1 core.PulseNumber, p2 []core.Node) (r error)
WriteActiveNodes implements github.com/insolar/insolar/core.NetworkCoordinator interface
func (*NetworkCoordinatorMock) WriteActiveNodesMinimockCounter ¶ added in v0.6.3
func (m *NetworkCoordinatorMock) WriteActiveNodesMinimockCounter() uint64
WriteActiveNodesMinimockCounter returns a count of NetworkCoordinatorMock.WriteActiveNodesFunc invocations
func (*NetworkCoordinatorMock) WriteActiveNodesMinimockPreCounter ¶ added in v0.6.3
func (m *NetworkCoordinatorMock) WriteActiveNodesMinimockPreCounter() uint64
WriteActiveNodesMinimockPreCounter returns the value of NetworkCoordinatorMock.WriteActiveNodes invocations
type NetworkCoordinatorMockGetCertParams ¶ added in v0.6.3
type NetworkCoordinatorMockGetCertParams struct {
// contains filtered or unexported fields
}
NetworkCoordinatorMockGetCertParams represents input parameters of the NetworkCoordinator.GetCert
type NetworkCoordinatorMockSetPulseParams ¶ added in v0.6.3
type NetworkCoordinatorMockSetPulseParams struct {
// contains filtered or unexported fields
}
NetworkCoordinatorMockSetPulseParams represents input parameters of the NetworkCoordinator.SetPulse
type NetworkCoordinatorMockValidateCertParams ¶ added in v0.6.3
type NetworkCoordinatorMockValidateCertParams struct {
// contains filtered or unexported fields
}
NetworkCoordinatorMockValidateCertParams represents input parameters of the NetworkCoordinator.ValidateCert
type NetworkCoordinatorMockWriteActiveNodesParams ¶ added in v0.6.3
type NetworkCoordinatorMockWriteActiveNodesParams struct {
// contains filtered or unexported fields
}
NetworkCoordinatorMockWriteActiveNodesParams represents input parameters of the NetworkCoordinator.WriteActiveNodes
type PulseManagerMock ¶ added in v0.6.3
type PulseManagerMock struct { CurrentFunc func(p context.Context) (r *core.Pulse, r1 error) CurrentCounter uint64 CurrentPreCounter uint64 CurrentMock mPulseManagerMockCurrent SetFunc func(p context.Context, p1 core.Pulse) (r error) SetCounter uint64 SetPreCounter uint64 SetMock mPulseManagerMockSet // contains filtered or unexported fields }
PulseManagerMock implements github.com/insolar/insolar/core.PulseManager
func NewPulseManagerMock ¶ added in v0.6.3
func NewPulseManagerMock(t minimock.Tester) *PulseManagerMock
NewPulseManagerMock returns a mock for github.com/insolar/insolar/core.PulseManager
func (*PulseManagerMock) AllMocksCalled ¶ added in v0.6.3
func (m *PulseManagerMock) AllMocksCalled() bool
AllMocksCalled returns true if all mocked methods were called before the execution of AllMocksCalled, it can be used with assert/require, i.e. assert.True(mock.AllMocksCalled())
func (*PulseManagerMock) CheckMocksCalled ¶ added in v0.6.3
func (m *PulseManagerMock) CheckMocksCalled()
CheckMocksCalled checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller
func (*PulseManagerMock) Current ¶ added in v0.6.3
Current implements github.com/insolar/insolar/core.PulseManager interface
func (*PulseManagerMock) CurrentMinimockCounter ¶ added in v0.6.3
func (m *PulseManagerMock) CurrentMinimockCounter() uint64
CurrentMinimockCounter returns a count of PulseManagerMock.CurrentFunc invocations
func (*PulseManagerMock) CurrentMinimockPreCounter ¶ added in v0.6.3
func (m *PulseManagerMock) CurrentMinimockPreCounter() uint64
CurrentMinimockPreCounter returns the value of PulseManagerMock.Current invocations
func (*PulseManagerMock) Finish ¶ added in v0.6.3
func (m *PulseManagerMock) Finish()
Finish checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish or use Finish method of minimock.Controller
func (*PulseManagerMock) MinimockFinish ¶ added in v0.6.3
func (m *PulseManagerMock) MinimockFinish()
MinimockFinish checks that all mocked methods of the interface have been called at least once
func (*PulseManagerMock) MinimockWait ¶ added in v0.6.3
func (m *PulseManagerMock) MinimockWait(timeout time.Duration)
MinimockWait waits for all mocked methods to be called at least once this method is called by minimock.Controller
func (*PulseManagerMock) Set ¶ added in v0.6.3
Set implements github.com/insolar/insolar/core.PulseManager interface
func (*PulseManagerMock) SetMinimockCounter ¶ added in v0.6.3
func (m *PulseManagerMock) SetMinimockCounter() uint64
SetMinimockCounter returns a count of PulseManagerMock.SetFunc invocations
func (*PulseManagerMock) SetMinimockPreCounter ¶ added in v0.6.3
func (m *PulseManagerMock) SetMinimockPreCounter() uint64
SetMinimockPreCounter returns the value of PulseManagerMock.Set invocations
func (*PulseManagerMock) ValidateCallCounters ¶ added in v0.6.3
func (m *PulseManagerMock) ValidateCallCounters()
ValidateCallCounters checks that all mocked methods of the interface have been called at least once Deprecated: please use MinimockFinish method or use Finish method of minimock.Controller
func (*PulseManagerMock) Wait ¶ added in v0.6.3
func (m *PulseManagerMock) Wait(timeout time.Duration)
Wait waits for all mocked methods to be called at least once Deprecated: please use MinimockWait or use Wait method of minimock.Controller
type PulseManagerMockCurrentParams ¶ added in v0.6.3
type PulseManagerMockCurrentParams struct {
// contains filtered or unexported fields
}
PulseManagerMockCurrentParams represents input parameters of the PulseManager.Current
type PulseManagerMockSetParams ¶ added in v0.6.3
type PulseManagerMockSetParams struct {
// contains filtered or unexported fields
}
PulseManagerMockSetParams represents input parameters of the PulseManager.Set
type Recorder ¶ added in v0.6.1
type Recorder struct {
// contains filtered or unexported fields
}
Recorder records input data line by line in underline list.
func NewRecoder ¶ added in v0.6.1
func NewRecoder() *Recorder
NewRecoder produces new Recorder instance.
func (*Recorder) StringMultiline ¶ added in v0.6.1
StringMultiline stringifies recorder content in multiple lines.
Source Files ¶
- artifact_manager_mock.go
- certificate_mock.go
- contract_requester_mock.go
- core.go
- cryptography_service_mock.go
- delegation_token_factory_mock.go
- discovery_node_mock.go
- heavy_sync_mock.go
- jet_coordinator_mock.go
- key_processor_mock.go
- local_storage_mock.go
- logic_runner_mock.go
- message_bus_mock.go
- network_coordinator_mock.go
- pulse_manager_mock.go
- recorder.go