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

Method ImageLoad

cli/command/image/client_test.go:90–95  ·  view source on GitHub ↗
(_ context.Context, input io.Reader, options ...client.ImageLoadOption)

Source from the content-addressed store, hash-verified

88}
89
90func (cli *fakeClient) ImageLoad(_ context.Context, input io.Reader, options ...client.ImageLoadOption) (client.ImageLoadResult, error) {
91 if cli.imageLoadFunc != nil {
92 return cli.imageLoadFunc(input, options...)
93 }
94 return http.NoBody, nil
95}
96
97func (cli *fakeClient) ImageList(_ context.Context, options client.ImageListOptions) (client.ImageListResult, error) {
98 if cli.imageListFunc != nil {

Callers 1

runLoadFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected