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 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.

Jump to

Keyboard shortcuts

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