devcontainer

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DevContainer

type DevContainer struct {
	DirPath string
	Name    string `json:"name"`
	Build   struct {
		Dockerfile string            `json:"dockerfile"`
		Context    string            `json:"context"`
		Args       map[string]string `json:"args"`
	} `json:"build"`
	RunArgs           []string                 `json:"runArgs"`
	WorkspaceMount    string                   `json:"workspaceMount"`
	WorkspaceFolder   string                   `json:"workspaceFolder"`
	Settings          map[string]interface{}   `json:"settings"`
	Extensions        []string                 `json:"extensions"`
	ForwardPorts      []string                 `json:"forwardPorts"`
	PortsAttributes   map[string]PortAttribute `json:"portsAttributes"`
	PostCreateCommand string                   `json:"postCreateCommand"`
	RemoteUser        string                   `json:"remoteUser"`
}

func ParseJson

func ParseJson(path string) (DevContainer, error)

type PortAttribute

type PortAttribute struct {
	Label         string `json:"label"`
	OnAutoForward string `json:"onAutoForward"`
}

Jump to

Keyboard shortcuts

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