MCPcopy Create free account
hub / github.com/containers/image / DeleteImage

Method DeleteImage

docker/docker_transport.go:193–195  ·  view source on GitHub ↗

DeleteImage deletes the named image from the registry, if supported.

(ctx context.Context, sys *types.SystemContext)

Source from the content-addressed store, hash-verified

191
192// DeleteImage deletes the named image from the registry, if supported.
193func (ref dockerReference) DeleteImage(ctx context.Context, sys *types.SystemContext) error {
194 return deleteImage(ctx, sys, ref)
195}
196
197// tagOrDigest returns a tag or digest from the reference.
198func (ref dockerReference) tagOrDigest() (string, error) {

Callers

nothing calls this directly

Calls 1

deleteImageFunction · 0.85

Tested by

no test coverage detected