Documentation ¶
Index ¶
- func NewTestCA(ctx context.Context) (*identity.FullCertificateAuthority, error)
- func NewTestIdentity(ctx context.Context) (*identity.FullIdentity, error)
- func NewTestManageableFullIdentity(ctx context.Context) (*identity.ManageableFullIdentity, error)
- func NewTestManageablePeerIdentity(ctx context.Context) (*identity.ManageablePeerIdentity, error)
- func RevocationDBsTest(t *testing.T, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTestCA ¶
func NewTestCA(ctx context.Context) (*identity.FullCertificateAuthority, error)
NewTestCA returns a ca with a default difficulty and concurrency for use in tests
func NewTestIdentity ¶
func NewTestIdentity(ctx context.Context) (*identity.FullIdentity, error)
NewTestIdentity is a helper function to generate new node identities with correct difficulty and concurrency
func NewTestManageableFullIdentity ¶
func NewTestManageableFullIdentity(ctx context.Context) (*identity.ManageableFullIdentity, error)
NewTestManageableFullIdentity returns a new manageable full identity for use in tests.
func NewTestManageablePeerIdentity ¶
func NewTestManageablePeerIdentity(ctx context.Context) (*identity.ManageablePeerIdentity, error)
NewTestManageablePeerIdentity returns a new manageable peer identity for use in tests.
func RevocationDBsTest ¶
func RevocationDBsTest(t *testing.T, test func(*testing.T, extensions.RevocationDB, storage.KeyValueStore))
RevocationDBsTest runs the passed test function with each type of revocation database.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.