{"modulePath":"github.com/docker/CLI","version":"v29.10.1+incompatible","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package idresolver\n\n## Types\n\n```go\ntype IDResolver struct {\n\t// contains filtered or unexported fields\n}\n```\nIDResolver provides ID to Name resolution.\n\n```go\nfunc New(apiClient client.APIClient, noResolve bool) *IDResolver\n```\nNew creates a new IDResolver.\n\n```go\nfunc (r *IDResolver) Resolve(ctx context.Context, t any, id string) (string, error)\n```\nResolve will attempt to resolve an ID to a Name by querying the manager. Results are stored into a cache. If the \\`-n\\` flag is used in the command-line, resolution is disabled.\n\n","path":"github.com/docker/CLI/cli/command/idresolver","name":"idresolver","synopsis":"","isRedistributable":true}
