store

package
v0.0.0-...-5af6bcd Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Local local.Config `yaml:"local"`

	// Cache holds the configuration used for the ruler storage cache.
	Cache cache.BackendConfig `yaml:"cache"`
}

Config configures a rule store.

func (*Config) RegisterFlags

func (c *Config) RegisterFlags(f *flag.FlagSet)

type TemplateStore

type TemplateStore interface {
	provider.TemplateProvider

	SyncTemplates()
	ListAppTemplates()
	LoadTemplate(path string) error
	UnloadTemplate(path string)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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