mirror of
https://github.com/openfaas/faas.git
synced 2025-06-20 21:36:33 +00:00
Secrets iteration:
- added delete http verb to system/secrets - added secrets request type - added vagrant env provisioned by existing deploy_stack.sh Signed-off-by: Andrew Cornies <acornies@gmail.com>
This commit is contained in:
committed by
Alex Ellis
parent
d2ef8b9207
commit
a9238f5631
@ -163,7 +163,7 @@ func main() {
|
||||
r.HandleFunc("/system/functions", faasHandlers.UpdateFunction).Methods(http.MethodPut)
|
||||
r.HandleFunc("/system/scale-function/{name:[-a-zA-Z_0-9]+}", faasHandlers.ScaleFunction).Methods(http.MethodPost)
|
||||
|
||||
r.HandleFunc("/system/secrets", faasHandlers.SecretHandler).Methods(http.MethodGet, http.MethodPut, http.MethodPost)
|
||||
r.HandleFunc("/system/secrets", faasHandlers.SecretHandler).Methods(http.MethodGet, http.MethodPut, http.MethodPost, http.MethodDelete)
|
||||
|
||||
if faasHandlers.QueuedProxy != nil {
|
||||
r.HandleFunc("/async-function/{name:[-a-zA-Z_0-9]+}/", faasHandlers.QueuedProxy).Methods(http.MethodPost)
|
||||
|
Reference in New Issue
Block a user