Documentation
¶
Overview ¶
Package secrettest provides a cross-process testable secret.Stash.
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 is a client for a secret stash server. It is safe for concurrent use.
func NewClient ¶
NewClient creates a new client capable of talking to a secret stash server.
The server URL should be the base URL of the server.
func (*Client) DeleteSecret ¶
DeleteSecret deletes a secret from the stash.
func (*Client) LoadSecret ¶
LoadSecret loads a secret from the stash.
func (*Client) SaveSecret ¶
SaveSecret saves a secret in the stash.
Click to show internal directories.
Click to hide internal directories.