v1alpha1

package
v1.63.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 19, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

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 GrafanaAlertsChannelAlertManagerAuthBasic

type GrafanaAlertsChannelAlertManagerAuthBasic struct {
	Username string `json:"username"`
	Password string `json:"password"`
}

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL