compactor

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2021 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Compactor

type Compactor struct {
	services.Service
	// contains filtered or unexported fields
}

func NewCompactor

func NewCompactor(cfg Config, storageConfig storage.Config, r prometheus.Registerer) (*Compactor, error)

func (*Compactor) Run

func (c *Compactor) Run(ctx context.Context) error

type Config

type Config struct {
	WorkingDirectory   string        `yaml:"working_directory"`
	SharedStoreType    string        `yaml:"shared_store"`
	CompactionInterval time.Duration `yaml:"compaction_interval"`
}

func (*Config) RegisterFlags

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

RegisterFlags registers flags.

Jump to

Keyboard shortcuts

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