Home
last modified time | relevance | path

Searched defs:FifoCacheConfig (Results 1 – 3 of 3) sorted by relevance

/dports/www/grafana8/grafana-8.3.6/vendor/github.com/grafana/loki/pkg/storage/chunk/cache/
H A Dfifo_cache.go32 type FifoCacheConfig struct { struct
33 MaxSizeBytes string `yaml:"max_size_bytes"`
34 MaxSizeItems int `yaml:"max_size_items"`
35 Validity time.Duration `yaml:"validity"`
37 DeprecatedSize int `yaml:"size"`
41 func (cfg *FifoCacheConfig) RegisterFlagsWithPrefix(prefix, description string, f *flag.FlagSet) {
49 func (cfg *FifoCacheConfig) Validate() error {
94 func NewFifoCache(name string, cfg FifoCacheConfig, reg prometheus.Registerer, logger log.Logger) *…
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/cortexproject/cortex/pkg/chunk/cache/
H A Dfifo_cache.go33 type FifoCacheConfig struct { struct
34 MaxSizeBytes string `yaml:"max_size_bytes"`
35 MaxSizeItems int `yaml:"max_size_items"`
36 Validity time.Duration `yaml:"validity"`
38 DeprecatedSize int `yaml:"size"`
42 func (cfg *FifoCacheConfig) RegisterFlagsWithPrefix(prefix, description string, f *flag.FlagSet) {
50 func (cfg *FifoCacheConfig) Validate() error {
95 func NewFifoCache(name string, cfg FifoCacheConfig, reg prometheus.Registerer, logger log.Logger) *…
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/grafana/loki/vendor/github.com/cortexproject/cortex/pkg/chunk/cache/
H A Dfifo_cache.go33 type FifoCacheConfig struct { struct
34 MaxSizeBytes string `yaml:"max_size_bytes"`
35 MaxSizeItems int `yaml:"max_size_items"`
36 Validity time.Duration `yaml:"validity"`
38 DeprecatedSize int `yaml:"size"`
42 func (cfg *FifoCacheConfig) RegisterFlagsWithPrefix(prefix, description string, f *flag.FlagSet) {
50 func (cfg *FifoCacheConfig) Validate() error {
95 func NewFifoCache(name string, cfg FifoCacheConfig, reg prometheus.Registerer, logger log.Logger) *…