Versions in this module Expand all Collapse all v0 v0.3.1 Aug 21, 2026 Changes in this version + const ExporterName + const ExporterVersion + const MerkleAlgorithm + const MerkleLeafFormula + const PredicateType + const StatementType + func Encode(b Bundle) ([]byte, error) + func LeafHash(e Entry) []byte + func MerkleRoot(entries []Entry) string + type Bundle struct + Predicate Predicate + PredicateType string + Subject []Subject + Type string + func Build(ctx context.Context, c client.Client, target string, opts Options) (Bundle, error) + func Decode(data []byte) (Bundle, error) + type Check struct + Detail string + Name string + OK bool + type Digest struct + SHA256 string + type Entry struct + Bytes int64 + ContentB64 string + ContentHash string + ContentType string + MaterializationID string + ObservedAt time.Time + Position int + Provenance map[string]string + Ref string + SnapshotID string + SourceRevision string + URI string + type Exporter struct + Name string + Version string + type FilesystemConfig struct + Path string + type GitHubConfig struct + Owner string + Path string + Ref string + Repo string + type HTTPConfig struct + Headers map[string]string + URL string + type Merkle struct + Algorithm string + Leaf string + Root string + type Options struct + Now func() time.Time + WithContent bool + type Policy struct + MaxAgeSeconds int64 + PinnedSnapshotID string + Strategy string + type Predicate struct + Entries []Entry + Exporter Exporter + GeneratedAt time.Time + ManifestCreatedAt time.Time + ManifestID string + Merkle Merkle + Replay Replay + Resources []Resource + RunID string + type Replay struct + AllMatch bool + Entries []ReplayEntry + Error string + VerifiedAt time.Time + type ReplayEntry struct + ActualHash string + Error string + ExpectedHash string + Match bool + Position int + type Report struct + Checks []Check + ContentChecked int + Entries int + MerkleRoot string + OK bool + ReplayChecked bool + ReplayMatched int + ReplayTotal int + func Verify(b Bundle, opts VerifyOptions) (Report, error) + type Resource struct + Missing bool + Namespace string + Path string + Policy Policy + Source Source + URI string + type Source struct + Config SourceConfig + Kind string + type SourceConfig struct + Filesystem *FilesystemConfig + GitHub *GitHubConfig + HTTP *HTTPConfig + type Subject struct + Digest Digest + Name string + type VerifyOptions struct + Client client.Client + Context context.Context