Documentation ¶
Index ¶
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 used to load user alertmanager configs from a local disk
func NewStore ¶
func NewStore(cfg StoreConfig) (*Store, error)
NewStore returns a new file alert store.
func (*Store) ListAlertConfigs ¶
ListAlertConfigs returns a list of each users alertmanager config.
type StoreConfig ¶
type StoreConfig struct {
Path string `yaml:"path"`
}
StoreConfig configures a static file alertmanager store
func (*StoreConfig) RegisterFlags ¶
func (cfg *StoreConfig) RegisterFlags(f *flag.FlagSet)
RegisterFlags registers flags related to the alertmanager file store
Click to show internal directories.
Click to hide internal directories.