Documentation
¶
Overview ¶
Package gate runs a gate: a list of checks, each a command whose result is read against thresholds decided in advance (docs/spec/gates.md). No model is ever asked whether to pass.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Check ¶
type Check struct {
ID string `yaml:"id"`
Run string `yaml:"run"`
Output string `yaml:"output"` // exit | sarif
Max map[string]int `yaml:"max"` // per SARIF level: error, warning, note
Optional bool `yaml:"optional"`
Timeout string `yaml:"timeout"` // e.g. "10m"; default 10 minutes
}
Check is one command of a gate.
Click to show internal directories.
Click to hide internal directories.