Documentation ¶
Index ¶
- type Store
- func (c *Store) DeleteAlertConfig(ctx context.Context, user string) error
- func (c *Store) GetAlertConfig(ctx context.Context, user string) (alerts.AlertConfigDesc, error)
- func (c *Store) ListAlertConfigs(ctx context.Context) (map[string]alerts.AlertConfigDesc, error)
- func (c *Store) SetAlertConfig(ctx context.Context, cfg alerts.AlertConfigDesc) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store is a concrete implementation of RuleStore that sources rules from the config service
func (*Store) DeleteAlertConfig ¶ added in v1.3.0
func (*Store) GetAlertConfig ¶ added in v1.3.0
GetAlertConfig finds and returns the AlertManager configuration of an user.
func (*Store) ListAlertConfigs ¶
ListAlertConfigs implements RuleStore
func (*Store) SetAlertConfig ¶ added in v1.3.0
Click to show internal directories.
Click to hide internal directories.