mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-12-03 09:24:28 +08:00
32 lines
568 B
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"
|
|
)
|