Documentation
¶
Overview ¶
Package testselection owns the conservative typed behavioral selection policy.
Index ¶
Constants ¶
View Source
const PolicyVersion = 2
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LanePolicy ¶ added in v0.45.0
LanePolicy assigns repository paths, including dynamically read inputs, to a behavioral lane.
type Policy ¶
type Policy struct {
Version int `json:"version"`
Lanes []LanePolicy `json:"lanes"`
GeneratedGoPatterns []string `json:"generated_go_patterns"`
}
Policy is the versioned repository selection policy.
type Result ¶
type Result struct {
Version int `json:"version"`
Outcome string `json:"outcome"`
Lanes []Lane `json:"lanes"`
Packages []Package `json:"packages"`
Diagnostics []string `json:"diagnostics"`
}
Result is the stable machine-readable selection interface. Outcome is one of selected, empty, widened, or refused. Every slice is emitted, including when empty, so consumers do not need null handling.
Click to show internal directories.
Click to hide internal directories.