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

Method ImageSave

cli/command/image/client_test.go:46–51  ·  view source on GitHub ↗
(_ context.Context, images []string, options ...client.ImageSaveOption)

Source from the content-addressed store, hash-verified

44}
45
46func (cli *fakeClient) ImageSave(_ context.Context, images []string, options ...client.ImageSaveOption) (client.ImageSaveResult, error) {
47 if cli.imageSaveFunc != nil {
48 return cli.imageSaveFunc(images, options...)
49 }
50 return http.NoBody, nil
51}
52
53func (cli *fakeClient) ImageRemove(_ context.Context, img string, options client.ImageRemoveOptions) (client.ImageRemoveResult, error) {
54 if cli.imageRemoveFunc != nil {

Callers 1

runSaveFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected