Documentation
¶
Index ¶
Constants ¶
View Source
const CONTAINER_COMMAND = "docker"
Variables ¶
View Source
var DEVCONTAINRE_ARGS_PREFIX = []string{"up"}
Functions ¶
func ExecuteDevcontainer ¶
func GetContainerId ¶
Types ¶
type UpCommandResult ¶
type UpCommandResult struct {
Outcome string `json:"outcome"`
ContainerId string `json:"containerId"`
ComposeProjectName string `json:"composeProjectName"`
RemoteUser string `json:"remoteUser"`
RemoteWorkspaceFolder string `json:"remoteWorkspaceFolder"`
}
`devcontainers up` コマンドの実行結果スキーマ
Example: {"outcome":"success","containerId":"7278c789a975c34177e0b77d00477d5518c4fae4e66e6f0f9196561d5f895740","composeProjectName":"oasiz-mqtt-client","remoteUser":"root","remoteWorkspaceFolder":"/work"}
func UnmarshalUpCommandResult ¶
func UnmarshalUpCommandResult(data []byte) (UpCommandResult, error)
Click to show internal directories.
Click to hide internal directories.