Documentation ¶
Index ¶
- Variables
- func CommitRepoHandler(s store.StoreI) http.HandlerFunc
- func EchoHandler(w http.ResponseWriter, r *http.Request)
- func FetchRepoHandler(s store.StoreI) http.HandlerFunc
- func FetchVarsHandler(s store.StoreI) http.HandlerFunc
- func FormatResponse(w http.ResponseWriter, status int)
- func HelloHandler(w http.ResponseWriter, r *http.Request)
- func MakeCorsObject() *cors.Cors
- func RemoveEnvVarHandler(s store.StoreI) http.HandlerFunc
- func RemoveSecretHandler(s store.StoreI) http.HandlerFunc
- func RemoveVarHandler(s store.StoreI) http.HandlerFunc
- func SaveEnvVarHandler(s store.StoreI) http.HandlerFunc
- func SaveRepoHandler(s store.StoreI) http.HandlerFunc
- func SaveSecretHandler(s store.StoreI) http.HandlerFunc
- func SaveVarHandler(s store.StoreI) http.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
View Source
var AllowedOrigins = ""
View Source
var RepoName = "unkown.json"
View Source
var RequestIdKey = "request_id"
View Source
var ServerName = "unkown"
Functions ¶
func CommitRepoHandler ¶
func CommitRepoHandler(s store.StoreI) http.HandlerFunc
func EchoHandler ¶
func EchoHandler(w http.ResponseWriter, r *http.Request)
func FetchRepoHandler ¶
func FetchRepoHandler(s store.StoreI) http.HandlerFunc
func FetchVarsHandler ¶
func FetchVarsHandler(s store.StoreI) http.HandlerFunc
func FormatResponse ¶
func FormatResponse(w http.ResponseWriter, status int)
func HelloHandler ¶
func HelloHandler(w http.ResponseWriter, r *http.Request)
func MakeCorsObject ¶
makeCorsObject takes required config and make a new cors object
func RemoveEnvVarHandler ¶
func RemoveEnvVarHandler(s store.StoreI) http.HandlerFunc
func RemoveSecretHandler ¶
func RemoveSecretHandler(s store.StoreI) http.HandlerFunc
func RemoveVarHandler ¶
func RemoveVarHandler(s store.StoreI) http.HandlerFunc
func SaveEnvVarHandler ¶
func SaveEnvVarHandler(s store.StoreI) http.HandlerFunc
func SaveRepoHandler ¶
func SaveRepoHandler(s store.StoreI) http.HandlerFunc
func SaveSecretHandler ¶
func SaveSecretHandler(s store.StoreI) http.HandlerFunc
func SaveVarHandler ¶
func SaveVarHandler(s store.StoreI) http.HandlerFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.