pkg/

directory
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 19, 2026 License: MIT

Directories

Path Synopsis
Package catalog implements the decentralized-catalog file spec's change-file application rule: a change file carries what changed between two consecutive versions, keyed by id never by position, as upserts (added or updated items, replaced by id) and removals (ids only).
Package catalog implements the decentralized-catalog file spec's change-file application rule: a change file carries what changed between two consecutive versions, keyed by id never by position, as upserts (added or updated items, replaced by id) and removals (ids only).
crawler
Package crawler retrieves and integrity-checks a remote artifact: fetch (conditional-GET aware, SSRF-guarded, size-capped), digest-check, decode, and self-signature verification against a registry-resolved key.
Package crawler retrieves and integrity-checks a remote artifact: fetch (conditional-GET aware, SSRF-guarded, size-capped), digest-check, decode, and self-signature verification against a registry-resolved key.
crawler/decode
Package decode turns already-digest-verified artifact bytes into decoded content.
Package decode turns already-digest-verified artifact bytes into decoded content.
crawlmanager
Package crawlmanager is the crawl-side orchestration layer: the two entry points (PollIndexes, SyncNext) that discover indexes, detect which catalogs changed, and resolve+hand off each changed catalog's current content -- built on pkg/catalog's Fetcher and Resolve, which stay backend- and destination-agnostic.
Package crawlmanager is the crawl-side orchestration layer: the two entry points (PollIndexes, SyncNext) that discover indexes, detect which catalogs changed, and resolve+hand off each changed catalog's current content -- built on pkg/catalog's Fetcher and Resolve, which stay backend- and destination-agnostic.
publisher
Package publisher is the decentralized-catalog file spec's publish-side orchestration: given a publisher's catalog submissions and their prior state (as pkg/catalog/store already reconstructs it), diff, decide baseline/change/metadata/unchanged, and self-sign the resulting catalog-index entries and files -- RFC NFH-014's signing/diffing/ versioning rules, all of it.
Package publisher is the decentralized-catalog file spec's publish-side orchestration: given a publisher's catalog submissions and their prior state (as pkg/catalog/store already reconstructs it), diff, decide baseline/change/metadata/unchanged, and self-sign the resulting catalog-index entries and files -- RFC NFH-014's signing/diffing/ versioning rules, all of it.
store
Package store is the one shared, backend-agnostic assembler for a publisher's catalog index: it understands how an index, its catalogs' baselines, change files, and "latest" pointers fit together per the decentralized-catalog file spec, built on top of whichever BlobStore is configured (local disk, S3, GCS, git, an authenticated CDN write root, ...).
Package store is the one shared, backend-agnostic assembler for a publisher's catalog index: it understands how an index, its catalogs' baselines, change files, and "latest" pointers fit together per the decentralized-catalog file spec, built on top of whichever BlobStore is configured (local disk, S3, GCS, git, an authenticated CDN write root, ...).
security
artifactsigner
Package artifactsigner produces DeDi-style detached-JWS proofs for manifests and catalog indexes, the signing-side counterpart to artifactverifier.VerifyDetachedJWS.
Package artifactsigner produces DeDi-style detached-JWS proofs for manifests and catalog indexes, the signing-side counterpart to artifactverifier.VerifyDetachedJWS.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL