1Panel/backend/constant/container.go

21 lines
518 B
Go
Raw Normal View History

package constant
const (
ContainerOpStart = "start"
ContainerOpStop = "stop"
2022-10-17 16:04:39 +08:00
ContainerOpRestart = "restart"
ContainerOpKill = "kill"
ContainerOpPause = "pause"
2022-10-17 16:04:39 +08:00
ContainerOpUnpause = "unpause"
ContainerOpRename = "rename"
ContainerOpRemove = "remove"
2022-10-17 16:04:39 +08:00
ComposeOpStop = "stop"
ComposeOpRestart = "restart"
ComposeOpRemove = "remove"
TmpDockerBuildDir = "/opt/1Panel/data/docker/build"
TmpComposeBuildDir = "/opt/1Panel/data/docker/compose"
2023-01-05 17:29:27 +08:00
DaemonJsonPath = "/tmp/docker/daemon.json"
)