devcontainers

package
v0.1.115477710 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 26, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ListPartID                     int = 0
	ListPartLocalFolder            int = 1
	ListPartComposeProject         int = 2
	ListPartComposeService         int = 3
	ListPartComposeContainerNumber int = 4
	ListPartContainerName          int = 5
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DevcontainerInfo

type DevcontainerInfo struct {
	ContainerID      string
	ContainerName    string
	DevcontainerName string
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL