MCPcopy Index your code
hub / github.com/docker/docker-agent / withTestProviderRegistry

Function withTestProviderRegistry

pkg/teamloader/teamloader_test.go:31–36  ·  view source on GitHub ↗
(opts ...Opt)

Source from the content-addressed store, hash-verified

29}
30
31func withTestProviderRegistry(opts ...Opt) []Opt {
32 return append([]Opt{
33 WithProviderRegistry(providerdefaults.NewDefaultRegistry()),
34 WithToolsetRegistry(testToolsetRegistry()),
35 }, opts...)
36}
37
38func collectExamples(t *testing.T) []string {
39 t.Helper()

Calls 3

WithToolsetRegistryFunction · 0.85
testToolsetRegistryFunction · 0.85
WithProviderRegistryFunction · 0.70

Tested by

no test coverage detected