Documentation ¶
Index ¶
- Constants
- Variables
- type AlertService
- type Deployer
- func (d *Deployer) ClusterGroupSync(key string, alert *mgmtv3.ClusterAlertGroup) (runtime.Object, error)
- func (d *Deployer) ClusterRuleSync(key string, alert *mgmtv3.ClusterAlertRule) (runtime.Object, error)
- func (d *Deployer) ProjectGroupSync(key string, alert *mgmtv3.ProjectAlertGroup) (runtime.Object, error)
- func (d *Deployer) ProjectRuleSync(key string, alert *mgmtv3.ProjectAlertRule) (runtime.Object, error)
Constants ¶
View Source
const (
NotificationTmpl = `` /* 7057-byte string literal not displayed */
)
Variables ¶
View Source
var (
ServiceName = "alerting"
)
Functions ¶
This section is empty.
Types ¶
type AlertService ¶
type AlertService struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService() *AlertService
func (*AlertService) Init ¶
func (l *AlertService) Init(cluster *config.UserContext)
func (*AlertService) Upgrade ¶
func (l *AlertService) Upgrade(currentVersion string) (string, error)
func (*AlertService) Version ¶
func (l *AlertService) Version() (string, error)
type Deployer ¶
type Deployer struct {
// contains filtered or unexported fields
}
func NewDeployer ¶
func NewDeployer(cluster *config.UserContext, manager *manager.AlertManager) *Deployer
func (*Deployer) ClusterGroupSync ¶
func (*Deployer) ClusterRuleSync ¶
func (*Deployer) ProjectGroupSync ¶
func (*Deployer) ProjectRuleSync ¶
Click to show internal directories.
Click to hide internal directories.