mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-02-19 14:58:09 +08:00

* feat(system-upgrade): Added support for multi-host upgrade * feat: Add supports of task display for node upgrade
19 lines
589 B
Go
19 lines
589 B
Go
package model
|
|
|
|
import "time"
|
|
|
|
type Task struct {
|
|
ID string `gorm:"primarykey;" json:"id"`
|
|
Name string `json:"name"`
|
|
Type string `json:"type"`
|
|
Operate string `json:"operate"`
|
|
LogFile string `json:"logFile"`
|
|
Status string `json:"status"`
|
|
ErrorMsg string `json:"errorMsg"`
|
|
OperationLogID uint `json:"operationLogID"`
|
|
ResourceID uint `json:"resourceID"`
|
|
CurrentStep string `json:"currentStep"`
|
|
EndAt time.Time `json:"endAt"`
|
|
CreatedAt time.Time `json:"createdAt"`
|
|
}
|