MCPcopy Index your code
hub / github.com/docker/cli / runInspect

Function runInspect

cli/command/plugin/inspect.go:42–48  ·  view source on GitHub ↗
(ctx context.Context, dockerCLI command.Cli, opts inspectOptions)

Source from the content-addressed store, hash-verified

40}
41
42func runInspect(ctx context.Context, dockerCLI command.Cli, opts inspectOptions) error {
43 apiClient := dockerCLI.Client()
44 return inspect.Inspect(dockerCLI.Out(), opts.pluginNames, opts.format, func(ref string) (any, []byte, error) {
45 res, err := apiClient.PluginInspect(ctx, ref, client.PluginInspectOptions{})
46 return res.Plugin, res.Raw, err
47 })
48}

Callers 1

newInspectCommandFunction · 0.70

Calls 4

PluginInspectMethod · 0.80
ClientMethod · 0.65
InspectMethod · 0.65
OutMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…