package image
Type Members
-
class
DescriptorDigest extends AnyRef
Represents a SHA-256 content descriptor digest as defined by the Registry HTTP API v2 reference.
Represents a SHA-256 content descriptor digest as defined by the Registry HTTP API v2 reference.
- See also
<a href="https://docs.docker.com/registry/spec/api/#content-digests">https://docs.docker.com/registry/spec/api/#content-digests
-
class
DigestOnlyLayer extends Layer
A
Layerreference that only has itsDescriptorDigest. -
class
Image[T <: Layer] extends AnyRef
Represents an image.
- sealed abstract final class ImageFormat extends Enum[ImageFormat]
-
class
ImageLayers[T <: Layer] extends Iterable[T]
Holds the layers for an image.
Holds the layers for an image. Makes sure that each layer is only added once.
-
class
ImageReference extends AnyRef
Represents an image reference.
Represents an image reference.
- See also
<a href="https://github.com/docker/distribution/blob/master/reference/reference.go">https://github.com/docker/distribution/blob/master/reference/reference.go
<a href="https://docs.docker.com/engine/reference/commandline/tag/#extended-description">https://docs.docker.com/engine/reference/commandline/tag/#extended-description
-
class
InvalidImageReferenceException extends Exception
Thrown when attempting to parse an invalid image reference.
-
trait
Layer extends AnyRef
Represents a layer in an image.
Represents a layer in an image. Implementations represent the various types of layers.
An image layer consists of:
- Content BLOB
-
- The compressed archive (tarball gzip) of the partial filesystem changeset.
- Content Digest
-
- The SHA-256 hash of the content BLOB.
- Content Size
-
- The size (in bytes) of the content BLOB.
- Diff ID
-
- The SHA-256 hash of the uncompressed archive (tarball) of the partial filesystem changeset.
-
class
LayerCountMismatchException extends Exception
Exception thrown when the number of layers found did not match expectations.
-
class
LayerEntry extends AnyRef
Represents an entry in the layer.
Represents an entry in the layer. A layer consists of many entries that can be converted into tar archive entries.
-
class
LayerPropertyNotFoundException extends RuntimeException
Exception thrown when accessing non-existent properties of layers.
-
class
ReferenceLayer extends Layer
A
Layerreference that does not have the underlying content.A
Layerreference that does not have the underlying content. It references the layer with its digest, size, and diff ID. -
class
ReferenceNoDiffIdLayer extends Layer
A
Layerreference that does not have the underlying content.A
Layerreference that does not have the underlying content. It references the layer with its digest and size, but not its diff ID. -
class
ReproducibleLayerBuilder extends AnyRef
Builds a reproducible
UnwrittenLayerfrom files.Builds a reproducible
UnwrittenLayerfrom files. The reproducibility is implemented by strips out all non-reproducible elements (modification time, group ID, user ID, user name, and group name) from name-sorted tar archive entries. - class UnwrittenLayer extends Layer