configsyncer

package
v2.2.9-ent3-rc2+incomp... Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2019 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigSyncer

type ConfigSyncer struct {
	// contains filtered or unexported fields
}

func NewConfigSyncer

func NewConfigSyncer(ctx context.Context, cluster *config.UserContext, alertManager *manager.AlertManager, operatorCRDManager *manager.PromOperatorCRDManager) *ConfigSyncer

func (*ConfigSyncer) ClusterGroupSync

func (d *ConfigSyncer) ClusterGroupSync(key string, alert *v3.ClusterAlertGroup) (runtime.Object, error)

func (*ConfigSyncer) ClusterRuleSync

func (d *ConfigSyncer) ClusterRuleSync(key string, alert *v3.ClusterAlertRule) (runtime.Object, error)

func (*ConfigSyncer) NotifierSync

func (d *ConfigSyncer) NotifierSync(key string, alert *v3.Notifier) (runtime.Object, error)

func (*ConfigSyncer) ProjectGroupSync

func (d *ConfigSyncer) ProjectGroupSync(key string, alert *v3.ProjectAlertGroup) (runtime.Object, error)

func (*ConfigSyncer) ProjectRuleSync

func (d *ConfigSyncer) ProjectRuleSync(key string, alert *v3.ProjectAlertRule) (runtime.Object, error)

Jump to

Keyboard shortcuts

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