package
0.1.1229132657
Repository: https://github.com/stuartleeks/devcontainer-cli.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
GetClosestPathMatchForPath returns the dev container with the closes match to the specified path.
No description provided by the author
GetDevContainerURI gets the devcontainer URI for a folder to launch using the VS Code --folder-uri switch.
"remoteUser": "vscode".
GetLocalFolderFromDevContainer looks up the local (host) folder name from the container labels.
GetSnippetByName returns the template with the specified name or nil if not found.
GetSnippets returns a list of discovered templates.
GetSourceInfoFromDevContainer inspects the specified container and returns the SourceInfo.
GetTemplateByName returns the template with the specified name or nil if not found.
GetTemplates returns a list of discovered templates.
GetWorkspaceMountPath returns the devcontainer mount path for the devcontainer in the specified folder.
ListDevcontainers returns a list of devcontainers.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
COPY and RUN script from snippet in the Dockerfile (as with single-file snippet).
snippet to include as-is in the Dockerfile.
merge JSON file from snippet with target JSON file.

# Structs

DevcontainerInfo holds details about a devcontainer.
DevcontainerSnippet holds info on snippets for list/add etc Snippets can be either single script files or a directory with a set of files.
DevcontainerTemplate holds info on templates for list/add etc.
DockerMount represents mount info from Docker output.
FolderSnippet maps to the content of the snippet.json file for folder-based snippets.
No description provided by the author
SourceInfo holds properties about the source mounted in a dev container.
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author