add volumes to container
This commit is contained in:
parent
aaef5334ce
commit
e621fb616a
@ -22,7 +22,7 @@ type Container struct {
|
||||
Volumes []Volume
|
||||
}
|
||||
|
||||
type Execute struct {
|
||||
type Expose struct {
|
||||
Port int `json:"port,omitempty" bson:"port,omitempty"` // Port is the port
|
||||
Reverse string `json:"reverse,omitempty" bson:"reverse,omitempty"` // Reverse is the reverse
|
||||
PAT int `json:"pat,omitempty" bson:"pat,omitempty"` // PAT is the PAT
|
||||
@ -42,7 +42,7 @@ type ProcessingResource struct {
|
||||
ScalingModel uint `bson:"scaling_model,omitempty" json:"scaling_model,omitempty"` // ScalingModel is the scaling model
|
||||
DiskIO string `bson:"disk_io,omitempty" json:"disk_io,omitempty"` // DiskIO is the disk IO
|
||||
Container *Container `bson:"container,omitempty" json:"container,omitempty"` // Container is the container
|
||||
Execute []Execute `bson:"execute,omitempty" json:"execute,omitempty"` // Execute is the execution
|
||||
Expose []Expose `bson:"expose,omitempty" json:"expose,omitempty"` // Expose is the execution
|
||||
}
|
||||
|
||||
func (dma *ProcessingResource) Deserialize(j map[string]interface{}) utils.DBObject {
|
||||
|
Loading…
Reference in New Issue
Block a user