MCPcopy Create free account
hub / github.com/docker/docker-agent / NewMultiProvider

Function NewMultiProvider

pkg/environment/multi.go:9–13  ·  view source on GitHub ↗
(providers ...Provider)

Source from the content-addressed store, hash-verified

7}
8
9func NewMultiProvider(providers ...Provider) *MultiProvider {
10 return &MultiProvider{
11 providers: providers,
12 }
13}
14
15func (p *MultiProvider) Get(ctx context.Context, name string) (string, bool) {
16 for _, provider := range p.providers {

Callers 7

CreateToolSetFunction · 0.92
computedEnvProviderMethod · 0.92
TestMultiProviderNoneFunction · 0.85
NewDefaultProviderFunction · 0.85

Calls

no outgoing calls

Tested by 4

TestMultiProviderNoneFunction · 0.68