internal/

directory
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: MIT

Directories

Path Synopsis
Package auth provides JWT session authentication for the admin console and API.
Package auth provides JWT session authentication for the admin console and API.
Package cache stores downloaded artifacts and their scan results.
Package cache stores downloaded artifacts and their scan results.
Package config loads and validates the Jōei YAML/env configuration.
Package config loads and validates the Jōei YAML/env configuration.
Package console serves the admin console HTTP API over live proxy state: telemetry from internal/telemetry, the runtime policy, registry config and cache stats.
Package console serves the admin console HTTP API over live proxy state: telemetry from internal/telemetry, the runtime policy, registry config and cache stats.
Package gate holds Jōei's domain vocabulary: the types that describe packages, scan results, verdicts, and telemetry events, and the ports (interfaces) implemented by registry adapters, scanners, the policy engine, the artifact cache, and telemetry.
Package gate holds Jōei's domain vocabulary: the types that describe packages, scan results, verdicts, and telemetry events, and the ports (interfaces) implemented by registry adapters, scanners, the policy engine, the artifact cache, and telemetry.
Package health probes scan engines for liveness and latency and exposes a snapshot for the admin console.
Package health probes scan engines for liveness and latency and exposes a snapshot for the admin console.
Package httpx provides small HTTP transport helpers shared across the proxy.
Package httpx provides small HTTP transport helpers shared across the proxy.
Package logx holds the logging conventions shared by every Jōei component, so a log line reads the same whichever subsystem wrote it.
Package logx holds the logging conventions shared by every Jōei component, so a log line reads the same whichever subsystem wrote it.
Package metrics owns every Prometheus metric Jō-ei exposes.
Package metrics owns every Prometheus metric Jō-ei exposes.
Package policy evaluates packages against CVE/allow/deny policy profiles.
Package policy evaluates packages against CVE/allow/deny policy profiles.
adapters
Package adapters implements per-registry RegistryAdapter implementations.
Package adapters implements per-registry RegistryAdapter implementations.
dockerproxy
Package dockerproxy implements a pull-through Docker Registry V2 proxy that gates images on Trivy (CVE/secrets) and ClamAV (signature malware) before serving them.
Package dockerproxy implements a pull-through Docker Registry V2 proxy that gates images on Trivy (CVE/secrets) and ClamAV (signature malware) before serving them.
Package scanner implements CVE and malware scanners.
Package scanner implements CVE and malware scanners.
Package settings persists small, runtime-editable config groups (policy, registries) as key→JSON blobs in the shared SQLite database.
Package settings persists small, runtime-editable config groups (policy, registries) as key→JSON blobs in the shared SQLite database.
Package storage is the embedded-database foundation for Jōei's persistent state.
Package storage is the embedded-database foundation for Jōei's persistent state.
storagetest
Package storagetest provides test helpers for SQLite-backed tests.
Package storagetest provides test helpers for SQLite-backed tests.
Package supplychain implements the package-age supply-chain filter.
Package supplychain implements the package-age supply-chain filter.
Package telemetry collects per-request events from the proxy handlers for the admin console and persists them to SQLite, the single source of truth.
Package telemetry collects per-request events from the proxy handlers for the admin console and persists them to SQLite, the single source of truth.
Command uibuild compiles the Jōei console sources into a single minified app.bundle.js using esbuild, run via `go generate ./...`.
Command uibuild compiles the Jōei console sources into a single minified app.bundle.js using esbuild, run via `go generate ./...`.
Package upstream records one entry per attempted upstream mirror so a fetch that failed across every mirror can be logged with each mirror's own error — one mirror's TLS or DNS failure stays visible next to another's plain 404.
Package upstream records one entry per attempted upstream mirror so a fetch that failed across every mirror can be logged with each mirror's own error — one mirror's TLS or DNS failure stays visible next to another's plain 404.
Package users stores console users (username, bcrypt hash, role) in the shared SQLite database and validates the credentials that go into it.
Package users stores console users (username, bcrypt hash, role) in the shared SQLite database and validates the credentials that go into it.

Jump to

Keyboard shortcuts

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