Skip to main content

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

NameTypeDescription
setupCtxpluginsCore.SetupContextThe setup context to be used by the new Registry for plugin initialization and configuration.
pluginRegistryPluginRegistryIfaceThe interface for the plugin registry that the new Registry will use to manage and access plugins.

Returns

TypeDescription
*RegistryA new Registry instance initialized with the provided setup context and plugin registry.