Versions in this module Expand all Collapse all v0 v0.6.0 Mar 24, 2024 Changes in this version + var EmptyData = []byte("{}") + var EmptyDigest = digest.FromBytes(EmptyData) + type Descriptor struct + Annotations map[string]string + ArtifactType string + Data []byte + Digest digest.Digest + MediaType string + Platform *platform.Platform + Size int64 + URLs []string + func DescriptorListFilter(dl []Descriptor, opt MatchOpt) []Descriptor + func DescriptorListSearch(dl []Descriptor, opt MatchOpt) (Descriptor, error) + func (d Descriptor) Equal(d2 Descriptor) bool + func (d Descriptor) GetData() ([]byte, error) + func (d Descriptor) MarshalPrettyTW(tw *tabwriter.Writer, prefix string) error + func (d Descriptor) Match(opt MatchOpt) bool + func (d Descriptor) Same(d2 Descriptor) bool + type MatchOpt struct + Annotations map[string]string + ArtifactType string + Platform *platform.Platform + SortAnnotation string + SortDesc bool