Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GrafanaAlertChannelTypes = map[string]string{
"PrometheusAlertManager": "prometheus-alertmanager",
}
Functions ¶
This section is empty.
Types ¶
type GrafanaAlertsChannel ¶
type GrafanaAlertsChannel struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec GrafanaAlertsChannelSpec `json:"spec"` }
type GrafanaAlertsChannelAlertManager ¶
type GrafanaAlertsChannelAlertManager struct { Address string `json:"address"` Auth *GrafanaAlertsChannelAlertManagerAuth `json:"auth,omitempty"` }
type GrafanaAlertsChannelAlertManagerAuth ¶
type GrafanaAlertsChannelAlertManagerAuth struct {
Basic GrafanaAlertsChannelAlertManagerAuthBasic `json:"basic"`
}
type GrafanaAlertsChannelSpec ¶
type GrafanaAlertsChannelSpec struct { Type string `json:"type"` Description string `json:"description,omitempty"` IsDefault bool `json:"isDefault,omitempty"` DisableResolveMessage bool `json:"disableResolveMessage,omitempty"` AlertManager GrafanaAlertsChannelAlertManager `json:"alertManager"` }
Click to show internal directories.
Click to hide internal directories.