Packages

package image

Type Members

  1. 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

    OCI Content Descriptor Digest

  2. class DigestOnlyLayer extends Layer

    A Layer reference that only has its DescriptorDigest.

  3. class Image[T <: Layer] extends AnyRef

    Represents an image.

  4. sealed abstract final class ImageFormat extends Enum[ImageFormat]

    Enumeration of BuildableManifestTemplates.

  5. 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.

  6. 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

  7. class InvalidImageReferenceException extends Exception

    Thrown when attempting to parse an invalid image reference.

  8. 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.
  9. class LayerCountMismatchException extends Exception

    Exception thrown when the number of layers found did not match expectations.

  10. class LayerPropertyNotFoundException extends Exception

    Exception thrown when accessing non-existent properties of layers.

  11. class ReferenceLayer extends Layer

    A Layer reference that does not have the underlying content.

    A Layer reference that does not have the underlying content. It references the layer with its digest, size, and diff ID.

  12. class ReferenceNoDiffIdLayer extends Layer

    A Layer reference that does not have the underlying content.

    A Layer reference that does not have the underlying content. It references the layer with its digest and size, but not its diff ID.

  13. class ReproducibleLayerBuilder extends AnyRef

    Builds a reproducible UnwrittenLayer from files.

    Builds a reproducible UnwrittenLayer from 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.

  14. class UnwrittenLayer extends Layer

    A layer that has not been written out and only has the unwritten content Blob.

    A layer that has not been written out and only has the unwritten content Blob. Once written, this layer becomes a CachedLayer.

Ungrouped