predicates

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAlertmanagerConfigSecretsPredicate added in v0.23.0

func NewAlertmanagerConfigSecretsPredicate() (predicate.Predicate, error)

Filter only the Alertmanager configuration secrets

func NewAlertmanagerPodPredicate added in v0.10.2

func NewAlertmanagerPodPredicate() predicate.Predicate

NewAlertmanagerPodPredicate returns a predicate that filters only the Mimir Alertmanager pod.

Types

type GrafanaPodRecreatedPredicate

type GrafanaPodRecreatedPredicate struct {
	predicate.Funcs
}

GrafanaPodRecreatedPredicate implements an event handler predicate function. This predicate is used to trigger a reconciliation when the Grafana pod is recreated to ensure the Grafana instance is up to date.

func (GrafanaPodRecreatedPredicate) Create

func (GrafanaPodRecreatedPredicate) Delete

func (GrafanaPodRecreatedPredicate) Generic

func (GrafanaPodRecreatedPredicate) Update

When a grafana pod becomes ready, we want to trigger a reconciliation.

Jump to

Keyboard shortcuts

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