// NewEtcdConfigManager returns a new ConfigManager backed by etcd. // Data will be encrypted. func NewEtcdConfigManager(machines []string, keystore io.Reader) (ConfigManager, error) { store, err := etcd.New(machines) if err != nil { return nil, err } return NewConfigManager(store, keystore) }
// NewStandardEtcdConfigManager returns a new ConfigManager backed by etcd. func NewStandardEtcdConfigManager(machines []string) (ConfigManager, error) { store, err := etcd.New(machines) if err != nil { return nil, err } return NewStandardConfigManager(store) }