distrax.mgrs.get_mgr#

distrax.mgrs.get_mgr(name='')[source]#

Gets the mgr as specified by the name.

Parameters:

name (str) – Name of a supported mgr, i.e. ceph

Return type:

Optional[MGR]

Returns:

A name tuple with the name of the storage and the class

Examples

>>> distrax.mgrs as mgrs
>>> mgr = mgrs.get_mgr("ceph")
>>> mgr.name
    ceph
>>> mgr.MGR
    CephMGR