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

Method ImageImport

cli/command/image/client_test.go:111–116  ·  view source on GitHub ↗
(_ context.Context, source client.ImageImportSource, ref string, options client.ImageImportOptions)

Source from the content-addressed store, hash-verified

109}
110
111func (cli *fakeClient) ImageImport(_ context.Context, source client.ImageImportSource, ref string, options client.ImageImportOptions) (client.ImageImportResult, error) {
112 if cli.imageImportFunc != nil {
113 return cli.imageImportFunc(source, ref, options)
114 }
115 return http.NoBody, nil
116}
117
118func (cli *fakeClient) ImageHistory(_ context.Context, img string, options ...client.ImageHistoryOption) (client.ImageHistoryResult, error) {
119 if cli.imageHistoryFunc != nil {

Callers 1

runImportFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected