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/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/devauth
Package devauth implements the first-party device-code approval flow (issue #44, RFC 8628 shape) and the bearer-token middleware that downstream endpoints (POST /agent/enroll, future control-plane APIs) use to resolve {user_id, tenant_id} from an opaque access token.
|
Package devauth implements the first-party device-code approval flow (issue #44, RFC 8628 shape) and the bearer-token middleware that downstream endpoints (POST /agent/enroll, future control-plane APIs) use to resolve {user_id, tenant_id} from an opaque access token. |
|
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/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. |
Click to show internal directories.
Click to hide internal directories.