rules

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FilesystemRuleFinder added in v0.5.4

type FilesystemRuleFinder struct {
	// contains filtered or unexported fields
}

func NewFilesystemRuleFinder added in v0.5.4

func NewFilesystemRuleFinder(config *v1beta1.FilesystemRulesSpec, opts ...FilesystemRuleFinderOption) *FilesystemRuleFinder

func (*FilesystemRuleFinder) Find added in v0.5.4

type FilesystemRuleFinderOption added in v0.5.4

type FilesystemRuleFinderOption func(*staticRuleFinderOptions)

func WithFS added in v0.5.4

func WithFS(fs fs.FS) FilesystemRuleFinderOption

type RuleGroup added in v0.5.4

type RuleGroup rulefmt.RuleGroup

Alias so we can implement the Finder[T] interface on Prometheus' rulefmt.RuleGroup

func (RuleGroup) Clone added in v0.5.4

func (r RuleGroup) Clone() RuleGroup

type RuleGroupList added in v0.5.4

type RuleGroupList []RuleGroup

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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