test

package
v2.25.2 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2026 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRevocationListToStore added in v2.25.0

func AddRevocationListToStore(ctx context.Context, t *testing.T, s store.Store, expirationStart time.Time) map[string]*store.RevocationList

AddRevocationListToStore creates and stores multiple revocation lists with certificates. It returns a map of created revocation lists indexed by their IDs.

func CheckRevocationList added in v2.25.0

func CheckRevocationList(t *testing.T, expected, actual *store.RevocationList, ignoreRevocationTime bool)

func GetCertificate added in v2.25.0

func GetCertificate(c int, rev, exp time.Time) *store.RevocationListCertificate

func GetIssuerID added in v2.25.0

func GetIssuerID(i int) string

func MakeCRLConfig added in v2.25.0

func MakeCRLConfig() grpc.CRLConfig

func MakeConfig

func MakeConfig(t require.TestingT) service.Config

func MakeHTTPConfig added in v2.25.0

func MakeHTTPConfig() service.HTTPConfig

func MakeStorageConfig added in v2.7.18

func MakeStorageConfig() service.StorageConfig

func New

func New(t require.TestingT, cfg service.Config) func()

func NewCQLStore added in v2.16.0

func NewCQLStore(t require.TestingT) (*storeCqlDB.Store, func())

func NewMongoStore added in v2.7.18

func NewMongoStore(t require.TestingT) (*storeMongo.Store, func())

func NewStore added in v2.16.0

func NewStore(t require.TestingT) (store.Store, func())

func SetUp

func SetUp(t require.TestingT) (tearDown func())

Types

This section is empty.

Jump to

Keyboard shortcuts

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