filesystem

package
v1.2.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBucketClient

func NewBucketClient(cfg Config) (objstore.Bucket, error)

NewBucketClient creates a new filesystem bucket client

Types

type Config

type Config struct {
	Directory string `yaml:"dir"`
}

Config stores the configuration for storing and accessing objects in the local filesystem.

func (*Config) RegisterFlags

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

RegisterFlags registers the flags for TSDB filesystem storage

func (*Config) RegisterFlagsWithPrefix added in v1.1.0

func (cfg *Config) RegisterFlagsWithPrefix(prefix string, f *flag.FlagSet)

RegisterFlagsWithPrefix registers the flags for TSDB filesystem storage with the provided prefix

Jump to

Keyboard shortcuts

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