Documentation
¶
Index ¶
- func ListOptions(name string) metav1.ListOptions
- func Status(ctx context.Context, kclient kubernetes.Interface, ...) (*monitoringv1.AlertmanagerStatus, []v1.Pod, error)
- func ValidateConfig(amc *monitoringv1alpha1.AlertmanagerConfig) error
- func ValidateURL(url string) (*config.URL, error)
- type Config
- type Operator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListOptions ¶ added in v0.3.0
func ListOptions(name string) metav1.ListOptions
func Status ¶ added in v0.47.0
func Status(ctx context.Context, kclient kubernetes.Interface, a *monitoringv1.Alertmanager) (*monitoringv1.AlertmanagerStatus, []v1.Pod, error)
func ValidateConfig ¶ added in v0.52.0
func ValidateConfig(amc *monitoringv1alpha1.AlertmanagerConfig) error
func ValidateURL ¶ added in v0.53.0
ValidateURL against the config.URL This could potentially become a regex and be validated via OpenAPI but right now, since we know we need to unmarshal into an upstream type after conversion, we validate we don't error when doing so
Types ¶
type Operator ¶
type Operator struct {
// contains filtered or unexported fields
}
Operator manages life cycle of Alertmanager deployments and monitoring configurations.
Click to show internal directories.
Click to hide internal directories.