Removes image versions that no sandbox uses.
Deletes an image and all its versions. Fails while a sandbox uses any version.
Deletes one version of an image. Fails while a sandbox uses it. Returns the image as it is afterwards.
Lists images, fetching further pages as iteration reaches them.
Lists the built-in images available to every team.
Lists an image's versions, fetching further pages as iteration reaches them.
Gets the build log of an image's latest build, including a failed one, oldest line first. Logs may take a short time to appear. Returns at most the 11,000 most recent lines in the range; narrow the range to see earlier ones.
Pushes an image, from a registry or from a build context that is built
into one. Waits for the image to be ready to use unless wait is false.
To create a sandbox from it, pass <name>:latest as the sandbox's
image.
A build context read from local files, from directory or a builder's
local files and directories, is zipped into a temporary file, removed
once uploaded, unless tempFile is false; any other is zipped in memory.
It is uploaded in one attempt. If the upload fails, the image is left as
the service has it, so push again or delete it.
Waits for an image to be ready to use, throwing ImageBuildError
if it fails or the wait times out. Checks the image's current status, so
right after pushing a new version of an image that was already built,
this may return before the new version is processed; push with wait
left on to avoid that.
Images that sandboxes are created from: pushing them from a build context or a registry, and finding and deleting them. Obtained from SandboxClient.images.