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

Method ImageRemove

cli/command/image/client_test.go:53–58  ·  view source on GitHub ↗
(_ context.Context, img string, options client.ImageRemoveOptions)

Source from the content-addressed store, hash-verified

51}
52
53func (cli *fakeClient) ImageRemove(_ context.Context, img string, options client.ImageRemoveOptions) (client.ImageRemoveResult, error) {
54 if cli.imageRemoveFunc != nil {
55 return cli.imageRemoveFunc(img, options)
56 }
57 return client.ImageRemoveResult{}, nil
58}
59
60func (cli *fakeClient) ImagePush(_ context.Context, ref string, options client.ImagePushOptions) (client.ImagePushResponse, error) {
61 if cli.imagePushFunc != nil {

Callers 1

runRemoveFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected