mirror of
https://github.com/openfaas/faas.git
synced 2025-06-12 10:16:46 +00:00
Requests update
This commit is contained in:
parent
9e3eaea754
commit
201d2c20de
@ -5,8 +5,12 @@ package requests
|
|||||||
|
|
||||||
// CreateFunctionRequest create a function in the swarm.
|
// CreateFunctionRequest create a function in the swarm.
|
||||||
type CreateFunctionRequest struct {
|
type CreateFunctionRequest struct {
|
||||||
|
// Service corresponds to a Docker Service
|
||||||
Service string `json:"service"`
|
Service string `json:"service"`
|
||||||
|
// Image corresponds to a Docker image
|
||||||
Image string `json:"image"`
|
Image string `json:"image"`
|
||||||
|
|
||||||
|
// Network is a Docker overlay network in Swarm - the default value is func_functions
|
||||||
Network string `json:"network"`
|
Network string `json:"network"`
|
||||||
|
|
||||||
// EnvProcess corresponds to the fprocess variable for your container watchdog.
|
// EnvProcess corresponds to the fprocess variable for your container watchdog.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user