testutils

package
v0.9.15 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2019 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

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

func NodesErrorLogReader(logsDir string, writer io.Writer) chan struct{}

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 AvailabilityCheckerMock added in v0.9.8

type AvailabilityCheckerMock struct {
	IsAvailableMock mAvailabilityCheckerMockIsAvailable
	// contains filtered or unexported fields
}

AvailabilityCheckerMock implements insolar.AvailabilityChecker

func NewAvailabilityCheckerMock added in v0.9.8

func NewAvailabilityCheckerMock(t minimock.Tester) *AvailabilityCheckerMock

NewAvailabilityCheckerMock returns a mock for insolar.AvailabilityChecker

func (*AvailabilityCheckerMock) IsAvailable added in v0.9.8

func (mmIsAvailable *AvailabilityCheckerMock) IsAvailable(ctx context.Context) (b1 bool)

IsAvailable implements insolar.AvailabilityChecker

func (*AvailabilityCheckerMock) IsAvailableAfterCounter added in v0.9.8

func (mmIsAvailable *AvailabilityCheckerMock) IsAvailableAfterCounter() uint64

IsAvailableAfterCounter returns a count of finished AvailabilityCheckerMock.IsAvailable invocations

func (*AvailabilityCheckerMock) IsAvailableBeforeCounter added in v0.9.8

func (mmIsAvailable *AvailabilityCheckerMock) IsAvailableBeforeCounter() uint64

IsAvailableBeforeCounter returns a count of AvailabilityCheckerMock.IsAvailable invocations

func (*AvailabilityCheckerMock) MinimockFinish added in v0.9.8

func (m *AvailabilityCheckerMock) MinimockFinish()

MinimockFinish checks that all mocked methods have been called the expected number of times

func (*AvailabilityCheckerMock) MinimockIsAvailableDone added in v0.9.8

func (m *AvailabilityCheckerMock) MinimockIsAvailableDone() bool

MinimockIsAvailableDone returns true if the count of the IsAvailable invocations corresponds the number of defined expectations

func (*AvailabilityCheckerMock) MinimockIsAvailableInspect added in v0.9.8

func (m *AvailabilityCheckerMock) MinimockIsAvailableInspect()

MinimockIsAvailableInspect logs each unmet expectation

func (*AvailabilityCheckerMock) MinimockWait added in v0.9.8

func (m *AvailabilityCheckerMock) MinimockWait(timeout mm_time.Duration)

MinimockWait waits for all mocked methods to be called the expected number of times

type AvailabilityCheckerMockIsAvailableExpectation added in v0.9.8

type AvailabilityCheckerMockIsAvailableExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

AvailabilityCheckerMockIsAvailableExpectation specifies expectation struct of the AvailabilityChecker.IsAvailable

func (*AvailabilityCheckerMockIsAvailableExpectation) Then added in v0.9.8

Then sets up AvailabilityChecker.IsAvailable return parameters for the expectation previously defined by the When method

type AvailabilityCheckerMockIsAvailableParams added in v0.9.8

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

AvailabilityCheckerMockIsAvailableParams contains parameters of the AvailabilityChecker.IsAvailable

type AvailabilityCheckerMockIsAvailableResults added in v0.9.8

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

AvailabilityCheckerMockIsAvailableResults contains results of the AvailabilityChecker.IsAvailable

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

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

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

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

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

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) Unlock added in v0.9.0

func (mmUnlock *JetReleaserMock) Unlock(ctx context.Context, jetID insolar.ID) (err error)

Unlock implements hot.JetReleaser

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

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

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

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

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

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

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

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

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

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

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

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

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 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

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 SyncT added in v0.9.0

type SyncT struct {
	*testing.T
	// contains filtered or unexported fields
}

func (*SyncT) Error added in v0.9.0

func (t *SyncT) Error(args ...interface{})

func (*SyncT) Errorf added in v0.9.0

func (t *SyncT) Errorf(format string, args ...interface{})

func (*SyncT) Fail added in v0.9.0

func (t *SyncT) Fail()

func (*SyncT) FailNow added in v0.9.0

func (t *SyncT) FailNow()

func (*SyncT) Failed added in v0.9.0

func (t *SyncT) Failed() bool

func (*SyncT) Fatal added in v0.9.0

func (t *SyncT) Fatal(args ...interface{})

func (*SyncT) Fatalf added in v0.9.0

func (t *SyncT) Fatalf(format string, args ...interface{})

func (*SyncT) Helper added in v0.9.0

func (t *SyncT) Helper()

func (*SyncT) Log added in v0.9.0

func (t *SyncT) Log(args ...interface{})

func (*SyncT) Logf added in v0.9.0

func (t *SyncT) Logf(format string, args ...interface{})

func (*SyncT) Name added in v0.9.0

func (t *SyncT) Name() string

func (*SyncT) Skip added in v0.9.0

func (t *SyncT) Skip(args ...interface{})

func (*SyncT) SkipNow added in v0.9.0

func (t *SyncT) SkipNow()

func (*SyncT) Skipf added in v0.9.0

func (t *SyncT) Skipf(format string, args ...interface{})

func (*SyncT) Skipped added in v0.9.0

func (t *SyncT) Skipped() bool

type TerminationHandlerMock added in v0.9.0

type TerminationHandlerMock struct {
	LeaveMock mTerminationHandlerMockLeave

	OnLeaveApprovedMock mTerminationHandlerMockOnLeaveApproved

	TerminatingMock mTerminationHandlerMockTerminating
	// contains filtered or unexported fields
}

TerminationHandlerMock implements network.TerminationHandler

func NewTerminationHandlerMock added in v0.9.0

func NewTerminationHandlerMock(t minimock.Tester) *TerminationHandlerMock

NewTerminationHandlerMock returns a mock for network.TerminationHandler

func (*TerminationHandlerMock) Leave added in v0.9.0

func (mmLeave *TerminationHandlerMock) Leave(ctx context.Context, p1 insolar.PulseNumber)

Leave implements network.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) 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 network.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 network.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 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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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