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

Method DevPodProviderAdd

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

Source from the content-addressed store, hash-verified

192}
193
194func (f *Framework) DevPodProviderAdd(ctx context.Context, args ...string) error {
195 baseArgs := []string{"provider", "add"}
196 baseArgs = append(baseArgs, args...)
197 err := f.ExecCommand(ctx, false, false, "", baseArgs)
198 if err != nil {
199 return fmt.Errorf("devpod provider add failed: %s", err.Error())
200 }
201 return nil
202}
203
204func (f *Framework) DevPodProviderDelete(ctx context.Context, args ...string) error {
205 baseArgs := []string{"provider", "delete"}

Callers 15

integration.goFile · 0.80
proxyprovider.goFile · 0.80
machineprovider.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

Calls 3

ExecCommandMethod · 0.95
ErrorfMethod · 0.45
ErrorMethod · 0.45

Tested by

no test coverage detected