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

Method DevPodProviderUse

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

Source from the content-addressed store, hash-verified

156}
157
158func (f *Framework) DevPodProviderUse(ctx context.Context, provider string, extraArgs ...string) error {
159 baseArgs := []string{"provider", "use", provider}
160 err := f.ExecCommand(ctx, false, true, "", append(baseArgs, extraArgs...))
161 if err != nil {
162 return fmt.Errorf("devpod provider use failed: %s", err.Error())
163 }
164 return nil
165}
166
167func (f *Framework) DevPodStatus(ctx context.Context, extraArgs ...string) (client.WorkspaceStatus, error) {
168 baseArgs := []string{"status", "--output", "json"}

Callers 13

proxyprovider.goFile · 0.80
ide.goFile · 0.80
ssh.goFile · 0.80
provider.goFile · 0.80
delete.goFile · 0.80
create.goFile · 0.80
docker-wsl.goFile · 0.80
up.goFile · 0.80
podman.goFile · 0.80
docker_build.goFile · 0.80
docker.goFile · 0.80

Calls 3

ExecCommandMethod · 0.95
ErrorfMethod · 0.45
ErrorMethod · 0.45

Tested by

no test coverage detected