Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDevContainerURI ¶ added in v0.1.158565981
GetDevContainerURI gets the devcontainer URI for a folder to launch using the VS Code --folder-uri switch
func GetLocalFolderFromDevContainer ¶ added in v0.1.163415964
GetLocalFolderFromDevContainer looks up the local (host) folder name from the container labels
func GetWorkspaceMountPath ¶ added in v0.1.163415964
GetWorkspaceMountPath returns the devcontainer mount path for the devcontainer in the specified folder
Types ¶
type DevcontainerInfo ¶
DevcontainerInfo holds details about a devcontainer
func ListDevcontainers ¶
func ListDevcontainers() ([]DevcontainerInfo, error)
ListDevcontainers returns a list of devcontainers
type DevcontainerTemplate ¶ added in v0.1.114116943
type DevcontainerTemplate struct { Name string // Path is the path including the .devcontainer folder Path string }
DevcontainerTemplate holds info on templates for list/add etc
func GetTemplateByName ¶ added in v0.1.114116943
func GetTemplateByName(name string) (*DevcontainerTemplate, error)
GetTemplateByName returns the template with the specified name or nil if not found
func GetTemplates ¶ added in v0.1.114116943
func GetTemplates() ([]DevcontainerTemplate, error)
GetTemplates returns a list of discovered templates
Click to show internal directories.
Click to hide internal directories.