Documentation ¶
Index ¶
- Variables
- func DeleteAutocompletionData() error
- func DeleteConfigDir() error
- func EnsureSshConfigEntryAdded(profileId, workspaceName, projectName string, gpgKey string) error
- func ExportGPGKey(keyID, projectHostname string) error
- func GetBinaryUrls() map[os.OperatingSystem]string
- func GetClientId() string
- func GetConfigDir() (string, error)
- func GetDocsLinkForCommitSigning(providerId string) string
- func GetDocsLinkFromGitProvider(providerId string) string
- func GetErrorLogsDir() (string, error)
- func GetPrebuildScopesFromGitProviderId(providerId string) string
- func GetProjectHostname(profileId, workspaceId, projectName string) string
- func GetRequiredScopesFromGitProviderId(providerId string) string
- func GetWebhookEventHeaderKeyFromGitProvider(providerId string) string
- 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 ¶
This section is empty.
Variables ¶
View Source
var ErrNoProfilesFound = errors.New("no profiles found. Run `daytona serve` to create a default profile or `daytona profile add` to connect to a remote server")
Functions ¶
func DeleteAutocompletionData ¶ added in v0.7.0
func DeleteAutocompletionData() error
func DeleteConfigDir ¶ added in v0.7.0
func DeleteConfigDir() error
func ExportGPGKey ¶ added in v0.40.0
func GetBinaryUrls ¶
func GetBinaryUrls() map[os.OperatingSystem]string
func GetClientId ¶ added in v0.23.0
func GetClientId() string
func GetConfigDir ¶
func GetDocsLinkForCommitSigning ¶ added in v0.40.0
func GetErrorLogsDir ¶ added in v0.26.0
func GetPrebuildScopesFromGitProviderId ¶ added in v0.26.0
func GetProjectHostname ¶
func GetRequiredScopesFromGitProviderId ¶ added in v0.26.0
func GetWebhookEventHeaderKeyFromGitProvider ¶ added in v0.26.0
func RemoveWorkspaceSshEntries ¶
RemoveWorkspaceSshEntries removes all SSH entries for a given profileId and workspaceId
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.