(ctx context.Context, dockerCli command.Cli)
| 141 | } |
| 142 | |
| 143 | func inspectTasks(ctx context.Context, dockerCli command.Cli) inspect.GetRefFunc { |
| 144 | return func(ref string) (any, []byte, error) { |
| 145 | res, err := dockerCli.Client().TaskInspect(ctx, ref, client.TaskInspectOptions{}) |
| 146 | return res.Task, res.Raw, err |
| 147 | } |
| 148 | } |
| 149 | |
| 150 | func inspectVolume(ctx context.Context, dockerCli command.Cli) inspect.GetRefFunc { |
| 151 | return func(ref string) (any, []byte, error) { |
no test coverage detected
searching dependent graphs…