Documentation
¶
Index ¶
Constants ¶
View Source
const ( DownloadAmd64Option = "DOWNLOAD_AMD64" DownloadArm64Option = "DOWNLOAD_ARM64" OpenSameWindow = "OPEN_SAME_WINDOW" )
Variables ¶
View Source
var Options = ide.Options{ OpenSameWindow: { Name: OpenSameWindow, Description: "If true, DevPod will open the project in the same vscode window", Default: "false", Enum: []string{ "false", "true", }, }, DownloadArm64Option: { Name: DownloadArm64Option, Description: "The download url for the arm64 vscode server binary", Default: "https://aka.ms/vscode-server-launcher/aarch64-unknown-linux-gnu", }, DownloadAmd64Option: { Name: DownloadAmd64Option, Description: "The download url for the amd64 vscode server binary", Default: "https://aka.ms/vscode-server-launcher/x86_64-unknown-linux-gnu", }, }
Functions ¶
Types ¶
type VsCodeServer ¶
type VsCodeServer struct {
// contains filtered or unexported fields
}
func NewVSCodeServer ¶
func NewVSCodeServer(extensions []string, settings string, userName string, values map[string]config.OptionValue, log log.Logger) *VsCodeServer
func (*VsCodeServer) Install ¶
func (o *VsCodeServer) Install() error
func (*VsCodeServer) InstallExtensions ¶
func (o *VsCodeServer) InstallExtensions() error
Click to show internal directories.
Click to hide internal directories.