mirror of
https://github.com/openfaas/faas.git
synced 2025-06-23 07:13:23 +00:00
Pass env-vars to functions via API gateway
This commit is contained in:
@ -5,9 +5,9 @@ package requests
|
||||
|
||||
// CreateFunctionRequest create a function in the swarm.
|
||||
type CreateFunctionRequest struct {
|
||||
Service string `json:"service"`
|
||||
Image string `json:"image"`
|
||||
Network string `json:"network"`
|
||||
Service string `json:"service"`
|
||||
Image string `json:"image"`
|
||||
Network string `json:"network"`
|
||||
|
||||
// EnvProcess corresponds to the fprocess variable for your container watchdog.
|
||||
EnvProcess string `json:"envProcess"`
|
||||
|
Reference in New Issue
Block a user