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(client 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
- v20.10.21+incompatible
- Published
- Oct 25, 2022
- Platform
- darwin/amd64
- Imports
- 5 packages
- Last checked
- 7 minutes ago –
Tools for package owners.