mirror of https://github.com/1Panel-dev/1Panel
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
731 B
37 lines
731 B
package constant
|
|
|
|
const (
|
|
Running = "Running"
|
|
UnHealthy = "UnHealthy"
|
|
Error = "Error"
|
|
Stopped = "Stopped"
|
|
Installing = "Installing"
|
|
Syncing = "Syncing"
|
|
|
|
ContainerPrefix = "1Panel-"
|
|
|
|
AppNormal = "Normal"
|
|
AppTakeDown = "TakeDown"
|
|
|
|
AppOpenresty = "openresty"
|
|
AppMysql = "mysql"
|
|
AppRedis = "redis"
|
|
)
|
|
|
|
type AppOperate string
|
|
|
|
var (
|
|
Up AppOperate = "up"
|
|
Down AppOperate = "down"
|
|
Start AppOperate = "start"
|
|
Stop AppOperate = "stop"
|
|
Restart AppOperate = "restart"
|
|
Delete AppOperate = "delete"
|
|
Sync AppOperate = "sync"
|
|
Backup AppOperate = "backup"
|
|
Restore AppOperate = "restore"
|
|
Update AppOperate = "update"
|
|
Rebuild AppOperate = "rebuild"
|
|
Upgrade AppOperate = "upgrade"
|
|
)
|