diff --git a/models/resources/processing/processing.go b/models/resources/processing/processing.go index d59d792..133c132 100644 --- a/models/resources/processing/processing.go +++ b/models/resources/processing/processing.go @@ -9,11 +9,17 @@ import ( "cloud.o-forge.io/core/oc-lib/tools" ) +type Volume struct { + Name string `json:"name,omitempty" bson:"name,omitempty"` // Name is the volume name + Path string `json:"path,omitempty" bson:"path,omitempty"` // Path is the volume path +} + 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 map[string]string `json:"env,omitempty" bson:"env,omitempty"` // Env is the container environment variables + Volumes []Volume } type Execute struct {