Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client of the vault
func (*Client) Mount ¶
func (c *Client) Mount(path string) (*api.MountOutput, error)
Mount return the mount for given path
type Provider ¶
type Provider struct {
Repository Repository
}
Provider is a parser that populates flags from Hashi Corp Vault
type Repository ¶
type Repository interface {
// Secret provides the secret from the backend
Secret(path string) (map[string]interface{}, error)
// Stop stops the repository
Stop()
}
Repository is a repository of the secrets
type RepositoryTree ¶
type RepositoryTree struct {
Repository Repository
Root map[string]map[string]interface{}
}
RepositoryTree caches the secrets