Directories
¶
| Path | Synopsis |
|---|---|
|
bench
|
|
|
oabench
command
Command oabench seeds a running OpenArtifact instance with thousands of packages and drives HTTP load scenarios against it, reporting latency percentiles, throughput, error rate and server RSS/CPU.
|
Command oabench seeds a running OpenArtifact instance with thousands of packages and drives HTTP load scenarios against it, reporting latency percentiles, throughput, error rate and server RSS/CPU. |
|
cmd
|
|
|
oa
command
|
|
|
resetpw
command
Command resetpw resets a local user's password directly in the database (break-glass recovery when nobody can log in).
|
Command resetpw resets a local user's password directly in the database (break-glass recovery when nobody can log in). |
|
server
command
|
|
|
internal
|
|
|
api/responses
Package responses provides typed response structs for all API handler endpoints.
|
Package responses provides typed response structs for all API handler endpoints. |
|
clientsetup
Package clientsetup builds native client URLs and per-client configure / publish snippets for a repository.
|
Package clientsetup builds native client URLs and per-client configure / publish snippets for a repository. |
|
cron
Package cron parses standard 5-field cron expressions ("minute hour day-of-month month day-of-week") and computes fire times in UTC.
|
Package cron parses standard 5-field cron expressions ("minute hour day-of-month month day-of-week") and computes fire times in UTC. |
|
crypto
Package crypto provides AES-256-GCM encryption of secrets stored at rest (webhook secrets, upstream passwords, SSO client secrets, AI API keys, storage backend credentials).
|
Package crypto provides AES-256-GCM encryption of secrets stored at rest (webhook secrets, upstream passwords, SSO client secrets, AI API keys, storage backend credentials). |
|
database
Package database provides a base mock for the Database interface.
|
Package database provides a base mock for the Database interface. |
|
format/base
Package base provides shared HTTP handler infrastructure for artifact format handlers.
|
Package base provides shared HTTP handler infrastructure for artifact format handlers. |
|
format/conan
Package conan serves a hosted Conan 2 remote: the REST API (v2) the conan client speaks, with revisions.
|
Package conan serves a hosted Conan 2 remote: the REST API (v2) the conan client speaks, with revisions. |
|
format/formattest
Package formattest provides in-memory fakes shared by the format handler tests: a content-addressed blob store, a recording webhook publisher and a quarantine lookup.
|
Package formattest provides in-memory fakes shared by the format handler tests: a content-addressed blob store, a recording webhook publisher and a quarantine lookup. |
|
group
Package group serves group repositories: a read-only view over an ordered list of hosted and proxy member repositories of the same format.
|
Package group serves group repositories: a read-only view over an ordered list of hosted and proxy member repositories of the same format. |
|
httpcache
Package httpcache holds the dependency-free pieces of HTTP validator caching shared by the SPA handler and the format handlers: If-None-Match evaluation and Cache-Control construction.
|
Package httpcache holds the dependency-free pieces of HTTP validator caching shared by the SPA handler and the format handlers: If-None-Match evaluation and Cache-Control construction. |
|
importmeta
Package importmeta lets administrators preserve origin metadata when migrating artifacts from another repository manager.
|
Package importmeta lets administrators preserve origin metadata when migrating artifacts from another repository manager. |
|
licensepolicy
Package licensepolicy applies a repository's license policies to the licenses an artifact declares.
|
Package licensepolicy applies a repository's license policies to the licenses an artifact declares. |
|
licensepolicy/policytest
Package policytest provides the license-policy scenarios every upload path is tested with: for one declared license, which policy configurations admit the upload and which reject it.
|
Package policytest provides the license-policy scenarios every upload path is tested with: for one declared license, which policy configurations admit the upload and which reject it. |
|
netutil
Package netutil provides SSRF-safe outbound HTTP helpers.
|
Package netutil provides SSRF-safe outbound HTTP helpers. |
|
ocimanifest
Package ocimanifest extracts what an OCI image manifest, OCI image index or Docker v2 manifest/manifest list references.
|
Package ocimanifest extracts what an OCI image manifest, OCI image index or Docker v2 manifest/manifest list references. |
|
ocipath
Package ocipath parses OCI distribution /v2/ request paths.
|
Package ocipath parses OCI distribution /v2/ request paths. |
|
presign
Package presign redirects blob downloads to short-lived presigned object store URLs.
|
Package presign redirects blob downloads to short-lived presigned object store URLs. |
|
proxy
Package proxy serves proxy repositories: files are fetched from the repository's upstream on first request, cached content-addressed in the blob store, recorded in proxy_cache_entries (which also backs the repository's package listing) and served from the cache until their TTL expires.
|
Package proxy serves proxy repositories: files are fetched from the repository's upstream on first request, cached content-addressed in the blob store, recorded in proxy_cache_entries (which also backs the repository's package listing) and served from the cache until their TTL expires. |
|
quarantine
Package quarantine enforces artifact quarantine on the download path.
|
Package quarantine enforces artifact quarantine on the download path. |
|
quota
Package quota reserves and releases repository storage quota on the upload and delete paths of every format handler.
|
Package quota reserves and releases repository storage quota on the upload and delete paths of every format handler. |
|
repodispatch
Package repodispatch routes requests for proxy and group repositories to the proxy and group services.
|
Package repodispatch routes requests for proxy and group repositories to the proxy and group services. |
|
repotype
Package repotype defines the repository types and which formats can be served as proxy or group repositories.
|
Package repotype defines the repository types and which formats can be served as proxy or group repositories. |
|
trash
Package trash is the policy layer of soft delete: format handlers route deletes through Delete (soft when the repository's retention allows it, the caller's own hard delete otherwise), guard released versions with GuardRelease, and the trash API and purge worker use the audit helpers so every delete/restore/purge leaves the same trail.
|
Package trash is the policy layer of soft delete: format handlers route deletes through Delete (soft when the repository's retention allows it, the caller's own hard delete otherwise), guard released versions with GuardRelease, and the trash API and purge worker use the audit helpers so every delete/restore/purge leaves the same trail. |
|
pkg
|
|
|
delta
Package delta provides binary diff generation and application for package files.
|
Package delta provides binary diff generation and application for package files. |
|
errors
Package errors provides structured error types for OpenArtifact.
|
Package errors provides structured error types for OpenArtifact. |
|
rubymarshal
Package rubymarshal implements a minimal, dependency-free subset of Ruby's Marshal format version 4.8 (the binary wire format Marshal.dump/ Marshal.load use — unrelated to YAML).
|
Package rubymarshal implements a minimal, dependency-free subset of Ruby's Marshal format version 4.8 (the binary wire format Marshal.dump/ Marshal.load use — unrelated to YAML). |
Click to show internal directories.
Click to hide internal directories.

