Documentation
¶
Index ¶
Constants ¶
View Source
const ( // ServiceAccountTlsCertPath is the path to the service account TLS certificate // used for TLS communication with the alertmanager API ServiceAccountTlsCertPath = "/var/run/secrets/kubernetes.io/serviceaccount/service-ca.crt" AlertmanagerSvcHost = "https://alertmanager-main.openshift-monitoring.svc.cluster.local:9094" )
Variables ¶
This section is empty.
Functions ¶
func FindPodDisruptionBudgetAtLimitSilence ¶
func FindPodDisruptionBudgetAtLimitSilence(amSilences []alertmanager.Silence) *alertmanager.Silence
func NewHTTPClient ¶ added in v1.15.0
func SetupWithManager ¶
func SetupWithManager(mgr ctrl.Manager, ownerDeployment *appsv1.Deployment) error
Types ¶
type Reconciler ¶
func NewReconciler ¶
func NewReconciler(mgr ctrl.Manager, namespace string, ownerDeployment *appsv1.Deployment) *Reconciler
func (*Reconciler) NewAlertmanagerApi ¶
func (r *Reconciler) NewAlertmanagerApi() (*alertmanager.Api, error)
func (*Reconciler) ReconcileAlerts ¶ added in v1.15.0
func (r *Reconciler) ReconcileAlerts(ctx context.Context) error
Click to show internal directories.
Click to hide internal directories.