1Panel/backend/constant/container.go
2022-12-02 14:10:01 +08:00

21 lines
530 B
Go

package constant
const (
ContainerOpStart = "start"
ContainerOpStop = "stop"
ContainerOpRestart = "restart"
ContainerOpKill = "kill"
ContainerOpPause = "pause"
ContainerOpUnpause = "unpause"
ContainerOpRename = "rename"
ContainerOpRemove = "remove"
ComposeOpStop = "stop"
ComposeOpRestart = "restart"
ComposeOpRemove = "remove"
DaemonJsonDir = "/opt/1Panel/docker/conf/daemon.json"
TmpDockerBuildDir = "/opt/1Panel/data/docker/build"
TmpComposeBuildDir = "/opt/1Panel/data/docker/compose"
)