Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AlertmanagerStatus ¶ added in v0.3.0
func AlertmanagerStatus(kclient kubernetes.Interface, a *monitoringv1.Alertmanager) (*monitoringv1.AlertmanagerStatus, []v1.Pod, error)
func ListOptions ¶ added in v0.3.0
func ListOptions(name string) metav1.ListOptions
func NewAlertmanagerCollector ¶ added in v0.10.0
Types ¶
type Config ¶ added in v0.5.0
type Config struct { Host string LocalHost string ConfigReloaderImage string ConfigReloaderCPU string ConfigReloaderMemory string AlertmanagerDefaultBaseImage string Namespaces prometheusoperator.Namespaces Labels prometheusoperator.Labels CrdKinds monitoringv1.CrdKinds EnableValidation bool ManageCRDs bool AlertManagerSelector string }
type Operator ¶
type Operator struct {
// contains filtered or unexported fields
}
Operator manages life cycle of Alertmanager deployments and monitoring configurations.
func New ¶
func New(c prometheusoperator.Config, logger log.Logger, r prometheus.Registerer) (*Operator, error)
New creates a new controller.
Click to show internal directories.
Click to hide internal directories.