Documentation ¶
Index ¶
- func ValidateConfig(c *Config) error
- type Config
- type WAL
- func (w *WAL) ClearFolder(dir string) error
- func (w *WAL) GetFilepath() string
- func (w *WAL) LocalBackend() *local.Backend
- func (w *WAL) NewBlock(id uuid.UUID, tenantID string, dataEncoding string) (common.WALBlock, error)
- func (w *WAL) RescanBlocks(additionalStartSlack time.Duration, log log.Logger) ([]common.WALBlock, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateConfig ¶
Types ¶
type Config ¶
type Config struct { Filepath string `yaml:"path"` CompletedFilepath string BlocksFilepath string Encoding backend.Encoding `yaml:"v2_encoding"` SearchEncoding backend.Encoding `yaml:"search_encoding"` IngestionSlack time.Duration `yaml:"ingestion_time_range_slack"` Version string `yaml:"version,omitempty"` }
type WAL ¶
type WAL struct {
// contains filtered or unexported fields
}
func (*WAL) ClearFolder ¶
func (*WAL) GetFilepath ¶
func (*WAL) LocalBackend ¶
Click to show internal directories.
Click to hide internal directories.