topology.platforms.manager
¶
topology platforms manager module.
This module finds out which topology platforms plugins are installed and returns them in a dictionary.
Functions¶
platforms()
: List all available platform engines.load_platform()
: Load platform identified by given name.
-
topology.platforms.manager.
platforms
(cache=True)¶ List all available platform engines.
This function lists the default engine plus any other it can discover looking up the entry point.
Parameters: cache (bool) – If True
return the cached result. IfFalse
force lookup for plugins registered for the entry point.Return type: list Returns: A sorted list with all available platforms.
-
topology.platforms.manager.
load_platform
(name)¶ Load platform identified by given name.
Parameters: name (str) – Name of the platform. This must be a name available in the list returned by platforms()
.Return type: A BasePlatform
subclassReturns: The implementation class on the platform engine.