internal/

directory
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2026 License: Apache-2.0

Directories

Path Synopsis
Package acr lists Azure Container Registry through its /acr/v1 API instead of the distribution API.
Package acr lists Azure Container Registry through its /acr/v1 API instead of the distribution API.
Package api serves strata's HTTP API.
Package api serves strata's HTTP API.
Package chain computes OCI layer chain IDs.
Package chain computes OCI layer chain IDs.
Package cli holds what strata's commands share: configuration loading through viper, opening the index, and output helpers.
Package cli holds what strata's commands share: configuration loading through viper, opening the index, and output helpers.
Package config defines strata's configuration file, strata.yaml.
Package config defines strata's configuration file, strata.yaml.
Package crawl walks a registry over the OCI Distribution API and writes what it finds to the index: repos, then tags, then manifests and image configs.
Package crawl walks a registry over the OCI Distribution API and writes what it finds to the index: repos, then tags, then manifests and image configs.
Package ecr lists Amazon ECR registries through the ECR API instead of the distribution API.
Package ecr lists Amazon ECR registries through the ECR API instead of the distribution API.
Package fixture builds synthetic images and indexes for tests, so lineage, staleness and query tests can describe a registry in a few lines instead of crawling one.
Package fixture builds synthetic images and indexes for tests, so lineage, staleness and query tests can describe a registry in a few lines instead of crawling one.
Package gar lists Google Artifact Registry Docker repositories through the Artifact Registry API instead of the distribution API.
Package gar lists Google Artifact Registry Docker repositories through the Artifact Registry API instead of the distribution API.
Package graph is the lineage graph strata renders: nodes for images, external roots and phantom ancestors, edges with their provenance, and the budget rules that keep a descendant tree of a popular base readable.
Package graph is the lineage graph strata renders: nodes for images, external roots and phantom ancestors, edges with their provenance, and the budget rules that keep a descendant tree of a popular base readable.
Package harbor lists a Harbor registry through Harbor's v2 API instead of the distribution API.
Package harbor lists a Harbor registry through Harbor's v2 API instead of the distribution API.
Package lineage derives parent edges between images from their layer stacks, adds the parents images declare in annotations and labels, and materializes ancestry facts for fast queries.
Package lineage derives parent edges between images from their layer stacks, adds the parents images declare in annotations and labels, and materializes ancestry facts for fast queries.
Package mcpserver exposes strata's questions as Model Context Protocol tools, so an agent can ask "which prod images are on an EOL base?" and get an answer from the index directly.
Package mcpserver exposes strata's questions as Model Context Protocol tools, so an agent can ask "which prod images are on an EOL base?" and get an answer from the index directly.
Package model holds the records strata indexes: images, tags, layers, referrers and lineage edges.
Package model holds the records strata indexes: images, tags, layers, referrers and lineage edges.
Package query parses strata's filter language and compiles it to SQL, so every filter runs inside DuckDB rather than in application memory.
Package query parses strata's filter language and compiles it to SQL, so every filter runs inside DuckDB rather than in application memory.
Package regapi is the HTTP client the registry API listers share: JSON GETs with authentication, paging through Link headers, and a count of calls for the crawl's request totals.
Package regapi is the HTTP client the registry API listers share: JSON GETs with authentication, paging through Link headers, and a count of calls for the crawl's request totals.
Package render writes strata's answers as tables, trees, JSON, CSV, NDJSON, Mermaid, DOT, SVG and self-contained HTML.
Package render writes strata's answers as tables, trees, JSON, CSV, NDJSON, Mermaid, DOT, SVG and self-contained HTML.
Package service answers strata's questions over an index: what an image is, where it came from, what is built on it, and whether it is stale.
Package service answers strata's questions over an index: what an image is, where it came from, what is built on it, and whether it is stale.
Package stale gives every image an explainable staleness verdict.
Package stale gives every image an explainable staleness verdict.
Package store keeps strata's index in a local DuckDB file.
Package store keeps strata's index in a local DuckDB file.
Package testenv builds an indexed test registry for tests of the interfaces on top of the service: the API, MCP server, CLI and commands.
Package testenv builds an indexed test registry for tests of the interfaces on top of the service: the API, MCP server, CLI and commands.
Package testreg runs an in-memory OCI registry seeded with a small, realistic image graph, for crawler, CLI and API tests.
Package testreg runs an in-memory OCI registry seeded with a small, realistic image graph, for crawler, CLI and API tests.
Package ui holds every terminal style strata uses, built from the brand palette with adaptive colors that read on light and dark terminals, and the slog setup.
Package ui holds every terminal style strata uses, built from the brand palette with adaptive colors that read on light and dark terminals, and the slog setup.
Package web serves strata's web UI: a few static files embedded in the binary that read the JSON API.
Package web serves strata's web UI: a few static files embedded in the binary that read the JSON API.

Jump to

Keyboard shortcuts

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