Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Store ¶
type Store interface {
// Get gets a single value from the specified path.
Get(path, key string) (string, error)
// GetBulk gets all key/value pairs from the specified path.
GetBulk(path string) (map[string]string, error)
// Post updates a single value at the specified path.
Post(path, key, value string) error
// PostBulk updates all key/value pairs at the specified path.
PostBulk(path string, values map[string]string) error
}
Store is a repository of credentials for use by omg plugins.
func NewFileStore ¶ added in v0.1.6
func NewFileStore() Store
NewFileStore creates a Store backed by local files.
func NewVaultStore ¶
NewVaultStore creates a Store backed by Hashicorp's Vault.
Click to show internal directories.
Click to hide internal directories.