1Panel/backend/constant/container.go

21 lines
548 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"
DaemonJsonDir = "/System/Volumes/Data/Users/slooop/.docker/daemon.json"
TmpDockerBuildDir = "/opt/1Panel/data/docker/build"
TmpComposeBuildDir = "/opt/1Panel/data/docker/compose"
)