distrax.gateways.get_gateway#
- distrax.gateways.get_gateway(name='')[source]#
- Gets the gateway as specified by the name. - Parameters:
- name ( - str) – Name of a supported gateway, i.e. ceph
- Return type:
- Optional[- GATEWAY]
- Returns:
- A name tuple with the name of the storage and the class 
 - Examples - >>> distrax.gateways as gateways >>> gateway = gateways.get_gateway("ceph") >>> gateway.name ceph >>> gateway.GATEWAY CephGateway