Documentation ¶
Index ¶
- type Client
- func (client *Client) Delete(absolutePath string) (err error)
- func (client *Client) GetType(absolutePath string) (kind PathKind)
- func (client *Client) List(absolutePath string) (result []string, err error)
- func (client *Client) Read(absolutePath string) (secret *api.Secret, err error)
- func (client *Client) Traverse(absolutePath string) (paths []string)
- func (client *Client) Write(absolutePath string, secret *api.Secret) (err error)
- type PathKind
- type VaultConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client wrapper for Vault API client
func NewClient ¶
func NewClient(conf *VaultConfig) (*Client, error)
NewClient creates a new Client Vault wrapper
func (*Client) GetType ¶
GetType returns the file type the given absolutePath points to. Possible return values are BACKEND, NODE, LEAF or NONE
type VaultConfig ¶
VaultConfig container to keep parameters for Client configuration
Source Files ¶
Click to show internal directories.
Click to hide internal directories.