Documentation ¶
Index ¶
- 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 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 DefaultProvider
- type GitProvider
- type Ide
- type Profile
- type ServerApi
Constants ¶
This section is empty.
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 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 DefaultProvider ¶
type GitProvider ¶
func GetSupportedGitProviders ¶ added in v0.11.0
func GetSupportedGitProviders() []GitProvider
Click to show internal directories.
Click to hide internal directories.