Documentation ¶
Index ¶
- Constants
- Variables
- func PrepareEnv(ctx context.Context, sourceEnv cfg.Context, ephemeral bool) cfg.Context
- func PrepareTest(ctx context.Context, pl *parsing.PackageLoader, env cfg.Context, ...) (compute.Computable[StoredTestResults], error)
- func UploadResults(ctx context.Context, env cfg.Context, testPkg schema.PackageName, ...) (compute.Computable[oci.ImageID], error)
- type StoredTestResults
- type TestOpts
Constants ¶
View Source
const TestRunAction = "test.run"
Variables ¶
View Source
var (
UseNamespaceCloud = false
)
Functions ¶
func PrepareEnv ¶
func PrepareTest ¶
func PrepareTest(ctx context.Context, pl *parsing.PackageLoader, env cfg.Context, testRef *schema.PackageRef, opts TestOpts) (compute.Computable[StoredTestResults], error)
func UploadResults ¶
func UploadResults(ctx context.Context, env cfg.Context, testPkg schema.PackageName, storedResults compute.Computable[StoredTestResults]) (compute.Computable[oci.ImageID], error)
Types ¶
type StoredTestResults ¶
type StoredTestResults struct { Bundle *storage.TestResultBundle TestBundleSummary *storage.TestBundle TestPackage schema.PackageName Packages pkggraph.SealedPackageLoader }
Click to show internal directories.
Click to hide internal directories.