Documentation
¶
There is no documentation for this package.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package cmd implements the public CLI entry point and command registration.
|
Package cmd implements the public CLI entry point and command registration. |
|
auth
Package auth implements the cpfs auth command and owns its lifecycle.
|
Package auth implements the cpfs auth command and owns its lifecycle. |
|
config
Package config implements the config CLI command.
|
Package config implements the config CLI command. |
|
gw
Package gw implements the cpfs gw command and owns its lifecycle.
|
Package gw implements the cpfs gw command and owns its lifecycle. |
|
mount
Package mount implements the mount CLI command.
|
Package mount implements the mount CLI command. |
|
quota
Package quota implements the quota CLI command.
|
Package quota implements the quota CLI command. |
|
server
Package server implements the cpfs server command and owns its lifecycle.
|
Package server implements the cpfs server command and owns its lifecycle. |
|
storage
Local commands share the Profile and runtime constructors in this package.
|
Local commands share the Profile and runtime constructors in this package. |
|
Package codec combines encoders and decoders for chunk storage and workers, and adapts FPGA scheduling and CPU fallback to the same interface.
|
Package codec combines encoders and decoders for chunk storage and workers, and adapts FPGA scheduling and CPU fallback to the same interface. |
|
cluster
Package cluster schedules bounded chunk compression over HTTP, independently of storage.
|
Package cluster schedules bounded chunk compression over HTTP, independently of storage. |
|
decoder
Package decoder implements pure Go chunk decoders independently of storage, worker protocols, and the corresponding encoders.
|
Package decoder implements pure Go chunk decoders independently of storage, worker protocols, and the corresponding encoders. |
|
encoder
Package encoder implements pure Go chunk encoders independently of storage, worker protocols, and the corresponding decoders.
|
Package encoder implements pure Go chunk encoders independently of storage, worker protocols, and the corresponding decoders. |
|
worker
Package worker runs chunk codecs in an independently updatable process.
|
Package worker runs chunk codecs in an independently updatable process. |
|
Package conf provides shared CLI configuration paths, parsing and durable publication.
|
Package conf provides shared CLI configuration paths, parsing and durable publication. |
|
examples
|
|
|
afero
command
Run from the repository root: CGO_ENABLED=0 GOWORK=off go run ./examples/afero /path/to/demo-data
|
Run from the repository root: CGO_ENABLED=0 GOWORK=off go run ./examples/afero /path/to/demo-data |
|
export
|
|
|
afero
Package afero exports compactfs directly to Go applications as an afero.Fs.
|
Package afero exports compactfs directly to Go applications as an afero.Fs. |
|
blk
Package blk exports persistent sparse volumes through pure-Go NBD over Unix sockets or TCP.
|
Package blk exports persistent sparse volumes through pure-Go NBD over Unix sockets or TCP. |
|
fuse
Package fuse exports the shared compactfs engine through FUSE.
|
Package fuse exports the shared compactfs engine through FUSE. |
|
fs
|
|
|
backend
Package backend provides object storage for content-addressed chunks.
|
Package backend provides object storage for content-addressed chunks. |
|
cache
Package cache implements an optional SSD-backed cache for compressed chunks.
|
Package cache implements an optional SSD-backed cache for compressed chunks. |
|
cache/reader
Package reader provides a bounded, coalescing cache of immutable decoded chunks.
|
Package reader provides a bounded, coalescing cache of immutable decoded chunks. |
|
cache/writer
Package writer provides a durable raw-chunk cache.
|
Package writer provides a durable raw-chunk cache. |
|
chunk
Package chunk defines the immutable content-addressed units used by compactfs.
|
Package chunk defines the immutable content-addressed units used by compactfs. |
|
cluster
Package cluster provides bounded control RPC and scoped credentials for a trusted storage network.
|
Package cluster provides bounded control RPC and scoped credentials for a trusted storage network. |
|
cluster/auth
Package auth hosts offline identities and signs metadata-approved object grants without owning namespace, placement or a metadata write lease.
|
Package auth hosts offline identities and signs metadata-approved object grants without owning namespace, placement or a metadata write lease. |
|
cluster/authority
Package authority supplies an ordered application authority journal and fixed-membership weighted Raft consensus for metadata and auth state machines.
|
Package authority supplies an ordered application authority journal and fixed-membership weighted Raft consensus for metadata and auth state machines. |
|
cluster/backup
Package backup publishes coordinated authority, namespace and placement checkpoints to an independent backend and restores them only while offline.
|
Package backup publishes coordinated authority, namespace and placement checkpoints to an independent backend and restores them only while offline. |
|
cluster/data
Package data implements bounded immutable-object HTTP transfers.
|
Package data implements bounded immutable-object HTTP transfers. |
|
cluster/files
Package files exposes authoritative namespace cores over WebSocket control RPC and bounded HTTP file transfers, with an injected metadata authority gate.
|
Package files exposes authoritative namespace cores over WebSocket control RPC and bounded HTTP file transfers, with an injected metadata authority gate. |
|
cluster/gateway
Package gateway provides a peer mesh for service discovery and HTTP forwarding.
|
Package gateway provides a peer mesh for service discovery and HTTP forwarding. |
|
cluster/placement
Package placement publishes opaque backend objects to three Data nodes.
|
Package placement publishes opaque backend objects to three Data nodes. |
|
core
Package core implements the shared file storage engine used by protocol exports.
|
Package core implements the shared file storage engine used by protocol exports. |
|
format
Package format defines the durable, versioned container format shared by compactfs metadata, chunk references, and every export protocol.
|
Package format defines the durable, versioned container format shared by compactfs metadata, chunk references, and every export protocol. |
|
meta/pebble
Package pebble provides an experimental, bounded-memory inode/dentry store.
|
Package pebble provides an experimental, bounded-memory inode/dentry store. |
|
namespace
Package namespace defines the shared names and opaque IDs used by identity catalogs and storage scopes.
|
Package namespace defines the shared names and opaque IDs used by identity catalogs and storage scopes. |
|
option
Package option defines storage settings shared by all compactfs exports.
|
Package option defines storage settings shared by all compactfs exports. |
|
quota
Package quota enforces logical capacity limits and reports compressed, backend and cache usage.
|
Package quota enforces logical capacity limits and reports compressed, backend and cache usage. |
|
replica
Package replica adapts native metadata transactions to a shared application authority.
|
Package replica adapts native metadata transactions to a shared application authority. |
|
stat
Package stat serves a borrowed storage engine's local control and diagnostics endpoints.
|
Package stat serves a borrowed storage engine's local control and diagnostics endpoints. |
|
Package utils provides reusable utilities independent of compactfs storage.
|
Package utils provides reusable utilities independent of compactfs storage. |
|
raft
Package raft implements fixed-membership Raft with weighted votes and priority-biased election delays.
|
Package raft implements fixed-membership Raft with weighted votes and priority-biased election delays. |
Click to show internal directories.
Click to hide internal directories.