Bases: stevedore.named.NamedExtensionManager
Load a single plugin with a given name from the namespace.
Parameters: |
|
---|
Invokes func() for the single loaded extension.
The signature for func() should be:
def func(ext, *args, **kwds):
pass
The first argument to func(), ‘ext’, is the Extension instance.
Exceptions raised from within func() are logged and ignored.
Parameters: |
|
---|---|
Returns: | List of values returned from func() |
Returns the driver being used by this manager.
Bases: stevedore.named.NamedExtensionManager
Coordinate execution of multiple extensions using a common name.
Parameters: |
|
---|
Iterate over the extensions invoking func() for each.
The signature for func() should be:
def func(ext, *args, **kwds):
pass
The first argument to func(), ‘ext’, is the Extension instance.
Exceptions raised from within func() are logged and ignored.
Parameters: |
|
---|---|
Returns: | List of values returned from func() |
Returns the names of the discovered extensions
Bases: stevedore.enabled.EnabledExtensionManager
Loads only the named extensions.
This is useful for explictly enabling extensions in a configuration file, for example.
Parameters: |
|
---|
Bases: stevedore.extension.ExtensionManager
Loads only plugins that pass a check function.
The check_func should return a boolean, with True indicating that the extension should be loaded and made available and False indicating that the extension should be ignored.
Parameters: |
|
---|
Iterate over the extensions invoking func() for each.
The signature for func() should be:
def func(ext, *args, **kwds):
pass
The first argument to func(), ‘ext’, is the Extension instance.
Exceptions raised from within func() are logged and ignored.
Parameters: |
|
---|---|
Returns: | List of values returned from func() |
Returns the names of the discovered extensions
Bases: stevedore.enabled.EnabledExtensionManager
Loads all plugins and filters on execution.
This is useful for long-running processes that need to pass different inputs to different extensions.
Parameters: |
|
---|
Iterate over the extensions invoking func() for any where filter_func() returns True.
The signature of filter_func() should be:
def filter_func(ext, *args, **kwds):
pass
The first argument to filter_func(), ‘ext’, is the Extension instance. filter_func() should return True if the extension should be invoked for the input arguments.
The signature for func() should be:
def func(ext, *args, **kwds):
pass
The first argument to func(), ‘ext’, is the Extension instance.
Exceptions raised from within filter_func() and func() are logged and ignored.
Parameters: |
|
---|---|
Returns: | List of values returned from func() |
Returns the names of the discovered extensions
Bases: stevedore.dispatch.DispatchExtensionManager
Loads all plugins and filters on execution.
This is useful for long-running processes that need to pass different inputs to different extensions and can predict the name of the extensions before calling them.
Parameters: |
|
---|
Iterate over the extensions invoking func() for any where the name is in the given list of names.
The signature for func() should be:
def func(ext, *args, **kwds):
pass
The first argument to func(), ‘ext’, is the Extension instance.
Exceptions raised from within func() are logged and ignored.
Parameters: |
|
---|---|
Returns: | List of values returned from func() |
Returns the names of the discovered extensions
Bases: object
Base class for all of the other managers.
Parameters: |
|
---|
Iterate over the extensions invoking func() for each.
The signature for func() should be:
def func(ext, *args, **kwds):
pass
The first argument to func(), ‘ext’, is the Extension instance.
Exceptions raised from within func() are logged and ignored.
Parameters: |
|
---|---|
Returns: | List of values returned from func() |
Returns the names of the discovered extensions
Bases: object
Book-keeping object for tracking extensions.
Parameters: |
|
---|
Bases: stevedore.extension.ExtensionManager
ExtensionManager that is explicitly initialized for tests.
Parameters: |
|
---|