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
@@ -1,3 +1,18 @@
|
||||
// Command cephmig migrates a CephFS subvolume, including its snapshots,
|
||||
// between two Ceph clusters while the application keeps running.
|
||||
//
|
||||
// Usage:
|
||||
//
|
||||
// cephmig doctor
|
||||
// cephmig inspect --config FILE
|
||||
// cephmig sync --config FILE --state FILE
|
||||
// cephmig finalize --config FILE --state FILE --writers-stopped
|
||||
// cephmig status --state FILE
|
||||
//
|
||||
// inspect checks both clusters without changing them. sync copies the
|
||||
// current state and may be repeated. finalize performs the last round after
|
||||
// all writers are stopped and marks the job ready for cutover. status prints
|
||||
// the migration journal. All results are written to standard output as JSON.
|
||||
package main
|
||||
|
||||
import (
|
||||
|
||||
Reference in new issue
Block a user