diff --git a/internal/rbd/types/group.go b/internal/rbd/types/group.go index dbf22c746..a85b5e15b 100644 --- a/internal/rbd/types/group.go +++ b/internal/rbd/types/group.go @@ -26,10 +26,15 @@ import ( ) type journalledObject interface { - // GetID returns the ID in the backend storage for the object. + // GetID returns the CSI-handle formatted ID of the object. The handle + // can be parsed to locate an entry in the journal, which points to the + // object in the backend storage (see `GetClusterID`, `GetPool`, and + // `GetName`). GetID(ctx context.Context) (string, error) - // GetName returns the name of the object in the backend storage. + // GetName returns the name in the backend storage for the object. The + // name is used for accessing the object though the Ceph APIs. + // RBD-images and RBD-groups exist in the backend with the given name. GetName(ctx context.Context) (string, error) // GetPool returns the name of the pool that holds the object.