(ctx context.Context, dockerCli command.Cli)
| 155 | } |
| 156 | |
| 157 | func inspectPlugin(ctx context.Context, dockerCli command.Cli) inspect.GetRefFunc { |
| 158 | return func(ref string) (any, []byte, error) { |
| 159 | res, err := dockerCli.Client().PluginInspect(ctx, ref, client.PluginInspectOptions{}) |
| 160 | return res.Plugin, res.Raw, err |
| 161 | } |
| 162 | } |
| 163 | |
| 164 | func inspectSecret(ctx context.Context, dockerCli command.Cli) inspect.GetRefFunc { |
| 165 | return func(ref string) (any, []byte, error) { |
no test coverage detected
searching dependent graphs…