Documentation
¶
Overview ¶
Package verdict reads and writes the verdict a run ends with.
Index ¶
Constants ¶
View Source
const ( Pass = "pass" Block = "block" Human = "human" BlockedExternal = "blocked-external" )
The statuses a run can end with (docs/spec/role-contract.md, "Verdict").
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Finding ¶
type Finding struct {
Rule string `yaml:"rule" json:"rule"`
Where string `yaml:"where,omitempty" json:"where,omitempty"`
Message string `yaml:"message,omitempty" json:"message,omitempty"`
Level string `yaml:"level,omitempty" json:"level,omitempty"` // "warn" once enforcement downgraded it
}
Finding is one thing a check noticed.
Click to show internal directories.
Click to hide internal directories.