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

Method Close

types/types.go:299–299  ·  view source on GitHub ↗

Close removes resources associated with an initialized ImageDestination, if any.

()

Source from the content-addressed store, hash-verified

297 Reference() ImageReference
298 // Close removes resources associated with an initialized ImageDestination, if any.
299 Close() error
300
301 // SupportedManifestMIMETypes tells which manifest mime types the destination supports
302 // If an empty slice or nil it's returned, then any mime type can be tried to upload

Callers 15

TestCreateSignaturesFunction · 0.95
TestBlobCacheFunction · 0.95
TestWriteReadFunction · 0.95
TestPutBlobDigestFailureFunction · 0.95
TestPutblobFromLocalFileFunction · 0.95
TestReferenceNewImageFunction · 0.95
TestDestinationReferenceFunction · 0.95
TestGetPutManifestFunction · 0.95

Implementers 1

memoryImageDestinternal/image/docker_schema2_test.go

Calls

no outgoing calls

Tested by 15

TestCreateSignaturesFunction · 0.76
TestBlobCacheFunction · 0.76
TestWriteReadFunction · 0.76
TestPutBlobDigestFailureFunction · 0.76
TestPutblobFromLocalFileFunction · 0.76
TestReferenceNewImageFunction · 0.76
TestDestinationReferenceFunction · 0.76
TestGetPutManifestFunction · 0.76