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

Method DevPodMachineCreate

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

Source from the content-addressed store, hash-verified

223}
224
225func (f *Framework) DevPodMachineCreate(args []string) error {
226 baseArgs := []string{"machine", "create"}
227 baseArgs = append(baseArgs, args...)
228 err := f.ExecCommand(context.Background(), false, false, "", baseArgs)
229 if err != nil {
230 return fmt.Errorf("devpod nachine create failed: %s", err.Error())
231 }
232 return nil
233}
234
235func (f *Framework) DevPodMachineDelete(args []string) error {
236 baseArgs := []string{"machine", "delete"}

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