2023-03-29 06:58:28 +00:00
|
|
|
package model
|
|
|
|
|
|
|
|
type Runtime struct {
|
|
|
|
BaseModel
|
|
|
|
Name string `gorm:"type:varchar;not null" json:"name"`
|
|
|
|
AppDetailID uint `gorm:"type:integer" json:"appDetailId"`
|
2023-03-30 08:47:47 +00:00
|
|
|
Image string `gorm:"type:varchar" json:"image"`
|
|
|
|
WorkDir string `gorm:"type:varchar" json:"workDir"`
|
|
|
|
DockerCompose string `gorm:"type:varchar" json:"dockerCompose"`
|
|
|
|
Env string `gorm:"type:varchar" json:"env"`
|
|
|
|
Params string `gorm:"type:varchar" json:"params"`
|
|
|
|
Version string `gorm:"type:varchar;not null" json:"version"`
|
2023-03-29 06:58:28 +00:00
|
|
|
Type string `gorm:"type:varchar;not null" json:"type"`
|
2023-03-30 08:47:47 +00:00
|
|
|
Status string `gorm:"type:varchar;not null" json:"status"`
|
|
|
|
Resource string `gorm:"type:varchar;not null" json:"resource"`
|
|
|
|
Message string `gorm:"type:longtext;" json:"message"`
|
2023-03-29 06:58:28 +00:00
|
|
|
}
|