NewRegistry
Creates a Registry backed by the given plugin source and setup context.
def NewRegistry(
setupCtx: pluginsCore.SetupContext,
pluginRegistry: PluginRegistryIface
) - > *Registry
Creates a Registry backed by the given plugin source and setup context.
Parameters
| Name | Type | Description |
|---|---|---|
| setupCtx | pluginsCore.SetupContext | The setup context to be used by the new Registry for plugin initialization and configuration. |
| pluginRegistry | PluginRegistryIface | The interface for the plugin registry that the new Registry will use to manage and access plugins. |
Returns
| Type | Description |
|---|---|
*Registry | A new Registry instance initialized with the provided setup context and plugin registry. |