deployer

package
v2.2.5-rc14+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2019 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

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 (d *Deployer) ClusterGroupSync(key string, alert *mgmtv3.ClusterAlertGroup) (runtime.Object, error)

func (*Deployer) ClusterRuleSync

func (d *Deployer) ClusterRuleSync(key string, alert *mgmtv3.ClusterAlertRule) (runtime.Object, error)

func (*Deployer) ProjectGroupSync

func (d *Deployer) ProjectGroupSync(key string, alert *mgmtv3.ProjectAlertGroup) (runtime.Object, error)

func (*Deployer) ProjectRuleSync

func (d *Deployer) ProjectRuleSync(key string, alert *mgmtv3.ProjectAlertRule) (runtime.Object, error)

Jump to

Keyboard shortcuts

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