1Panel/backend/constant/app.go

32 lines
568 B
Go
Raw Normal View History

package constant
const (
Running = "Running"
UnHealthy = "UnHealthy"
Error = "Error"
Stopped = "Stopped"
Installing = "Installing"
ContainerPrefix = "1Panel-"
2022-09-30 17:56:06 +08:00
AppNormal = "Normal"
AppTakeDown = "TakeDown"
2022-12-13 20:03:54 +08:00
AppNginx = "nginx"
AppMysql = "mysql"
AppRedis = "redis"
2022-09-30 17:56:06 +08:00
)
2022-12-14 15:08:21 +08:00
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"
)