(ctx context.Context, name string, extraArgs ...string)
| 330 | } |
| 331 | |
| 332 | func (f *Framework) DevPodContextCreate(ctx context.Context, name string, extraArgs ...string) error { |
| 333 | baseArgs := []string{"context", "create", name} |
| 334 | err := f.ExecCommand(ctx, false, true, "", append(baseArgs, extraArgs...)) |
| 335 | if err != nil { |
| 336 | return fmt.Errorf("devpod context create failed: %s", err.Error()) |
| 337 | } |
| 338 | return nil |
| 339 | } |
| 340 | |
| 341 | func (f *Framework) DevPodContextUse(ctx context.Context, name string, extraArgs ...string) error { |
| 342 | baseArgs := []string{"context", "use", name} |
no test coverage detected