Documentation ¶
Index ¶
Constants ¶
View Source
const UIEnvVar = "DEVPOD_UI"
Variables ¶
View Source
var UIEventsExceptions []string = []string{
"devpod list",
"devpod status",
"devpod provider list",
"devpod pro list",
"devpod pro check-health",
"devpod pro check-update",
}
Functions ¶
func GetMachineID ¶ added in v0.6.6
func GetMachineID() string
GetMachineID retrieves machine ID and encodes it together with users $HOME path and extra key to protect privacy. Returns a hex-encoded string.
Types ¶
type CLICollector ¶ added in v0.6.6
type CLICollector interface { RecordCLI(err error) SetClient(client devpodclient.BaseWorkspaceClient) // Flush makes sure all events are sent to the backend Flush() }
var CollectorCLI CLICollector = &noopCollector{}
skip everything in pro mode
type ErrorSeverityType ¶ added in v0.6.6
type ErrorSeverityType string
const ( WarningSeverity ErrorSeverityType = "warning" ErrorSeverity ErrorSeverityType = "error" FatalSeverity ErrorSeverityType = "fatal" PanicSeverity ErrorSeverityType = "panic" )
Click to show internal directories.
Click to hide internal directories.