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

Method DevPodMachineDelete

e2e/framework/command.go:235–243  ·  view source on GitHub ↗
(args []string)

Source from the content-addressed store, hash-verified

233}
234
235func (f *Framework) DevPodMachineDelete(args []string) error {
236 baseArgs := []string{"machine", "delete"}
237 baseArgs = append(baseArgs, args...)
238 err := f.ExecCommand(context.Background(), false, false, "", baseArgs)
239 if err != nil {
240 return fmt.Errorf("devpod nachine delete failed: %s", err.Error())
241 }
242 return nil
243}
244
245func (f *Framework) DevPodWorkspaceStop(ctx context.Context, extraArgs ...string) error {
246 baseArgs := []string{"stop"}

Callers 2

delete.goFile · 0.80
create.goFile · 0.80

Calls 3

ExecCommandMethod · 0.95
ErrorfMethod · 0.45
ErrorMethod · 0.45

Tested by

no test coverage detected