MCPcopy Create free account
hub / github.com/coder/envbuilder / setupInMemoryRegistry

Function setupInMemoryRegistry

integration/integration_test.go:2595–2599  ·  view source on GitHub ↗
(t *testing.T, opts setupInMemoryRegistryOpts)

Source from the content-addressed store, hash-verified

2593}
2594
2595func setupInMemoryRegistry(t *testing.T, opts setupInMemoryRegistryOpts) string {
2596 t.Helper()
2597 regSrv := registrytest.New(t, mwtest.BasicAuthMW(opts.Username, opts.Password))
2598 return regSrv
2599}
2600
2601// TestMain runs before all tests to build the envbuilder image.
2602func TestMain(m *testing.M) {

Callers 2

TestPushImageFunction · 0.85

Calls 2

NewFunction · 0.92
BasicAuthMWFunction · 0.92

Tested by

no test coverage detected