Add EnvVars

This commit is contained in:
Alex Ellis 2017-05-07 14:27:57 +01:00 committed by GitHub
parent 0b649102ee
commit 2b57665293

View File

@ -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 {