MCPcopy Index your code
hub / github.com/loft-sh/devpod / DevPodWorkspaceDelete

Method DevPodWorkspaceDelete

e2e/framework/command.go:251–256  ·  view source on GitHub ↗
(ctx context.Context, workspace string, extraArgs ...string)

Source from the content-addressed store, hash-verified

249}
250
251func (f *Framework) DevPodWorkspaceDelete(ctx context.Context, workspace string, extraArgs ...string) error {
252 baseArgs := []string{"delete", workspace, "--ignore-not-found"}
253 baseArgs = append(baseArgs, extraArgs...)
254
255 return f.ExecCommand(ctx, false, true, fmt.Sprintf("Successfully deleted workspace '%s'", workspace), baseArgs)
256}
257
258func (f *Framework) SetupGPG(tmpDir string) error {
259 if _, err := exec.LookPath("gpg"); err != nil {

Callers 4

integration.goFile · 0.80
proxyprovider.goFile · 0.80
machineprovider.goFile · 0.80
up.goFile · 0.80

Calls 1

ExecCommandMethod · 0.95

Tested by

no test coverage detected