Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallSettings ¶
type CallSettings struct {
Key string `hcl:",label" json:"key"`
Selectors []SelectorSettings `hcl:"selector,block" json:"selector,omitempty"`
}
func (CallSettings) Validate ¶
func (cs CallSettings) Validate() error
type SelectorSettings ¶
type SelectorSettings struct {
Key string `hcl:",label" json:"key"`
Comment string `hcl:"comment,optional" json:"comment,omitempty"`
Severity string `hcl:"severity,optional" json:"severity,omitempty"`
RequiredLabels []string `hcl:"requiredLabels" json:"requiredLabels"`
}
func (SelectorSettings) GetSeverity ¶
func (ss SelectorSettings) GetSeverity(fallback checks.Severity) checks.Severity
func (SelectorSettings) Validate ¶
func (ss SelectorSettings) Validate() error
Click to show internal directories.
Click to hide internal directories.