Documentation ¶
Index ¶
- Constants
- func DeleteAutocompletionData() error
- func DeleteConfigDir() error
- func EnsureSshConfigEntryAdded(profileId, workspaceName, projectName string) error
- func GetBinaryUrls() map[os.OperatingSystem]string
- func GetClientId() string
- func GetConfigDir() (string, error)
- func GetDocsLinkFromGitProvider(providerId string) string
- func GetProjectHostname(profileId, workspaceId, projectName string) string
- func GetScopesFromGitProvider(providerId string) string
- func IsNotExist(err error) bool
- func RemoveWorkspaceSshEntries(profileId, workspaceId string) error
- func TelemetryEnabled() bool
- func UnlinkSshFiles() error
- type Config
- func (c *Config) AddProfile(profile Profile) error
- func (c *Config) DisableTelemetry() error
- func (c *Config) EditProfile(profile Profile) error
- func (c *Config) EnableTelemetry() error
- func (c *Config) GetActiveProfile() (Profile, error)
- func (c *Config) GetProfile(profileId string) (Profile, error)
- func (c *Config) RemoveProfile(profileId string) error
- func (c *Config) Save() error
- type GitProvider
- type Ide
- type Profile
- type ServerApi
Constants ¶
View Source
const DefaultIdeId = "vscode"
Variables ¶
This section is empty.
Functions ¶
func DeleteAutocompletionData ¶ added in v0.7.0
func DeleteAutocompletionData() error
func DeleteConfigDir ¶ added in v0.7.0
func DeleteConfigDir() error
func GetBinaryUrls ¶
func GetBinaryUrls() map[os.OperatingSystem]string
func GetClientId ¶ added in v0.23.0
func GetClientId() string
func GetConfigDir ¶
func GetProjectHostname ¶
func GetScopesFromGitProvider ¶ added in v0.17.0
func IsNotExist ¶ added in v0.11.0
func TelemetryEnabled ¶ added in v0.23.0
func TelemetryEnabled() bool
func UnlinkSshFiles ¶ added in v0.7.0
func UnlinkSshFiles() error
Types ¶
type Config ¶
type Config struct { Id string `json:"id"` ActiveProfileId string `json:"activeProfile"` DefaultIdeId string `json:"defaultIde"` Profiles []Profile `json:"profiles"` TelemetryEnabled bool `json:"telemetryEnabled"` }
func (*Config) AddProfile ¶
func (*Config) DisableTelemetry ¶ added in v0.23.0
func (*Config) EditProfile ¶
func (*Config) EnableTelemetry ¶ added in v0.23.0
func (*Config) GetActiveProfile ¶
func (*Config) RemoveProfile ¶
type GitProvider ¶
func GetSupportedGitProviders ¶ added in v0.11.0
func GetSupportedGitProviders() []GitProvider
Click to show internal directories.
Click to hide internal directories.