prometheusrule

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: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PrometheusRuleFinder

type PrometheusRuleFinder struct {
	PrometheusRuleFinderOptions
	// contains filtered or unexported fields
}

PrometheusRuleFinder can find rules defined in PrometheusRule CRDs.

func NewPrometheusRuleFinder

func NewPrometheusRuleFinder(k8sClient client.Client, opts ...PrometheusRuleFinderOption) *PrometheusRuleFinder

func (*PrometheusRuleFinder) Find

type PrometheusRuleFinderOption

type PrometheusRuleFinderOption func(*PrometheusRuleFinderOptions)

func WithLogger

func WithLogger(lg *slog.Logger) PrometheusRuleFinderOption

func WithNamespaces

func WithNamespaces(namespaces ...string) PrometheusRuleFinderOption

type PrometheusRuleFinderOptions

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

Jump to

Keyboard shortcuts

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