MCPcopy Create free account
hub / github.com/docker/cli / inspectTasks

Function inspectTasks

cli/command/system/inspect.go:143–148  ·  view source on GitHub ↗
(ctx context.Context, dockerCli command.Cli)

Source from the content-addressed store, hash-verified

141}
142
143func 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
150func inspectVolume(ctx context.Context, dockerCli command.Cli) inspect.GetRefFunc {
151 return func(ref string) (any, []byte, error) {

Callers 1

inspectAllFunction · 0.85

Calls 2

TaskInspectMethod · 0.80
ClientMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…