2022-09-26 16:32:40 +08:00
|
|
|
package constant
|
|
|
|
|
|
|
|
const (
|
|
|
|
Running = "Running"
|
2022-09-29 18:16:56 +08:00
|
|
|
UnHealthy = "UnHealthy"
|
2022-09-26 16:32:40 +08:00
|
|
|
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"
|
|
|
|
)
|