MCPcopy
hub / github.com/loft-sh/devpod / DevPodContextDelete

Method DevPodContextDelete

e2e/framework/command.go:350–357  ·  view source on GitHub ↗
(ctx context.Context, name string, extraArgs ...string)

Source from the content-addressed store, hash-verified

348}
349
350func (f *Framework) DevPodContextDelete(ctx context.Context, name string, extraArgs ...string) error {
351 baseArgs := []string{"context", "delete", name}
352 err := f.ExecCommand(ctx, false, true, "", append(baseArgs, extraArgs...))
353 if err != nil {
354 return fmt.Errorf("devpod context delete failed: %s", err.Error())
355 }
356 return nil
357}

Callers 1

context.goFile · 0.80

Calls 3

ExecCommandMethod · 0.95
ErrorfMethod · 0.45
ErrorMethod · 0.45

Tested by

no test coverage detected