Documentation
¶
Index ¶
- func Cp(tagForLog string, from string, containerID string, to string) error
- func GetContainerIDFromWorkspaceFolder(workspaceFolder string) (string, error)
- func GetID(psCommandResult string) (string, error)
- func Ps(filter string) (string, error)
- func Rm(containerID string) error
- func Run(args []string, vimFilePath string, cdrPath string, configDirForDocker string, ...) error
- func Stop(containerID string) error
- type ChmodError
- type ContainerNotFoundError
- type ContainerStartError
- type PsCommandResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetContainerIDFromWorkspaceFolder ¶ added in v0.10.0
workspaceFolder で指定したディレクトリに対応するコンテナのコンテナ ID を返却する
Types ¶
type ChmodError ¶ added in v1.2.3
type ChmodError struct {
// contains filtered or unexported fields
}
func (*ChmodError) Error ¶ added in v1.2.3
func (e *ChmodError) Error() string
type ContainerNotFoundError ¶ added in v1.2.3
type ContainerNotFoundError struct {
// contains filtered or unexported fields
}
func (*ContainerNotFoundError) Error ¶ added in v1.2.3
func (e *ContainerNotFoundError) Error() string
type ContainerStartError ¶ added in v1.2.3
type ContainerStartError struct {
// contains filtered or unexported fields
}
func (*ContainerStartError) Error ¶ added in v1.2.3
func (e *ContainerStartError) Error() string
type PsCommandResult ¶
type PsCommandResult struct {
ID string `json:"ID"`
}
`docker ps --format json` コマンドの実行結果スキーマ
Example:
{
}
func UnmarshalPsCommandResult ¶
func UnmarshalPsCommandResult(data []byte) (PsCommandResult, error)
Click to show internal directories.
Click to hide internal directories.