Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Defaults ¶
func Defaults( deniedLabels string, color linter.PromQLinterColorMode, ) []linter.PromQLinterPlugin
Defaults returns the set of the default linter plugin.
func NewDeniedLabelPlugin ¶ added in v0.1.2
func NewDeniedLabelPlugin( deniedLabels string, color linter.PromQLinterColorMode, ) linter.PromQLinterPlugin
NewDeniedLabelPlugin creates a denied-labels plugin.
Types ¶
type LabelValuePattern ¶ added in v0.1.2
type LabelValuePattern string
LabelValuePattern represents an regex pattern.
Click to show internal directories.
Click to hide internal directories.