pkg/

directory
v1.9.0 Latest Latest
Warning

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

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

Directories

Path Synopsis
Package beckndefaults loads and verifies the beckn-constants file, providing Beckn-defined config values that are injected into plugin configs at adapter startup.
Package beckndefaults loads and verifies the beckn-constants file, providing Beckn-defined config values that are injected into plugin configs at adapter startup.
Network manifest schema types and validation.
Network manifest schema types and validation.
implementation/catalogcrawler
Package catalogcrawler is the onix plugin wiring for the decentralized- catalog crawl: it parses plugin config, builds the four concrete pieces crawlmanager.Params needs (a Postgres Store, a registry+static Source, an HTTP-push-to-Discovery Sink, and a ticker-driven Scheduler), and satisfies definition.Crawler by delegating to the Scheduler's lifecycle.
Package catalogcrawler is the onix plugin wiring for the decentralized- catalog crawl: it parses plugin config, builds the four concrete pieces crawlmanager.Params needs (a Postgres Store, a registry+static Source, an HTTP-push-to-Discovery Sink, and a ticker-driven Scheduler), and satisfies definition.Crawler by delegating to the Scheduler's lifecycle.
implementation/catalogcrawler/internal/sink
Package sink implements crawlmanager.Sink: an HTTP push to a Discovery service.
Package sink implements crawlmanager.Sink: an HTTP push to a Discovery service.
implementation/catalogcrawler/internal/source
Package source implements crawlmanager.Source: a fixed config list, and a registry-backed lookup (registry.go/dediquery.go).
Package source implements crawlmanager.Source: a fixed config list, and a registry-backed lookup (registry.go/dediquery.go).
implementation/catalogcrawler/internal/store
Package store is catalogcrawler's Postgres-backed crawlmanager.Store: the crawler_index/crawler_queue/crawler_catalog schema and queries ported from the catalog-crawler prototype's own store package (working, reused as-is -- see migrations/).
Package store is catalogcrawler's Postgres-backed crawlmanager.Store: the crawler_index/crawler_queue/crawler_catalog schema and queries ported from the catalog-crawler prototype's own store package (working, reused as-is -- see migrations/).
implementation/catalogpublisher
Package catalogpublisher implements definition.CatalogPublisher by standing up pkg/catalog/publisher's RFC NFH-014 publish logic as an onix plugin: it resolves the signing keyset via KeyManager (fresh every call, so a key rotation is picked up immediately) and its own config, and converts between definition's own types and pkg/catalog/publisher's/ pkg/catalog/store's.
Package catalogpublisher implements definition.CatalogPublisher by standing up pkg/catalog/publisher's RFC NFH-014 publish logic as an onix plugin: it resolves the signing keyset via KeyManager (fresh every call, so a key rotation is picked up immediately) and its own config, and converts between definition's own types and pkg/catalog/publisher's/ pkg/catalog/store's.
implementation/internal/registrykey
Package registrykey adapts this onix deployment's own definition.RegistryLookup into a crawler.KeySource -- the generic key-lookup function catalog-core's Fetcher calls internally to verify a fetched artifact's signature.
Package registrykey adapts this onix deployment's own definition.RegistryLookup into a crawler.KeySource -- the generic key-lookup function catalog-core's Fetcher calls internally to verify a fetched artifact's signature.
implementation/localcatalogblobstore
Package localcatalogblobstore is a filesystem-backed definition.CatalogBlobStore: Get/Put over paths rooted at a local directory.
Package localcatalogblobstore is a filesystem-backed definition.CatalogBlobStore: Get/Put over paths rooted at a local directory.
implementation/opapolicychecker/cmd command
Package main provides the plugin entry point for the OPA Policy Checker plugin.
Package main provides the plugin entry point for the OPA Policy Checker plugin.
implementation/schemaversionmediator
Package schemaversionmediator implements the SchemaVersionMediator plugin.
Package schemaversionmediator implements the SchemaVersionMediator plugin.
implementation/schemaversionmediator/cmd command
Package main provides the plugin entry point for the SchemaVersionMediator plugin.
Package main provides the plugin entry point for the SchemaVersionMediator plugin.
implementation/vcvalidator
Package vcvalidator provides a processing Step that validates W3C Verifiable Credentials embedded in a beckn request body.
Package vcvalidator provides a processing Step that validates W3C Verifiable Credentials embedded in a beckn request body.
implementation/vcvalidator/cmd command
Package main provides the plugin entry point for the VC Validator processing step.
Package main provides the plugin entry point for the VC Validator processing step.
Package testutil holds small assertion helpers shared across this repo's test files.
Package testutil holds small assertion helpers shared across this repo's test files.
Package version holds build-time identity information for the adapter binary.
Package version holds build-time identity information for the adapter binary.

Jump to

Keyboard shortcuts

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