MCPcopy Index your code
hub / github.com/coder/envbox / validate

Method validate

integration/integrationtest/docker.go:72–82  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

70}
71
72func (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.

Callers 1

RunEnvboxFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected