Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VaultSource ¶
type VaultSource struct {
// contains filtered or unexported fields
}
func NewVaultSource ¶
func NewVaultSource(storePath string, keyPath string, skipKeyring bool, opts ...config.SourceOption) *VaultSource
func (*VaultSource) Delete ¶
func (v *VaultSource) Delete(key string, save bool) error
Delete removes a key from memory
func (*VaultSource) Read ¶
func (v *VaultSource) Read() (*config.ChangeSet, error)
Loads ChangeSet from the source
func (*VaultSource) Set ¶
func (v *VaultSource) Set(key string, value string, save bool) error
Set sets a key/value in memory (not encrypted)
func (*VaultSource) Watch ¶
func (v *VaultSource) Watch() (config.SourceWatcher, error)
Watch for source changes Returns the entire changeset
Click to show internal directories.
Click to hide internal directories.