Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
base.ClientFacade
// contains filtered or unexported fields
}
Client is the api client for the Secrets facade.
func NewClient ¶
func NewClient(caller base.APICallCloser) *Client
NewClient creates a secrets api client.
func (*Client) ListSecrets ¶
func (api *Client) ListSecrets(showSecrets bool) ([]SecretDetails, error)
ListSecrets lists the available secrets.
type SecretDetails ¶
type SecretDetails struct {
Metadata secrets.SecretMetadata
Value secrets.SecretValue
Error string
}
SecretDetails holds a secret metadata and value.
Click to show internal directories.
Click to hide internal directories.