Documentation ¶
Index ¶
- func AddWorkspaceConfigurationFlags(cmd *cobra.Command, flags WorkspaceConfigurationFlags, ...)
- func AwaitProviderInstalled(runnerId, providerName, version string) error
- func AwaitTargetState(targetId string, expectedStateName apiclient.ModelsResourceStateName) error
- func AwaitWorkspaceState(workspaceId string, expectedStateName apiclient.ModelsResourceStateName) error
- func CheckAnyWorkspaceConfigurationFlagSet(flags WorkspaceConfigurationFlags) bool
- func CloseTelemetryService() error
- func DeleteWorkspace(ctx context.Context, apiClient *apiclient.APIClient, ...) error
- func GetAliases(cmd string) []string
- func GetAllWorkspacesByState(state apiclient.ModelsResourceStateName) ([]string, cobra.ShellCompDirective)
- func GetGitProviderGpgKey(apiClient *apiclient.APIClient, ctx context.Context, providerConfigId *string) (*string, error)
- func GetRunnerFlow(apiClient *apiclient.APIClient, action string) (*runner.RunnerView, error)
- func GetWorkspaceNameCompletions() ([]string, cobra.ShellCompDirective)
- func MapKeyValue(arr []string) (map[string]string, error)
- func OpenIDE(ideId string, activeProfile config.Profile, ...) error
- func ReadBuildLogs(ctx context.Context, params ReadLogParams)
- func ReadRunnerLogs(ctx context.Context, params ReadLogParams)
- func ReadTargetLogs(ctx context.Context, params ReadLogParams)
- func ReadWorkspaceLogs(ctx context.Context, params ReadLogParams)
- func TrackTelemetryEvent(event telemetry.Event, clientId string) error
- type ReadLogParams
- type WorkspaceConfigurationFlags
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddWorkspaceConfigurationFlags ¶
func AddWorkspaceConfigurationFlags(cmd *cobra.Command, flags WorkspaceConfigurationFlags, multiWorkspaceFlagException bool)
func AwaitProviderInstalled ¶
func AwaitTargetState ¶
func AwaitTargetState(targetId string, expectedStateName apiclient.ModelsResourceStateName) error
func AwaitWorkspaceState ¶
func AwaitWorkspaceState(workspaceId string, expectedStateName apiclient.ModelsResourceStateName) error
func CheckAnyWorkspaceConfigurationFlagSet ¶
func CheckAnyWorkspaceConfigurationFlagSet(flags WorkspaceConfigurationFlags) bool
func CloseTelemetryService ¶
func CloseTelemetryService() error
func DeleteWorkspace ¶
func GetAliases ¶
func GetAllWorkspacesByState ¶
func GetAllWorkspacesByState(state apiclient.ModelsResourceStateName) ([]string, cobra.ShellCompDirective)
func GetGitProviderGpgKey ¶
func GetRunnerFlow ¶
func GetWorkspaceNameCompletions ¶
func GetWorkspaceNameCompletions() ([]string, cobra.ShellCompDirective)
func ReadBuildLogs ¶
func ReadBuildLogs(ctx context.Context, params ReadLogParams)
func ReadRunnerLogs ¶
func ReadRunnerLogs(ctx context.Context, params ReadLogParams)
func ReadTargetLogs ¶
func ReadTargetLogs(ctx context.Context, params ReadLogParams)
func ReadWorkspaceLogs ¶
func ReadWorkspaceLogs(ctx context.Context, params ReadLogParams)
Types ¶
type ReadLogParams ¶
type WorkspaceConfigurationFlags ¶
type WorkspaceConfigurationFlags struct { Builder *views_util.BuildChoice CustomImage *string CustomImageUser *string Branches *[]string DevcontainerPath *string EnvVars *[]string Manual *bool GitProviderConfig *string Labels *[]string }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.