Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
skylite
command
Command skylite is the skylite server binary.
|
Command skylite is the skylite server binary. |
|
Package skylite is the Go database/sql driver for skylite, speaking the client protocol of ADR 0005 (docs/content/docs/decisions/0005-client-protocol.md) over HTTPS, with bearer tokens as ADR 0006 requires.
|
Package skylite is the Go database/sql driver for skylite, speaking the client protocol of ADR 0005 (docs/content/docs/decisions/0005-client-protocol.md) over HTTPS, with bearer tokens as ADR 0006 requires. |
|
internal
|
|
|
auth
Package auth authenticates requests to the query endpoint with OIDC JWT bearer tokens and authorises them by role, as decided in docs/content/docs/decisions/0006-authentication.md.
|
Package auth authenticates requests to the query endpoint with OIDC JWT bearer tokens and authorises them by role, as decided in docs/content/docs/decisions/0006-authentication.md. |
|
engine
Package engine is skylite's storage engine: it keeps a database in object storage as decision record 0004 (docs/content/docs/decisions/0004-storage-engine.md) lays it out, in the objects package format encodes.
|
Package engine is skylite's storage engine: it keeps a database in object storage as decision record 0004 (docs/content/docs/decisions/0004-storage-engine.md) lays it out, in the objects package format encodes. |
|
format
Package format defines the objects that make up one database in object storage: the commit log, the base, the manifest and the lease.
|
Package format defines the objects that make up one database in object storage: the commit log, the base, the manifest and the lease. |
|
office
Package office takes and keeps office for one database on this node: it runs candidacies until one succeeds, serves the database through an engine.Leader while the node holds office, and leaves office when the leader stops, the node is deposed or the caller shuts it down.
|
Package office takes and keeps office for one database on this node: it runs candidacies until one succeeds, serves the database through an engine.Leader while the node holds office, and leaves office when the leader stops, the node is deposed or the caller shuts it down. |
|
server
Package server is skylite's HTTPS server: the client protocol of ADR 0005 (docs/content/docs/decisions/0005-client-protocol.md) with the authentication of ADR 0006.
|
Package server is skylite's HTTPS server: the client protocol of ADR 0005 (docs/content/docs/decisions/0005-client-protocol.md) with the authentication of ADR 0006. |
|
spike/durability
Package durability is a spike to validate the durability design: Litestream embedded as a library, replicating to Azure Blob Storage through a ReplicaClient that fences stale leaders with conditional writes.
|
Package durability is a spike to validate the durability design: Litestream embedded as a library, replicating to Azure Blob Storage through a ReplicaClient that fences stale leaders with conditional writes. |
|
sqlpolicy
Package sqlpolicy restricts the SQL that clients may run on a SQLite connection.
|
Package sqlpolicy restricts the SQL that clients may run on a SQLite connection. |
|
storage
Package storage defines the object storage interface that every skylite storage backend implements, the errors it returns and the key rules it enforces.
|
Package storage defines the object storage interface that every skylite storage backend implements, the errors it returns and the key rules it enforces. |
|
storage/azureblob
Package azureblob is a storage.Store on one container of Azure Blob Storage with a flat namespace: every object is a block blob named by its key.
|
Package azureblob is a storage.Store on one container of Azure Blob Storage with a flat namespace: every object is a block blob named by its key. |
|
storage/gcs
Package gcs is a storage.Store on a Google Cloud Storage bucket, through the JSON API and the official client, cloud.google.com/go/storage.
|
Package gcs is a storage.Store on a Google Cloud Storage bucket, through the JSON API and the official client, cloud.google.com/go/storage. |
|
storage/localfs
Package localfs is a storage.Store on a local directory.
|
Package localfs is a storage.Store on a local directory. |
|
storage/s3
Package s3 is a storage.Store on Amazon S3 and S3-compatible object stores.
|
Package s3 is a storage.Store on Amazon S3 and S3-compatible object stores. |
|
storage/storagetest
Package storagetest is the portable part of the conformance suite for storage.Store backends.
|
Package storagetest is the portable part of the conformance suite for storage.Store backends. |
|
wire
Package wire encodes and decodes the client protocol of ADR 0005 (docs/content/docs/decisions/0005-client-protocol.md): request paths and bodies, SQL values, response frames, done fields, the limits object and errors.
|
Package wire encodes and decodes the client protocol of ADR 0005 (docs/content/docs/decisions/0005-client-protocol.md): request paths and bodies, SQL values, response frames, done fields, the limits object and errors. |
Click to show internal directories.
Click to hide internal directories.