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

Method DevPodStop

e2e/framework/command.go:184–192  ·  view source on GitHub ↗
(ctx context.Context, workspace string)

Source from the content-addressed store, hash-verified

182}
183
184func (f *Framework) DevPodStop(ctx context.Context, workspace string) error {
185 baseArgs := []string{"stop"}
186 baseArgs = append(baseArgs, workspace)
187 err := f.ExecCommand(ctx, false, false, "", baseArgs)
188 if err != nil {
189 return fmt.Errorf("devpod stop failed: %s", err.Error())
190 }
191 return nil
192}
193
194func (f *Framework) DevPodProviderAdd(ctx context.Context, args ...string) error {
195 baseArgs := []string{"provider", "add"}

Callers 2

proxyprovider.goFile · 0.80
machineprovider.goFile · 0.80

Calls 3

ExecCommandMethod · 0.95
ErrorfMethod · 0.45
ErrorMethod · 0.45

Tested by

no test coverage detected