Directories
¶
| Path | Synopsis |
|---|---|
|
Package client is a small, dependency-free Go SDK for the orlop control plane (orlop-control).
|
Package client is a small, dependency-free Go SDK for the orlop control plane (orlop-control). |
|
cmd
|
|
|
orlop-control
command
|
|
|
orlop-control/internal/allocations
Package allocations is the source of truth for per-user disk quotas and the per-allocation mount lock.
|
Package allocations is the source of truth for per-user disk quotas and the per-allocation mount lock. |
|
orlop-control/internal/ca
Package ca implements the per-tenant private CA used by orlop-control to mint short-lived agent client certs for mTLS authentication against orlop-server.
|
Package ca implements the per-tenant private CA used by orlop-control to mint short-lived agent client certs for mTLS authentication against orlop-server. |
|
orlop-control/internal/devauth
Package devauth implements the opaque bearer-token middleware that downstream endpoints (POST /agent/enroll, the admin-session dashboard, and future control-plane APIs) use to resolve {user_id, tenant_id} from an opaque access token.
|
Package devauth implements the opaque bearer-token middleware that downstream endpoints (POST /agent/enroll, the admin-session dashboard, and future control-plane APIs) use to resolve {user_id, tenant_id} from an opaque access token. |
|
orlop-control/internal/identity
Package identity is the pluggable host-identity seam for orlop-control (issue #4, docs/design-identity.md).
|
Package identity is the pluggable host-identity seam for orlop-control (issue #4, docs/design-identity.md). |
|
orlop-control/internal/secrets
Package secrets is a tiny key-value abstraction over the deploy target's secret store.
|
Package secrets is a tiny key-value abstraction over the deploy target's secret store. |
|
orlop-control/internal/serverapi
Package serverapi is a typed mTLS client for orlop-server's /control/tenants endpoint.
|
Package serverapi is a typed mTLS client for orlop-server's /control/tenants endpoint. |
|
orlop-control/internal/storage
Package storage is the control plane's backend-agnostic data layer.
|
Package storage is the control plane's backend-agnostic data layer. |
|
orlop-control/internal/storage/postgres
Package postgres is the Postgres-backed implementation of the storage interfaces.
|
Package postgres is the Postgres-backed implementation of the storage interfaces. |
|
orlop-control/internal/storage/postgres/db
Package db owns the control-plane Postgres schema, embedded goose migrations, and the sqlc-generated typed query API (subpackage sqlcdb).
|
Package db owns the control-plane Postgres schema, embedded goose migrations, and the sqlc-generated typed query API (subpackage sqlcdb). |
|
orlop-control/internal/storage/sqlite
Package sqlite is the embedded, single-node implementation of the storage interfaces — the zero-external-dependency backend for local quick-start and self-hosting.
|
Package sqlite is the embedded, single-node implementation of the storage interfaces — the zero-external-dependency backend for local quick-start and self-hosting. |
|
orlop-control/internal/tokens
Package tokens generates and hashes Orlop API tokens.
|
Package tokens generates and hashes Orlop API tokens. |
|
orlop-server
command
|
|
|
orlop-server/dataplane
Package dataplane implements the data-plane binary-framed protocol for orlop-server.
|
Package dataplane implements the data-plane binary-framed protocol for orlop-server. |
|
orlop-server/internal/quota
Package quota manages per-tenant storage quotas.
|
Package quota manages per-tenant storage quotas. |
|
orlop-server/internal/usage
Package usage computes on-disk byte totals for a tenant's storage tree.
|
Package usage computes on-disk byte totals for a tenant's storage tree. |
|
Package dataclient is a Go client for the orlop data plane (orlop-server).
|
Package dataclient is a Go client for the orlop data plane (orlop-server). |
|
internal
|
|
|
buildinfo
Package buildinfo exposes the binary version shared by orlop-control and orlop-server.
|
Package buildinfo exposes the binary version shared by orlop-control and orlop-server. |
Click to show internal directories.
Click to hide internal directories.