(ctx context.Context, workspace string)
| 182 | } |
| 183 | |
| 184 | func (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 | |
| 194 | func (f *Framework) DevPodProviderAdd(ctx context.Context, args ...string) error { |
| 195 | baseArgs := []string{"provider", "add"} |
no test coverage detected