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

Method DevPodProviderList

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

Source from the content-addressed store, hash-verified

147}
148
149func (f *Framework) DevPodProviderList(ctx context.Context, extraArgs ...string) error {
150 baseArgs := []string{"provider", "list"}
151 err := f.ExecCommand(ctx, false, true, "", append(baseArgs, extraArgs...))
152 if err != nil {
153 return fmt.Errorf("devpod provider list failed: %s", err.Error())
154 }
155 return nil
156}
157
158func (f *Framework) DevPodProviderUse(ctx context.Context, provider string, extraArgs ...string) error {
159 baseArgs := []string{"provider", "use", provider}

Callers 1

provider.goFile · 0.80

Calls 3

ExecCommandMethod · 0.95
ErrorfMethod · 0.45
ErrorMethod · 0.45

Tested by

no test coverage detected