MCPcopy Create free account
hub / github.com/ceph/ceph / cephfs

Method cephfs

src/pybind/mgr/mgr_module.py:2588–2598  ·  view source on GitHub ↗

An (unmounted) cephfs instance to be shared by any classes within this mgr module that want one.

(self)

Source from the content-addressed store, hash-verified

2586
2587 @property
2588 def cephfs(self) -> cephfs.LibCephFS:
2589 """
2590 An (unmounted) cephfs instance to be shared by any classes within this
2591 mgr module that want one.
2592 """
2593 if self._cephfs:
2594 return self._cephfs
2595
2596 self._cephfs = cephfs.LibCephFS(rados_inst=self.rados)
2597 self._cephfs.init()
2598 return self._cephfs
2599
2600 @staticmethod
2601 def can_run() -> Tuple[bool, str]:

Callers

nothing calls this directly

Calls 1

initMethod · 0.45

Tested by

no test coverage detected