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

Method Cache

pkg/agent/agent.go:370–372  ·  view source on GitHub ↗

Cache returns the response cache configured for this agent, or nil when caching is disabled.

()

Source from the content-addressed store, hash-verified

368// Cache returns the response cache configured for this agent, or nil when
369// caching is disabled.
370func (a *Agent) Cache() *cache.Cache {
371 return a.cache
372}
373
374// Tools returns the tools available to this agent
375func (a *Agent) Tools(ctx context.Context) ([]tools.Tool, error) {

Callers 3

applyCacheDefaultFunction · 0.80
cacheResponseBuiltinMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected