plugin

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2022 License: MIT Imports: 5 Imported by: 0

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 LabelName added in v0.1.2

type LabelName string

LabelName is the name of the label.

type LabelValuePattern added in v0.1.2

type LabelValuePattern string

LabelValuePattern represents an regex pattern.

Jump to

Keyboard shortcuts

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