Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBucketClient ¶
NewBucketClient creates a new S3 bucket client
func NewBucketReaderClient ¶
func NewBucketReaderClient(cfg Config, name string, logger log.Logger) (objstore.BucketReader, error)
NewBucketReaderClient creates a new S3 bucket client
Types ¶
type Config ¶
type Config struct {
Endpoint string `yaml:"endpoint"`
BucketName string `yaml:"bucket_name"`
SecretAccessKey flagext.Secret `yaml:"secret_access_key"`
AccessKeyID string `yaml:"access_key_id"`
Insecure bool `yaml:"insecure"`
}
Config holds the config options for an S3 backend
func (*Config) RegisterFlags ¶
RegisterFlags registers the flags for TSDB s3 storage
Click to show internal directories.
Click to hide internal directories.