Documentation ¶
Index ¶
Constants ¶
View Source
const ( OpenOption = "OPEN" VersionOption = "VERSION" DownloadAmd64Option = "DOWNLOAD_AMD64" DownloadArm64Option = "DOWNLOAD_ARM64" )
View Source
const DefaultVSCodePort = 10800
View Source
const DownloadAmd64Template = "https://github.com/gitpod-io/openvscode-server/releases/download/openvscode-server-%s/openvscode-server-%s-linux-x64.tar.gz"
View Source
const DownloadArm64Template = "https://github.com/gitpod-io/openvscode-server/releases/download/openvscode-server-%s/openvscode-server-%s-linux-arm64.tar.gz"
Variables ¶
View Source
var Options = ide.Options{ VersionOption: { Name: VersionOption, Description: "The version for the open vscode binary", Default: "v1.78.2", }, OpenOption: { Name: OpenOption, Description: "If DevPod should automatically open the browser", Default: "true", Enum: []string{ "true", "false", }, }, DownloadArm64Option: { Name: DownloadArm64Option, Description: "The download url for the arm64 vscode server binary", }, DownloadAmd64Option: { Name: DownloadAmd64Option, Description: "The download url for the amd64 vscode server binary", }, }
Functions ¶
This section is empty.
Types ¶
type OpenVSCodeServer ¶ added in v0.0.3
type OpenVSCodeServer struct {
// contains filtered or unexported fields
}
func NewOpenVSCodeServer ¶
func NewOpenVSCodeServer(extensions []string, settings string, userName string, host, port string, values map[string]config.OptionValue, log log.Logger) *OpenVSCodeServer
func (*OpenVSCodeServer) Install ¶ added in v0.0.3
func (o *OpenVSCodeServer) Install() error
func (*OpenVSCodeServer) InstallExtensions ¶ added in v0.0.3
func (o *OpenVSCodeServer) InstallExtensions() error
func (*OpenVSCodeServer) Start ¶ added in v0.0.3
func (o *OpenVSCodeServer) Start() error
Click to show internal directories.
Click to hide internal directories.