mirror of
https://github.com/openfaas/faas.git
synced 2025-06-09 16:56:47 +00:00
Add EnvVars
This commit is contained in:
parent
0b649102ee
commit
2b57665293
@ -8,7 +8,12 @@ type CreateFunctionRequest struct {
|
||||
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"`
|
||||
|
||||
// EnvVars provides overrides for functions.
|
||||
EnvVars map[string]string `json:"envVars"`
|
||||
}
|
||||
|
||||
type DeleteFunctionRequest struct {
|
||||
|
Loading…
x
Reference in New Issue
Block a user