Documentation
¶
There is no documentation for this package.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package cmd implements the compactfs command-line entry point.
|
Package cmd implements the compactfs command-line entry point. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
Package utils provides reusable utilities independent of compactfs storage.
|
Package utils provides reusable utilities independent of compactfs storage. |
Click to show internal directories.
Click to hide internal directories.