Documentation ¶
Index ¶
- type ConfigSyncer
- func (d *ConfigSyncer) ClusterGroupSync(key string, alert *v3.ClusterAlertGroup) (runtime.Object, error)
- func (d *ConfigSyncer) ClusterRuleSync(key string, alert *v3.ClusterAlertRule) (runtime.Object, error)
- func (d *ConfigSyncer) NotifierSync(key string, alert *v3.Notifier) (runtime.Object, error)
- func (d *ConfigSyncer) ProjectGroupSync(key string, alert *v3.ProjectAlertGroup) (runtime.Object, error)
- func (d *ConfigSyncer) ProjectRuleSync(key string, alert *v3.ProjectAlertRule) (runtime.Object, error)
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 (*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)
Click to show internal directories.
Click to hide internal directories.