(ctx context.Context, provider string, searchStr string, extraArgs ...string)
| 321 | } |
| 322 | |
| 323 | func (f *Framework) DevPodProviderFindOption(ctx context.Context, provider string, searchStr string, extraArgs ...string) error { |
| 324 | baseArgs := []string{"provider", "options", provider} |
| 325 | err := f.ExecCommand(ctx, false, true, searchStr, append(baseArgs, extraArgs...)) |
| 326 | if err != nil { |
| 327 | return fmt.Errorf("devpod provider use failed: %s", err.Error()) |
| 328 | } |
| 329 | return nil |
| 330 | } |
| 331 | |
| 332 | func (f *Framework) DevPodContextCreate(ctx context.Context, name string, extraArgs ...string) error { |
| 333 | baseArgs := []string{"context", "create", name} |
no test coverage detected