package idresolver
import "github.com/docker/cli/cli/command/idresolver"
Index ¶
Types ¶
type IDResolver ¶
type IDResolver struct {
// contains filtered or unexported fields
}
IDResolver provides ID to Name resolution.
func New ¶
func New(apiClient client.APIClient, noResolve bool) *IDResolver
New creates a new IDResolver.
func (*IDResolver) Resolve ¶
Resolve 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.
Source Files ¶
- Version
- v28.1.0+incompatible
- Published
- Apr 17, 2025
- Platform
- linux/amd64
- Imports
- 5 packages
- Last checked
- 1 hour ago –
Tools for package owners.