pkg/

directory
v0.14.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2026 License: MIT

Directories

Path Synopsis
nfs
nfs/identity
Package identity provides pluggable identity resolution for NFSv4 principals and Kerberos authentication.
Package identity provides pluggable identity resolution for NFSv4 principals and Kerberos authentication.
smb
Package apiclient provides a REST API client for dfsctl.
Package apiclient provides a REST API client for dfsctl.
Package auth provides centralized authentication abstractions for DittoFS.
Package auth provides centralized authentication abstractions for DittoFS.
kerberos
Package kerberos provides the Kerberos AuthProvider implementation for DittoFS.
Package kerberos provides the Kerberos AuthProvider implementation for DittoFS.
sid
Package sid provides Windows Security Identifier (SID) types, encoding, decoding, and mapping for cross-protocol identity interoperability.
Package sid provides Windows Security Identifier (SID) types, encoding, decoding, and mapping for cross-protocol identity interoperability.
destination
Package destination provides the driver contract for publishing backup archives to a backing store (local FS, S3).
Package destination provides the driver contract for publishing backup archives to a backing store (local FS, S3).
destination/builtins
Package builtins wires the two built-in destination drivers (fs, s3) into the destination.Registry.
Package builtins wires the two built-in destination drivers (fs, s3) into the destination.Registry.
destination/destinationtest
Package destinationtest is a cross-driver conformance suite for destination.Destination.
Package destinationtest is a cross-driver conformance suite for destination.Destination.
destination/fs
Package fs implements the local-filesystem Destination driver per Phase 3 CONTEXT.md D-03 (atomic-rename publish) and D-14 (0600 files / 0700 dirs, no chown, auto-created repo root, remote-FS warning).
Package fs implements the local-filesystem Destination driver per Phase 3 CONTEXT.md D-03 (atomic-rename publish) and D-14 (0600 files / 0700 dirs, no chown, auto-created repo root, remote-FS warning).
destination/s3
Package s3 provides an S3-backed destination.Destination implementation.
Package s3 provides an S3-backed destination.Destination implementation.
errors
Package errors defines the stable, machine-readable error taxonomy surfaced by backup endpoints (#414).
Package errors defines the stable, machine-readable error taxonomy surfaced by backup endpoints (#414).
executor
Package executor orchestrates one backup attempt end-to-end.
Package executor orchestrates one backup attempt end-to-end.
manifest
Package manifest implements the v1 backup manifest format (SAFETY-03).
Package manifest implements the v1 backup manifest format (SAFETY-03).
restore
Package restore implements the Phase 5 restore orchestration: side- engine open at a temp path, Backupable.Restore into the fresh engine, atomic swap via stores.Service, and post-swap cleanup.
Package restore implements the Phase 5 restore orchestration: side- engine open at a temp path, Backupable.Restore into the fresh engine, atomic swap via stores.Service, and post-swap cleanup.
scheduler
Package scheduler provides store-agnostic scheduler primitives for periodic backup runs: cron-based firing with CRON_TZ timezone support (via robfig/cron/v3), stable per-repo phase offset (FNV-1a jitter, D-03), per-repo overlap guard (D-07), and strict schedule validation (D-06).
Package scheduler provides store-agnostic scheduler primitives for periodic backup runs: cron-based firing with CRON_TZ timezone support (via robfig/cron/v3), stable per-repo phase offset (FNV-1a jitter, D-03), per-repo overlap guard (D-07), and strict schedule validation (D-06).
Package bench provides a filesystem benchmarking engine.
Package bench provides a filesystem benchmarking engine.
Package blockstore defines the core types, interfaces, and errors for DittoFS block storage.
Package blockstore defines the core types, interfaces, and errors for DittoFS block storage.
engine
Package engine provides the BlockStore orchestrator that composes local store, remote store, and syncer into the blockstore.Store interface.
Package engine provides the BlockStore orchestrator that composes local store, remote store, and syncer into the blockstore.Store interface.
gc
Package gc implements garbage collection for orphan blocks in the block store.
Package gc implements garbage collection for orphan blocks in the block store.
local
Package local defines the LocalStore interface for on-node block storage.
Package local defines the LocalStore interface for on-node block storage.
local/fs
Package fs implements a filesystem-based local block store for DittoFS.
Package fs implements a filesystem-based local block store for DittoFS.
local/localtest
Package localtest provides a conformance test suite for local.LocalStore implementations.
Package localtest provides a conformance test suite for local.LocalStore implementations.
local/memory
Package memory provides a pure in-memory LocalStore implementation.
Package memory provides a pure in-memory LocalStore implementation.
readbuffer
Package readbuffer provides an in-memory read buffer for hot blocks and a sequential prefetch system for the DittoFS BlockStore engine.
Package readbuffer provides an in-memory read buffer for hot blocks and a sequential prefetch system for the DittoFS BlockStore engine.
remote
Package remote defines the RemoteStore interface for durable block storage backends (S3, filesystem, memory).
Package remote defines the RemoteStore interface for durable block storage backends (S3, filesystem, memory).
remote/memory
Package memory provides an in-memory RemoteStore implementation for testing.
Package memory provides an in-memory RemoteStore implementation for testing.
remote/remotetest
Package remotetest provides a conformance test suite for remote.RemoteStore implementations.
Package remotetest provides a conformance test suite for remote.RemoteStore implementations.
remote/s3
Package s3 provides an S3-backed RemoteStore implementation.
Package s3 provides an S3-backed RemoteStore implementation.
sync
Package sync implements local-to-remote transfer orchestration.
Package sync implements local-to-remote transfer orchestration.
Package controlplane provides the control plane for DittoFS.
Package controlplane provides the control plane for DittoFS.
api
models
Package models provides shared domain types for DittoFS control plane.
Package models provides shared domain types for DittoFS control plane.
runtime
Package runtime provides runtime state management for the control plane.
Package runtime provides runtime state management for the control plane.
runtime/adapters
Package adapters provides protocol adapter lifecycle management.
Package adapters provides protocol adapter lifecycle management.
runtime/blockstoreprobe
Package blockstoreprobe runs one-shot health probes against a models.BlockStoreConfig and converts the result into a health.Report.
Package blockstoreprobe runs one-shot health probes against a models.BlockStoreConfig and converts the result into a health.Report.
runtime/clients
Package clients provides a thread-safe registry for tracking connected protocol clients (NFS, SMB) with automatic TTL-based stale cleanup.
Package clients provides a thread-safe registry for tracking connected protocol clients (NFS, SMB) with automatic TTL-based stale cleanup.
runtime/identity
Package identity provides share-level identity mapping.
Package identity provides share-level identity mapping.
runtime/lifecycle
Package lifecycle provides server startup and shutdown orchestration.
Package lifecycle provides server startup and shutdown orchestration.
runtime/mounts
Package mounts provides unified mount tracking across all protocol adapters.
Package mounts provides unified mount tracking across all protocol adapters.
runtime/shares
Package shares provides share registry and lifecycle management.
Package shares provides share registry and lifecycle management.
runtime/storebackups
Package storebackups — backup_hold.go implements the Phase-5 SAFETY-01 block-GC retention hold.
Package storebackups — backup_hold.go implements the Phase-5 SAFETY-01 block-GC retention hold.
runtime/stores
Package stores provides metadata store registry management.
Package stores provides metadata store registry management.
store
Package store provides the control plane persistence layer.
Package store provides the control plane persistence layer.
Package health defines the common health-reporting types used by stores, adapters, and shares.
Package health defines the common health-reporting types used by stores, adapters, and shares.
Package identity provides pluggable identity resolution for DittoFS.
Package identity provides pluggable identity resolution for DittoFS.
kerberos
Package kerberos provides a Kerberos identity provider for DittoFS.
Package kerberos provides a Kerberos identity provider for DittoFS.
Package metadata exports the Backupable capability interface and related sentinels.
Package metadata exports the Backupable capability interface and related sentinels.
acl
Package acl implements NFSv4 Access Control List types, evaluation, validation, mode synchronization, and inheritance per RFC 7530 Section 6.
Package acl implements NFSv4 Access Control List types, evaluation, validation, mode synchronization, and inheritance per RFC 7530 Section 6.
errors
Package errors provides error types and error codes for the metadata package.
Package errors provides error types and error codes for the metadata package.
lock
Package lock provides cross-protocol translation helpers for lock visibility.
Package lock provides cross-protocol translation helpers for lock visibility.
store/postgres
Package postgres — backup driver (ENG-02).
Package postgres — backup driver (ENG-02).
storetest
Package storetest provides a conformance test suite for metadata store implementations.
Package storetest provides a conformance test suite for metadata store implementations.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL