Documentation
¶
Overview ¶
Package keystoretest provides shared test suites for all KeyStore implementations. Each backend (inmem, gorm, fs, gae) calls these tests with its own factory function.
Index ¶
- func RunAll(t *testing.T, factory Factory)
- func TestDeleteKey(t *testing.T, factory Factory)
- func TestDeleteNonexistent(t *testing.T, factory Factory)
- func TestGetCurrentKid(t *testing.T, factory Factory)
- func TestKidResolverAsymmetric(t *testing.T, factory Factory)
- func TestKidResolverBasic(t *testing.T, factory Factory)
- func TestListKeys(t *testing.T, factory Factory)
- func TestListKeysEmpty(t *testing.T, factory Factory)
- func TestMultipleHosts(t *testing.T, factory Factory)
- func TestNotFound(t *testing.T, factory Factory)
- func TestOverwriteKey(t *testing.T, factory Factory)
- func TestPersistence(t *testing.T, factory Factory)
- func TestRegisterAndGet(t *testing.T, factory Factory)
- func TestRegisterAndGetAsymmetricKey(t *testing.T, factory Factory)
- type Factory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestDeleteKey ¶
func TestDeleteNonexistent ¶
func TestGetCurrentKid ¶ added in v0.0.38
func TestKidResolverAsymmetric ¶ added in v0.0.38
func TestKidResolverBasic ¶ added in v0.0.38
func TestListKeys ¶
func TestListKeysEmpty ¶
func TestMultipleHosts ¶
func TestNotFound ¶
func TestOverwriteKey ¶
func TestPersistence ¶
func TestRegisterAndGet ¶
func TestRegisterAndGetAsymmetricKey ¶ added in v0.0.35
Types ¶
Click to show internal directories.
Click to hide internal directories.