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

Method ImagePrune

cli/command/image/client_test.go:83–88  ·  view source on GitHub ↗
(_ context.Context, opts client.ImagePruneOptions)

Source from the content-addressed store, hash-verified

81}
82
83func (cli *fakeClient) ImagePrune(_ context.Context, opts client.ImagePruneOptions) (client.ImagePruneResult, error) {
84 if cli.imagePruneFunc != nil {
85 return cli.imagePruneFunc(opts)
86 }
87 return client.ImagePruneResult{}, nil
88}
89
90func (cli *fakeClient) ImageLoad(_ context.Context, input io.Reader, options ...client.ImageLoadOption) (client.ImageLoadResult, error) {
91 if cli.imageLoadFunc != nil {

Callers 1

runPruneFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected