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

Function inspectConfig

cli/command/system/inspect.go:171–176  ·  view source on GitHub ↗
(ctx context.Context, dockerCLI command.Cli)

Source from the content-addressed store, hash-verified

169}
170
171func inspectConfig(ctx context.Context, dockerCLI command.Cli) inspect.GetRefFunc {
172 return func(ref string) (any, []byte, error) {
173 res, err := dockerCLI.Client().ConfigInspect(ctx, ref, client.ConfigInspectOptions{})
174 return res.Config, res.Raw, err
175 }
176}
177
178func inspectAll(ctx context.Context, dockerCLI command.Cli, getSize bool, typeConstraint objectType) inspect.GetRefFunc {
179 inspectAutodetect := []struct {

Callers 1

inspectAllFunction · 0.85

Calls 2

ClientMethod · 0.65
ConfigInspectMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…