(ctx context.Context, dockerCLI command.Cli, opts inspectOptions)
| 40 | } |
| 41 | |
| 42 | func 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 | } |
no test coverage detected
searching dependent graphs…