Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AlertmanagerStatus ¶
func AlertmanagerStatus(kclient kubernetes.Interface, a *monitoringv1.Alertmanager) (*monitoringv1.AlertmanagerStatus, []v1.Pod, error)
func ListOptions ¶
func ListOptions(name string) metav1.ListOptions
Types ¶
type Config ¶
type Config struct { Host string LocalHost string ConfigReloaderImage string ConfigReloaderCPU string ConfigReloaderMemory string AlertmanagerDefaultBaseImage string Namespaces []string Labels prometheusoperator.Labels CrdKinds monitoringv1.CrdKinds CrdGroup string EnableValidation bool ManageCRDs bool }
type Operator ¶
type Operator struct {
// contains filtered or unexported fields
}
Operator manages life cycle of Alertmanager deployments and monitoring configurations.
func (*Operator) RegisterMetrics ¶
func (c *Operator) RegisterMetrics(r prometheus.Registerer, reconcileErrorsCounter *prometheus.CounterVec, triggerByCounter *prometheus.CounterVec)
Click to show internal directories.
Click to hide internal directories.