Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditCommand ¶
type AuditCommand struct {
// contains filtered or unexported fields
}
AuditIndexCommand validates an index by checking existing chunks.
func (*AuditCommand) Register ¶
func (a *AuditCommand) Register(app *kingpin.Application)
type RuleCommand ¶
type RuleCommand struct { ClientConfig client.Config // Backend type (loki only) Backend string // Get Rule Groups Configs Namespace string RuleGroup string // Load Rules Config RuleFilesList []string RuleFiles string RuleFilesPath string // Sync/Diff Rules Config Namespaces string IgnoredNamespaces string // Prepare Rules Config InPlaceEdit bool AggregationLabel string AggregationLabelExcludedRuleGroups string // Lint Rules Config LintDryRun bool // Rules check flags Strict bool // List Rules Config Format string DisableColor bool // Diff Rules Config Verbose bool // contains filtered or unexported fields }
RuleCommand configures and executes rule related Loki operations
func (*RuleCommand) Register ¶
func (r *RuleCommand) Register(app *kingpin.Application)
Register rule related commands and flags with the kingpin application
Click to show internal directories.
Click to hide internal directories.