Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStorageClient ¶
func NewStorageClient(cfg Config, schemaCfg chunk.SchemaConfig) (chunk.StorageClient, error)
NewStorageClient makes a storage client based on the configuration.
func NewTableClient ¶
func NewTableClient(cfg Config) (chunk.TableClient, error)
NewTableClient makes a new table client based on the configuration.
Types ¶
type Config ¶
type Config struct { StorageClient string AWSStorageConfig aws.StorageConfig GCPStorageConfig gcp.Config CassandraStorageConfig cassandra.Config }
Config chooses which storage client to use.
func (*Config) RegisterFlags ¶
RegisterFlags adds the flags required to configure this flag set.
Click to show internal directories.
Click to hide internal directories.