rule

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2020 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGenericRuleOperator

func NewGenericRuleOperator(keyFunc KeyFunc) util.GenericRuleOperator

NewGenericRuleOperator returns a instance to operate prometheus rules

Types

type KeyFunc

type KeyFunc func(rule *v1.Rule) string

KeyFunc defines a function to generate key from v1.Rule

Jump to

Keyboard shortcuts

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