Documentation
      ¶
    
    
  
    
  
    Index ¶
- func NewVaultSource(storePath string, keyPath string, skipKeyring bool, ...) config.Source
 - type VaultSource
 - func (v *VaultSource) Delete(key string, save bool) error
 - func (v *VaultSource) Read() (*config.ChangeSet, error)
 - func (v *VaultSource) Set(key string, value string, save bool) error
 - func (v *VaultSource) String() string
 - func (v *VaultSource) Watch() (config.SourceWatcher, error)
 - func (v *VaultSource) Write(cs *config.ChangeSet) error
 
- type Writer
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type 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
func (*VaultSource) Write ¶
func (v *VaultSource) Write(cs *config.ChangeSet) error
      
      Source Files
      ¶
    
- source.go
 
 Click to show internal directories. 
   Click to hide internal directories.