(ctx context.Context, name string, extraArgs ...string)
| 339 | } |
| 340 | |
| 341 | func (f *Framework) DevPodContextUse(ctx context.Context, name string, extraArgs ...string) error { |
| 342 | baseArgs := []string{"context", "use", name} |
| 343 | err := f.ExecCommand(ctx, false, true, "", append(baseArgs, extraArgs...)) |
| 344 | if err != nil { |
| 345 | return fmt.Errorf("devpod context use failed: %s", err.Error()) |
| 346 | } |
| 347 | return nil |
| 348 | } |
| 349 | |
| 350 | func (f *Framework) DevPodContextDelete(ctx context.Context, name string, extraArgs ...string) error { |
| 351 | baseArgs := []string{"context", "delete", name} |
no test coverage detected