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

Method SetCurrentAgent

pkg/runtime/runtime.go:729–731  ·  view source on GitHub ↗
(_ context.Context, agentName string)

Source from the content-addressed store, hash-verified

727}
728
729func (r *LocalRuntime) SetCurrentAgent(_ context.Context, agentName string) error {
730 return r.agents.SetValidated(agentName)
731}
732
733func (r *LocalRuntime) CurrentAgentCommands(context.Context) types.Commands {
734 return r.CurrentAgent().Commands()

Callers

nothing calls this directly

Calls 1

SetValidatedMethod · 0.80

Tested by

no test coverage detected