options

package
v0.85.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL