Documentation ¶
Index ¶
Constants ¶
View Source
const (
EmailTmlp = `{{ define "email.text" }}{{ (index .Alerts 0).Labels.text}} {{ end}}"`
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deployer ¶
type Deployer struct {
// contains filtered or unexported fields
}
func NewDeployer ¶
func NewDeployer(cluster *config.UserContext, manager *manager.Manager) *Deployer
func (*Deployer) ClusterSync ¶
func (d *Deployer) ClusterSync(key string, alert *v3.ClusterAlert) error
func (*Deployer) ProjectSync ¶
func (d *Deployer) ProjectSync(key string, alert *v3.ProjectAlert) error
Click to show internal directories.
Click to hide internal directories.