Documentation ¶
Index ¶
- func NewPlatformCryptographyScheme() insolar.PlatformCryptographyScheme
- func NodesErrorLogReader(logsDir string, writer io.Writer) chan struct{}
- func RandomString() string
- type CertificateGetterMock
- func (mmGetCert *CertificateGetterMock) GetCert(ctx context.Context, rp1 *mm_insolar.Reference) (c2 mm_insolar.Certificate, err error)
- func (mmGetCert *CertificateGetterMock) GetCertAfterCounter() uint64
- func (mmGetCert *CertificateGetterMock) GetCertBeforeCounter() uint64
- func (m *CertificateGetterMock) MinimockFinish()
- func (m *CertificateGetterMock) MinimockGetCertDone() bool
- func (m *CertificateGetterMock) MinimockGetCertInspect()
- func (m *CertificateGetterMock) MinimockWait(timeout mm_time.Duration)
- type CertificateGetterMockGetCertExpectation
- type CertificateGetterMockGetCertParams
- type CertificateGetterMockGetCertResults
- type CertificateManagerMock
- func (mmGetCertificate *CertificateManagerMock) GetCertificate() (c1 mm_insolar.Certificate)
- func (mmGetCertificate *CertificateManagerMock) GetCertificateAfterCounter() uint64
- func (mmGetCertificate *CertificateManagerMock) GetCertificateBeforeCounter() uint64
- func (m *CertificateManagerMock) MinimockFinish()
- func (m *CertificateManagerMock) MinimockGetCertificateDone() bool
- func (m *CertificateManagerMock) MinimockGetCertificateInspect()
- func (m *CertificateManagerMock) MinimockWait(timeout mm_time.Duration)
- type CertificateManagerMockGetCertificateExpectation
- type CertificateManagerMockGetCertificateResults
- type CertificateMock
- func (mmGetDiscoveryNodes *CertificateMock) GetDiscoveryNodes() (da1 []mm_insolar.DiscoveryNode)
- func (mmGetDiscoveryNodes *CertificateMock) GetDiscoveryNodesAfterCounter() uint64
- func (mmGetDiscoveryNodes *CertificateMock) GetDiscoveryNodesBeforeCounter() uint64
- func (mmGetDiscoverySigns *CertificateMock) GetDiscoverySigns() (m1 map[mm_insolar.Reference][]byte)
- func (mmGetDiscoverySigns *CertificateMock) GetDiscoverySignsAfterCounter() uint64
- func (mmGetDiscoverySigns *CertificateMock) GetDiscoverySignsBeforeCounter() uint64
- func (mmGetMajorityRule *CertificateMock) GetMajorityRule() (i1 int)
- func (mmGetMajorityRule *CertificateMock) GetMajorityRuleAfterCounter() uint64
- func (mmGetMajorityRule *CertificateMock) GetMajorityRuleBeforeCounter() uint64
- func (mmGetMinRoles *CertificateMock) GetMinRoles() (virtual uint, heavyMaterial uint, lightMaterial uint)
- func (mmGetMinRoles *CertificateMock) GetMinRolesAfterCounter() uint64
- func (mmGetMinRoles *CertificateMock) GetMinRolesBeforeCounter() uint64
- func (mmGetNodeRef *CertificateMock) GetNodeRef() (rp1 *mm_insolar.Reference)
- func (mmGetNodeRef *CertificateMock) GetNodeRefAfterCounter() uint64
- func (mmGetNodeRef *CertificateMock) GetNodeRefBeforeCounter() uint64
- func (mmGetPublicKey *CertificateMock) GetPublicKey() (p1 crypto.PublicKey)
- func (mmGetPublicKey *CertificateMock) GetPublicKeyAfterCounter() uint64
- func (mmGetPublicKey *CertificateMock) GetPublicKeyBeforeCounter() uint64
- func (mmGetRole *CertificateMock) GetRole() (s1 mm_insolar.StaticRole)
- func (mmGetRole *CertificateMock) GetRoleAfterCounter() uint64
- func (mmGetRole *CertificateMock) GetRoleBeforeCounter() uint64
- func (mmGetRootDomainReference *CertificateMock) GetRootDomainReference() (rp1 *mm_insolar.Reference)
- func (mmGetRootDomainReference *CertificateMock) GetRootDomainReferenceAfterCounter() uint64
- func (mmGetRootDomainReference *CertificateMock) GetRootDomainReferenceBeforeCounter() uint64
- func (m *CertificateMock) MinimockFinish()
- func (m *CertificateMock) MinimockGetDiscoveryNodesDone() bool
- func (m *CertificateMock) MinimockGetDiscoveryNodesInspect()
- func (m *CertificateMock) MinimockGetDiscoverySignsDone() bool
- func (m *CertificateMock) MinimockGetDiscoverySignsInspect()
- func (m *CertificateMock) MinimockGetMajorityRuleDone() bool
- func (m *CertificateMock) MinimockGetMajorityRuleInspect()
- func (m *CertificateMock) MinimockGetMinRolesDone() bool
- func (m *CertificateMock) MinimockGetMinRolesInspect()
- func (m *CertificateMock) MinimockGetNodeRefDone() bool
- func (m *CertificateMock) MinimockGetNodeRefInspect()
- func (m *CertificateMock) MinimockGetPublicKeyDone() bool
- func (m *CertificateMock) MinimockGetPublicKeyInspect()
- func (m *CertificateMock) MinimockGetRoleDone() bool
- func (m *CertificateMock) MinimockGetRoleInspect()
- func (m *CertificateMock) MinimockGetRootDomainReferenceDone() bool
- func (m *CertificateMock) MinimockGetRootDomainReferenceInspect()
- func (m *CertificateMock) MinimockSerializeNodePartDone() bool
- func (m *CertificateMock) MinimockSerializeNodePartInspect()
- func (m *CertificateMock) MinimockWait(timeout mm_time.Duration)
- func (mmSerializeNodePart *CertificateMock) SerializeNodePart() (ba1 []byte)
- func (mmSerializeNodePart *CertificateMock) SerializeNodePartAfterCounter() uint64
- func (mmSerializeNodePart *CertificateMock) SerializeNodePartBeforeCounter() uint64
- type CertificateMockGetDiscoveryNodesExpectation
- type CertificateMockGetDiscoveryNodesResults
- type CertificateMockGetDiscoverySignsExpectation
- type CertificateMockGetDiscoverySignsResults
- type CertificateMockGetMajorityRuleExpectation
- type CertificateMockGetMajorityRuleResults
- type CertificateMockGetMinRolesExpectation
- type CertificateMockGetMinRolesResults
- type CertificateMockGetNodeRefExpectation
- type CertificateMockGetNodeRefResults
- type CertificateMockGetPublicKeyExpectation
- type CertificateMockGetPublicKeyResults
- type CertificateMockGetRoleExpectation
- type CertificateMockGetRoleResults
- type CertificateMockGetRootDomainReferenceExpectation
- type CertificateMockGetRootDomainReferenceResults
- type CertificateMockSerializeNodePartExpectation
- type CertificateMockSerializeNodePartResults
- type ContractRequesterMock
- func (mmCall *ContractRequesterMock) Call(ctx context.Context, ref *mm_insolar.Reference, method string, ...) (r1 mm_insolar.Reply, rp1 *mm_insolar.Reference, err error)
- func (mmCall *ContractRequesterMock) CallAfterCounter() uint64
- func (mmCall *ContractRequesterMock) CallBeforeCounter() uint64
- func (m *ContractRequesterMock) MinimockCallDone() bool
- func (m *ContractRequesterMock) MinimockCallInspect()
- func (m *ContractRequesterMock) MinimockFinish()
- func (m *ContractRequesterMock) MinimockSendRequestDone() bool
- func (m *ContractRequesterMock) MinimockSendRequestInspect()
- func (m *ContractRequesterMock) MinimockWait(timeout mm_time.Duration)
- func (mmSendRequest *ContractRequesterMock) SendRequest(ctx context.Context, msg mm_insolar.Payload) (r1 mm_insolar.Reply, rp1 *mm_insolar.Reference, err error)
- func (mmSendRequest *ContractRequesterMock) SendRequestAfterCounter() uint64
- func (mmSendRequest *ContractRequesterMock) SendRequestBeforeCounter() uint64
- type ContractRequesterMockCallExpectation
- type ContractRequesterMockCallParams
- type ContractRequesterMockCallResults
- type ContractRequesterMockSendRequestExpectation
- type ContractRequesterMockSendRequestParams
- type ContractRequesterMockSendRequestResults
- type CryptographyServiceMock
- func (mmGetPublicKey *CryptographyServiceMock) GetPublicKey() (p1 crypto.PublicKey, err error)
- func (mmGetPublicKey *CryptographyServiceMock) GetPublicKeyAfterCounter() uint64
- func (mmGetPublicKey *CryptographyServiceMock) GetPublicKeyBeforeCounter() uint64
- func (m *CryptographyServiceMock) MinimockFinish()
- func (m *CryptographyServiceMock) MinimockGetPublicKeyDone() bool
- func (m *CryptographyServiceMock) MinimockGetPublicKeyInspect()
- func (m *CryptographyServiceMock) MinimockSignDone() bool
- func (m *CryptographyServiceMock) MinimockSignInspect()
- func (m *CryptographyServiceMock) MinimockVerifyDone() bool
- func (m *CryptographyServiceMock) MinimockVerifyInspect()
- func (m *CryptographyServiceMock) MinimockWait(timeout mm_time.Duration)
- func (mmSign *CryptographyServiceMock) Sign(ba1 []byte) (sp1 *mm_insolar.Signature, err error)
- func (mmSign *CryptographyServiceMock) SignAfterCounter() uint64
- func (mmSign *CryptographyServiceMock) SignBeforeCounter() uint64
- func (mmVerify *CryptographyServiceMock) Verify(p1 crypto.PublicKey, s1 mm_insolar.Signature, ba1 []byte) (b1 bool)
- func (mmVerify *CryptographyServiceMock) VerifyAfterCounter() uint64
- func (mmVerify *CryptographyServiceMock) VerifyBeforeCounter() uint64
- type CryptographyServiceMockGetPublicKeyExpectation
- type CryptographyServiceMockGetPublicKeyResults
- type CryptographyServiceMockSignExpectation
- type CryptographyServiceMockSignParams
- type CryptographyServiceMockSignResults
- type CryptographyServiceMockVerifyExpectation
- type CryptographyServiceMockVerifyParams
- type CryptographyServiceMockVerifyResults
- type DiscoveryNodeMock
- func (mmGetHost *DiscoveryNodeMock) GetHost() (s1 string)
- func (mmGetHost *DiscoveryNodeMock) GetHostAfterCounter() uint64
- func (mmGetHost *DiscoveryNodeMock) GetHostBeforeCounter() uint64
- func (mmGetNodeRef *DiscoveryNodeMock) GetNodeRef() (rp1 *mm_insolar.Reference)
- func (mmGetNodeRef *DiscoveryNodeMock) GetNodeRefAfterCounter() uint64
- func (mmGetNodeRef *DiscoveryNodeMock) GetNodeRefBeforeCounter() uint64
- func (mmGetPublicKey *DiscoveryNodeMock) GetPublicKey() (p1 crypto.PublicKey)
- func (mmGetPublicKey *DiscoveryNodeMock) GetPublicKeyAfterCounter() uint64
- func (mmGetPublicKey *DiscoveryNodeMock) GetPublicKeyBeforeCounter() uint64
- func (mmGetRole *DiscoveryNodeMock) GetRole() (s1 mm_insolar.StaticRole)
- func (mmGetRole *DiscoveryNodeMock) GetRoleAfterCounter() uint64
- func (mmGetRole *DiscoveryNodeMock) GetRoleBeforeCounter() uint64
- func (m *DiscoveryNodeMock) MinimockFinish()
- func (m *DiscoveryNodeMock) MinimockGetHostDone() bool
- func (m *DiscoveryNodeMock) MinimockGetHostInspect()
- func (m *DiscoveryNodeMock) MinimockGetNodeRefDone() bool
- func (m *DiscoveryNodeMock) MinimockGetNodeRefInspect()
- func (m *DiscoveryNodeMock) MinimockGetPublicKeyDone() bool
- func (m *DiscoveryNodeMock) MinimockGetPublicKeyInspect()
- func (m *DiscoveryNodeMock) MinimockGetRoleDone() bool
- func (m *DiscoveryNodeMock) MinimockGetRoleInspect()
- func (m *DiscoveryNodeMock) MinimockWait(timeout mm_time.Duration)
- type DiscoveryNodeMockGetHostExpectation
- type DiscoveryNodeMockGetHostResults
- type DiscoveryNodeMockGetNodeRefExpectation
- type DiscoveryNodeMockGetNodeRefResults
- type DiscoveryNodeMockGetPublicKeyExpectation
- type DiscoveryNodeMockGetPublicKeyResults
- type DiscoveryNodeMockGetRoleExpectation
- type DiscoveryNodeMockGetRoleResults
- type JetReleaserMock
- func (m *JetReleaserMock) MinimockFinish()
- func (m *JetReleaserMock) MinimockThrowTimeoutDone() bool
- func (m *JetReleaserMock) MinimockThrowTimeoutInspect()
- func (m *JetReleaserMock) MinimockUnlockDone() bool
- func (m *JetReleaserMock) MinimockUnlockInspect()
- func (m *JetReleaserMock) MinimockWait(timeout mm_time.Duration)
- func (mmThrowTimeout *JetReleaserMock) ThrowTimeout(ctx context.Context, pulse insolar.PulseNumber)
- func (mmThrowTimeout *JetReleaserMock) ThrowTimeoutAfterCounter() uint64
- func (mmThrowTimeout *JetReleaserMock) ThrowTimeoutBeforeCounter() uint64
- func (mmUnlock *JetReleaserMock) Unlock(ctx context.Context, jetID insolar.ID) (err error)
- func (mmUnlock *JetReleaserMock) UnlockAfterCounter() uint64
- func (mmUnlock *JetReleaserMock) UnlockBeforeCounter() uint64
- type JetReleaserMockThrowTimeoutExpectation
- type JetReleaserMockThrowTimeoutParams
- type JetReleaserMockUnlockExpectation
- type JetReleaserMockUnlockParams
- type JetReleaserMockUnlockResults
- type KeyProcessorMock
- func (mmExportPrivateKeyPEM *KeyProcessorMock) ExportPrivateKeyPEM(p1 crypto.PrivateKey) (ba1 []byte, err error)
- func (mmExportPrivateKeyPEM *KeyProcessorMock) ExportPrivateKeyPEMAfterCounter() uint64
- func (mmExportPrivateKeyPEM *KeyProcessorMock) ExportPrivateKeyPEMBeforeCounter() uint64
- func (mmExportPublicKeyBinary *KeyProcessorMock) ExportPublicKeyBinary(p1 crypto.PublicKey) (ba1 []byte, err error)
- func (mmExportPublicKeyBinary *KeyProcessorMock) ExportPublicKeyBinaryAfterCounter() uint64
- func (mmExportPublicKeyBinary *KeyProcessorMock) ExportPublicKeyBinaryBeforeCounter() uint64
- func (mmExportPublicKeyPEM *KeyProcessorMock) ExportPublicKeyPEM(p1 crypto.PublicKey) (ba1 []byte, err error)
- func (mmExportPublicKeyPEM *KeyProcessorMock) ExportPublicKeyPEMAfterCounter() uint64
- func (mmExportPublicKeyPEM *KeyProcessorMock) ExportPublicKeyPEMBeforeCounter() uint64
- func (mmExtractPublicKey *KeyProcessorMock) ExtractPublicKey(p1 crypto.PrivateKey) (p2 crypto.PublicKey)
- func (mmExtractPublicKey *KeyProcessorMock) ExtractPublicKeyAfterCounter() uint64
- func (mmExtractPublicKey *KeyProcessorMock) ExtractPublicKeyBeforeCounter() uint64
- func (mmGeneratePrivateKey *KeyProcessorMock) GeneratePrivateKey() (p1 crypto.PrivateKey, err error)
- func (mmGeneratePrivateKey *KeyProcessorMock) GeneratePrivateKeyAfterCounter() uint64
- func (mmGeneratePrivateKey *KeyProcessorMock) GeneratePrivateKeyBeforeCounter() uint64
- func (mmImportPrivateKeyPEM *KeyProcessorMock) ImportPrivateKeyPEM(ba1 []byte) (p1 crypto.PrivateKey, err error)
- func (mmImportPrivateKeyPEM *KeyProcessorMock) ImportPrivateKeyPEMAfterCounter() uint64
- func (mmImportPrivateKeyPEM *KeyProcessorMock) ImportPrivateKeyPEMBeforeCounter() uint64
- func (mmImportPublicKeyBinary *KeyProcessorMock) ImportPublicKeyBinary(ba1 []byte) (p1 crypto.PublicKey, err error)
- func (mmImportPublicKeyBinary *KeyProcessorMock) ImportPublicKeyBinaryAfterCounter() uint64
- func (mmImportPublicKeyBinary *KeyProcessorMock) ImportPublicKeyBinaryBeforeCounter() uint64
- func (mmImportPublicKeyPEM *KeyProcessorMock) ImportPublicKeyPEM(ba1 []byte) (p1 crypto.PublicKey, err error)
- func (mmImportPublicKeyPEM *KeyProcessorMock) ImportPublicKeyPEMAfterCounter() uint64
- func (mmImportPublicKeyPEM *KeyProcessorMock) ImportPublicKeyPEMBeforeCounter() uint64
- func (m *KeyProcessorMock) MinimockExportPrivateKeyPEMDone() bool
- func (m *KeyProcessorMock) MinimockExportPrivateKeyPEMInspect()
- func (m *KeyProcessorMock) MinimockExportPublicKeyBinaryDone() bool
- func (m *KeyProcessorMock) MinimockExportPublicKeyBinaryInspect()
- func (m *KeyProcessorMock) MinimockExportPublicKeyPEMDone() bool
- func (m *KeyProcessorMock) MinimockExportPublicKeyPEMInspect()
- func (m *KeyProcessorMock) MinimockExtractPublicKeyDone() bool
- func (m *KeyProcessorMock) MinimockExtractPublicKeyInspect()
- func (m *KeyProcessorMock) MinimockFinish()
- func (m *KeyProcessorMock) MinimockGeneratePrivateKeyDone() bool
- func (m *KeyProcessorMock) MinimockGeneratePrivateKeyInspect()
- func (m *KeyProcessorMock) MinimockImportPrivateKeyPEMDone() bool
- func (m *KeyProcessorMock) MinimockImportPrivateKeyPEMInspect()
- func (m *KeyProcessorMock) MinimockImportPublicKeyBinaryDone() bool
- func (m *KeyProcessorMock) MinimockImportPublicKeyBinaryInspect()
- func (m *KeyProcessorMock) MinimockImportPublicKeyPEMDone() bool
- func (m *KeyProcessorMock) MinimockImportPublicKeyPEMInspect()
- func (m *KeyProcessorMock) MinimockWait(timeout mm_time.Duration)
- type KeyProcessorMockExportPrivateKeyPEMExpectation
- type KeyProcessorMockExportPrivateKeyPEMParams
- type KeyProcessorMockExportPrivateKeyPEMResults
- type KeyProcessorMockExportPublicKeyBinaryExpectation
- type KeyProcessorMockExportPublicKeyBinaryParams
- type KeyProcessorMockExportPublicKeyBinaryResults
- type KeyProcessorMockExportPublicKeyPEMExpectation
- type KeyProcessorMockExportPublicKeyPEMParams
- type KeyProcessorMockExportPublicKeyPEMResults
- type KeyProcessorMockExtractPublicKeyExpectation
- type KeyProcessorMockExtractPublicKeyParams
- type KeyProcessorMockExtractPublicKeyResults
- type KeyProcessorMockGeneratePrivateKeyExpectation
- type KeyProcessorMockGeneratePrivateKeyResults
- type KeyProcessorMockImportPrivateKeyPEMExpectation
- type KeyProcessorMockImportPrivateKeyPEMParams
- type KeyProcessorMockImportPrivateKeyPEMResults
- type KeyProcessorMockImportPublicKeyBinaryExpectation
- type KeyProcessorMockImportPublicKeyBinaryParams
- type KeyProcessorMockImportPublicKeyBinaryResults
- type KeyProcessorMockImportPublicKeyPEMExpectation
- type KeyProcessorMockImportPublicKeyPEMParams
- type KeyProcessorMockImportPublicKeyPEMResults
- type LeaverMock
- func (mmLeave *LeaverMock) Leave(ctx context.Context, ETA mm_insolar.PulseNumber)
- func (mmLeave *LeaverMock) LeaveAfterCounter() uint64
- func (mmLeave *LeaverMock) LeaveBeforeCounter() uint64
- func (m *LeaverMock) MinimockFinish()
- func (m *LeaverMock) MinimockLeaveDone() bool
- func (m *LeaverMock) MinimockLeaveInspect()
- func (m *LeaverMock) MinimockWait(timeout mm_time.Duration)
- type LeaverMockLeaveExpectation
- type LeaverMockLeaveParams
- type LogicRunnerMock
- func (mmAddUnwantedResponse *LogicRunnerMock) AddUnwantedResponse(ctx context.Context, msg mm_insolar.Payload) (err error)
- func (mmAddUnwantedResponse *LogicRunnerMock) AddUnwantedResponseAfterCounter() uint64
- func (mmAddUnwantedResponse *LogicRunnerMock) AddUnwantedResponseBeforeCounter() uint64
- func (mmLRI *LogicRunnerMock) LRI()
- func (mmLRI *LogicRunnerMock) LRIAfterCounter() uint64
- func (mmLRI *LogicRunnerMock) LRIBeforeCounter() uint64
- func (m *LogicRunnerMock) MinimockAddUnwantedResponseDone() bool
- func (m *LogicRunnerMock) MinimockAddUnwantedResponseInspect()
- func (m *LogicRunnerMock) MinimockFinish()
- func (m *LogicRunnerMock) MinimockLRIDone() bool
- func (m *LogicRunnerMock) MinimockLRIInspect()
- func (m *LogicRunnerMock) MinimockOnPulseDone() bool
- func (m *LogicRunnerMock) MinimockOnPulseInspect()
- func (m *LogicRunnerMock) MinimockWait(timeout mm_time.Duration)
- func (mmOnPulse *LogicRunnerMock) OnPulse(ctx context.Context, p1 mm_insolar.Pulse, p2 mm_insolar.Pulse) (err error)
- func (mmOnPulse *LogicRunnerMock) OnPulseAfterCounter() uint64
- func (mmOnPulse *LogicRunnerMock) OnPulseBeforeCounter() uint64
- type LogicRunnerMockAddUnwantedResponseExpectation
- type LogicRunnerMockAddUnwantedResponseParams
- type LogicRunnerMockAddUnwantedResponseResults
- type LogicRunnerMockLRIExpectation
- type LogicRunnerMockOnPulseExpectation
- type LogicRunnerMockOnPulseParams
- type LogicRunnerMockOnPulseResults
- type MachineLogicExecutorMock
- func (mmCallConstructor *MachineLogicExecutorMock) CallConstructor(ctx context.Context, callContext *mm_insolar.LogicCallContext, ...) (objectState []byte, result mm_insolar.Arguments, err error)
- func (mmCallConstructor *MachineLogicExecutorMock) CallConstructorAfterCounter() uint64
- func (mmCallConstructor *MachineLogicExecutorMock) CallConstructorBeforeCounter() uint64
- func (mmCallMethod *MachineLogicExecutorMock) CallMethod(ctx context.Context, callContext *mm_insolar.LogicCallContext, ...) (newObjectState []byte, methodResults mm_insolar.Arguments, err error)
- func (mmCallMethod *MachineLogicExecutorMock) CallMethodAfterCounter() uint64
- func (mmCallMethod *MachineLogicExecutorMock) CallMethodBeforeCounter() uint64
- func (m *MachineLogicExecutorMock) MinimockCallConstructorDone() bool
- func (m *MachineLogicExecutorMock) MinimockCallConstructorInspect()
- func (m *MachineLogicExecutorMock) MinimockCallMethodDone() bool
- func (m *MachineLogicExecutorMock) MinimockCallMethodInspect()
- func (m *MachineLogicExecutorMock) MinimockFinish()
- func (m *MachineLogicExecutorMock) MinimockWait(timeout mm_time.Duration)
- type MachineLogicExecutorMockCallConstructorExpectation
- type MachineLogicExecutorMockCallConstructorParams
- type MachineLogicExecutorMockCallConstructorResults
- type MachineLogicExecutorMockCallMethodExpectation
- type MachineLogicExecutorMockCallMethodParams
- type MachineLogicExecutorMockCallMethodResults
- type ParcelMock
- func (mmAllowedSenderObjectAndRole *ParcelMock) AllowedSenderObjectAndRole() (rp1 *mm_insolar.Reference, d1 mm_insolar.DynamicRole)
- func (mmAllowedSenderObjectAndRole *ParcelMock) AllowedSenderObjectAndRoleAfterCounter() uint64
- func (mmAllowedSenderObjectAndRole *ParcelMock) AllowedSenderObjectAndRoleBeforeCounter() uint64
- func (mmContext *ParcelMock) Context(ctx context.Context) (c2 context.Context)
- func (mmContext *ParcelMock) ContextAfterCounter() uint64
- func (mmContext *ParcelMock) ContextBeforeCounter() uint64
- func (mmDefaultRole *ParcelMock) DefaultRole() (d1 mm_insolar.DynamicRole)
- func (mmDefaultRole *ParcelMock) DefaultRoleAfterCounter() uint64
- func (mmDefaultRole *ParcelMock) DefaultRoleBeforeCounter() uint64
- func (mmDefaultTarget *ParcelMock) DefaultTarget() (rp1 *mm_insolar.Reference)
- func (mmDefaultTarget *ParcelMock) DefaultTargetAfterCounter() uint64
- func (mmDefaultTarget *ParcelMock) DefaultTargetBeforeCounter() uint64
- func (mmGetCaller *ParcelMock) GetCaller() (rp1 *mm_insolar.Reference)
- func (mmGetCaller *ParcelMock) GetCallerAfterCounter() uint64
- func (mmGetCaller *ParcelMock) GetCallerBeforeCounter() uint64
- func (mmGetSender *ParcelMock) GetSender() (r1 mm_insolar.Reference)
- func (mmGetSender *ParcelMock) GetSenderAfterCounter() uint64
- func (mmGetSender *ParcelMock) GetSenderBeforeCounter() uint64
- func (mmGetSign *ParcelMock) GetSign() (ba1 []byte)
- func (mmGetSign *ParcelMock) GetSignAfterCounter() uint64
- func (mmGetSign *ParcelMock) GetSignBeforeCounter() uint64
- func (mmMessage *ParcelMock) Message() (m1 mm_insolar.Message)
- func (mmMessage *ParcelMock) MessageAfterCounter() uint64
- func (mmMessage *ParcelMock) MessageBeforeCounter() uint64
- func (m *ParcelMock) MinimockAllowedSenderObjectAndRoleDone() bool
- func (m *ParcelMock) MinimockAllowedSenderObjectAndRoleInspect()
- func (m *ParcelMock) MinimockContextDone() bool
- func (m *ParcelMock) MinimockContextInspect()
- func (m *ParcelMock) MinimockDefaultRoleDone() bool
- func (m *ParcelMock) MinimockDefaultRoleInspect()
- func (m *ParcelMock) MinimockDefaultTargetDone() bool
- func (m *ParcelMock) MinimockDefaultTargetInspect()
- func (m *ParcelMock) MinimockFinish()
- func (m *ParcelMock) MinimockGetCallerDone() bool
- func (m *ParcelMock) MinimockGetCallerInspect()
- func (m *ParcelMock) MinimockGetSenderDone() bool
- func (m *ParcelMock) MinimockGetSenderInspect()
- func (m *ParcelMock) MinimockGetSignDone() bool
- func (m *ParcelMock) MinimockGetSignInspect()
- func (m *ParcelMock) MinimockMessageDone() bool
- func (m *ParcelMock) MinimockMessageInspect()
- func (m *ParcelMock) MinimockPulseDone() bool
- func (m *ParcelMock) MinimockPulseInspect()
- func (m *ParcelMock) MinimockSetSenderDone() bool
- func (m *ParcelMock) MinimockSetSenderInspect()
- func (m *ParcelMock) MinimockTypeDone() bool
- func (m *ParcelMock) MinimockTypeInspect()
- func (m *ParcelMock) MinimockWait(timeout mm_time.Duration)
- func (mmPulse *ParcelMock) Pulse() (p1 mm_insolar.PulseNumber)
- func (mmPulse *ParcelMock) PulseAfterCounter() uint64
- func (mmPulse *ParcelMock) PulseBeforeCounter() uint64
- func (mmSetSender *ParcelMock) SetSender(r1 mm_insolar.Reference)
- func (mmSetSender *ParcelMock) SetSenderAfterCounter() uint64
- func (mmSetSender *ParcelMock) SetSenderBeforeCounter() uint64
- func (mmType *ParcelMock) Type() (m1 mm_insolar.MessageType)
- func (mmType *ParcelMock) TypeAfterCounter() uint64
- func (mmType *ParcelMock) TypeBeforeCounter() uint64
- type ParcelMockAllowedSenderObjectAndRoleExpectation
- type ParcelMockAllowedSenderObjectAndRoleResults
- type ParcelMockContextExpectation
- type ParcelMockContextParams
- type ParcelMockContextResults
- type ParcelMockDefaultRoleExpectation
- type ParcelMockDefaultRoleResults
- type ParcelMockDefaultTargetExpectation
- type ParcelMockDefaultTargetResults
- type ParcelMockGetCallerExpectation
- type ParcelMockGetCallerResults
- type ParcelMockGetSenderExpectation
- type ParcelMockGetSenderResults
- type ParcelMockGetSignExpectation
- type ParcelMockGetSignResults
- type ParcelMockMessageExpectation
- type ParcelMockMessageResults
- type ParcelMockPulseExpectation
- type ParcelMockPulseResults
- type ParcelMockSetSenderExpectation
- type ParcelMockSetSenderParams
- type ParcelMockTypeExpectation
- type ParcelMockTypeResults
- type PulseDistributorMock
- func (mmDistribute *PulseDistributorMock) Distribute(ctx context.Context, p1 mm_insolar.Pulse)
- func (mmDistribute *PulseDistributorMock) DistributeAfterCounter() uint64
- func (mmDistribute *PulseDistributorMock) DistributeBeforeCounter() uint64
- func (m *PulseDistributorMock) MinimockDistributeDone() bool
- func (m *PulseDistributorMock) MinimockDistributeInspect()
- func (m *PulseDistributorMock) MinimockFinish()
- func (m *PulseDistributorMock) MinimockWait(timeout mm_time.Duration)
- type PulseDistributorMockDistributeExpectation
- type PulseDistributorMockDistributeParams
- type PulseManagerMock
- func (m *PulseManagerMock) MinimockFinish()
- func (m *PulseManagerMock) MinimockSetDone() bool
- func (m *PulseManagerMock) MinimockSetInspect()
- func (m *PulseManagerMock) MinimockWait(timeout mm_time.Duration)
- func (mmSet *PulseManagerMock) Set(ctx context.Context, pulse mm_insolar.Pulse) (err error)
- func (mmSet *PulseManagerMock) SetAfterCounter() uint64
- func (mmSet *PulseManagerMock) SetBeforeCounter() uint64
- type PulseManagerMockSetExpectation
- type PulseManagerMockSetParams
- type PulseManagerMockSetResults
- type SyncT
- func (t *SyncT) Error(args ...interface{})
- func (t *SyncT) Errorf(format string, args ...interface{})
- func (t *SyncT) Fail()
- func (t *SyncT) FailNow()
- func (t *SyncT) Failed() bool
- func (t *SyncT) Fatal(args ...interface{})
- func (t *SyncT) Fatalf(format string, args ...interface{})
- func (t *SyncT) Helper()
- func (t *SyncT) Log(args ...interface{})
- func (t *SyncT) Logf(format string, args ...interface{})
- func (t *SyncT) Name() string
- func (t *SyncT) Skip(args ...interface{})
- func (t *SyncT) SkipNow()
- func (t *SyncT) Skipf(format string, args ...interface{})
- func (t *SyncT) Skipped() bool
- type TerminationHandlerMock
- func (mmAbort *TerminationHandlerMock) Abort(reason string)
- func (mmAbort *TerminationHandlerMock) AbortAfterCounter() uint64
- func (mmAbort *TerminationHandlerMock) AbortBeforeCounter() uint64
- func (mmLeave *TerminationHandlerMock) Leave(ctx context.Context, p1 mm_insolar.PulseNumber)
- func (mmLeave *TerminationHandlerMock) LeaveAfterCounter() uint64
- func (mmLeave *TerminationHandlerMock) LeaveBeforeCounter() uint64
- func (m *TerminationHandlerMock) MinimockAbortDone() bool
- func (m *TerminationHandlerMock) MinimockAbortInspect()
- func (m *TerminationHandlerMock) MinimockFinish()
- func (m *TerminationHandlerMock) MinimockLeaveDone() bool
- func (m *TerminationHandlerMock) MinimockLeaveInspect()
- func (m *TerminationHandlerMock) MinimockOnLeaveApprovedDone() bool
- func (m *TerminationHandlerMock) MinimockOnLeaveApprovedInspect()
- func (m *TerminationHandlerMock) MinimockTerminatingDone() bool
- func (m *TerminationHandlerMock) MinimockTerminatingInspect()
- func (m *TerminationHandlerMock) MinimockWait(timeout mm_time.Duration)
- func (mmOnLeaveApproved *TerminationHandlerMock) OnLeaveApproved(ctx context.Context)
- func (mmOnLeaveApproved *TerminationHandlerMock) OnLeaveApprovedAfterCounter() uint64
- func (mmOnLeaveApproved *TerminationHandlerMock) OnLeaveApprovedBeforeCounter() uint64
- func (mmTerminating *TerminationHandlerMock) Terminating() (b1 bool)
- func (mmTerminating *TerminationHandlerMock) TerminatingAfterCounter() uint64
- func (mmTerminating *TerminationHandlerMock) TerminatingBeforeCounter() uint64
- type TerminationHandlerMockAbortExpectation
- type TerminationHandlerMockAbortParams
- type TerminationHandlerMockLeaveExpectation
- type TerminationHandlerMockLeaveParams
- type TerminationHandlerMockOnLeaveApprovedExpectation
- type TerminationHandlerMockOnLeaveApprovedParams
- type TerminationHandlerMockTerminatingExpectation
- type TerminationHandlerMockTerminatingResults
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPlatformCryptographyScheme ¶ added in v0.7.5
func NewPlatformCryptographyScheme() insolar.PlatformCryptographyScheme
func NodesErrorLogReader ¶ added in v0.9.1
nodesErrorLogReader reads launchnet logs and trying to find errors it them when errors found notification writes to 'writer'. It reads files in different goroutines and return chan for stopping them.
func RandomString ¶ added in v0.3.0
func RandomString() string
RandomString generates random uuid and return it as a string.
Types ¶
type CertificateGetterMock ¶ added in v0.9.0
type CertificateGetterMock struct { GetCertMock mCertificateGetterMockGetCert // contains filtered or unexported fields }
CertificateGetterMock implements insolar.CertificateGetter
func NewCertificateGetterMock ¶ added in v0.9.0
func NewCertificateGetterMock(t minimock.Tester) *CertificateGetterMock
NewCertificateGetterMock returns a mock for insolar.CertificateGetter
func (*CertificateGetterMock) GetCert ¶ added in v0.9.0
func (mmGetCert *CertificateGetterMock) GetCert(ctx context.Context, rp1 *mm_insolar.Reference) (c2 mm_insolar.Certificate, err error)
GetCert implements insolar.CertificateGetter
func (*CertificateGetterMock) GetCertAfterCounter ¶ added in v0.9.0
func (mmGetCert *CertificateGetterMock) GetCertAfterCounter() uint64
GetCertAfterCounter returns a count of finished CertificateGetterMock.GetCert invocations
func (*CertificateGetterMock) GetCertBeforeCounter ¶ added in v0.9.0
func (mmGetCert *CertificateGetterMock) GetCertBeforeCounter() uint64
GetCertBeforeCounter returns a count of CertificateGetterMock.GetCert invocations
func (*CertificateGetterMock) MinimockFinish ¶ added in v0.9.0
func (m *CertificateGetterMock) MinimockFinish()
MinimockFinish checks that all mocked methods have been called the expected number of times
func (*CertificateGetterMock) MinimockGetCertDone ¶ added in v0.9.0
func (m *CertificateGetterMock) MinimockGetCertDone() bool
MinimockGetCertDone returns true if the count of the GetCert invocations corresponds the number of defined expectations
func (*CertificateGetterMock) MinimockGetCertInspect ¶ added in v0.9.0
func (m *CertificateGetterMock) MinimockGetCertInspect()
MinimockGetCertInspect logs each unmet expectation
func (*CertificateGetterMock) MinimockWait ¶ added in v0.9.0
func (m *CertificateGetterMock) MinimockWait(timeout mm_time.Duration)
MinimockWait waits for all mocked methods to be called the expected number of times
type CertificateGetterMockGetCertExpectation ¶ added in v0.9.0
type CertificateGetterMockGetCertExpectation struct { Counter uint64 // contains filtered or unexported fields }
CertificateGetterMockGetCertExpectation specifies expectation struct of the CertificateGetter.GetCert
func (*CertificateGetterMockGetCertExpectation) Then ¶ added in v0.9.0
func (e *CertificateGetterMockGetCertExpectation) Then(c2 mm_insolar.Certificate, err error) *CertificateGetterMock
Then sets up CertificateGetter.GetCert return parameters for the expectation previously defined by the When method
type CertificateGetterMockGetCertParams ¶ added in v0.9.0
type CertificateGetterMockGetCertParams struct {
// contains filtered or unexported fields
}
CertificateGetterMockGetCertParams contains parameters of the CertificateGetter.GetCert
type CertificateGetterMockGetCertResults ¶ added in v0.9.0
type CertificateGetterMockGetCertResults struct {
// contains filtered or unexported fields
}
CertificateGetterMockGetCertResults contains results of the CertificateGetter.GetCert
type CertificateManagerMock ¶ added in v0.7.5
type CertificateManagerMock struct { GetCertificateMock mCertificateManagerMockGetCertificate // contains filtered or unexported fields }
CertificateManagerMock implements insolar.CertificateManager
func NewCertificateManagerMock ¶ added in v0.7.5
func NewCertificateManagerMock(t minimock.Tester) *CertificateManagerMock
NewCertificateManagerMock returns a mock for insolar.CertificateManager
func (*CertificateManagerMock) GetCertificate ¶ added in v0.7.5
func (mmGetCertificate *CertificateManagerMock) GetCertificate() (c1 mm_insolar.Certificate)
GetCertificate implements insolar.CertificateManager
func (*CertificateManagerMock) GetCertificateAfterCounter ¶ added in v0.9.0
func (mmGetCertificate *CertificateManagerMock) GetCertificateAfterCounter() uint64
GetCertificateAfterCounter returns a count of finished CertificateManagerMock.GetCertificate invocations
func (*CertificateManagerMock) GetCertificateBeforeCounter ¶ added in v0.9.0
func (mmGetCertificate *CertificateManagerMock) GetCertificateBeforeCounter() uint64
GetCertificateBeforeCounter returns a count of CertificateManagerMock.GetCertificate invocations
func (*CertificateManagerMock) MinimockFinish ¶ added in v0.7.5
func (m *CertificateManagerMock) MinimockFinish()
MinimockFinish checks that all mocked methods have been called the expected number of times
func (*CertificateManagerMock) MinimockGetCertificateDone ¶ added in v0.9.0
func (m *CertificateManagerMock) MinimockGetCertificateDone() bool
MinimockGetCertificateDone returns true if the count of the GetCertificate invocations corresponds the number of defined expectations
func (*CertificateManagerMock) MinimockGetCertificateInspect ¶ added in v0.9.0
func (m *CertificateManagerMock) MinimockGetCertificateInspect()
MinimockGetCertificateInspect logs each unmet expectation
func (*CertificateManagerMock) MinimockWait ¶ added in v0.7.5
func (m *CertificateManagerMock) MinimockWait(timeout mm_time.Duration)
MinimockWait waits for all mocked methods to be called the expected number of times
type CertificateManagerMockGetCertificateExpectation ¶ added in v0.7.5
type CertificateManagerMockGetCertificateExpectation struct { Counter uint64 // contains filtered or unexported fields }
CertificateManagerMockGetCertificateExpectation specifies expectation struct of the CertificateManager.GetCertificate
type CertificateManagerMockGetCertificateResults ¶ added in v0.9.0
type CertificateManagerMockGetCertificateResults struct {
// contains filtered or unexported fields
}
CertificateManagerMockGetCertificateResults contains results of the CertificateManager.GetCertificate
type CertificateMock ¶ added in v0.6.3
type CertificateMock struct { GetDiscoveryNodesMock mCertificateMockGetDiscoveryNodes GetDiscoverySignsMock mCertificateMockGetDiscoverySigns GetMajorityRuleMock mCertificateMockGetMajorityRule GetMinRolesMock mCertificateMockGetMinRoles GetNodeRefMock mCertificateMockGetNodeRef GetPublicKeyMock mCertificateMockGetPublicKey GetRoleMock mCertificateMockGetRole GetRootDomainReferenceMock mCertificateMockGetRootDomainReference SerializeNodePartMock mCertificateMockSerializeNodePart // contains filtered or unexported fields }
CertificateMock implements insolar.Certificate
func NewCertificateMock ¶ added in v0.6.3
func NewCertificateMock(t minimock.Tester) *CertificateMock
NewCertificateMock returns a mock for insolar.Certificate
func (*CertificateMock) GetDiscoveryNodes ¶ added in v0.6.3
func (mmGetDiscoveryNodes *CertificateMock) GetDiscoveryNodes() (da1 []mm_insolar.DiscoveryNode)
GetDiscoveryNodes implements insolar.Certificate
func (*CertificateMock) GetDiscoveryNodesAfterCounter ¶ added in v0.9.0
func (mmGetDiscoveryNodes *CertificateMock) GetDiscoveryNodesAfterCounter() uint64
GetDiscoveryNodesAfterCounter returns a count of finished CertificateMock.GetDiscoveryNodes invocations
func (*CertificateMock) GetDiscoveryNodesBeforeCounter ¶ added in v0.9.0
func (mmGetDiscoveryNodes *CertificateMock) GetDiscoveryNodesBeforeCounter() uint64
GetDiscoveryNodesBeforeCounter returns a count of CertificateMock.GetDiscoveryNodes invocations
func (*CertificateMock) GetDiscoverySigns ¶ added in v0.7.5
func (mmGetDiscoverySigns *CertificateMock) GetDiscoverySigns() (m1 map[mm_insolar.Reference][]byte)
GetDiscoverySigns implements insolar.Certificate
func (*CertificateMock) GetDiscoverySignsAfterCounter ¶ added in v0.9.0
func (mmGetDiscoverySigns *CertificateMock) GetDiscoverySignsAfterCounter() uint64
GetDiscoverySignsAfterCounter returns a count of finished CertificateMock.GetDiscoverySigns invocations
func (*CertificateMock) GetDiscoverySignsBeforeCounter ¶ added in v0.9.0
func (mmGetDiscoverySigns *CertificateMock) GetDiscoverySignsBeforeCounter() uint64
GetDiscoverySignsBeforeCounter returns a count of CertificateMock.GetDiscoverySigns invocations
func (*CertificateMock) GetMajorityRule ¶ added in v0.8.3
func (mmGetMajorityRule *CertificateMock) GetMajorityRule() (i1 int)
GetMajorityRule implements insolar.Certificate
func (*CertificateMock) GetMajorityRuleAfterCounter ¶ added in v0.9.0
func (mmGetMajorityRule *CertificateMock) GetMajorityRuleAfterCounter() uint64
GetMajorityRuleAfterCounter returns a count of finished CertificateMock.GetMajorityRule invocations
func (*CertificateMock) GetMajorityRuleBeforeCounter ¶ added in v0.9.0
func (mmGetMajorityRule *CertificateMock) GetMajorityRuleBeforeCounter() uint64
GetMajorityRuleBeforeCounter returns a count of CertificateMock.GetMajorityRule invocations
func (*CertificateMock) GetMinRoles ¶ added in v0.8.3
func (mmGetMinRoles *CertificateMock) GetMinRoles() (virtual uint, heavyMaterial uint, lightMaterial uint)
GetMinRoles implements insolar.Certificate
func (*CertificateMock) GetMinRolesAfterCounter ¶ added in v0.9.0
func (mmGetMinRoles *CertificateMock) GetMinRolesAfterCounter() uint64
GetMinRolesAfterCounter returns a count of finished CertificateMock.GetMinRoles invocations
func (*CertificateMock) GetMinRolesBeforeCounter ¶ added in v0.9.0
func (mmGetMinRoles *CertificateMock) GetMinRolesBeforeCounter() uint64
GetMinRolesBeforeCounter returns a count of CertificateMock.GetMinRoles invocations
func (*CertificateMock) GetNodeRef ¶ added in v0.6.3
func (mmGetNodeRef *CertificateMock) GetNodeRef() (rp1 *mm_insolar.Reference)
GetNodeRef implements insolar.Certificate
func (*CertificateMock) GetNodeRefAfterCounter ¶ added in v0.9.0
func (mmGetNodeRef *CertificateMock) GetNodeRefAfterCounter() uint64
GetNodeRefAfterCounter returns a count of finished CertificateMock.GetNodeRef invocations
func (*CertificateMock) GetNodeRefBeforeCounter ¶ added in v0.9.0
func (mmGetNodeRef *CertificateMock) GetNodeRefBeforeCounter() uint64
GetNodeRefBeforeCounter returns a count of CertificateMock.GetNodeRef invocations
func (*CertificateMock) GetPublicKey ¶ added in v0.6.3
func (mmGetPublicKey *CertificateMock) GetPublicKey() (p1 crypto.PublicKey)
GetPublicKey implements insolar.Certificate
func (*CertificateMock) GetPublicKeyAfterCounter ¶ added in v0.9.0
func (mmGetPublicKey *CertificateMock) GetPublicKeyAfterCounter() uint64
GetPublicKeyAfterCounter returns a count of finished CertificateMock.GetPublicKey invocations
func (*CertificateMock) GetPublicKeyBeforeCounter ¶ added in v0.9.0
func (mmGetPublicKey *CertificateMock) GetPublicKeyBeforeCounter() uint64
GetPublicKeyBeforeCounter returns a count of CertificateMock.GetPublicKey invocations
func (*CertificateMock) GetRole ¶ added in v0.6.3
func (mmGetRole *CertificateMock) GetRole() (s1 mm_insolar.StaticRole)
GetRole implements insolar.Certificate
func (*CertificateMock) GetRoleAfterCounter ¶ added in v0.9.0
func (mmGetRole *CertificateMock) GetRoleAfterCounter() uint64
GetRoleAfterCounter returns a count of finished CertificateMock.GetRole invocations
func (*CertificateMock) GetRoleBeforeCounter ¶ added in v0.9.0
func (mmGetRole *CertificateMock) GetRoleBeforeCounter() uint64
GetRoleBeforeCounter returns a count of CertificateMock.GetRole invocations
func (*CertificateMock) GetRootDomainReference ¶ added in v0.6.3
func (mmGetRootDomainReference *CertificateMock) GetRootDomainReference() (rp1 *mm_insolar.Reference)
GetRootDomainReference implements insolar.Certificate
func (*CertificateMock) GetRootDomainReferenceAfterCounter ¶ added in v0.9.0
func (mmGetRootDomainReference *CertificateMock) GetRootDomainReferenceAfterCounter() uint64
GetRootDomainReferenceAfterCounter returns a count of finished CertificateMock.GetRootDomainReference invocations
func (*CertificateMock) GetRootDomainReferenceBeforeCounter ¶ added in v0.9.0
func (mmGetRootDomainReference *CertificateMock) GetRootDomainReferenceBeforeCounter() uint64
GetRootDomainReferenceBeforeCounter returns a count of CertificateMock.GetRootDomainReference invocations
func (*CertificateMock) MinimockFinish ¶ added in v0.6.3
func (m *CertificateMock) MinimockFinish()
MinimockFinish checks that all mocked methods have been called the expected number of times
func (*CertificateMock) MinimockGetDiscoveryNodesDone ¶ added in v0.9.0
func (m *CertificateMock) MinimockGetDiscoveryNodesDone() bool
MinimockGetDiscoveryNodesDone returns true if the count of the GetDiscoveryNodes invocations corresponds the number of defined expectations
func (*CertificateMock) MinimockGetDiscoveryNodesInspect ¶ added in v0.9.0
func (m *CertificateMock) MinimockGetDiscoveryNodesInspect()
MinimockGetDiscoveryNodesInspect logs each unmet expectation
func (*CertificateMock) MinimockGetDiscoverySignsDone ¶ added in v0.9.0
func (m *CertificateMock) MinimockGetDiscoverySignsDone() bool
MinimockGetDiscoverySignsDone returns true if the count of the GetDiscoverySigns invocations corresponds the number of defined expectations
func (*CertificateMock) MinimockGetDiscoverySignsInspect ¶ added in v0.9.0
func (m *CertificateMock) MinimockGetDiscoverySignsInspect()
MinimockGetDiscoverySignsInspect logs each unmet expectation
func (*CertificateMock) MinimockGetMajorityRuleDone ¶ added in v0.9.0
func (m *CertificateMock) MinimockGetMajorityRuleDone() bool
MinimockGetMajorityRuleDone returns true if the count of the GetMajorityRule invocations corresponds the number of defined expectations
func (*CertificateMock) MinimockGetMajorityRuleInspect ¶ added in v0.9.0
func (m *CertificateMock) MinimockGetMajorityRuleInspect()
MinimockGetMajorityRuleInspect logs each unmet expectation
func (*CertificateMock) MinimockGetMinRolesDone ¶ added in v0.9.0
func (m *CertificateMock) MinimockGetMinRolesDone() bool
MinimockGetMinRolesDone returns true if the count of the GetMinRoles invocations corresponds the number of defined expectations
func (*CertificateMock) MinimockGetMinRolesInspect ¶ added in v0.9.0
func (m *CertificateMock) MinimockGetMinRolesInspect()
MinimockGetMinRolesInspect logs each unmet expectation
func (*CertificateMock) MinimockGetNodeRefDone ¶ added in v0.9.0
func (m *CertificateMock) MinimockGetNodeRefDone() bool
MinimockGetNodeRefDone returns true if the count of the GetNodeRef invocations corresponds the number of defined expectations
func (*CertificateMock) MinimockGetNodeRefInspect ¶ added in v0.9.0
func (m *CertificateMock) MinimockGetNodeRefInspect()
MinimockGetNodeRefInspect logs each unmet expectation
func (*CertificateMock) MinimockGetPublicKeyDone ¶ added in v0.9.0
func (m *CertificateMock) MinimockGetPublicKeyDone() bool
MinimockGetPublicKeyDone returns true if the count of the GetPublicKey invocations corresponds the number of defined expectations
func (*CertificateMock) MinimockGetPublicKeyInspect ¶ added in v0.9.0
func (m *CertificateMock) MinimockGetPublicKeyInspect()
MinimockGetPublicKeyInspect logs each unmet expectation
func (*CertificateMock) MinimockGetRoleDone ¶ added in v0.9.0
func (m *CertificateMock) MinimockGetRoleDone() bool
MinimockGetRoleDone returns true if the count of the GetRole invocations corresponds the number of defined expectations
func (*CertificateMock) MinimockGetRoleInspect ¶ added in v0.9.0
func (m *CertificateMock) MinimockGetRoleInspect()
MinimockGetRoleInspect logs each unmet expectation
func (*CertificateMock) MinimockGetRootDomainReferenceDone ¶ added in v0.9.0
func (m *CertificateMock) MinimockGetRootDomainReferenceDone() bool
MinimockGetRootDomainReferenceDone returns true if the count of the GetRootDomainReference invocations corresponds the number of defined expectations
func (*CertificateMock) MinimockGetRootDomainReferenceInspect ¶ added in v0.9.0
func (m *CertificateMock) MinimockGetRootDomainReferenceInspect()
MinimockGetRootDomainReferenceInspect logs each unmet expectation
func (*CertificateMock) MinimockSerializeNodePartDone ¶ added in v0.9.0
func (m *CertificateMock) MinimockSerializeNodePartDone() bool
MinimockSerializeNodePartDone returns true if the count of the SerializeNodePart invocations corresponds the number of defined expectations
func (*CertificateMock) MinimockSerializeNodePartInspect ¶ added in v0.9.0
func (m *CertificateMock) MinimockSerializeNodePartInspect()
MinimockSerializeNodePartInspect logs each unmet expectation
func (*CertificateMock) MinimockWait ¶ added in v0.6.3
func (m *CertificateMock) MinimockWait(timeout mm_time.Duration)
MinimockWait waits for all mocked methods to be called the expected number of times
func (*CertificateMock) SerializeNodePart ¶ added in v0.7.5
func (mmSerializeNodePart *CertificateMock) SerializeNodePart() (ba1 []byte)
SerializeNodePart implements insolar.Certificate
func (*CertificateMock) SerializeNodePartAfterCounter ¶ added in v0.9.0
func (mmSerializeNodePart *CertificateMock) SerializeNodePartAfterCounter() uint64
SerializeNodePartAfterCounter returns a count of finished CertificateMock.SerializeNodePart invocations
func (*CertificateMock) SerializeNodePartBeforeCounter ¶ added in v0.9.0
func (mmSerializeNodePart *CertificateMock) SerializeNodePartBeforeCounter() uint64
SerializeNodePartBeforeCounter returns a count of CertificateMock.SerializeNodePart invocations
type CertificateMockGetDiscoveryNodesExpectation ¶ added in v0.7.5
type CertificateMockGetDiscoveryNodesExpectation struct { Counter uint64 // contains filtered or unexported fields }
CertificateMockGetDiscoveryNodesExpectation specifies expectation struct of the Certificate.GetDiscoveryNodes
type CertificateMockGetDiscoveryNodesResults ¶ added in v0.9.0
type CertificateMockGetDiscoveryNodesResults struct {
// contains filtered or unexported fields
}
CertificateMockGetDiscoveryNodesResults contains results of the Certificate.GetDiscoveryNodes
type CertificateMockGetDiscoverySignsExpectation ¶ added in v0.7.5
type CertificateMockGetDiscoverySignsExpectation struct { Counter uint64 // contains filtered or unexported fields }
CertificateMockGetDiscoverySignsExpectation specifies expectation struct of the Certificate.GetDiscoverySigns
type CertificateMockGetDiscoverySignsResults ¶ added in v0.9.0
type CertificateMockGetDiscoverySignsResults struct {
// contains filtered or unexported fields
}
CertificateMockGetDiscoverySignsResults contains results of the Certificate.GetDiscoverySigns
type CertificateMockGetMajorityRuleExpectation ¶ added in v0.8.3
type CertificateMockGetMajorityRuleExpectation struct { Counter uint64 // contains filtered or unexported fields }
CertificateMockGetMajorityRuleExpectation specifies expectation struct of the Certificate.GetMajorityRule
type CertificateMockGetMajorityRuleResults ¶ added in v0.9.0
type CertificateMockGetMajorityRuleResults struct {
// contains filtered or unexported fields
}
CertificateMockGetMajorityRuleResults contains results of the Certificate.GetMajorityRule
type CertificateMockGetMinRolesExpectation ¶ added in v0.8.3
type CertificateMockGetMinRolesExpectation struct { Counter uint64 // contains filtered or unexported fields }
CertificateMockGetMinRolesExpectation specifies expectation struct of the Certificate.GetMinRoles
type CertificateMockGetMinRolesResults ¶ added in v0.9.0
type CertificateMockGetMinRolesResults struct {
// contains filtered or unexported fields
}
CertificateMockGetMinRolesResults contains results of the Certificate.GetMinRoles
type CertificateMockGetNodeRefExpectation ¶ added in v0.7.5
type CertificateMockGetNodeRefExpectation struct { Counter uint64 // contains filtered or unexported fields }
CertificateMockGetNodeRefExpectation specifies expectation struct of the Certificate.GetNodeRef
type CertificateMockGetNodeRefResults ¶ added in v0.9.0
type CertificateMockGetNodeRefResults struct {
// contains filtered or unexported fields
}
CertificateMockGetNodeRefResults contains results of the Certificate.GetNodeRef
type CertificateMockGetPublicKeyExpectation ¶ added in v0.7.5
type CertificateMockGetPublicKeyExpectation struct { Counter uint64 // contains filtered or unexported fields }
CertificateMockGetPublicKeyExpectation specifies expectation struct of the Certificate.GetPublicKey
type CertificateMockGetPublicKeyResults ¶ added in v0.9.0
type CertificateMockGetPublicKeyResults struct {
// contains filtered or unexported fields
}
CertificateMockGetPublicKeyResults contains results of the Certificate.GetPublicKey
type CertificateMockGetRoleExpectation ¶ added in v0.7.5
type CertificateMockGetRoleExpectation struct { Counter uint64 // contains filtered or unexported fields }
CertificateMockGetRoleExpectation specifies expectation struct of the Certificate.GetRole
type CertificateMockGetRoleResults ¶ added in v0.9.0
type CertificateMockGetRoleResults struct {
// contains filtered or unexported fields
}
CertificateMockGetRoleResults contains results of the Certificate.GetRole
type CertificateMockGetRootDomainReferenceExpectation ¶ added in v0.7.5
type CertificateMockGetRootDomainReferenceExpectation struct { Counter uint64 // contains filtered or unexported fields }
CertificateMockGetRootDomainReferenceExpectation specifies expectation struct of the Certificate.GetRootDomainReference
type CertificateMockGetRootDomainReferenceResults ¶ added in v0.9.0
type CertificateMockGetRootDomainReferenceResults struct {
// contains filtered or unexported fields
}
CertificateMockGetRootDomainReferenceResults contains results of the Certificate.GetRootDomainReference
type CertificateMockSerializeNodePartExpectation ¶ added in v0.7.5
type CertificateMockSerializeNodePartExpectation struct { Counter uint64 // contains filtered or unexported fields }
CertificateMockSerializeNodePartExpectation specifies expectation struct of the Certificate.SerializeNodePart
type CertificateMockSerializeNodePartResults ¶ added in v0.9.0
type CertificateMockSerializeNodePartResults struct {
// contains filtered or unexported fields
}
CertificateMockSerializeNodePartResults contains results of the Certificate.SerializeNodePart
type ContractRequesterMock ¶ added in v0.6.3
type ContractRequesterMock struct { CallMock mContractRequesterMockCall SendRequestMock mContractRequesterMockSendRequest // contains filtered or unexported fields }
ContractRequesterMock implements insolar.ContractRequester
func NewContractRequesterMock ¶ added in v0.6.3
func NewContractRequesterMock(t minimock.Tester) *ContractRequesterMock
NewContractRequesterMock returns a mock for insolar.ContractRequester
func (*ContractRequesterMock) Call ¶ added in v0.9.0
func (mmCall *ContractRequesterMock) Call(ctx context.Context, ref *mm_insolar.Reference, method string, argsIn []interface{}, pulse mm_insolar.PulseNumber) (r1 mm_insolar.Reply, rp1 *mm_insolar.Reference, err error)
Call implements insolar.ContractRequester
func (*ContractRequesterMock) CallAfterCounter ¶ added in v0.9.0
func (mmCall *ContractRequesterMock) CallAfterCounter() uint64
CallAfterCounter returns a count of finished ContractRequesterMock.Call invocations
func (*ContractRequesterMock) CallBeforeCounter ¶ added in v0.9.0
func (mmCall *ContractRequesterMock) CallBeforeCounter() uint64
CallBeforeCounter returns a count of ContractRequesterMock.Call invocations
func (*ContractRequesterMock) MinimockCallDone ¶ added in v0.9.0
func (m *ContractRequesterMock) MinimockCallDone() bool
MinimockCallDone returns true if the count of the Call invocations corresponds the number of defined expectations
func (*ContractRequesterMock) MinimockCallInspect ¶ added in v0.9.0
func (m *ContractRequesterMock) MinimockCallInspect()
MinimockCallInspect logs each unmet expectation
func (*ContractRequesterMock) MinimockFinish ¶ added in v0.6.3
func (m *ContractRequesterMock) MinimockFinish()
MinimockFinish checks that all mocked methods have been called the expected number of times
func (*ContractRequesterMock) MinimockSendRequestDone ¶ added in v0.9.0
func (m *ContractRequesterMock) MinimockSendRequestDone() bool
MinimockSendRequestDone returns true if the count of the SendRequest invocations corresponds the number of defined expectations
func (*ContractRequesterMock) MinimockSendRequestInspect ¶ added in v0.9.0
func (m *ContractRequesterMock) MinimockSendRequestInspect()
MinimockSendRequestInspect logs each unmet expectation
func (*ContractRequesterMock) MinimockWait ¶ added in v0.6.3
func (m *ContractRequesterMock) MinimockWait(timeout mm_time.Duration)
MinimockWait waits for all mocked methods to be called the expected number of times
func (*ContractRequesterMock) SendRequest ¶ added in v0.6.3
func (mmSendRequest *ContractRequesterMock) SendRequest(ctx context.Context, msg mm_insolar.Payload) (r1 mm_insolar.Reply, rp1 *mm_insolar.Reference, err error)
SendRequest implements insolar.ContractRequester
func (*ContractRequesterMock) SendRequestAfterCounter ¶ added in v0.9.0
func (mmSendRequest *ContractRequesterMock) SendRequestAfterCounter() uint64
SendRequestAfterCounter returns a count of finished ContractRequesterMock.SendRequest invocations
func (*ContractRequesterMock) SendRequestBeforeCounter ¶ added in v0.9.0
func (mmSendRequest *ContractRequesterMock) SendRequestBeforeCounter() uint64
SendRequestBeforeCounter returns a count of ContractRequesterMock.SendRequest invocations
type ContractRequesterMockCallExpectation ¶ added in v0.9.0
type ContractRequesterMockCallExpectation struct { Counter uint64 // contains filtered or unexported fields }
ContractRequesterMockCallExpectation specifies expectation struct of the ContractRequester.Call
func (*ContractRequesterMockCallExpectation) Then ¶ added in v0.9.0
func (e *ContractRequesterMockCallExpectation) Then(r1 mm_insolar.Reply, rp1 *mm_insolar.Reference, err error) *ContractRequesterMock
Then sets up ContractRequester.Call return parameters for the expectation previously defined by the When method
type ContractRequesterMockCallParams ¶ added in v0.9.0
type ContractRequesterMockCallParams struct {
// contains filtered or unexported fields
}
ContractRequesterMockCallParams contains parameters of the ContractRequester.Call
type ContractRequesterMockCallResults ¶ added in v0.9.0
type ContractRequesterMockCallResults struct {
// contains filtered or unexported fields
}
ContractRequesterMockCallResults contains results of the ContractRequester.Call
type ContractRequesterMockSendRequestExpectation ¶ added in v0.7.5
type ContractRequesterMockSendRequestExpectation struct { Counter uint64 // contains filtered or unexported fields }
ContractRequesterMockSendRequestExpectation specifies expectation struct of the ContractRequester.SendRequest
func (*ContractRequesterMockSendRequestExpectation) Then ¶ added in v0.9.0
func (e *ContractRequesterMockSendRequestExpectation) Then(r1 mm_insolar.Reply, rp1 *mm_insolar.Reference, err error) *ContractRequesterMock
Then sets up ContractRequester.SendRequest return parameters for the expectation previously defined by the When method
type ContractRequesterMockSendRequestParams ¶ added in v0.6.3
type ContractRequesterMockSendRequestParams struct {
// contains filtered or unexported fields
}
ContractRequesterMockSendRequestParams contains parameters of the ContractRequester.SendRequest
type ContractRequesterMockSendRequestResults ¶ added in v0.9.0
type ContractRequesterMockSendRequestResults struct {
// contains filtered or unexported fields
}
ContractRequesterMockSendRequestResults contains results of the ContractRequester.SendRequest
type CryptographyServiceMock ¶ added in v0.6.3
type CryptographyServiceMock struct { GetPublicKeyMock mCryptographyServiceMockGetPublicKey SignMock mCryptographyServiceMockSign VerifyMock mCryptographyServiceMockVerify // contains filtered or unexported fields }
CryptographyServiceMock implements insolar.CryptographyService
func NewCryptographyServiceMock ¶ added in v0.6.3
func NewCryptographyServiceMock(t minimock.Tester) *CryptographyServiceMock
NewCryptographyServiceMock returns a mock for insolar.CryptographyService
func (*CryptographyServiceMock) GetPublicKey ¶ added in v0.6.3
func (mmGetPublicKey *CryptographyServiceMock) GetPublicKey() (p1 crypto.PublicKey, err error)
GetPublicKey implements insolar.CryptographyService
func (*CryptographyServiceMock) GetPublicKeyAfterCounter ¶ added in v0.9.0
func (mmGetPublicKey *CryptographyServiceMock) GetPublicKeyAfterCounter() uint64
GetPublicKeyAfterCounter returns a count of finished CryptographyServiceMock.GetPublicKey invocations
func (*CryptographyServiceMock) GetPublicKeyBeforeCounter ¶ added in v0.9.0
func (mmGetPublicKey *CryptographyServiceMock) GetPublicKeyBeforeCounter() uint64
GetPublicKeyBeforeCounter returns a count of CryptographyServiceMock.GetPublicKey invocations
func (*CryptographyServiceMock) MinimockFinish ¶ added in v0.6.3
func (m *CryptographyServiceMock) MinimockFinish()
MinimockFinish checks that all mocked methods have been called the expected number of times
func (*CryptographyServiceMock) MinimockGetPublicKeyDone ¶ added in v0.9.0
func (m *CryptographyServiceMock) MinimockGetPublicKeyDone() bool
MinimockGetPublicKeyDone returns true if the count of the GetPublicKey invocations corresponds the number of defined expectations
func (*CryptographyServiceMock) MinimockGetPublicKeyInspect ¶ added in v0.9.0
func (m *CryptographyServiceMock) MinimockGetPublicKeyInspect()
MinimockGetPublicKeyInspect logs each unmet expectation
func (*CryptographyServiceMock) MinimockSignDone ¶ added in v0.9.0
func (m *CryptographyServiceMock) MinimockSignDone() bool
MinimockSignDone returns true if the count of the Sign invocations corresponds the number of defined expectations
func (*CryptographyServiceMock) MinimockSignInspect ¶ added in v0.9.0
func (m *CryptographyServiceMock) MinimockSignInspect()
MinimockSignInspect logs each unmet expectation
func (*CryptographyServiceMock) MinimockVerifyDone ¶ added in v0.9.0
func (m *CryptographyServiceMock) MinimockVerifyDone() bool
MinimockVerifyDone returns true if the count of the Verify invocations corresponds the number of defined expectations
func (*CryptographyServiceMock) MinimockVerifyInspect ¶ added in v0.9.0
func (m *CryptographyServiceMock) MinimockVerifyInspect()
MinimockVerifyInspect logs each unmet expectation
func (*CryptographyServiceMock) MinimockWait ¶ added in v0.6.3
func (m *CryptographyServiceMock) MinimockWait(timeout mm_time.Duration)
MinimockWait waits for all mocked methods to be called the expected number of times
func (*CryptographyServiceMock) Sign ¶ added in v0.6.3
func (mmSign *CryptographyServiceMock) Sign(ba1 []byte) (sp1 *mm_insolar.Signature, err error)
Sign implements insolar.CryptographyService
func (*CryptographyServiceMock) SignAfterCounter ¶ added in v0.9.0
func (mmSign *CryptographyServiceMock) SignAfterCounter() uint64
SignAfterCounter returns a count of finished CryptographyServiceMock.Sign invocations
func (*CryptographyServiceMock) SignBeforeCounter ¶ added in v0.9.0
func (mmSign *CryptographyServiceMock) SignBeforeCounter() uint64
SignBeforeCounter returns a count of CryptographyServiceMock.Sign invocations
func (*CryptographyServiceMock) Verify ¶ added in v0.6.3
func (mmVerify *CryptographyServiceMock) Verify(p1 crypto.PublicKey, s1 mm_insolar.Signature, ba1 []byte) (b1 bool)
Verify implements insolar.CryptographyService
func (*CryptographyServiceMock) VerifyAfterCounter ¶ added in v0.9.0
func (mmVerify *CryptographyServiceMock) VerifyAfterCounter() uint64
VerifyAfterCounter returns a count of finished CryptographyServiceMock.Verify invocations
func (*CryptographyServiceMock) VerifyBeforeCounter ¶ added in v0.9.0
func (mmVerify *CryptographyServiceMock) VerifyBeforeCounter() uint64
VerifyBeforeCounter returns a count of CryptographyServiceMock.Verify invocations
type CryptographyServiceMockGetPublicKeyExpectation ¶ added in v0.7.5
type CryptographyServiceMockGetPublicKeyExpectation struct { Counter uint64 // contains filtered or unexported fields }
CryptographyServiceMockGetPublicKeyExpectation specifies expectation struct of the CryptographyService.GetPublicKey
type CryptographyServiceMockGetPublicKeyResults ¶ added in v0.9.0
type CryptographyServiceMockGetPublicKeyResults struct {
// contains filtered or unexported fields
}
CryptographyServiceMockGetPublicKeyResults contains results of the CryptographyService.GetPublicKey
type CryptographyServiceMockSignExpectation ¶ added in v0.7.5
type CryptographyServiceMockSignExpectation struct { Counter uint64 // contains filtered or unexported fields }
CryptographyServiceMockSignExpectation specifies expectation struct of the CryptographyService.Sign
func (*CryptographyServiceMockSignExpectation) Then ¶ added in v0.9.0
func (e *CryptographyServiceMockSignExpectation) Then(sp1 *mm_insolar.Signature, err error) *CryptographyServiceMock
Then sets up CryptographyService.Sign return parameters for the expectation previously defined by the When method
type CryptographyServiceMockSignParams ¶ added in v0.6.3
type CryptographyServiceMockSignParams struct {
// contains filtered or unexported fields
}
CryptographyServiceMockSignParams contains parameters of the CryptographyService.Sign
type CryptographyServiceMockSignResults ¶ added in v0.9.0
type CryptographyServiceMockSignResults struct {
// contains filtered or unexported fields
}
CryptographyServiceMockSignResults contains results of the CryptographyService.Sign
type CryptographyServiceMockVerifyExpectation ¶ added in v0.7.5
type CryptographyServiceMockVerifyExpectation struct { Counter uint64 // contains filtered or unexported fields }
CryptographyServiceMockVerifyExpectation specifies expectation struct of the CryptographyService.Verify
func (*CryptographyServiceMockVerifyExpectation) Then ¶ added in v0.9.0
func (e *CryptographyServiceMockVerifyExpectation) Then(b1 bool) *CryptographyServiceMock
Then sets up CryptographyService.Verify return parameters for the expectation previously defined by the When method
type CryptographyServiceMockVerifyParams ¶ added in v0.6.3
type CryptographyServiceMockVerifyParams struct {
// contains filtered or unexported fields
}
CryptographyServiceMockVerifyParams contains parameters of the CryptographyService.Verify
type CryptographyServiceMockVerifyResults ¶ added in v0.9.0
type CryptographyServiceMockVerifyResults struct {
// contains filtered or unexported fields
}
CryptographyServiceMockVerifyResults contains results of the CryptographyService.Verify
type DiscoveryNodeMock ¶ added in v0.6.3
type DiscoveryNodeMock struct { GetHostMock mDiscoveryNodeMockGetHost GetNodeRefMock mDiscoveryNodeMockGetNodeRef GetPublicKeyMock mDiscoveryNodeMockGetPublicKey GetRoleMock mDiscoveryNodeMockGetRole // contains filtered or unexported fields }
DiscoveryNodeMock implements insolar.DiscoveryNode
func NewDiscoveryNodeMock ¶ added in v0.6.3
func NewDiscoveryNodeMock(t minimock.Tester) *DiscoveryNodeMock
NewDiscoveryNodeMock returns a mock for insolar.DiscoveryNode
func (*DiscoveryNodeMock) GetHost ¶ added in v0.6.3
func (mmGetHost *DiscoveryNodeMock) GetHost() (s1 string)
GetHost implements insolar.DiscoveryNode
func (*DiscoveryNodeMock) GetHostAfterCounter ¶ added in v0.9.0
func (mmGetHost *DiscoveryNodeMock) GetHostAfterCounter() uint64
GetHostAfterCounter returns a count of finished DiscoveryNodeMock.GetHost invocations
func (*DiscoveryNodeMock) GetHostBeforeCounter ¶ added in v0.9.0
func (mmGetHost *DiscoveryNodeMock) GetHostBeforeCounter() uint64
GetHostBeforeCounter returns a count of DiscoveryNodeMock.GetHost invocations
func (*DiscoveryNodeMock) GetNodeRef ¶ added in v0.6.3
func (mmGetNodeRef *DiscoveryNodeMock) GetNodeRef() (rp1 *mm_insolar.Reference)
GetNodeRef implements insolar.DiscoveryNode
func (*DiscoveryNodeMock) GetNodeRefAfterCounter ¶ added in v0.9.0
func (mmGetNodeRef *DiscoveryNodeMock) GetNodeRefAfterCounter() uint64
GetNodeRefAfterCounter returns a count of finished DiscoveryNodeMock.GetNodeRef invocations
func (*DiscoveryNodeMock) GetNodeRefBeforeCounter ¶ added in v0.9.0
func (mmGetNodeRef *DiscoveryNodeMock) GetNodeRefBeforeCounter() uint64
GetNodeRefBeforeCounter returns a count of DiscoveryNodeMock.GetNodeRef invocations
func (*DiscoveryNodeMock) GetPublicKey ¶ added in v0.6.3
func (mmGetPublicKey *DiscoveryNodeMock) GetPublicKey() (p1 crypto.PublicKey)
GetPublicKey implements insolar.DiscoveryNode
func (*DiscoveryNodeMock) GetPublicKeyAfterCounter ¶ added in v0.9.0
func (mmGetPublicKey *DiscoveryNodeMock) GetPublicKeyAfterCounter() uint64
GetPublicKeyAfterCounter returns a count of finished DiscoveryNodeMock.GetPublicKey invocations
func (*DiscoveryNodeMock) GetPublicKeyBeforeCounter ¶ added in v0.9.0
func (mmGetPublicKey *DiscoveryNodeMock) GetPublicKeyBeforeCounter() uint64
GetPublicKeyBeforeCounter returns a count of DiscoveryNodeMock.GetPublicKey invocations
func (*DiscoveryNodeMock) GetRole ¶ added in v0.9.0
func (mmGetRole *DiscoveryNodeMock) GetRole() (s1 mm_insolar.StaticRole)
GetRole implements insolar.DiscoveryNode
func (*DiscoveryNodeMock) GetRoleAfterCounter ¶ added in v0.9.0
func (mmGetRole *DiscoveryNodeMock) GetRoleAfterCounter() uint64
GetRoleAfterCounter returns a count of finished DiscoveryNodeMock.GetRole invocations
func (*DiscoveryNodeMock) GetRoleBeforeCounter ¶ added in v0.9.0
func (mmGetRole *DiscoveryNodeMock) GetRoleBeforeCounter() uint64
GetRoleBeforeCounter returns a count of DiscoveryNodeMock.GetRole invocations
func (*DiscoveryNodeMock) MinimockFinish ¶ added in v0.6.3
func (m *DiscoveryNodeMock) MinimockFinish()
MinimockFinish checks that all mocked methods have been called the expected number of times
func (*DiscoveryNodeMock) MinimockGetHostDone ¶ added in v0.9.0
func (m *DiscoveryNodeMock) MinimockGetHostDone() bool
MinimockGetHostDone returns true if the count of the GetHost invocations corresponds the number of defined expectations
func (*DiscoveryNodeMock) MinimockGetHostInspect ¶ added in v0.9.0
func (m *DiscoveryNodeMock) MinimockGetHostInspect()
MinimockGetHostInspect logs each unmet expectation
func (*DiscoveryNodeMock) MinimockGetNodeRefDone ¶ added in v0.9.0
func (m *DiscoveryNodeMock) MinimockGetNodeRefDone() bool
MinimockGetNodeRefDone returns true if the count of the GetNodeRef invocations corresponds the number of defined expectations
func (*DiscoveryNodeMock) MinimockGetNodeRefInspect ¶ added in v0.9.0
func (m *DiscoveryNodeMock) MinimockGetNodeRefInspect()
MinimockGetNodeRefInspect logs each unmet expectation
func (*DiscoveryNodeMock) MinimockGetPublicKeyDone ¶ added in v0.9.0
func (m *DiscoveryNodeMock) MinimockGetPublicKeyDone() bool
MinimockGetPublicKeyDone returns true if the count of the GetPublicKey invocations corresponds the number of defined expectations
func (*DiscoveryNodeMock) MinimockGetPublicKeyInspect ¶ added in v0.9.0
func (m *DiscoveryNodeMock) MinimockGetPublicKeyInspect()
MinimockGetPublicKeyInspect logs each unmet expectation
func (*DiscoveryNodeMock) MinimockGetRoleDone ¶ added in v0.9.0
func (m *DiscoveryNodeMock) MinimockGetRoleDone() bool
MinimockGetRoleDone returns true if the count of the GetRole invocations corresponds the number of defined expectations
func (*DiscoveryNodeMock) MinimockGetRoleInspect ¶ added in v0.9.0
func (m *DiscoveryNodeMock) MinimockGetRoleInspect()
MinimockGetRoleInspect logs each unmet expectation
func (*DiscoveryNodeMock) MinimockWait ¶ added in v0.6.3
func (m *DiscoveryNodeMock) MinimockWait(timeout mm_time.Duration)
MinimockWait waits for all mocked methods to be called the expected number of times
type DiscoveryNodeMockGetHostExpectation ¶ added in v0.7.5
type DiscoveryNodeMockGetHostExpectation struct { Counter uint64 // contains filtered or unexported fields }
DiscoveryNodeMockGetHostExpectation specifies expectation struct of the DiscoveryNode.GetHost
type DiscoveryNodeMockGetHostResults ¶ added in v0.9.0
type DiscoveryNodeMockGetHostResults struct {
// contains filtered or unexported fields
}
DiscoveryNodeMockGetHostResults contains results of the DiscoveryNode.GetHost
type DiscoveryNodeMockGetNodeRefExpectation ¶ added in v0.7.5
type DiscoveryNodeMockGetNodeRefExpectation struct { Counter uint64 // contains filtered or unexported fields }
DiscoveryNodeMockGetNodeRefExpectation specifies expectation struct of the DiscoveryNode.GetNodeRef
type DiscoveryNodeMockGetNodeRefResults ¶ added in v0.9.0
type DiscoveryNodeMockGetNodeRefResults struct {
// contains filtered or unexported fields
}
DiscoveryNodeMockGetNodeRefResults contains results of the DiscoveryNode.GetNodeRef
type DiscoveryNodeMockGetPublicKeyExpectation ¶ added in v0.7.5
type DiscoveryNodeMockGetPublicKeyExpectation struct { Counter uint64 // contains filtered or unexported fields }
DiscoveryNodeMockGetPublicKeyExpectation specifies expectation struct of the DiscoveryNode.GetPublicKey
type DiscoveryNodeMockGetPublicKeyResults ¶ added in v0.9.0
type DiscoveryNodeMockGetPublicKeyResults struct {
// contains filtered or unexported fields
}
DiscoveryNodeMockGetPublicKeyResults contains results of the DiscoveryNode.GetPublicKey
type DiscoveryNodeMockGetRoleExpectation ¶ added in v0.9.0
type DiscoveryNodeMockGetRoleExpectation struct { Counter uint64 // contains filtered or unexported fields }
DiscoveryNodeMockGetRoleExpectation specifies expectation struct of the DiscoveryNode.GetRole
type DiscoveryNodeMockGetRoleResults ¶ added in v0.9.0
type DiscoveryNodeMockGetRoleResults struct {
// contains filtered or unexported fields
}
DiscoveryNodeMockGetRoleResults contains results of the DiscoveryNode.GetRole
type JetReleaserMock ¶ added in v0.9.0
type JetReleaserMock struct { ThrowTimeoutMock mJetReleaserMockThrowTimeout UnlockMock mJetReleaserMockUnlock // contains filtered or unexported fields }
JetReleaserMock implements hot.JetReleaser
func NewJetReleaserMock ¶ added in v0.9.0
func NewJetReleaserMock(t minimock.Tester) *JetReleaserMock
NewJetReleaserMock returns a mock for hot.JetReleaser
func (*JetReleaserMock) MinimockFinish ¶ added in v0.9.0
func (m *JetReleaserMock) MinimockFinish()
MinimockFinish checks that all mocked methods have been called the expected number of times
func (*JetReleaserMock) MinimockThrowTimeoutDone ¶ added in v0.9.0
func (m *JetReleaserMock) MinimockThrowTimeoutDone() bool
MinimockThrowTimeoutDone returns true if the count of the ThrowTimeout invocations corresponds the number of defined expectations
func (*JetReleaserMock) MinimockThrowTimeoutInspect ¶ added in v0.9.0
func (m *JetReleaserMock) MinimockThrowTimeoutInspect()
MinimockThrowTimeoutInspect logs each unmet expectation
func (*JetReleaserMock) MinimockUnlockDone ¶ added in v0.9.0
func (m *JetReleaserMock) MinimockUnlockDone() bool
MinimockUnlockDone returns true if the count of the Unlock invocations corresponds the number of defined expectations
func (*JetReleaserMock) MinimockUnlockInspect ¶ added in v0.9.0
func (m *JetReleaserMock) MinimockUnlockInspect()
MinimockUnlockInspect logs each unmet expectation
func (*JetReleaserMock) MinimockWait ¶ added in v0.9.0
func (m *JetReleaserMock) MinimockWait(timeout mm_time.Duration)
MinimockWait waits for all mocked methods to be called the expected number of times
func (*JetReleaserMock) ThrowTimeout ¶ added in v0.9.0
func (mmThrowTimeout *JetReleaserMock) ThrowTimeout(ctx context.Context, pulse insolar.PulseNumber)
ThrowTimeout implements hot.JetReleaser
func (*JetReleaserMock) ThrowTimeoutAfterCounter ¶ added in v0.9.0
func (mmThrowTimeout *JetReleaserMock) ThrowTimeoutAfterCounter() uint64
ThrowTimeoutAfterCounter returns a count of finished JetReleaserMock.ThrowTimeout invocations
func (*JetReleaserMock) ThrowTimeoutBeforeCounter ¶ added in v0.9.0
func (mmThrowTimeout *JetReleaserMock) ThrowTimeoutBeforeCounter() uint64
ThrowTimeoutBeforeCounter returns a count of JetReleaserMock.ThrowTimeout invocations
func (*JetReleaserMock) UnlockAfterCounter ¶ added in v0.9.0
func (mmUnlock *JetReleaserMock) UnlockAfterCounter() uint64
UnlockAfterCounter returns a count of finished JetReleaserMock.Unlock invocations
func (*JetReleaserMock) UnlockBeforeCounter ¶ added in v0.9.0
func (mmUnlock *JetReleaserMock) UnlockBeforeCounter() uint64
UnlockBeforeCounter returns a count of JetReleaserMock.Unlock invocations
type JetReleaserMockThrowTimeoutExpectation ¶ added in v0.9.0
type JetReleaserMockThrowTimeoutExpectation struct { Counter uint64 // contains filtered or unexported fields }
JetReleaserMockThrowTimeoutExpectation specifies expectation struct of the JetReleaser.ThrowTimeout
type JetReleaserMockThrowTimeoutParams ¶ added in v0.9.0
type JetReleaserMockThrowTimeoutParams struct {
// contains filtered or unexported fields
}
JetReleaserMockThrowTimeoutParams contains parameters of the JetReleaser.ThrowTimeout
type JetReleaserMockUnlockExpectation ¶ added in v0.9.0
type JetReleaserMockUnlockExpectation struct { Counter uint64 // contains filtered or unexported fields }
JetReleaserMockUnlockExpectation specifies expectation struct of the JetReleaser.Unlock
func (*JetReleaserMockUnlockExpectation) Then ¶ added in v0.9.0
func (e *JetReleaserMockUnlockExpectation) Then(err error) *JetReleaserMock
Then sets up JetReleaser.Unlock return parameters for the expectation previously defined by the When method
type JetReleaserMockUnlockParams ¶ added in v0.9.0
type JetReleaserMockUnlockParams struct {
// contains filtered or unexported fields
}
JetReleaserMockUnlockParams contains parameters of the JetReleaser.Unlock
type JetReleaserMockUnlockResults ¶ added in v0.9.0
type JetReleaserMockUnlockResults struct {
// contains filtered or unexported fields
}
JetReleaserMockUnlockResults contains results of the JetReleaser.Unlock
type KeyProcessorMock ¶ added in v0.6.3
type KeyProcessorMock struct { ExportPrivateKeyPEMMock mKeyProcessorMockExportPrivateKeyPEM ExportPublicKeyBinaryMock mKeyProcessorMockExportPublicKeyBinary ExportPublicKeyPEMMock mKeyProcessorMockExportPublicKeyPEM ExtractPublicKeyMock mKeyProcessorMockExtractPublicKey GeneratePrivateKeyMock mKeyProcessorMockGeneratePrivateKey ImportPrivateKeyPEMMock mKeyProcessorMockImportPrivateKeyPEM ImportPublicKeyBinaryMock mKeyProcessorMockImportPublicKeyBinary ImportPublicKeyPEMMock mKeyProcessorMockImportPublicKeyPEM // contains filtered or unexported fields }
KeyProcessorMock implements insolar.KeyProcessor
func NewKeyProcessorMock ¶ added in v0.6.3
func NewKeyProcessorMock(t minimock.Tester) *KeyProcessorMock
NewKeyProcessorMock returns a mock for insolar.KeyProcessor
func (*KeyProcessorMock) ExportPrivateKeyPEM ¶ added in v0.7.5
func (mmExportPrivateKeyPEM *KeyProcessorMock) ExportPrivateKeyPEM(p1 crypto.PrivateKey) (ba1 []byte, err error)
ExportPrivateKeyPEM implements insolar.KeyProcessor
func (*KeyProcessorMock) ExportPrivateKeyPEMAfterCounter ¶ added in v0.9.0
func (mmExportPrivateKeyPEM *KeyProcessorMock) ExportPrivateKeyPEMAfterCounter() uint64
ExportPrivateKeyPEMAfterCounter returns a count of finished KeyProcessorMock.ExportPrivateKeyPEM invocations
func (*KeyProcessorMock) ExportPrivateKeyPEMBeforeCounter ¶ added in v0.9.0
func (mmExportPrivateKeyPEM *KeyProcessorMock) ExportPrivateKeyPEMBeforeCounter() uint64
ExportPrivateKeyPEMBeforeCounter returns a count of KeyProcessorMock.ExportPrivateKeyPEM invocations
func (*KeyProcessorMock) ExportPublicKeyBinary ¶ added in v0.7.5
func (mmExportPublicKeyBinary *KeyProcessorMock) ExportPublicKeyBinary(p1 crypto.PublicKey) (ba1 []byte, err error)
ExportPublicKeyBinary implements insolar.KeyProcessor
func (*KeyProcessorMock) ExportPublicKeyBinaryAfterCounter ¶ added in v0.9.0
func (mmExportPublicKeyBinary *KeyProcessorMock) ExportPublicKeyBinaryAfterCounter() uint64
ExportPublicKeyBinaryAfterCounter returns a count of finished KeyProcessorMock.ExportPublicKeyBinary invocations
func (*KeyProcessorMock) ExportPublicKeyBinaryBeforeCounter ¶ added in v0.9.0
func (mmExportPublicKeyBinary *KeyProcessorMock) ExportPublicKeyBinaryBeforeCounter() uint64
ExportPublicKeyBinaryBeforeCounter returns a count of KeyProcessorMock.ExportPublicKeyBinary invocations
func (*KeyProcessorMock) ExportPublicKeyPEM ¶ added in v0.7.5
func (mmExportPublicKeyPEM *KeyProcessorMock) ExportPublicKeyPEM(p1 crypto.PublicKey) (ba1 []byte, err error)
ExportPublicKeyPEM implements insolar.KeyProcessor
func (*KeyProcessorMock) ExportPublicKeyPEMAfterCounter ¶ added in v0.9.0
func (mmExportPublicKeyPEM *KeyProcessorMock) ExportPublicKeyPEMAfterCounter() uint64
ExportPublicKeyPEMAfterCounter returns a count of finished KeyProcessorMock.ExportPublicKeyPEM invocations
func (*KeyProcessorMock) ExportPublicKeyPEMBeforeCounter ¶ added in v0.9.0
func (mmExportPublicKeyPEM *KeyProcessorMock) ExportPublicKeyPEMBeforeCounter() uint64
ExportPublicKeyPEMBeforeCounter returns a count of KeyProcessorMock.ExportPublicKeyPEM invocations
func (*KeyProcessorMock) ExtractPublicKey ¶ added in v0.6.3
func (mmExtractPublicKey *KeyProcessorMock) ExtractPublicKey(p1 crypto.PrivateKey) (p2 crypto.PublicKey)
ExtractPublicKey implements insolar.KeyProcessor
func (*KeyProcessorMock) ExtractPublicKeyAfterCounter ¶ added in v0.9.0
func (mmExtractPublicKey *KeyProcessorMock) ExtractPublicKeyAfterCounter() uint64
ExtractPublicKeyAfterCounter returns a count of finished KeyProcessorMock.ExtractPublicKey invocations
func (*KeyProcessorMock) ExtractPublicKeyBeforeCounter ¶ added in v0.9.0
func (mmExtractPublicKey *KeyProcessorMock) ExtractPublicKeyBeforeCounter() uint64
ExtractPublicKeyBeforeCounter returns a count of KeyProcessorMock.ExtractPublicKey invocations
func (*KeyProcessorMock) GeneratePrivateKey ¶ added in v0.6.3
func (mmGeneratePrivateKey *KeyProcessorMock) GeneratePrivateKey() (p1 crypto.PrivateKey, err error)
GeneratePrivateKey implements insolar.KeyProcessor
func (*KeyProcessorMock) GeneratePrivateKeyAfterCounter ¶ added in v0.9.0
func (mmGeneratePrivateKey *KeyProcessorMock) GeneratePrivateKeyAfterCounter() uint64
GeneratePrivateKeyAfterCounter returns a count of finished KeyProcessorMock.GeneratePrivateKey invocations
func (*KeyProcessorMock) GeneratePrivateKeyBeforeCounter ¶ added in v0.9.0
func (mmGeneratePrivateKey *KeyProcessorMock) GeneratePrivateKeyBeforeCounter() uint64
GeneratePrivateKeyBeforeCounter returns a count of KeyProcessorMock.GeneratePrivateKey invocations
func (*KeyProcessorMock) ImportPrivateKeyPEM ¶ added in v0.7.5
func (mmImportPrivateKeyPEM *KeyProcessorMock) ImportPrivateKeyPEM(ba1 []byte) (p1 crypto.PrivateKey, err error)
ImportPrivateKeyPEM implements insolar.KeyProcessor
func (*KeyProcessorMock) ImportPrivateKeyPEMAfterCounter ¶ added in v0.9.0
func (mmImportPrivateKeyPEM *KeyProcessorMock) ImportPrivateKeyPEMAfterCounter() uint64
ImportPrivateKeyPEMAfterCounter returns a count of finished KeyProcessorMock.ImportPrivateKeyPEM invocations
func (*KeyProcessorMock) ImportPrivateKeyPEMBeforeCounter ¶ added in v0.9.0
func (mmImportPrivateKeyPEM *KeyProcessorMock) ImportPrivateKeyPEMBeforeCounter() uint64
ImportPrivateKeyPEMBeforeCounter returns a count of KeyProcessorMock.ImportPrivateKeyPEM invocations
func (*KeyProcessorMock) ImportPublicKeyBinary ¶ added in v0.7.5
func (mmImportPublicKeyBinary *KeyProcessorMock) ImportPublicKeyBinary(ba1 []byte) (p1 crypto.PublicKey, err error)
ImportPublicKeyBinary implements insolar.KeyProcessor
func (*KeyProcessorMock) ImportPublicKeyBinaryAfterCounter ¶ added in v0.9.0
func (mmImportPublicKeyBinary *KeyProcessorMock) ImportPublicKeyBinaryAfterCounter() uint64
ImportPublicKeyBinaryAfterCounter returns a count of finished KeyProcessorMock.ImportPublicKeyBinary invocations
func (*KeyProcessorMock) ImportPublicKeyBinaryBeforeCounter ¶ added in v0.9.0
func (mmImportPublicKeyBinary *KeyProcessorMock) ImportPublicKeyBinaryBeforeCounter() uint64
ImportPublicKeyBinaryBeforeCounter returns a count of KeyProcessorMock.ImportPublicKeyBinary invocations
func (*KeyProcessorMock) ImportPublicKeyPEM ¶ added in v0.7.5
func (mmImportPublicKeyPEM *KeyProcessorMock) ImportPublicKeyPEM(ba1 []byte) (p1 crypto.PublicKey, err error)
ImportPublicKeyPEM implements insolar.KeyProcessor
func (*KeyProcessorMock) ImportPublicKeyPEMAfterCounter ¶ added in v0.9.0
func (mmImportPublicKeyPEM *KeyProcessorMock) ImportPublicKeyPEMAfterCounter() uint64
ImportPublicKeyPEMAfterCounter returns a count of finished KeyProcessorMock.ImportPublicKeyPEM invocations
func (*KeyProcessorMock) ImportPublicKeyPEMBeforeCounter ¶ added in v0.9.0
func (mmImportPublicKeyPEM *KeyProcessorMock) ImportPublicKeyPEMBeforeCounter() uint64
ImportPublicKeyPEMBeforeCounter returns a count of KeyProcessorMock.ImportPublicKeyPEM invocations
func (*KeyProcessorMock) MinimockExportPrivateKeyPEMDone ¶ added in v0.9.0
func (m *KeyProcessorMock) MinimockExportPrivateKeyPEMDone() bool
MinimockExportPrivateKeyPEMDone returns true if the count of the ExportPrivateKeyPEM invocations corresponds the number of defined expectations
func (*KeyProcessorMock) MinimockExportPrivateKeyPEMInspect ¶ added in v0.9.0
func (m *KeyProcessorMock) MinimockExportPrivateKeyPEMInspect()
MinimockExportPrivateKeyPEMInspect logs each unmet expectation
func (*KeyProcessorMock) MinimockExportPublicKeyBinaryDone ¶ added in v0.9.0
func (m *KeyProcessorMock) MinimockExportPublicKeyBinaryDone() bool
MinimockExportPublicKeyBinaryDone returns true if the count of the ExportPublicKeyBinary invocations corresponds the number of defined expectations
func (*KeyProcessorMock) MinimockExportPublicKeyBinaryInspect ¶ added in v0.9.0
func (m *KeyProcessorMock) MinimockExportPublicKeyBinaryInspect()
MinimockExportPublicKeyBinaryInspect logs each unmet expectation
func (*KeyProcessorMock) MinimockExportPublicKeyPEMDone ¶ added in v0.9.0
func (m *KeyProcessorMock) MinimockExportPublicKeyPEMDone() bool
MinimockExportPublicKeyPEMDone returns true if the count of the ExportPublicKeyPEM invocations corresponds the number of defined expectations
func (*KeyProcessorMock) MinimockExportPublicKeyPEMInspect ¶ added in v0.9.0
func (m *KeyProcessorMock) MinimockExportPublicKeyPEMInspect()
MinimockExportPublicKeyPEMInspect logs each unmet expectation
func (*KeyProcessorMock) MinimockExtractPublicKeyDone ¶ added in v0.9.0
func (m *KeyProcessorMock) MinimockExtractPublicKeyDone() bool
MinimockExtractPublicKeyDone returns true if the count of the ExtractPublicKey invocations corresponds the number of defined expectations
func (*KeyProcessorMock) MinimockExtractPublicKeyInspect ¶ added in v0.9.0
func (m *KeyProcessorMock) MinimockExtractPublicKeyInspect()
MinimockExtractPublicKeyInspect logs each unmet expectation
func (*KeyProcessorMock) MinimockFinish ¶ added in v0.6.3
func (m *KeyProcessorMock) MinimockFinish()
MinimockFinish checks that all mocked methods have been called the expected number of times
func (*KeyProcessorMock) MinimockGeneratePrivateKeyDone ¶ added in v0.9.0
func (m *KeyProcessorMock) MinimockGeneratePrivateKeyDone() bool
MinimockGeneratePrivateKeyDone returns true if the count of the GeneratePrivateKey invocations corresponds the number of defined expectations
func (*KeyProcessorMock) MinimockGeneratePrivateKeyInspect ¶ added in v0.9.0
func (m *KeyProcessorMock) MinimockGeneratePrivateKeyInspect()
MinimockGeneratePrivateKeyInspect logs each unmet expectation
func (*KeyProcessorMock) MinimockImportPrivateKeyPEMDone ¶ added in v0.9.0
func (m *KeyProcessorMock) MinimockImportPrivateKeyPEMDone() bool
MinimockImportPrivateKeyPEMDone returns true if the count of the ImportPrivateKeyPEM invocations corresponds the number of defined expectations
func (*KeyProcessorMock) MinimockImportPrivateKeyPEMInspect ¶ added in v0.9.0
func (m *KeyProcessorMock) MinimockImportPrivateKeyPEMInspect()
MinimockImportPrivateKeyPEMInspect logs each unmet expectation
func (*KeyProcessorMock) MinimockImportPublicKeyBinaryDone ¶ added in v0.9.0
func (m *KeyProcessorMock) MinimockImportPublicKeyBinaryDone() bool
MinimockImportPublicKeyBinaryDone returns true if the count of the ImportPublicKeyBinary invocations corresponds the number of defined expectations
func (*KeyProcessorMock) MinimockImportPublicKeyBinaryInspect ¶ added in v0.9.0
func (m *KeyProcessorMock) MinimockImportPublicKeyBinaryInspect()
MinimockImportPublicKeyBinaryInspect logs each unmet expectation
func (*KeyProcessorMock) MinimockImportPublicKeyPEMDone ¶ added in v0.9.0
func (m *KeyProcessorMock) MinimockImportPublicKeyPEMDone() bool
MinimockImportPublicKeyPEMDone returns true if the count of the ImportPublicKeyPEM invocations corresponds the number of defined expectations
func (*KeyProcessorMock) MinimockImportPublicKeyPEMInspect ¶ added in v0.9.0
func (m *KeyProcessorMock) MinimockImportPublicKeyPEMInspect()
MinimockImportPublicKeyPEMInspect logs each unmet expectation
func (*KeyProcessorMock) MinimockWait ¶ added in v0.6.3
func (m *KeyProcessorMock) MinimockWait(timeout mm_time.Duration)
MinimockWait waits for all mocked methods to be called the expected number of times
type KeyProcessorMockExportPrivateKeyPEMExpectation ¶ added in v0.7.5
type KeyProcessorMockExportPrivateKeyPEMExpectation struct { Counter uint64 // contains filtered or unexported fields }
KeyProcessorMockExportPrivateKeyPEMExpectation specifies expectation struct of the KeyProcessor.ExportPrivateKeyPEM
func (*KeyProcessorMockExportPrivateKeyPEMExpectation) Then ¶ added in v0.9.0
func (e *KeyProcessorMockExportPrivateKeyPEMExpectation) Then(ba1 []byte, err error) *KeyProcessorMock
Then sets up KeyProcessor.ExportPrivateKeyPEM return parameters for the expectation previously defined by the When method
type KeyProcessorMockExportPrivateKeyPEMParams ¶ added in v0.9.0
type KeyProcessorMockExportPrivateKeyPEMParams struct {
// contains filtered or unexported fields
}
KeyProcessorMockExportPrivateKeyPEMParams contains parameters of the KeyProcessor.ExportPrivateKeyPEM
type KeyProcessorMockExportPrivateKeyPEMResults ¶ added in v0.9.0
type KeyProcessorMockExportPrivateKeyPEMResults struct {
// contains filtered or unexported fields
}
KeyProcessorMockExportPrivateKeyPEMResults contains results of the KeyProcessor.ExportPrivateKeyPEM
type KeyProcessorMockExportPublicKeyBinaryExpectation ¶ added in v0.7.5
type KeyProcessorMockExportPublicKeyBinaryExpectation struct { Counter uint64 // contains filtered or unexported fields }
KeyProcessorMockExportPublicKeyBinaryExpectation specifies expectation struct of the KeyProcessor.ExportPublicKeyBinary
func (*KeyProcessorMockExportPublicKeyBinaryExpectation) Then ¶ added in v0.9.0
func (e *KeyProcessorMockExportPublicKeyBinaryExpectation) Then(ba1 []byte, err error) *KeyProcessorMock
Then sets up KeyProcessor.ExportPublicKeyBinary return parameters for the expectation previously defined by the When method
type KeyProcessorMockExportPublicKeyBinaryParams ¶ added in v0.9.0
type KeyProcessorMockExportPublicKeyBinaryParams struct {
// contains filtered or unexported fields
}
KeyProcessorMockExportPublicKeyBinaryParams contains parameters of the KeyProcessor.ExportPublicKeyBinary
type KeyProcessorMockExportPublicKeyBinaryResults ¶ added in v0.9.0
type KeyProcessorMockExportPublicKeyBinaryResults struct {
// contains filtered or unexported fields
}
KeyProcessorMockExportPublicKeyBinaryResults contains results of the KeyProcessor.ExportPublicKeyBinary
type KeyProcessorMockExportPublicKeyPEMExpectation ¶ added in v0.7.5
type KeyProcessorMockExportPublicKeyPEMExpectation struct { Counter uint64 // contains filtered or unexported fields }
KeyProcessorMockExportPublicKeyPEMExpectation specifies expectation struct of the KeyProcessor.ExportPublicKeyPEM
func (*KeyProcessorMockExportPublicKeyPEMExpectation) Then ¶ added in v0.9.0
func (e *KeyProcessorMockExportPublicKeyPEMExpectation) Then(ba1 []byte, err error) *KeyProcessorMock
Then sets up KeyProcessor.ExportPublicKeyPEM return parameters for the expectation previously defined by the When method
type KeyProcessorMockExportPublicKeyPEMParams ¶ added in v0.9.0
type KeyProcessorMockExportPublicKeyPEMParams struct {
// contains filtered or unexported fields
}
KeyProcessorMockExportPublicKeyPEMParams contains parameters of the KeyProcessor.ExportPublicKeyPEM
type KeyProcessorMockExportPublicKeyPEMResults ¶ added in v0.9.0
type KeyProcessorMockExportPublicKeyPEMResults struct {
// contains filtered or unexported fields
}
KeyProcessorMockExportPublicKeyPEMResults contains results of the KeyProcessor.ExportPublicKeyPEM
type KeyProcessorMockExtractPublicKeyExpectation ¶ added in v0.7.5
type KeyProcessorMockExtractPublicKeyExpectation struct { Counter uint64 // contains filtered or unexported fields }
KeyProcessorMockExtractPublicKeyExpectation specifies expectation struct of the KeyProcessor.ExtractPublicKey
func (*KeyProcessorMockExtractPublicKeyExpectation) Then ¶ added in v0.9.0
func (e *KeyProcessorMockExtractPublicKeyExpectation) Then(p2 crypto.PublicKey) *KeyProcessorMock
Then sets up KeyProcessor.ExtractPublicKey return parameters for the expectation previously defined by the When method
type KeyProcessorMockExtractPublicKeyParams ¶ added in v0.6.3
type KeyProcessorMockExtractPublicKeyParams struct {
// contains filtered or unexported fields
}
KeyProcessorMockExtractPublicKeyParams contains parameters of the KeyProcessor.ExtractPublicKey
type KeyProcessorMockExtractPublicKeyResults ¶ added in v0.9.0
type KeyProcessorMockExtractPublicKeyResults struct {
// contains filtered or unexported fields
}
KeyProcessorMockExtractPublicKeyResults contains results of the KeyProcessor.ExtractPublicKey
type KeyProcessorMockGeneratePrivateKeyExpectation ¶ added in v0.7.5
type KeyProcessorMockGeneratePrivateKeyExpectation struct { Counter uint64 // contains filtered or unexported fields }
KeyProcessorMockGeneratePrivateKeyExpectation specifies expectation struct of the KeyProcessor.GeneratePrivateKey
type KeyProcessorMockGeneratePrivateKeyResults ¶ added in v0.9.0
type KeyProcessorMockGeneratePrivateKeyResults struct {
// contains filtered or unexported fields
}
KeyProcessorMockGeneratePrivateKeyResults contains results of the KeyProcessor.GeneratePrivateKey
type KeyProcessorMockImportPrivateKeyPEMExpectation ¶ added in v0.7.5
type KeyProcessorMockImportPrivateKeyPEMExpectation struct { Counter uint64 // contains filtered or unexported fields }
KeyProcessorMockImportPrivateKeyPEMExpectation specifies expectation struct of the KeyProcessor.ImportPrivateKeyPEM
func (*KeyProcessorMockImportPrivateKeyPEMExpectation) Then ¶ added in v0.9.0
func (e *KeyProcessorMockImportPrivateKeyPEMExpectation) Then(p1 crypto.PrivateKey, err error) *KeyProcessorMock
Then sets up KeyProcessor.ImportPrivateKeyPEM return parameters for the expectation previously defined by the When method
type KeyProcessorMockImportPrivateKeyPEMParams ¶ added in v0.9.0
type KeyProcessorMockImportPrivateKeyPEMParams struct {
// contains filtered or unexported fields
}
KeyProcessorMockImportPrivateKeyPEMParams contains parameters of the KeyProcessor.ImportPrivateKeyPEM
type KeyProcessorMockImportPrivateKeyPEMResults ¶ added in v0.9.0
type KeyProcessorMockImportPrivateKeyPEMResults struct {
// contains filtered or unexported fields
}
KeyProcessorMockImportPrivateKeyPEMResults contains results of the KeyProcessor.ImportPrivateKeyPEM
type KeyProcessorMockImportPublicKeyBinaryExpectation ¶ added in v0.7.5
type KeyProcessorMockImportPublicKeyBinaryExpectation struct { Counter uint64 // contains filtered or unexported fields }
KeyProcessorMockImportPublicKeyBinaryExpectation specifies expectation struct of the KeyProcessor.ImportPublicKeyBinary
func (*KeyProcessorMockImportPublicKeyBinaryExpectation) Then ¶ added in v0.9.0
func (e *KeyProcessorMockImportPublicKeyBinaryExpectation) Then(p1 crypto.PublicKey, err error) *KeyProcessorMock
Then sets up KeyProcessor.ImportPublicKeyBinary return parameters for the expectation previously defined by the When method
type KeyProcessorMockImportPublicKeyBinaryParams ¶ added in v0.9.0
type KeyProcessorMockImportPublicKeyBinaryParams struct {
// contains filtered or unexported fields
}
KeyProcessorMockImportPublicKeyBinaryParams contains parameters of the KeyProcessor.ImportPublicKeyBinary
type KeyProcessorMockImportPublicKeyBinaryResults ¶ added in v0.9.0
type KeyProcessorMockImportPublicKeyBinaryResults struct {
// contains filtered or unexported fields
}
KeyProcessorMockImportPublicKeyBinaryResults contains results of the KeyProcessor.ImportPublicKeyBinary
type KeyProcessorMockImportPublicKeyPEMExpectation ¶ added in v0.7.5
type KeyProcessorMockImportPublicKeyPEMExpectation struct { Counter uint64 // contains filtered or unexported fields }
KeyProcessorMockImportPublicKeyPEMExpectation specifies expectation struct of the KeyProcessor.ImportPublicKeyPEM
func (*KeyProcessorMockImportPublicKeyPEMExpectation) Then ¶ added in v0.9.0
func (e *KeyProcessorMockImportPublicKeyPEMExpectation) Then(p1 crypto.PublicKey, err error) *KeyProcessorMock
Then sets up KeyProcessor.ImportPublicKeyPEM return parameters for the expectation previously defined by the When method
type KeyProcessorMockImportPublicKeyPEMParams ¶ added in v0.9.0
type KeyProcessorMockImportPublicKeyPEMParams struct {
// contains filtered or unexported fields
}
KeyProcessorMockImportPublicKeyPEMParams contains parameters of the KeyProcessor.ImportPublicKeyPEM
type KeyProcessorMockImportPublicKeyPEMResults ¶ added in v0.9.0
type KeyProcessorMockImportPublicKeyPEMResults struct {
// contains filtered or unexported fields
}
KeyProcessorMockImportPublicKeyPEMResults contains results of the KeyProcessor.ImportPublicKeyPEM
type LeaverMock ¶ added in v0.9.0
type LeaverMock struct { LeaveMock mLeaverMockLeave // contains filtered or unexported fields }
LeaverMock implements insolar.Leaver
func NewLeaverMock ¶ added in v0.9.0
func NewLeaverMock(t minimock.Tester) *LeaverMock
NewLeaverMock returns a mock for insolar.Leaver
func (*LeaverMock) Leave ¶ added in v0.9.0
func (mmLeave *LeaverMock) Leave(ctx context.Context, ETA mm_insolar.PulseNumber)
Leave implements insolar.Leaver
func (*LeaverMock) LeaveAfterCounter ¶ added in v0.9.0
func (mmLeave *LeaverMock) LeaveAfterCounter() uint64
LeaveAfterCounter returns a count of finished LeaverMock.Leave invocations
func (*LeaverMock) LeaveBeforeCounter ¶ added in v0.9.0
func (mmLeave *LeaverMock) LeaveBeforeCounter() uint64
LeaveBeforeCounter returns a count of LeaverMock.Leave invocations
func (*LeaverMock) MinimockFinish ¶ added in v0.9.0
func (m *LeaverMock) MinimockFinish()
MinimockFinish checks that all mocked methods have been called the expected number of times
func (*LeaverMock) MinimockLeaveDone ¶ added in v0.9.0
func (m *LeaverMock) MinimockLeaveDone() bool
MinimockLeaveDone returns true if the count of the Leave invocations corresponds the number of defined expectations
func (*LeaverMock) MinimockLeaveInspect ¶ added in v0.9.0
func (m *LeaverMock) MinimockLeaveInspect()
MinimockLeaveInspect logs each unmet expectation
func (*LeaverMock) MinimockWait ¶ added in v0.9.0
func (m *LeaverMock) MinimockWait(timeout mm_time.Duration)
MinimockWait waits for all mocked methods to be called the expected number of times
type LeaverMockLeaveExpectation ¶ added in v0.9.0
type LeaverMockLeaveExpectation struct { Counter uint64 // contains filtered or unexported fields }
LeaverMockLeaveExpectation specifies expectation struct of the Leaver.Leave
type LeaverMockLeaveParams ¶ added in v0.9.0
type LeaverMockLeaveParams struct { ETA mm_insolar.PulseNumber // contains filtered or unexported fields }
LeaverMockLeaveParams contains parameters of the Leaver.Leave
type LogicRunnerMock ¶ added in v0.6.3
type LogicRunnerMock struct { AddUnwantedResponseMock mLogicRunnerMockAddUnwantedResponse LRIMock mLogicRunnerMockLRI OnPulseMock mLogicRunnerMockOnPulse // contains filtered or unexported fields }
LogicRunnerMock implements insolar.LogicRunner
func NewLogicRunnerMock ¶ added in v0.6.3
func NewLogicRunnerMock(t minimock.Tester) *LogicRunnerMock
NewLogicRunnerMock returns a mock for insolar.LogicRunner
func (*LogicRunnerMock) AddUnwantedResponse ¶ added in v0.9.0
func (mmAddUnwantedResponse *LogicRunnerMock) AddUnwantedResponse(ctx context.Context, msg mm_insolar.Payload) (err error)
AddUnwantedResponse implements insolar.LogicRunner
func (*LogicRunnerMock) AddUnwantedResponseAfterCounter ¶ added in v0.9.0
func (mmAddUnwantedResponse *LogicRunnerMock) AddUnwantedResponseAfterCounter() uint64
AddUnwantedResponseAfterCounter returns a count of finished LogicRunnerMock.AddUnwantedResponse invocations
func (*LogicRunnerMock) AddUnwantedResponseBeforeCounter ¶ added in v0.9.0
func (mmAddUnwantedResponse *LogicRunnerMock) AddUnwantedResponseBeforeCounter() uint64
AddUnwantedResponseBeforeCounter returns a count of LogicRunnerMock.AddUnwantedResponse invocations
func (*LogicRunnerMock) LRI ¶ added in v0.9.0
func (mmLRI *LogicRunnerMock) LRI()
LRI implements insolar.LogicRunner
func (*LogicRunnerMock) LRIAfterCounter ¶ added in v0.9.0
func (mmLRI *LogicRunnerMock) LRIAfterCounter() uint64
LRIAfterCounter returns a count of finished LogicRunnerMock.LRI invocations
func (*LogicRunnerMock) LRIBeforeCounter ¶ added in v0.9.0
func (mmLRI *LogicRunnerMock) LRIBeforeCounter() uint64
LRIBeforeCounter returns a count of LogicRunnerMock.LRI invocations
func (*LogicRunnerMock) MinimockAddUnwantedResponseDone ¶ added in v0.9.0
func (m *LogicRunnerMock) MinimockAddUnwantedResponseDone() bool
MinimockAddUnwantedResponseDone returns true if the count of the AddUnwantedResponse invocations corresponds the number of defined expectations
func (*LogicRunnerMock) MinimockAddUnwantedResponseInspect ¶ added in v0.9.0
func (m *LogicRunnerMock) MinimockAddUnwantedResponseInspect()
MinimockAddUnwantedResponseInspect logs each unmet expectation
func (*LogicRunnerMock) MinimockFinish ¶ added in v0.6.3
func (m *LogicRunnerMock) MinimockFinish()
MinimockFinish checks that all mocked methods have been called the expected number of times
func (*LogicRunnerMock) MinimockLRIDone ¶ added in v0.9.0
func (m *LogicRunnerMock) MinimockLRIDone() bool
MinimockLRIDone returns true if the count of the LRI invocations corresponds the number of defined expectations
func (*LogicRunnerMock) MinimockLRIInspect ¶ added in v0.9.0
func (m *LogicRunnerMock) MinimockLRIInspect()
MinimockLRIInspect logs each unmet expectation
func (*LogicRunnerMock) MinimockOnPulseDone ¶ added in v0.9.0
func (m *LogicRunnerMock) MinimockOnPulseDone() bool
MinimockOnPulseDone returns true if the count of the OnPulse invocations corresponds the number of defined expectations
func (*LogicRunnerMock) MinimockOnPulseInspect ¶ added in v0.9.0
func (m *LogicRunnerMock) MinimockOnPulseInspect()
MinimockOnPulseInspect logs each unmet expectation
func (*LogicRunnerMock) MinimockWait ¶ added in v0.6.3
func (m *LogicRunnerMock) MinimockWait(timeout mm_time.Duration)
MinimockWait waits for all mocked methods to be called the expected number of times
func (*LogicRunnerMock) OnPulse ¶ added in v0.6.3
func (mmOnPulse *LogicRunnerMock) OnPulse(ctx context.Context, p1 mm_insolar.Pulse, p2 mm_insolar.Pulse) (err error)
OnPulse implements insolar.LogicRunner
func (*LogicRunnerMock) OnPulseAfterCounter ¶ added in v0.9.0
func (mmOnPulse *LogicRunnerMock) OnPulseAfterCounter() uint64
OnPulseAfterCounter returns a count of finished LogicRunnerMock.OnPulse invocations
func (*LogicRunnerMock) OnPulseBeforeCounter ¶ added in v0.9.0
func (mmOnPulse *LogicRunnerMock) OnPulseBeforeCounter() uint64
OnPulseBeforeCounter returns a count of LogicRunnerMock.OnPulse invocations
type LogicRunnerMockAddUnwantedResponseExpectation ¶ added in v0.9.0
type LogicRunnerMockAddUnwantedResponseExpectation struct { Counter uint64 // contains filtered or unexported fields }
LogicRunnerMockAddUnwantedResponseExpectation specifies expectation struct of the LogicRunner.AddUnwantedResponse
func (*LogicRunnerMockAddUnwantedResponseExpectation) Then ¶ added in v0.9.0
func (e *LogicRunnerMockAddUnwantedResponseExpectation) Then(err error) *LogicRunnerMock
Then sets up LogicRunner.AddUnwantedResponse return parameters for the expectation previously defined by the When method
type LogicRunnerMockAddUnwantedResponseParams ¶ added in v0.9.0
type LogicRunnerMockAddUnwantedResponseParams struct {
// contains filtered or unexported fields
}
LogicRunnerMockAddUnwantedResponseParams contains parameters of the LogicRunner.AddUnwantedResponse
type LogicRunnerMockAddUnwantedResponseResults ¶ added in v0.9.0
type LogicRunnerMockAddUnwantedResponseResults struct {
// contains filtered or unexported fields
}
LogicRunnerMockAddUnwantedResponseResults contains results of the LogicRunner.AddUnwantedResponse
type LogicRunnerMockLRIExpectation ¶ added in v0.9.0
type LogicRunnerMockLRIExpectation struct { Counter uint64 // contains filtered or unexported fields }
LogicRunnerMockLRIExpectation specifies expectation struct of the LogicRunner.LRI
type LogicRunnerMockOnPulseExpectation ¶ added in v0.7.5
type LogicRunnerMockOnPulseExpectation struct { Counter uint64 // contains filtered or unexported fields }
LogicRunnerMockOnPulseExpectation specifies expectation struct of the LogicRunner.OnPulse
func (*LogicRunnerMockOnPulseExpectation) Then ¶ added in v0.9.0
func (e *LogicRunnerMockOnPulseExpectation) Then(err error) *LogicRunnerMock
Then sets up LogicRunner.OnPulse return parameters for the expectation previously defined by the When method
type LogicRunnerMockOnPulseParams ¶ added in v0.6.3
type LogicRunnerMockOnPulseParams struct {
// contains filtered or unexported fields
}
LogicRunnerMockOnPulseParams contains parameters of the LogicRunner.OnPulse
type LogicRunnerMockOnPulseResults ¶ added in v0.9.0
type LogicRunnerMockOnPulseResults struct {
// contains filtered or unexported fields
}
LogicRunnerMockOnPulseResults contains results of the LogicRunner.OnPulse
type MachineLogicExecutorMock ¶ added in v0.8.0
type MachineLogicExecutorMock struct { CallConstructorMock mMachineLogicExecutorMockCallConstructor CallMethodMock mMachineLogicExecutorMockCallMethod // contains filtered or unexported fields }
MachineLogicExecutorMock implements insolar.MachineLogicExecutor
func NewMachineLogicExecutorMock ¶ added in v0.8.0
func NewMachineLogicExecutorMock(t minimock.Tester) *MachineLogicExecutorMock
NewMachineLogicExecutorMock returns a mock for insolar.MachineLogicExecutor
func (*MachineLogicExecutorMock) CallConstructor ¶ added in v0.8.0
func (mmCallConstructor *MachineLogicExecutorMock) CallConstructor(ctx context.Context, callContext *mm_insolar.LogicCallContext, code mm_insolar.Reference, name string, args mm_insolar.Arguments) (objectState []byte, result mm_insolar.Arguments, err error)
CallConstructor implements insolar.MachineLogicExecutor
func (*MachineLogicExecutorMock) CallConstructorAfterCounter ¶ added in v0.9.0
func (mmCallConstructor *MachineLogicExecutorMock) CallConstructorAfterCounter() uint64
CallConstructorAfterCounter returns a count of finished MachineLogicExecutorMock.CallConstructor invocations
func (*MachineLogicExecutorMock) CallConstructorBeforeCounter ¶ added in v0.9.0
func (mmCallConstructor *MachineLogicExecutorMock) CallConstructorBeforeCounter() uint64
CallConstructorBeforeCounter returns a count of MachineLogicExecutorMock.CallConstructor invocations
func (*MachineLogicExecutorMock) CallMethod ¶ added in v0.8.0
func (mmCallMethod *MachineLogicExecutorMock) CallMethod(ctx context.Context, callContext *mm_insolar.LogicCallContext, code mm_insolar.Reference, data []byte, method string, args mm_insolar.Arguments) (newObjectState []byte, methodResults mm_insolar.Arguments, err error)
CallMethod implements insolar.MachineLogicExecutor
func (*MachineLogicExecutorMock) CallMethodAfterCounter ¶ added in v0.9.0
func (mmCallMethod *MachineLogicExecutorMock) CallMethodAfterCounter() uint64
CallMethodAfterCounter returns a count of finished MachineLogicExecutorMock.CallMethod invocations
func (*MachineLogicExecutorMock) CallMethodBeforeCounter ¶ added in v0.9.0
func (mmCallMethod *MachineLogicExecutorMock) CallMethodBeforeCounter() uint64
CallMethodBeforeCounter returns a count of MachineLogicExecutorMock.CallMethod invocations
func (*MachineLogicExecutorMock) MinimockCallConstructorDone ¶ added in v0.9.0
func (m *MachineLogicExecutorMock) MinimockCallConstructorDone() bool
MinimockCallConstructorDone returns true if the count of the CallConstructor invocations corresponds the number of defined expectations
func (*MachineLogicExecutorMock) MinimockCallConstructorInspect ¶ added in v0.9.0
func (m *MachineLogicExecutorMock) MinimockCallConstructorInspect()
MinimockCallConstructorInspect logs each unmet expectation
func (*MachineLogicExecutorMock) MinimockCallMethodDone ¶ added in v0.9.0
func (m *MachineLogicExecutorMock) MinimockCallMethodDone() bool
MinimockCallMethodDone returns true if the count of the CallMethod invocations corresponds the number of defined expectations
func (*MachineLogicExecutorMock) MinimockCallMethodInspect ¶ added in v0.9.0
func (m *MachineLogicExecutorMock) MinimockCallMethodInspect()
MinimockCallMethodInspect logs each unmet expectation
func (*MachineLogicExecutorMock) MinimockFinish ¶ added in v0.8.0
func (m *MachineLogicExecutorMock) MinimockFinish()
MinimockFinish checks that all mocked methods have been called the expected number of times
func (*MachineLogicExecutorMock) MinimockWait ¶ added in v0.8.0
func (m *MachineLogicExecutorMock) MinimockWait(timeout mm_time.Duration)
MinimockWait waits for all mocked methods to be called the expected number of times
type MachineLogicExecutorMockCallConstructorExpectation ¶ added in v0.8.0
type MachineLogicExecutorMockCallConstructorExpectation struct { Counter uint64 // contains filtered or unexported fields }
MachineLogicExecutorMockCallConstructorExpectation specifies expectation struct of the MachineLogicExecutor.CallConstructor
func (*MachineLogicExecutorMockCallConstructorExpectation) Then ¶ added in v0.9.0
func (e *MachineLogicExecutorMockCallConstructorExpectation) Then(objectState []byte, result mm_insolar.Arguments, err error) *MachineLogicExecutorMock
Then sets up MachineLogicExecutor.CallConstructor return parameters for the expectation previously defined by the When method
type MachineLogicExecutorMockCallConstructorParams ¶ added in v0.9.0
type MachineLogicExecutorMockCallConstructorParams struct {
// contains filtered or unexported fields
}
MachineLogicExecutorMockCallConstructorParams contains parameters of the MachineLogicExecutor.CallConstructor
type MachineLogicExecutorMockCallConstructorResults ¶ added in v0.9.0
type MachineLogicExecutorMockCallConstructorResults struct {
// contains filtered or unexported fields
}
MachineLogicExecutorMockCallConstructorResults contains results of the MachineLogicExecutor.CallConstructor
type MachineLogicExecutorMockCallMethodExpectation ¶ added in v0.8.0
type MachineLogicExecutorMockCallMethodExpectation struct { Counter uint64 // contains filtered or unexported fields }
MachineLogicExecutorMockCallMethodExpectation specifies expectation struct of the MachineLogicExecutor.CallMethod
func (*MachineLogicExecutorMockCallMethodExpectation) Then ¶ added in v0.9.0
func (e *MachineLogicExecutorMockCallMethodExpectation) Then(newObjectState []byte, methodResults mm_insolar.Arguments, err error) *MachineLogicExecutorMock
Then sets up MachineLogicExecutor.CallMethod return parameters for the expectation previously defined by the When method
type MachineLogicExecutorMockCallMethodParams ¶ added in v0.9.0
type MachineLogicExecutorMockCallMethodParams struct {
// contains filtered or unexported fields
}
MachineLogicExecutorMockCallMethodParams contains parameters of the MachineLogicExecutor.CallMethod
type MachineLogicExecutorMockCallMethodResults ¶ added in v0.9.0
type MachineLogicExecutorMockCallMethodResults struct {
// contains filtered or unexported fields
}
MachineLogicExecutorMockCallMethodResults contains results of the MachineLogicExecutor.CallMethod
type ParcelMock ¶ added in v0.7.5
type ParcelMock struct { AllowedSenderObjectAndRoleMock mParcelMockAllowedSenderObjectAndRole ContextMock mParcelMockContext DefaultRoleMock mParcelMockDefaultRole DefaultTargetMock mParcelMockDefaultTarget GetCallerMock mParcelMockGetCaller GetSenderMock mParcelMockGetSender GetSignMock mParcelMockGetSign MessageMock mParcelMockMessage PulseMock mParcelMockPulse SetSenderMock mParcelMockSetSender TypeMock mParcelMockType // contains filtered or unexported fields }
ParcelMock implements insolar.Parcel
func NewParcelMock ¶ added in v0.7.5
func NewParcelMock(t minimock.Tester) *ParcelMock
NewParcelMock returns a mock for insolar.Parcel
func (*ParcelMock) AllowedSenderObjectAndRole ¶ added in v0.7.5
func (mmAllowedSenderObjectAndRole *ParcelMock) AllowedSenderObjectAndRole() (rp1 *mm_insolar.Reference, d1 mm_insolar.DynamicRole)
AllowedSenderObjectAndRole implements insolar.Parcel
func (*ParcelMock) AllowedSenderObjectAndRoleAfterCounter ¶ added in v0.9.0
func (mmAllowedSenderObjectAndRole *ParcelMock) AllowedSenderObjectAndRoleAfterCounter() uint64
AllowedSenderObjectAndRoleAfterCounter returns a count of finished ParcelMock.AllowedSenderObjectAndRole invocations
func (*ParcelMock) AllowedSenderObjectAndRoleBeforeCounter ¶ added in v0.9.0
func (mmAllowedSenderObjectAndRole *ParcelMock) AllowedSenderObjectAndRoleBeforeCounter() uint64
AllowedSenderObjectAndRoleBeforeCounter returns a count of ParcelMock.AllowedSenderObjectAndRole invocations
func (*ParcelMock) Context ¶ added in v0.7.5
func (mmContext *ParcelMock) Context(ctx context.Context) (c2 context.Context)
Context implements insolar.Parcel
func (*ParcelMock) ContextAfterCounter ¶ added in v0.9.0
func (mmContext *ParcelMock) ContextAfterCounter() uint64
ContextAfterCounter returns a count of finished ParcelMock.Context invocations
func (*ParcelMock) ContextBeforeCounter ¶ added in v0.9.0
func (mmContext *ParcelMock) ContextBeforeCounter() uint64
ContextBeforeCounter returns a count of ParcelMock.Context invocations
func (*ParcelMock) DefaultRole ¶ added in v0.7.5
func (mmDefaultRole *ParcelMock) DefaultRole() (d1 mm_insolar.DynamicRole)
DefaultRole implements insolar.Parcel
func (*ParcelMock) DefaultRoleAfterCounter ¶ added in v0.9.0
func (mmDefaultRole *ParcelMock) DefaultRoleAfterCounter() uint64
DefaultRoleAfterCounter returns a count of finished ParcelMock.DefaultRole invocations
func (*ParcelMock) DefaultRoleBeforeCounter ¶ added in v0.9.0
func (mmDefaultRole *ParcelMock) DefaultRoleBeforeCounter() uint64
DefaultRoleBeforeCounter returns a count of ParcelMock.DefaultRole invocations
func (*ParcelMock) DefaultTarget ¶ added in v0.7.5
func (mmDefaultTarget *ParcelMock) DefaultTarget() (rp1 *mm_insolar.Reference)
DefaultTarget implements insolar.Parcel
func (*ParcelMock) DefaultTargetAfterCounter ¶ added in v0.9.0
func (mmDefaultTarget *ParcelMock) DefaultTargetAfterCounter() uint64
DefaultTargetAfterCounter returns a count of finished ParcelMock.DefaultTarget invocations
func (*ParcelMock) DefaultTargetBeforeCounter ¶ added in v0.9.0
func (mmDefaultTarget *ParcelMock) DefaultTargetBeforeCounter() uint64
DefaultTargetBeforeCounter returns a count of ParcelMock.DefaultTarget invocations
func (*ParcelMock) GetCaller ¶ added in v0.7.5
func (mmGetCaller *ParcelMock) GetCaller() (rp1 *mm_insolar.Reference)
GetCaller implements insolar.Parcel
func (*ParcelMock) GetCallerAfterCounter ¶ added in v0.9.0
func (mmGetCaller *ParcelMock) GetCallerAfterCounter() uint64
GetCallerAfterCounter returns a count of finished ParcelMock.GetCaller invocations
func (*ParcelMock) GetCallerBeforeCounter ¶ added in v0.9.0
func (mmGetCaller *ParcelMock) GetCallerBeforeCounter() uint64
GetCallerBeforeCounter returns a count of ParcelMock.GetCaller invocations
func (*ParcelMock) GetSender ¶ added in v0.7.5
func (mmGetSender *ParcelMock) GetSender() (r1 mm_insolar.Reference)
GetSender implements insolar.Parcel
func (*ParcelMock) GetSenderAfterCounter ¶ added in v0.9.0
func (mmGetSender *ParcelMock) GetSenderAfterCounter() uint64
GetSenderAfterCounter returns a count of finished ParcelMock.GetSender invocations
func (*ParcelMock) GetSenderBeforeCounter ¶ added in v0.9.0
func (mmGetSender *ParcelMock) GetSenderBeforeCounter() uint64
GetSenderBeforeCounter returns a count of ParcelMock.GetSender invocations
func (*ParcelMock) GetSign ¶ added in v0.7.5
func (mmGetSign *ParcelMock) GetSign() (ba1 []byte)
GetSign implements insolar.Parcel
func (*ParcelMock) GetSignAfterCounter ¶ added in v0.9.0
func (mmGetSign *ParcelMock) GetSignAfterCounter() uint64
GetSignAfterCounter returns a count of finished ParcelMock.GetSign invocations
func (*ParcelMock) GetSignBeforeCounter ¶ added in v0.9.0
func (mmGetSign *ParcelMock) GetSignBeforeCounter() uint64
GetSignBeforeCounter returns a count of ParcelMock.GetSign invocations
func (*ParcelMock) Message ¶ added in v0.7.5
func (mmMessage *ParcelMock) Message() (m1 mm_insolar.Message)
Message implements insolar.Parcel
func (*ParcelMock) MessageAfterCounter ¶ added in v0.9.0
func (mmMessage *ParcelMock) MessageAfterCounter() uint64
MessageAfterCounter returns a count of finished ParcelMock.Message invocations
func (*ParcelMock) MessageBeforeCounter ¶ added in v0.9.0
func (mmMessage *ParcelMock) MessageBeforeCounter() uint64
MessageBeforeCounter returns a count of ParcelMock.Message invocations
func (*ParcelMock) MinimockAllowedSenderObjectAndRoleDone ¶ added in v0.9.0
func (m *ParcelMock) MinimockAllowedSenderObjectAndRoleDone() bool
MinimockAllowedSenderObjectAndRoleDone returns true if the count of the AllowedSenderObjectAndRole invocations corresponds the number of defined expectations
func (*ParcelMock) MinimockAllowedSenderObjectAndRoleInspect ¶ added in v0.9.0
func (m *ParcelMock) MinimockAllowedSenderObjectAndRoleInspect()
MinimockAllowedSenderObjectAndRoleInspect logs each unmet expectation
func (*ParcelMock) MinimockContextDone ¶ added in v0.9.0
func (m *ParcelMock) MinimockContextDone() bool
MinimockContextDone returns true if the count of the Context invocations corresponds the number of defined expectations
func (*ParcelMock) MinimockContextInspect ¶ added in v0.9.0
func (m *ParcelMock) MinimockContextInspect()
MinimockContextInspect logs each unmet expectation
func (*ParcelMock) MinimockDefaultRoleDone ¶ added in v0.9.0
func (m *ParcelMock) MinimockDefaultRoleDone() bool
MinimockDefaultRoleDone returns true if the count of the DefaultRole invocations corresponds the number of defined expectations
func (*ParcelMock) MinimockDefaultRoleInspect ¶ added in v0.9.0
func (m *ParcelMock) MinimockDefaultRoleInspect()
MinimockDefaultRoleInspect logs each unmet expectation
func (*ParcelMock) MinimockDefaultTargetDone ¶ added in v0.9.0
func (m *ParcelMock) MinimockDefaultTargetDone() bool
MinimockDefaultTargetDone returns true if the count of the DefaultTarget invocations corresponds the number of defined expectations
func (*ParcelMock) MinimockDefaultTargetInspect ¶ added in v0.9.0
func (m *ParcelMock) MinimockDefaultTargetInspect()
MinimockDefaultTargetInspect logs each unmet expectation
func (*ParcelMock) MinimockFinish ¶ added in v0.7.5
func (m *ParcelMock) MinimockFinish()
MinimockFinish checks that all mocked methods have been called the expected number of times
func (*ParcelMock) MinimockGetCallerDone ¶ added in v0.9.0
func (m *ParcelMock) MinimockGetCallerDone() bool
MinimockGetCallerDone returns true if the count of the GetCaller invocations corresponds the number of defined expectations
func (*ParcelMock) MinimockGetCallerInspect ¶ added in v0.9.0
func (m *ParcelMock) MinimockGetCallerInspect()
MinimockGetCallerInspect logs each unmet expectation
func (*ParcelMock) MinimockGetSenderDone ¶ added in v0.9.0
func (m *ParcelMock) MinimockGetSenderDone() bool
MinimockGetSenderDone returns true if the count of the GetSender invocations corresponds the number of defined expectations
func (*ParcelMock) MinimockGetSenderInspect ¶ added in v0.9.0
func (m *ParcelMock) MinimockGetSenderInspect()
MinimockGetSenderInspect logs each unmet expectation
func (*ParcelMock) MinimockGetSignDone ¶ added in v0.9.0
func (m *ParcelMock) MinimockGetSignDone() bool
MinimockGetSignDone returns true if the count of the GetSign invocations corresponds the number of defined expectations
func (*ParcelMock) MinimockGetSignInspect ¶ added in v0.9.0
func (m *ParcelMock) MinimockGetSignInspect()
MinimockGetSignInspect logs each unmet expectation
func (*ParcelMock) MinimockMessageDone ¶ added in v0.9.0
func (m *ParcelMock) MinimockMessageDone() bool
MinimockMessageDone returns true if the count of the Message invocations corresponds the number of defined expectations
func (*ParcelMock) MinimockMessageInspect ¶ added in v0.9.0
func (m *ParcelMock) MinimockMessageInspect()
MinimockMessageInspect logs each unmet expectation
func (*ParcelMock) MinimockPulseDone ¶ added in v0.9.0
func (m *ParcelMock) MinimockPulseDone() bool
MinimockPulseDone returns true if the count of the Pulse invocations corresponds the number of defined expectations
func (*ParcelMock) MinimockPulseInspect ¶ added in v0.9.0
func (m *ParcelMock) MinimockPulseInspect()
MinimockPulseInspect logs each unmet expectation
func (*ParcelMock) MinimockSetSenderDone ¶ added in v0.9.0
func (m *ParcelMock) MinimockSetSenderDone() bool
MinimockSetSenderDone returns true if the count of the SetSender invocations corresponds the number of defined expectations
func (*ParcelMock) MinimockSetSenderInspect ¶ added in v0.9.0
func (m *ParcelMock) MinimockSetSenderInspect()
MinimockSetSenderInspect logs each unmet expectation
func (*ParcelMock) MinimockTypeDone ¶ added in v0.9.0
func (m *ParcelMock) MinimockTypeDone() bool
MinimockTypeDone returns true if the count of the Type invocations corresponds the number of defined expectations
func (*ParcelMock) MinimockTypeInspect ¶ added in v0.9.0
func (m *ParcelMock) MinimockTypeInspect()
MinimockTypeInspect logs each unmet expectation
func (*ParcelMock) MinimockWait ¶ added in v0.7.5
func (m *ParcelMock) MinimockWait(timeout mm_time.Duration)
MinimockWait waits for all mocked methods to be called the expected number of times
func (*ParcelMock) Pulse ¶ added in v0.7.5
func (mmPulse *ParcelMock) Pulse() (p1 mm_insolar.PulseNumber)
Pulse implements insolar.Parcel
func (*ParcelMock) PulseAfterCounter ¶ added in v0.9.0
func (mmPulse *ParcelMock) PulseAfterCounter() uint64
PulseAfterCounter returns a count of finished ParcelMock.Pulse invocations
func (*ParcelMock) PulseBeforeCounter ¶ added in v0.9.0
func (mmPulse *ParcelMock) PulseBeforeCounter() uint64
PulseBeforeCounter returns a count of ParcelMock.Pulse invocations
func (*ParcelMock) SetSender ¶ added in v0.9.0
func (mmSetSender *ParcelMock) SetSender(r1 mm_insolar.Reference)
SetSender implements insolar.Parcel
func (*ParcelMock) SetSenderAfterCounter ¶ added in v0.9.0
func (mmSetSender *ParcelMock) SetSenderAfterCounter() uint64
SetSenderAfterCounter returns a count of finished ParcelMock.SetSender invocations
func (*ParcelMock) SetSenderBeforeCounter ¶ added in v0.9.0
func (mmSetSender *ParcelMock) SetSenderBeforeCounter() uint64
SetSenderBeforeCounter returns a count of ParcelMock.SetSender invocations
func (*ParcelMock) Type ¶ added in v0.7.5
func (mmType *ParcelMock) Type() (m1 mm_insolar.MessageType)
Type implements insolar.Parcel
func (*ParcelMock) TypeAfterCounter ¶ added in v0.9.0
func (mmType *ParcelMock) TypeAfterCounter() uint64
TypeAfterCounter returns a count of finished ParcelMock.Type invocations
func (*ParcelMock) TypeBeforeCounter ¶ added in v0.9.0
func (mmType *ParcelMock) TypeBeforeCounter() uint64
TypeBeforeCounter returns a count of ParcelMock.Type invocations
type ParcelMockAllowedSenderObjectAndRoleExpectation ¶ added in v0.7.5
type ParcelMockAllowedSenderObjectAndRoleExpectation struct { Counter uint64 // contains filtered or unexported fields }
ParcelMockAllowedSenderObjectAndRoleExpectation specifies expectation struct of the Parcel.AllowedSenderObjectAndRole
type ParcelMockAllowedSenderObjectAndRoleResults ¶ added in v0.9.0
type ParcelMockAllowedSenderObjectAndRoleResults struct {
// contains filtered or unexported fields
}
ParcelMockAllowedSenderObjectAndRoleResults contains results of the Parcel.AllowedSenderObjectAndRole
type ParcelMockContextExpectation ¶ added in v0.7.5
type ParcelMockContextExpectation struct { Counter uint64 // contains filtered or unexported fields }
ParcelMockContextExpectation specifies expectation struct of the Parcel.Context
func (*ParcelMockContextExpectation) Then ¶ added in v0.9.0
func (e *ParcelMockContextExpectation) Then(c2 context.Context) *ParcelMock
Then sets up Parcel.Context return parameters for the expectation previously defined by the When method
type ParcelMockContextParams ¶ added in v0.9.0
type ParcelMockContextParams struct {
// contains filtered or unexported fields
}
ParcelMockContextParams contains parameters of the Parcel.Context
type ParcelMockContextResults ¶ added in v0.9.0
type ParcelMockContextResults struct {
// contains filtered or unexported fields
}
ParcelMockContextResults contains results of the Parcel.Context
type ParcelMockDefaultRoleExpectation ¶ added in v0.7.5
type ParcelMockDefaultRoleExpectation struct { Counter uint64 // contains filtered or unexported fields }
ParcelMockDefaultRoleExpectation specifies expectation struct of the Parcel.DefaultRole
type ParcelMockDefaultRoleResults ¶ added in v0.9.0
type ParcelMockDefaultRoleResults struct {
// contains filtered or unexported fields
}
ParcelMockDefaultRoleResults contains results of the Parcel.DefaultRole
type ParcelMockDefaultTargetExpectation ¶ added in v0.7.5
type ParcelMockDefaultTargetExpectation struct { Counter uint64 // contains filtered or unexported fields }
ParcelMockDefaultTargetExpectation specifies expectation struct of the Parcel.DefaultTarget
type ParcelMockDefaultTargetResults ¶ added in v0.9.0
type ParcelMockDefaultTargetResults struct {
// contains filtered or unexported fields
}
ParcelMockDefaultTargetResults contains results of the Parcel.DefaultTarget
type ParcelMockGetCallerExpectation ¶ added in v0.7.5
type ParcelMockGetCallerExpectation struct { Counter uint64 // contains filtered or unexported fields }
ParcelMockGetCallerExpectation specifies expectation struct of the Parcel.GetCaller
type ParcelMockGetCallerResults ¶ added in v0.9.0
type ParcelMockGetCallerResults struct {
// contains filtered or unexported fields
}
ParcelMockGetCallerResults contains results of the Parcel.GetCaller
type ParcelMockGetSenderExpectation ¶ added in v0.7.5
type ParcelMockGetSenderExpectation struct { Counter uint64 // contains filtered or unexported fields }
ParcelMockGetSenderExpectation specifies expectation struct of the Parcel.GetSender
type ParcelMockGetSenderResults ¶ added in v0.9.0
type ParcelMockGetSenderResults struct {
// contains filtered or unexported fields
}
ParcelMockGetSenderResults contains results of the Parcel.GetSender
type ParcelMockGetSignExpectation ¶ added in v0.7.5
type ParcelMockGetSignExpectation struct { Counter uint64 // contains filtered or unexported fields }
ParcelMockGetSignExpectation specifies expectation struct of the Parcel.GetSign
type ParcelMockGetSignResults ¶ added in v0.9.0
type ParcelMockGetSignResults struct {
// contains filtered or unexported fields
}
ParcelMockGetSignResults contains results of the Parcel.GetSign
type ParcelMockMessageExpectation ¶ added in v0.7.5
type ParcelMockMessageExpectation struct { Counter uint64 // contains filtered or unexported fields }
ParcelMockMessageExpectation specifies expectation struct of the Parcel.Message
type ParcelMockMessageResults ¶ added in v0.9.0
type ParcelMockMessageResults struct {
// contains filtered or unexported fields
}
ParcelMockMessageResults contains results of the Parcel.Message
type ParcelMockPulseExpectation ¶ added in v0.7.5
type ParcelMockPulseExpectation struct { Counter uint64 // contains filtered or unexported fields }
ParcelMockPulseExpectation specifies expectation struct of the Parcel.Pulse
type ParcelMockPulseResults ¶ added in v0.9.0
type ParcelMockPulseResults struct {
// contains filtered or unexported fields
}
ParcelMockPulseResults contains results of the Parcel.Pulse
type ParcelMockSetSenderExpectation ¶ added in v0.9.0
type ParcelMockSetSenderExpectation struct { Counter uint64 // contains filtered or unexported fields }
ParcelMockSetSenderExpectation specifies expectation struct of the Parcel.SetSender
type ParcelMockSetSenderParams ¶ added in v0.9.0
type ParcelMockSetSenderParams struct {
// contains filtered or unexported fields
}
ParcelMockSetSenderParams contains parameters of the Parcel.SetSender
type ParcelMockTypeExpectation ¶ added in v0.7.5
type ParcelMockTypeExpectation struct { Counter uint64 // contains filtered or unexported fields }
ParcelMockTypeExpectation specifies expectation struct of the Parcel.Type
type ParcelMockTypeResults ¶ added in v0.9.0
type ParcelMockTypeResults struct {
// contains filtered or unexported fields
}
ParcelMockTypeResults contains results of the Parcel.Type
type PulseDistributorMock ¶ added in v0.7.5
type PulseDistributorMock struct { DistributeMock mPulseDistributorMockDistribute // contains filtered or unexported fields }
PulseDistributorMock implements insolar.PulseDistributor
func NewPulseDistributorMock ¶ added in v0.7.5
func NewPulseDistributorMock(t minimock.Tester) *PulseDistributorMock
NewPulseDistributorMock returns a mock for insolar.PulseDistributor
func (*PulseDistributorMock) Distribute ¶ added in v0.7.5
func (mmDistribute *PulseDistributorMock) Distribute(ctx context.Context, p1 mm_insolar.Pulse)
Distribute implements insolar.PulseDistributor
func (*PulseDistributorMock) DistributeAfterCounter ¶ added in v0.9.0
func (mmDistribute *PulseDistributorMock) DistributeAfterCounter() uint64
DistributeAfterCounter returns a count of finished PulseDistributorMock.Distribute invocations
func (*PulseDistributorMock) DistributeBeforeCounter ¶ added in v0.9.0
func (mmDistribute *PulseDistributorMock) DistributeBeforeCounter() uint64
DistributeBeforeCounter returns a count of PulseDistributorMock.Distribute invocations
func (*PulseDistributorMock) MinimockDistributeDone ¶ added in v0.9.0
func (m *PulseDistributorMock) MinimockDistributeDone() bool
MinimockDistributeDone returns true if the count of the Distribute invocations corresponds the number of defined expectations
func (*PulseDistributorMock) MinimockDistributeInspect ¶ added in v0.9.0
func (m *PulseDistributorMock) MinimockDistributeInspect()
MinimockDistributeInspect logs each unmet expectation
func (*PulseDistributorMock) MinimockFinish ¶ added in v0.7.5
func (m *PulseDistributorMock) MinimockFinish()
MinimockFinish checks that all mocked methods have been called the expected number of times
func (*PulseDistributorMock) MinimockWait ¶ added in v0.7.5
func (m *PulseDistributorMock) MinimockWait(timeout mm_time.Duration)
MinimockWait waits for all mocked methods to be called the expected number of times
type PulseDistributorMockDistributeExpectation ¶ added in v0.7.5
type PulseDistributorMockDistributeExpectation struct { Counter uint64 // contains filtered or unexported fields }
PulseDistributorMockDistributeExpectation specifies expectation struct of the PulseDistributor.Distribute
type PulseDistributorMockDistributeParams ¶ added in v0.9.0
type PulseDistributorMockDistributeParams struct {
// contains filtered or unexported fields
}
PulseDistributorMockDistributeParams contains parameters of the PulseDistributor.Distribute
type PulseManagerMock ¶ added in v0.6.3
type PulseManagerMock struct { SetMock mPulseManagerMockSet // contains filtered or unexported fields }
PulseManagerMock implements insolar.PulseManager
func NewPulseManagerMock ¶ added in v0.6.3
func NewPulseManagerMock(t minimock.Tester) *PulseManagerMock
NewPulseManagerMock returns a mock for insolar.PulseManager
func (*PulseManagerMock) MinimockFinish ¶ added in v0.6.3
func (m *PulseManagerMock) MinimockFinish()
MinimockFinish checks that all mocked methods have been called the expected number of times
func (*PulseManagerMock) MinimockSetDone ¶ added in v0.9.0
func (m *PulseManagerMock) MinimockSetDone() bool
MinimockSetDone returns true if the count of the Set invocations corresponds the number of defined expectations
func (*PulseManagerMock) MinimockSetInspect ¶ added in v0.9.0
func (m *PulseManagerMock) MinimockSetInspect()
MinimockSetInspect logs each unmet expectation
func (*PulseManagerMock) MinimockWait ¶ added in v0.6.3
func (m *PulseManagerMock) MinimockWait(timeout mm_time.Duration)
MinimockWait waits for all mocked methods to be called the expected number of times
func (*PulseManagerMock) Set ¶ added in v0.6.3
func (mmSet *PulseManagerMock) Set(ctx context.Context, pulse mm_insolar.Pulse) (err error)
Set implements insolar.PulseManager
func (*PulseManagerMock) SetAfterCounter ¶ added in v0.9.0
func (mmSet *PulseManagerMock) SetAfterCounter() uint64
SetAfterCounter returns a count of finished PulseManagerMock.Set invocations
func (*PulseManagerMock) SetBeforeCounter ¶ added in v0.9.0
func (mmSet *PulseManagerMock) SetBeforeCounter() uint64
SetBeforeCounter returns a count of PulseManagerMock.Set invocations
type PulseManagerMockSetExpectation ¶ added in v0.7.5
type PulseManagerMockSetExpectation struct { Counter uint64 // contains filtered or unexported fields }
PulseManagerMockSetExpectation specifies expectation struct of the PulseManager.Set
func (*PulseManagerMockSetExpectation) Then ¶ added in v0.9.0
func (e *PulseManagerMockSetExpectation) Then(err error) *PulseManagerMock
Then sets up PulseManager.Set return parameters for the expectation previously defined by the When method
type PulseManagerMockSetParams ¶ added in v0.6.3
type PulseManagerMockSetParams struct {
// contains filtered or unexported fields
}
PulseManagerMockSetParams contains parameters of the PulseManager.Set
type PulseManagerMockSetResults ¶ added in v0.9.0
type PulseManagerMockSetResults struct {
// contains filtered or unexported fields
}
PulseManagerMockSetResults contains results of the PulseManager.Set
type TerminationHandlerMock ¶ added in v0.9.0
type TerminationHandlerMock struct { AbortMock mTerminationHandlerMockAbort LeaveMock mTerminationHandlerMockLeave OnLeaveApprovedMock mTerminationHandlerMockOnLeaveApproved TerminatingMock mTerminationHandlerMockTerminating // contains filtered or unexported fields }
TerminationHandlerMock implements insolar.TerminationHandler
func NewTerminationHandlerMock ¶ added in v0.9.0
func NewTerminationHandlerMock(t minimock.Tester) *TerminationHandlerMock
NewTerminationHandlerMock returns a mock for insolar.TerminationHandler
func (*TerminationHandlerMock) Abort ¶ added in v0.9.0
func (mmAbort *TerminationHandlerMock) Abort(reason string)
Abort implements insolar.TerminationHandler
func (*TerminationHandlerMock) AbortAfterCounter ¶ added in v0.9.0
func (mmAbort *TerminationHandlerMock) AbortAfterCounter() uint64
AbortAfterCounter returns a count of finished TerminationHandlerMock.Abort invocations
func (*TerminationHandlerMock) AbortBeforeCounter ¶ added in v0.9.0
func (mmAbort *TerminationHandlerMock) AbortBeforeCounter() uint64
AbortBeforeCounter returns a count of TerminationHandlerMock.Abort invocations
func (*TerminationHandlerMock) Leave ¶ added in v0.9.0
func (mmLeave *TerminationHandlerMock) Leave(ctx context.Context, p1 mm_insolar.PulseNumber)
Leave implements insolar.TerminationHandler
func (*TerminationHandlerMock) LeaveAfterCounter ¶ added in v0.9.0
func (mmLeave *TerminationHandlerMock) LeaveAfterCounter() uint64
LeaveAfterCounter returns a count of finished TerminationHandlerMock.Leave invocations
func (*TerminationHandlerMock) LeaveBeforeCounter ¶ added in v0.9.0
func (mmLeave *TerminationHandlerMock) LeaveBeforeCounter() uint64
LeaveBeforeCounter returns a count of TerminationHandlerMock.Leave invocations
func (*TerminationHandlerMock) MinimockAbortDone ¶ added in v0.9.0
func (m *TerminationHandlerMock) MinimockAbortDone() bool
MinimockAbortDone returns true if the count of the Abort invocations corresponds the number of defined expectations
func (*TerminationHandlerMock) MinimockAbortInspect ¶ added in v0.9.0
func (m *TerminationHandlerMock) MinimockAbortInspect()
MinimockAbortInspect logs each unmet expectation
func (*TerminationHandlerMock) MinimockFinish ¶ added in v0.9.0
func (m *TerminationHandlerMock) MinimockFinish()
MinimockFinish checks that all mocked methods have been called the expected number of times
func (*TerminationHandlerMock) MinimockLeaveDone ¶ added in v0.9.0
func (m *TerminationHandlerMock) MinimockLeaveDone() bool
MinimockLeaveDone returns true if the count of the Leave invocations corresponds the number of defined expectations
func (*TerminationHandlerMock) MinimockLeaveInspect ¶ added in v0.9.0
func (m *TerminationHandlerMock) MinimockLeaveInspect()
MinimockLeaveInspect logs each unmet expectation
func (*TerminationHandlerMock) MinimockOnLeaveApprovedDone ¶ added in v0.9.0
func (m *TerminationHandlerMock) MinimockOnLeaveApprovedDone() bool
MinimockOnLeaveApprovedDone returns true if the count of the OnLeaveApproved invocations corresponds the number of defined expectations
func (*TerminationHandlerMock) MinimockOnLeaveApprovedInspect ¶ added in v0.9.0
func (m *TerminationHandlerMock) MinimockOnLeaveApprovedInspect()
MinimockOnLeaveApprovedInspect logs each unmet expectation
func (*TerminationHandlerMock) MinimockTerminatingDone ¶ added in v0.9.0
func (m *TerminationHandlerMock) MinimockTerminatingDone() bool
MinimockTerminatingDone returns true if the count of the Terminating invocations corresponds the number of defined expectations
func (*TerminationHandlerMock) MinimockTerminatingInspect ¶ added in v0.9.0
func (m *TerminationHandlerMock) MinimockTerminatingInspect()
MinimockTerminatingInspect logs each unmet expectation
func (*TerminationHandlerMock) MinimockWait ¶ added in v0.9.0
func (m *TerminationHandlerMock) MinimockWait(timeout mm_time.Duration)
MinimockWait waits for all mocked methods to be called the expected number of times
func (*TerminationHandlerMock) OnLeaveApproved ¶ added in v0.9.0
func (mmOnLeaveApproved *TerminationHandlerMock) OnLeaveApproved(ctx context.Context)
OnLeaveApproved implements insolar.TerminationHandler
func (*TerminationHandlerMock) OnLeaveApprovedAfterCounter ¶ added in v0.9.0
func (mmOnLeaveApproved *TerminationHandlerMock) OnLeaveApprovedAfterCounter() uint64
OnLeaveApprovedAfterCounter returns a count of finished TerminationHandlerMock.OnLeaveApproved invocations
func (*TerminationHandlerMock) OnLeaveApprovedBeforeCounter ¶ added in v0.9.0
func (mmOnLeaveApproved *TerminationHandlerMock) OnLeaveApprovedBeforeCounter() uint64
OnLeaveApprovedBeforeCounter returns a count of TerminationHandlerMock.OnLeaveApproved invocations
func (*TerminationHandlerMock) Terminating ¶ added in v0.9.0
func (mmTerminating *TerminationHandlerMock) Terminating() (b1 bool)
Terminating implements insolar.TerminationHandler
func (*TerminationHandlerMock) TerminatingAfterCounter ¶ added in v0.9.0
func (mmTerminating *TerminationHandlerMock) TerminatingAfterCounter() uint64
TerminatingAfterCounter returns a count of finished TerminationHandlerMock.Terminating invocations
func (*TerminationHandlerMock) TerminatingBeforeCounter ¶ added in v0.9.0
func (mmTerminating *TerminationHandlerMock) TerminatingBeforeCounter() uint64
TerminatingBeforeCounter returns a count of TerminationHandlerMock.Terminating invocations
type TerminationHandlerMockAbortExpectation ¶ added in v0.9.0
type TerminationHandlerMockAbortExpectation struct { Counter uint64 // contains filtered or unexported fields }
TerminationHandlerMockAbortExpectation specifies expectation struct of the TerminationHandler.Abort
type TerminationHandlerMockAbortParams ¶ added in v0.9.0
type TerminationHandlerMockAbortParams struct {
// contains filtered or unexported fields
}
TerminationHandlerMockAbortParams contains parameters of the TerminationHandler.Abort
type TerminationHandlerMockLeaveExpectation ¶ added in v0.9.0
type TerminationHandlerMockLeaveExpectation struct { Counter uint64 // contains filtered or unexported fields }
TerminationHandlerMockLeaveExpectation specifies expectation struct of the TerminationHandler.Leave
type TerminationHandlerMockLeaveParams ¶ added in v0.9.0
type TerminationHandlerMockLeaveParams struct {
// contains filtered or unexported fields
}
TerminationHandlerMockLeaveParams contains parameters of the TerminationHandler.Leave
type TerminationHandlerMockOnLeaveApprovedExpectation ¶ added in v0.9.0
type TerminationHandlerMockOnLeaveApprovedExpectation struct { Counter uint64 // contains filtered or unexported fields }
TerminationHandlerMockOnLeaveApprovedExpectation specifies expectation struct of the TerminationHandler.OnLeaveApproved
type TerminationHandlerMockOnLeaveApprovedParams ¶ added in v0.9.0
type TerminationHandlerMockOnLeaveApprovedParams struct {
// contains filtered or unexported fields
}
TerminationHandlerMockOnLeaveApprovedParams contains parameters of the TerminationHandler.OnLeaveApproved
type TerminationHandlerMockTerminatingExpectation ¶ added in v0.9.0
type TerminationHandlerMockTerminatingExpectation struct { Counter uint64 // contains filtered or unexported fields }
TerminationHandlerMockTerminatingExpectation specifies expectation struct of the TerminationHandler.Terminating
type TerminationHandlerMockTerminatingResults ¶ added in v0.9.0
type TerminationHandlerMockTerminatingResults struct {
// contains filtered or unexported fields
}
TerminationHandlerMockTerminatingResults contains results of the TerminationHandler.Terminating
Source Files ¶
- certificate_getter_mock.go
- certificate_manager_mock.go
- certificate_mock.go
- contract_requester_mock.go
- core.go
- cryptography_service_mock.go
- discovery_node_mock.go
- discovery_nodes_log_reader.go
- jet_releaser_mock.go
- key_processor_mock.go
- leaver_mock.go
- logic_runner_mock.go
- machine_logic_executor_mock.go
- parcel_mock.go
- pulse_distributor_mock.go
- pulse_manager_mock.go
- termination_handler_mock.go