Documentation
¶
Index ¶
- func Cp(tagForLog string, from string, containerID string, to string) error
- func Exec(containerID string, command ...string) (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 Stop(containerID string) error
- type ContainerNotFoundError
- type PsCommandResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetContainerIDFromWorkspaceFolder ¶
workspaceFolder で指定したディレクトリに対応するコンテナのコンテナ ID を返却する
Types ¶
type ContainerNotFoundError ¶
type ContainerNotFoundError struct {
// contains filtered or unexported fields
}
func (*ContainerNotFoundError) Error ¶
func (e *ContainerNotFoundError) 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.