2022-10-08 18:32:02 +08:00
|
|
|
package constant
|
|
|
|
|
|
|
|
const (
|
|
|
|
ContainerOpStart = "start"
|
|
|
|
ContainerOpStop = "stop"
|
2022-10-17 16:04:39 +08:00
|
|
|
ContainerOpRestart = "restart"
|
2022-10-08 18:32:02 +08:00
|
|
|
ContainerOpKill = "kill"
|
|
|
|
ContainerOpPause = "pause"
|
2022-10-17 16:04:39 +08:00
|
|
|
ContainerOpUnpause = "unpause"
|
|
|
|
ContainerOpRename = "rename"
|
2022-10-08 18:32:02 +08:00
|
|
|
ContainerOpRemove = "remove"
|
2022-10-10 16:47:05 +08:00
|
|
|
|
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"
|
2022-10-08 18:32:02 +08:00
|
|
|
)
|