vault

package
v1.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2019 License: AGPL-3.0 Imports: 12 Imported by: 0

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) String

func (v *VaultSource) String() string

Name of source

func (*VaultSource) Watch

func (v *VaultSource) Watch() (config.SourceWatcher, error)

Watch for source changes Returns the entire changeset

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL