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

Method DevPodProviderUpdate

e2e/framework/command.go:215–223  ·  view source on GitHub ↗
(ctx context.Context, args ...string)

Source from the content-addressed store, hash-verified

213}
214
215func (f *Framework) DevPodProviderUpdate(ctx context.Context, args ...string) error {
216 baseArgs := []string{"provider", "update"}
217 baseArgs = append(baseArgs, args...)
218 err := f.ExecCommand(ctx, false, false, "", baseArgs)
219 if err != nil {
220 return fmt.Errorf("devpod provider update failed: %s", err.Error())
221 }
222 return nil
223}
224
225func (f *Framework) DevPodMachineCreate(args []string) error {
226 baseArgs := []string{"machine", "create"}

Callers 1

provider.goFile · 0.80

Calls 3

ExecCommandMethod · 0.95
ErrorfMethod · 0.45
ErrorMethod · 0.45

Tested by

no test coverage detected