Adopt native Notarius completion reports
This commit is contained in:
@@ -36,6 +36,9 @@ type RunRequest struct {
|
||||
ReceiptPath string
|
||||
LogPath string
|
||||
Timeout time.Duration
|
||||
Cache *string
|
||||
Debug bool
|
||||
DebugDirectory string
|
||||
Resume bool
|
||||
ChunkCache string
|
||||
References []ReferenceBinding
|
||||
@@ -154,6 +157,7 @@ type DiagnosticSummary struct {
|
||||
|
||||
// RunResult describes a successfully decoded and validated Notarius bundle.
|
||||
type RunResult struct {
|
||||
Report CompletionReport
|
||||
Receipt Receipt
|
||||
Index Index
|
||||
BundleRoot string
|
||||
@@ -165,3 +169,12 @@ type RunResult struct {
|
||||
Warnings []WarningSummary
|
||||
Diagnostics []DiagnosticSummary
|
||||
}
|
||||
|
||||
// CompletionReport contains facts reported by a successfully completed run.
|
||||
type CompletionReport struct {
|
||||
Pipeline string
|
||||
ArtifactCount int
|
||||
OutputDirectory string
|
||||
DebugDirectory string
|
||||
FallbackCount int
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user