Documentation ¶
Index ¶
- type Client
- func (r *Client) AddSecret(secret *api.Secret) error
- func (r *Client) AddUser(user *api.User) error
- func (r *Client) Client() *v.Client
- func (r *Client) Decrypt(path, key string, reader io.Reader) (string, error)
- func (r *Client) Encrypt(path, key string, reader io.Reader) (string, error)
- func (r *Client) Mounts() (map[string]*v.MountOutput, error)
- func (r *Client) Policies() (map[string]bool, error)
- func (r *Client) Request(method, uri string, body interface{}) (*http.Response, error)
- func (r *Client) SetPolicy(name, policy string) error
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
}
func (*Client) Mounts ¶
func (r *Client) Mounts() (map[string]*v.MountOutput, error)
Mounts is a list of mounts
Click to show internal directories.
Click to hide internal directories.