mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-11-15 04:00:00 +08:00
14 lines
582 B
Go
14 lines
582 B
Go
|
package model
|
||
|
|
||
|
type Runtime struct {
|
||
|
BaseModel
|
||
|
Name string `gorm:"type:varchar;not null" json:"name"`
|
||
|
AppDetailID uint `gorm:"type:integer" json:"appDetailId"`
|
||
|
Image string `gorm:"type:varchar;not null" json:"image"`
|
||
|
WorkDir string `gorm:"type:varchar;not null" json:"workDir"`
|
||
|
DockerCompose string `gorm:"type:varchar;not null" json:"dockerCompose"`
|
||
|
Env string `gorm:"type:varchar;not null" json:"env"`
|
||
|
Params string `gorm:"type:varchar;not null" json:"params"`
|
||
|
Type string `gorm:"type:varchar;not null" json:"type"`
|
||
|
}
|