- Add a CompressionAnnotations field
- Allow turning a known-zstd blob into a zstd:chunked one if we
know the right annotations
This just adds the fields, nothing sets them yet, should not change behavior.
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This is a subset of types.BlobInfo the transports
actually should deal with. Also tighten the semantics a bit,
to be much more explicit about what the transports are responsible for.
This allows us to stop tracking MIME types in storage.addedLayerInfo,
so simplify that.
Then fix the generic code so that blob annotations are not discarded
on blob reuse.
Signed-off-by: Miloslav Trmač <mitr@redhat.com>