Terminalize handled invocation failures
This commit is contained in:
@@ -21,6 +21,12 @@ type Store interface {
|
||||
Save(ctx context.Context, path string, m *Manifest) error
|
||||
}
|
||||
|
||||
// RunStore persists invocation-scoped run manifests.
|
||||
type RunStore interface {
|
||||
CreateRun(ctx context.Context, sessionID, campaign, runID string, force bool, requestedStages []string) (*RunManifest, error)
|
||||
SaveRun(ctx context.Context, path string, m *RunManifest) error
|
||||
}
|
||||
|
||||
// LocalStore stores manifests as JSON on the local filesystem.
|
||||
type LocalStore struct{}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user