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

Method ImageInspect

cli/command/image/client_test.go:104–109  ·  view source on GitHub ↗
(_ context.Context, img string, _ ...client.ImageInspectOption)

Source from the content-addressed store, hash-verified

102}
103
104func (cli *fakeClient) ImageInspect(_ context.Context, img string, _ ...client.ImageInspectOption) (client.ImageInspectResult, error) {
105 if cli.imageInspectFunc != nil {
106 return cli.imageInspectFunc(img)
107 }
108 return client.ImageInspectResult{}, nil
109}
110
111func (cli *fakeClient) ImageImport(_ context.Context, source client.ImageImportSource, ref string, options client.ImageImportOptions) (client.ImageImportResult, error) {
112 if cli.imageImportFunc != nil {

Callers 2

runInspectFunction · 0.45
inspectImagesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected