Skip to main content

Function: saveImage()

saveImage(engineId, id, filename, token?): Promise<void>

Defined in: packages/extension-api/src/extension-api.d.ts:4105

Save on disk a tarball containing the image and its metadata.

Parameters

engineId

string

the id of the engine managing the image, obtained from the result of containerEngine.listImages

id

string

the id or name of the image on this engine, obtained from the result of containerEngine.listImages

filename

string

the file on which to save the container image content

token?

CancellationToken

an optional cancellation token which will cancel saving the image on disk when the token is canceled

Returns

Promise<void>