package
1.19.0
Repository: https://github.com/cortexproject/cortex.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

NewClient creates a new Client (consul, etcd or inmemory) based on the config, encodes and decodes data for storage using the codec.
NewMultiClient creates new MultiClient with given KV Clients.
PrefixClient takes a KVClient and forces a prefix on all its operations.
RegistererWithKVName wraps the provided Registerer with the KV name label.

# Constants

Primary is a role to use KV store primarily.
Secondary is a role for KV store used by "multi" KV store.

# Structs

Config is config for a KVStore currently used by ring and HA tracker, where store can be consul or inmemory.
MultiClient implements kv.Client by forwarding all API calls to primary client.
MultiConfig is a configuration for MultiClient.
MultiRuntimeConfig has values that can change in runtime (via overrides).
StoreConfig is a configuration used for building single store client, either Consul, Etcd, Memberlist or MultiClient.

# Interfaces

Client is a high-level client for key-value stores (such as Etcd and Consul) that exposes operations such as CAS and Watch which take callbacks.