heat.engine.plugin_manager module

heat.engine.plugin_manager module

class heat.engine.plugin_manager.PluginManager(*extra_packages)[source]

Bases: object

A class for managing plugin modules.

map_to_modules(function)[source]

Iterate over the results of calling a function on every module.

class heat.engine.plugin_manager.PluginMapping(names, *args, **kwargs)[source]

Bases: object

A class for managing plugin mappings.

load_all(plugin_manager)[source]

Iterate over the mappings from all modules in the plugin manager.

Mappings are returned as a list of (key, value) tuples.

load_from_module(module)[source]

Return the mapping specified in the given module.

If no such mapping is specified, an empty dictionary is returned.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.