Documentation ¶
Index ¶
- type ConfigManager
- func NewConfigManager(client backend.Store, keystore io.Reader) (ConfigManager, error)
- func NewConsulConfigManager(machines []string, keystore io.Reader) (ConfigManager, error)
- func NewEtcdConfigManager(machines []string, keystore io.Reader) (ConfigManager, error)
- func NewEtcdV3ConfigManager(machines []string, keystore io.Reader) (ConfigManager, error)
- func NewFirestoreConfigManager(machines []string, keystore io.Reader) (ConfigManager, error)
- func NewNatsConfigManager(machines []string, keystore io.Reader) (ConfigManager, error)
- func NewStandardConfigManager(client backend.Store) (ConfigManager, error)
- func NewStandardConsulConfigManager(machines []string) (ConfigManager, error)
- func NewStandardEtcdConfigManager(machines []string) (ConfigManager, error)
- func NewStandardEtcdV3ConfigManager(machines []string) (ConfigManager, error)
- func NewStandardFirestoreConfigManager(machines []string) (ConfigManager, error)
- func NewStandardNatsConfigManager(machines []string) (ConfigManager, error)
- type KVPair
- type KVPairs
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigManager ¶
type ConfigManager interface { Get(key string) ([]byte, error) List(key string) (KVPairs, error) Set(key string, value []byte) error Watch(key string, stop chan bool) <-chan *Response }
A ConfigManager retrieves and decrypts configuration from a key/value store.
func NewConfigManager ¶ added in v0.15.1
func NewConsulConfigManager ¶
func NewConsulConfigManager(machines []string, keystore io.Reader) (ConfigManager, error)
NewConsulConfigManager returns a new ConfigManager backed by consul. Data will be encrypted.
func NewEtcdConfigManager ¶
func NewEtcdConfigManager(machines []string, keystore io.Reader) (ConfigManager, error)
NewEtcdConfigManager returns a new ConfigManager backed by etcd. Data will be encrypted.
func NewEtcdV3ConfigManager ¶ added in v0.15.1
func NewEtcdV3ConfigManager(machines []string, keystore io.Reader) (ConfigManager, error)
NewEtcdV3ConfigManager returns a new ConfigManager backed by etcdv3. Data will be encrypted.
func NewFirestoreConfigManager ¶ added in v0.15.1
func NewFirestoreConfigManager(machines []string, keystore io.Reader) (ConfigManager, error)
NewFirestoreConfigManager returns a new ConfigManager backed by Firestore. Data will be encrypted.
func NewNatsConfigManager ¶ added in v0.15.1
func NewNatsConfigManager(machines []string, keystore io.Reader) (ConfigManager, error)
NewNatsConfigManager returns a new ConfigManager backed by NATS. Data will be encrypted.
func NewStandardConfigManager ¶ added in v0.15.1
func NewStandardConfigManager(client backend.Store) (ConfigManager, error)
func NewStandardConsulConfigManager ¶ added in v0.0.2
func NewStandardConsulConfigManager(machines []string) (ConfigManager, error)
NewStandardConsulConfigManager returns a new ConfigManager backed by consul.
func NewStandardEtcdConfigManager ¶ added in v0.0.2
func NewStandardEtcdConfigManager(machines []string) (ConfigManager, error)
NewStandardEtcdConfigManager returns a new ConfigManager backed by etcd.
func NewStandardEtcdV3ConfigManager ¶ added in v0.15.1
func NewStandardEtcdV3ConfigManager(machines []string) (ConfigManager, error)
NewStandardEtcdV3ConfigManager returns a new ConfigManager backed by etcdv3.
func NewStandardFirestoreConfigManager ¶ added in v0.15.1
func NewStandardFirestoreConfigManager(machines []string) (ConfigManager, error)
NewStandardFirestoreConfigManager returns a new ConfigManager backed by Firestore.
func NewStandardNatsConfigManager ¶ added in v0.15.1
func NewStandardNatsConfigManager(machines []string) (ConfigManager, error)
NewStandardNatsConfigManager returns a new ConfigManager backed by NATS.