Documentation ¶
Index ¶
- Constants
- func DeleteAutocompletionData() error
- func DeleteConfigDir() error
- func EnsureSshConfigEntryAdded(profileId, workspaceName, projectName string) error
- func GetBinaryUrls() map[os.OperatingSystem]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 UnlinkSshFiles() error
- type Config
- func (c *Config) AddProfile(profile Profile) error
- func (c *Config) EditProfile(profile Profile) 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 GetConfigDir ¶
func GetProjectHostname ¶
func GetScopesFromGitProvider ¶ added in v0.17.0
func IsNotExist ¶ added in v0.11.0
func UnlinkSshFiles ¶ added in v0.7.0
func UnlinkSshFiles() error
Types ¶
type Config ¶
type Config struct { ActiveProfileId string `json:"activeProfile"` DefaultIdeId string `json:"defaultIde"` Profiles []Profile `json:"profiles"` }
func (*Config) AddProfile ¶
func (*Config) EditProfile ¶
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.