Interface Layer

  • All Known Implementing Classes:
    CachedLayer, DigestOnlyLayer, ReferenceLayer, ReferenceNoDiffIdLayer

    public interface Layer
    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.