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

Function singleSource

pkg/config/resolve.go:180–182  ·  view source on GitHub ↗

singleSource wraps a single source in a Sources map.

(key string, source Source)

Source from the content-addressed store, hash-verified

178
179// singleSource wraps a single source in a Sources map.
180func singleSource(key string, source Source) Sources {
181 return Sources{key: source}
182}
183
184// resolve resolves an agent reference, handling aliases and defaults
185func resolve(agentFilename string) (string, error) {

Callers 1

ResolveSourcesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected