test

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	USE_MOCK_TL     = true
	USE_MOCK_KMS    = true
	USE_MOCK_POLICY = true

	AwsRegion    = "us-east-1"
	AwsKmsKeyArn = "arn:aws:kms:us-east-1:175142243308:alias/doi-signing" // sandbox
)

Variables

This section is empty.

Functions

func CreateTempDir

func CreateTempDir(t *testing.T, dir, pattern string) string

func GetMockPolicy added in v0.1.2

func GetMockPolicy() policy.PolicyEvaluator

func GetMockSigner added in v0.1.2

func GetMockSigner(ctx context.Context) (dsse.SignerVerifier, error)

func Setup added in v0.1.2

Types

This section is empty.

Jump to

Keyboard shortcuts

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