predicates

package
v0.63.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AlertmanagerConfigSelectorLabelName  = "observability.giantswarm.io/kind"
	AlertmanagerConfigSelectorLabelValue = "alertmanager-config"
)

Variables

This section is empty.

Functions

func NewAlertmanagerConfigSecretsPredicate

func NewAlertmanagerConfigSecretsPredicate() (predicate.Predicate, error)

Filter only the Alertmanager configuration secrets

func NewAlertmanagerPodPredicate

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