From 201d2c20dedf79184103ad725ea8ee89ee207d12 Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 8 May 2017 13:36:56 +0100 Subject: [PATCH] Requests update --- gateway/requests/requests.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gateway/requests/requests.go b/gateway/requests/requests.go index bdda8c25..a319bd59 100644 --- a/gateway/requests/requests.go +++ b/gateway/requests/requests.go @@ -5,8 +5,12 @@ package requests // CreateFunctionRequest create a function in the swarm. type CreateFunctionRequest struct { + // Service corresponds to a Docker Service Service string `json:"service"` - Image string `json:"image"` + // Image corresponds to a Docker image + Image string `json:"image"` + + // Network is a Docker overlay network in Swarm - the default value is func_functions Network string `json:"network"` // EnvProcess corresponds to the fprocess variable for your container watchdog.