From 9af6ff61b4838c997d084d904442038afcde0f6a Mon Sep 17 00:00:00 2001 From: Alex Ellis Date: Thu, 12 Oct 2017 21:22:15 +0100 Subject: [PATCH] Secrets in requests Signed-off-by: Alex Ellis --- gateway/requests/requests.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gateway/requests/requests.go b/gateway/requests/requests.go index 0701fbd9..a0a019ac 100644 --- a/gateway/requests/requests.go +++ b/gateway/requests/requests.go @@ -27,6 +27,9 @@ type CreateFunctionRequest struct { // Constraints are specific to back-end orchestration platform Constraints []string `json:"constraints"` + + // Secrets list of secrets to be made available to function + Secrets []string `json:"secrets"` } // DeleteFunctionRequest delete a deployed function