(ctx context.Context, name string, extraArgs ...string)
| 348 | } |
| 349 | |
| 350 | func (f *Framework) DevPodContextDelete(ctx context.Context, name string, extraArgs ...string) error { |
| 351 | baseArgs := []string{"context", "delete", name} |
| 352 | err := f.ExecCommand(ctx, false, true, "", append(baseArgs, extraArgs...)) |
| 353 | if err != nil { |
| 354 | return fmt.Errorf("devpod context delete failed: %s", err.Error()) |
| 355 | } |
| 356 | return nil |
| 357 | } |
no test coverage detected