1Panel/backend/constant/app.go

32 lines
568 B
Go

package constant
const (
Running = "Running"
UnHealthy = "UnHealthy"
Error = "Error"
Stopped = "Stopped"
Installing = "Installing"
ContainerPrefix = "1Panel-"
AppNormal = "Normal"
AppTakeDown = "TakeDown"
AppNginx = "nginx"
AppMysql = "mysql"
AppRedis = "redis"
)
type AppOperate string
var (
Up AppOperate = "up"
Down AppOperate = "down"
Restart AppOperate = "restart"
Delete AppOperate = "delete"
Sync AppOperate = "sync"
Backup AppOperate = "backup"
Restore AppOperate = "restore"
Update AppOperate = "update"
)