MCPcopy Index your code
hub / github.com/docker/cli / inspectVolume

Function inspectVolume

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

Source from the content-addressed store, hash-verified

148}
149
150func 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
157func inspectPlugin(ctx context.Context, dockerCli command.Cli) inspect.GetRefFunc {
158 return func(ref string) (any, []byte, error) {

Callers 1

inspectAllFunction · 0.85

Calls 2

VolumeInspectMethod · 0.80
ClientMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…