(t *testing.T)
| 70 | } |
| 71 | |
| 72 | func (c CreateDockerCVMConfig) validate(t *testing.T) { |
| 73 | t.Helper() |
| 74 | |
| 75 | if c.Image == "" { |
| 76 | t.Fatalf("an image must be provided") |
| 77 | } |
| 78 | |
| 79 | if c.Username == "" { |
| 80 | t.Fatalf("a username must be provided") |
| 81 | } |
| 82 | } |
| 83 | |
| 84 | // RunEnvbox runs envbox, it returns once the inner container has finished |
| 85 | // spinning up. |