Versions in this module Expand all Collapse all v0 v0.20.3 Mar 19, 2026 v0.20.2 Mar 19, 2026 v0.20.1 Mar 5, 2026 v0.20.0 Feb 26, 2026 v0.19.11 Feb 5, 2026 v0.19.10 Jan 14, 2026 v0.19.9 Jan 7, 2026 v0.19.8 Dec 5, 2025 v0.19.7 Nov 21, 2025 v0.19.6 Nov 7, 2025 v0.19.5 Nov 5, 2025 v0.19.4 Oct 30, 2025 v0.19.3 Oct 23, 2025 v0.19.2 Oct 8, 2025 v0.19.1 Oct 7, 2025 v0.19.0 Sep 30, 2025 v0.18.19 Sep 18, 2025 Changes in this version + const AttestationInlineOnlyKey + const AttestationReasonKey + const AttestationReasonProvenance + const AttestationReasonSBOM + const AttestationSBOMCore + func EachRef[U comparable, V comparable](a *Result[U], b *Result[V], fn func(U, V) error) (err error) + func FromDigestMap(m map[string]string) []digest.Digest + func ToDigestMap(ds ...digest.Digest) map[string]string + type Attestation struct + ContentFunc func() ([]byte, error) + InToto InTotoAttestation + Kind pb.AttestationKind + Metadata map[string][]byte + Path string + Ref T + func ConvertAttestation[U comparable, V comparable](a *Attestation[U], fn func(U) (V, error)) (*Attestation[V], error) + type InTotoAttestation struct + PredicateType string + Subjects []InTotoSubject + type InTotoSubject struct + Digest []digest.Digest + Kind pb.InTotoSubjectKind + Name string + type Result struct + Attestations map[string][]Attestation[T] + Metadata map[string][]byte + Ref T + Refs map[string]T + func ConvertResult[U comparable, V comparable](r *Result[U], fn func(U) (V, error)) (*Result[V], error) + func (r *Result[T]) AddAttestation(k string, v Attestation[T]) + func (r *Result[T]) AddMeta(k string, v []byte) + func (r *Result[T]) AddRef(k string, ref T) + func (r *Result[T]) Clone() *Result[T] + func (r *Result[T]) EachRef(fn func(T) error) (err error) + func (r *Result[T]) FindRef(key string) (T, bool) + func (r *Result[T]) SetRef(ref T) + func (r *Result[T]) SingleRef() (T, error)