Documentation ¶
Index ¶
- Constants
- func CreateTempDir(t *testing.T, dir, pattern string) string
- func GenKeyMetadata(sv dsse.SignerVerifier) (*attestation.KeyMetadata, error)
- func GetMockSigner(_ context.Context) (dsse.SignerVerifier, error)
- func NewLocalRegistry(ctx context.Context, options ...registry.Option) *httptest.Server
- func Setup(t *testing.T) (context.Context, dsse.SignerVerifier)
- func UnsignedTestImage(rel ...string) string
Constants ¶
View Source
const ( UseMockTL = true UseMockKMS = true AWSRegion = "us-east-1" AWSKMSKeyARN = "arn:aws:kms:us-east-1:175142243308:alias/doi-signing" // sandbox )
Variables ¶
This section is empty.
Functions ¶
func GenKeyMetadata ¶ added in v0.4.4
func GenKeyMetadata(sv dsse.SignerVerifier) (*attestation.KeyMetadata, error)
LoadKeyMetadata loads the key metadata for the given signer verifier.
func GetMockSigner ¶ added in v0.1.2
func GetMockSigner(_ context.Context) (dsse.SignerVerifier, error)
func NewLocalRegistry ¶ added in v0.5.0
func UnsignedTestImage ¶ added in v0.3.1
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.