Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigFilePath ¶
type Configuration ¶
type Configuration struct { Name string `json:"name"` DockerFile string `json:"dockerFile"` RunArgs []string `json:"runArgs"` InitializeCommand string `json:"initializeCommand"` PostCreateCommand string `json:"postCreateCommand"` RemoteUser string `json:"remoteUser"` Features map[string]interface{} `json:"features"` ForwardPorts []int `json:"forwardPorts"` Customizations map[string]interface{} `json:"customizations"` ConfigFilePath ConfigFilePath `json:"configFilePath"` }
func (*Configuration) GetCustomizations ¶
func (c *Configuration) GetCustomizations(tool Tool) *Customizations
type Customizations ¶
type Customizations struct { Extensions []string `json:"extensions"` Settings map[string]interface{} `json:"settings"` }
func MergeCustomizations ¶
func MergeCustomizations(customizations []Customizations) *Customizations
type DevcontainerUpResult ¶ added in v0.23.0
type Feature ¶
type Feature struct { Id string `json:"id"` Version string `json:"version"` Name string `json:"name"` DocumentationURL string `json:"documentationURL"` Description string `json:"description"` Options map[string]interface{} `json:"options"` LicenceURL string `json:"licenceURL"` Keywords string `json:"keywords"` Entrypoint string `json:"entrypoint"` Privileged bool `json:"privileged"` ContainerEnv map[string]string `json:"containerEnv"` Customizations map[string]interface{} `json:"customizations"` Mounts []Mount `json:"mounts"` InstallsAfter []string `json:"installsAfter"` Included bool `json:"included"` Value string `json:"value"` CachePath string `json:"cachePath"` ConsecutiveId string `json:"consecutiveId"` Init bool `json:"init"` CapAdd []string `json:"capAdd"` SecurityOpt []string `json:"securityOpt"` LegacyIds []string `json:"legacyIds"` Deprecated bool `json:"deprecated"` }
type FeatureRef ¶
type MergedConfiguration ¶
type MergedConfiguration struct { Name string `json:"name"` DockerFile string `json:"dockerFile"` RunArgs []string `json:"runArgs"` RemoteUser string `json:"remoteUser"` Features map[string]interface{} `json:"features"` ForwardPorts []int `json:"forwardPorts"` ConfigFilePath ConfigFilePath `json:"configFilePath"` Init bool `json:"init"` Privileged bool `json:"privileged"` Entrypoints []string `json:"entrypoints"` Mounts []Mount `json:"mounts"` RemoteEnv map[string]string `json:"remoteEnv"` ContainerEnv map[string]string `json:"containerEnv"` PortsAttributes map[string]PortAttributes `json:"portsAttributes"` // Commands InitializeCommand interface{} `json:"initializeCommand"` OnCreateCommands interface{} `json:"onCreateCommands"` UpdateContentCommands interface{} `json:"updateContentCommands"` PostCreateCommands interface{} `json:"postCreateCommands"` PostStartCommands interface{} `json:"postStartCommands"` PostAttachCommands interface{} `json:"postAttachCommands"` }
type PortAttributes ¶
type Root ¶
type Root struct { // FeaturesConfiguration FeaturesConfiguration `json:"featuresConfiguration"` Configuration Configuration `json:"configuration"` Workspace Workspace `json:"workspace"` MergedConfiguration MergedConfiguration `json:"mergedConfiguration"` }
Click to show internal directories.
Click to hide internal directories.