Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DescribeAtom ¶
Types ¶
type Assignment ¶
type Orphan ¶
type Orphan struct {
Assignment Assignment `json:"assignment"`
Reference saga.DiffReference `json:"reference"`
Reason string `json:"reason"`
}
type Overlap ¶
type Overlap struct {
Atom gitdiff.Atom `json:"atom"`
CoveredBy []Assignment `json:"covered_by"`
}
type Report ¶
type Report struct {
Complete bool `json:"complete"`
CoverageScope string `json:"coverage_scope"`
Summary Summary `json:"summary"`
Uncovered []gitdiff.Atom `json:"uncovered"`
Overlaps []Overlap `json:"overlaps"`
Orphans []Orphan `json:"orphans"`
Targets []TargetSummary `json:"targets"`
SagaChanges []gitdiff.Atom `json:"saga_changes"`
Repository string `json:"repository"`
Base string `json:"base"`
Head string `json:"head"`
BaseOID string `json:"base_oid"`
HeadOID string `json:"head_oid"`
SchemaValid bool `json:"schema_valid"`
SchemaIssues []saga.Issue `json:"schema_issues"`
Ownership map[string][]Assignment `json:"-"`
}
Report is a machine-consumed contract. Every collection field is always present and never null, so an agent can index into it without first testing for a missing key: a complete saga reports "uncovered": [] rather than omitting the field or emitting null.
type TargetSummary ¶
Click to show internal directories.
Click to hide internal directories.