watcher.common.loader.loadable module

watcher.common.loader.loadable module

service None

Bases: object

Generic interface for dynamically loading a driver/entry point.

This defines the contract in order to let the loader manager inject the configuration parameters during the loading.

classmethod Loadable.get_config_opts()

Defines the configuration options to be associated to this loadable

Returns:A list of configuration options relative to this Loadable
Return type:list of oslo_config.cfg.Opt instances
service None

Bases: object

Generic interface for dynamically loading a driver as a singleton.

This defines the contract in order to let the loader manager inject the configuration parameters during the loading. Classes inheriting from this class will be singletons.

classmethod LoadableSingleton.get_config_opts()

Defines the configuration options to be associated to this loadable

Returns:A list of configuration options relative to this Loadable
Return type:list of oslo_config.cfg.Opt instances
service None

Bases: abc.ABCMeta, oslo_service.service.Singleton

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.