secrets

package
v1.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2020 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL