2022-09-26 08:32:40 +00:00
|
|
|
package constant
|
|
|
|
|
|
|
|
const (
|
|
|
|
Running = "Running"
|
2022-09-29 10:16:56 +00:00
|
|
|
UnHealthy = "UnHealthy"
|
2022-09-26 08:32:40 +00:00
|
|
|
Error = "Error"
|
|
|
|
Stopped = "Stopped"
|
|
|
|
Installing = "Installing"
|
|
|
|
|
|
|
|
ContainerPrefix = "1Panel-"
|
2022-09-30 09:56:06 +00:00
|
|
|
|
|
|
|
AppNormal = "Normal"
|
|
|
|
AppTakeDown = "TakeDown"
|
2022-12-13 12:03:54 +00:00
|
|
|
|
2023-02-22 09:13:08 +00:00
|
|
|
AppOpenresty = "openresty"
|
|
|
|
AppMysql = "mysql"
|
|
|
|
AppRedis = "redis"
|
2022-09-30 09:56:06 +00:00
|
|
|
)
|
2022-12-14 07:08:21 +00: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"
|
|
|
|
)
|