docs: add package and doc comments for exported identifiers
Document every exported type, function and method in the migration, storage and cephfsnative packages and add package comments for migration and the cephmig command, following the commentary rules of Effective Go. Comments on unexported helpers now start with the name they describe. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
7413b9a43a
commit
c2ef7a6c3b
12 files changed
+150
-7
No files matched your search
@@ -0,0 +1,9 @@
|
||||
// Package migration implements the snapshot-based migration of a CephFS
|
||||
// subvolume between two clusters.
|
||||
//
|
||||
// A migration is a sequence of rounds. Each round creates or picks a source
|
||||
// snapshot, copies it with a Transport, verifies the target and publishes a
|
||||
// target snapshot of the same name. Progress is recorded in a State journal so
|
||||
// that every step can be resumed. Two backends exist: rsync over mounted
|
||||
// filesystems and a native libcephfs transport (build tag ceph).
|
||||
package migration
|
||||
Reference in new issue
Block a user