Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Querier ¶
type Querier struct { Spec *QuerierSpec `yaml:"spec"` // contains filtered or unexported fields }
Querier defines the query and set of checks.
func NewQuerier ¶
func NewQuerier(spec *QuerierSpec) (Querier, error)
NewQuerier returns a new configured Querier.
func (*Querier) AddtoRunner ¶
AddtoRunner configures a runner with the Querier for this check.
type QuerierSpec ¶
type QuerierSpec struct { BackupNamespace string `yaml:"backup_namespace"` MaxAge time.Duration `yaml:"max_age"` }
QuerierSpec defines the Specification for a Querier.
Click to show internal directories.
Click to hide internal directories.