Documentation ¶
Index ¶
- func HandleAll(secrets core.GlobalSecretStore) http.HandlerFunc
- func HandleCreate(secrets core.GlobalSecretStore) http.HandlerFunc
- func HandleDelete(secrets core.GlobalSecretStore) http.HandlerFunc
- func HandleFind(secrets core.GlobalSecretStore) http.HandlerFunc
- func HandleList(secrets core.GlobalSecretStore) http.HandlerFunc
- func HandleUpdate(secrets core.GlobalSecretStore) http.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleAll ¶
func HandleAll(secrets core.GlobalSecretStore) http.HandlerFunc
HandleAll returns an http.HandlerFunc that writes a json-encoded list of secrets to the response body.
func HandleCreate ¶
func HandleCreate(secrets core.GlobalSecretStore) http.HandlerFunc
HandleCreate returns an http.HandlerFunc that processes http requests to create a new secret.
func HandleDelete ¶
func HandleDelete(secrets core.GlobalSecretStore) http.HandlerFunc
HandleDelete returns an http.HandlerFunc that processes http requests to delete the secret.
func HandleFind ¶
func HandleFind(secrets core.GlobalSecretStore) http.HandlerFunc
HandleFind returns an http.HandlerFunc that writes json-encoded secret details to the the response body.
func HandleList ¶
func HandleList(secrets core.GlobalSecretStore) http.HandlerFunc
HandleList returns an http.HandlerFunc that writes a json-encoded list of secrets to the response body.
func HandleUpdate ¶
func HandleUpdate(secrets core.GlobalSecretStore) http.HandlerFunc
HandleUpdate returns an http.HandlerFunc that processes http requests to update a secret.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.