(ctx context.Context, dockerCli command.Cli)
| 148 | } |
| 149 | |
| 150 | func inspectVolume(ctx context.Context, dockerCli command.Cli) inspect.GetRefFunc { |
| 151 | return func(ref string) (any, []byte, error) { |
| 152 | res, err := dockerCli.Client().VolumeInspect(ctx, ref, client.VolumeInspectOptions{}) |
| 153 | return res.Volume, res.Raw, err |
| 154 | } |
| 155 | } |
| 156 | |
| 157 | func inspectPlugin(ctx context.Context, dockerCli command.Cli) inspect.GetRefFunc { |
| 158 | return func(ref string) (any, []byte, error) { |
no test coverage detected
searching dependent graphs…