18 lines
1018 B
Go
18 lines
1018 B
Go
package common
|
|
|
|
type Container struct {
|
|
Image string `json:"image,omitempty" bson:"image,omitempty"` // Image is the container image TEMPO
|
|
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 map[string]string `json:"volumes,omitempty" bson:"volumes,omitempty"` // Volumes is the container volumes
|
|
|
|
Exposes []Expose `bson:"exposes,omitempty" json:"exposes,omitempty"` // Expose is the execution
|
|
}
|
|
|
|
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
|
|
}
|