Versions in this module Expand all Collapse all v0 v0.12.4 Jan 17, 2024 Changes in this version + func ReadTarToMap(dt []byte, compressed bool) (map[string]*TarItem, error) + type ImageInfo struct + Desc ocispecs.Descriptor + Img ocispecs.Image + Layers []map[string]*TarItem + LayersRaw [][]byte + Manifest ocispecs.Manifest + func ReadImage(ctx context.Context, p content.Provider, desc ocispecs.Descriptor) (*ImageInfo, error) + type ImagesInfo struct + Desc ocispecs.Descriptor + Images []*ImageInfo + Index ocispecs.Index + func ReadImages(ctx context.Context, p content.Provider, desc ocispecs.Descriptor) (*ImagesInfo, error) + func (idx ImagesInfo) Filter(platform string) *ImagesInfo + func (idx ImagesInfo) Find(platform string) *ImageInfo + func (idx ImagesInfo) FindAttestation(platform string) *ImageInfo + type TarItem struct + Data []byte + Header *tar.Header