Documentation ¶
Index ¶
- Constants
- func CreateTempDir(t *testing.T, dir, pattern string) string
- func GetMockSigner(_ context.Context) (dsse.SignerVerifier, error)
- func NewLocalRegistry(ctx context.Context, options ...registry.Option) *httptest.Server
- func PublicKeyToPEM(pubKey crypto.PublicKey) (string, error)
- func Setup(t *testing.T) (context.Context, dsse.SignerVerifier)
- func UnsignedTestImage(rel ...string) string
- func UnsignedTestIndex(rel ...string) string
Constants ¶
View Source
const ( UseMockKMS = true AWSRegion = "us-east-1" AWSKMSKeyARN = "arn:aws:kms:us-east-1:175142243308:alias/doi-signing" // sandbox UnsignedLinuxAMD64ImageDigest = "sha256:da8b190665956ea07890a0273e2a9c96bfe291662f08e2860e868eef69c34620" UnsignedLinuxArm64ImageDigest = "sha256:7a76cec943853f9f7105b1976afa1bf7cd5bb6afc4e9d5852dd8da7cf81ae86e" )
Variables ¶
This section is empty.
Functions ¶
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
func UnsignedTestIndex ¶ added in v0.6.3
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.