diff --git a/models/resources/processing/processing.go b/models/resources/processing/processing.go index 4f13ed8..d59d792 100644 --- a/models/resources/processing/processing.go +++ b/models/resources/processing/processing.go @@ -10,10 +10,10 @@ import ( ) type Container struct { - Image string `json:"image,omitempty" bson:"image,omitempty"` // Image is the container image - Command string `json:"command,omitempty" bson:"command,omitempty"` // Command is the container command - Args string `json:"args,omitempty" bson:"args,omitempty"` // Args is the container arguments - Env string `json:"env,omitempty" bson:"env,omitempty"` // Env is the container environment variables + Image string `json:"image,omitempty" bson:"image,omitempty"` // Image is the container image + Command string `json:"command,omitempty" bson:"command,omitempty"` // Command is the container command + Args string `json:"args,omitempty" bson:"args,omitempty"` // Args is the container arguments + Env map[string]string `json:"env,omitempty" bson:"env,omitempty"` // Env is the container environment variables } type Execute struct {