Documentation ¶
Index ¶
- func HandleCreate(repos core.RepositoryStore, secrets core.SecretStore) http.HandlerFunc
- func HandleDelete(repos core.RepositoryStore, secrets core.SecretStore) http.HandlerFunc
- func HandleFind(repos core.RepositoryStore, secrets core.SecretStore) http.HandlerFunc
- func HandleList(repos core.RepositoryStore, secrets core.SecretStore) http.HandlerFunc
- func HandleUpdate(repos core.RepositoryStore, secrets core.SecretStore) http.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleCreate ¶
func HandleCreate( repos core.RepositoryStore, secrets core.SecretStore, ) http.HandlerFunc
HandleCreate returns an http.HandlerFunc that processes http requests to create a new secret.
func HandleDelete ¶
func HandleDelete( repos core.RepositoryStore, secrets core.SecretStore, ) http.HandlerFunc
HandleDelete returns an http.HandlerFunc that processes http requests to delete the secret.
func HandleFind ¶
func HandleFind( repos core.RepositoryStore, secrets core.SecretStore, ) http.HandlerFunc
HandleFind returns an http.HandlerFunc that writes json-encoded secret details to the the response body.
func HandleList ¶
func HandleList( repos core.RepositoryStore, secrets core.SecretStore, ) http.HandlerFunc
HandleList returns an http.HandlerFunc that writes a json-encoded list of secrets to the response body.
func HandleUpdate ¶
func HandleUpdate( repos core.RepositoryStore, secrets core.SecretStore, ) 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.