mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-02 03:12:34 +01:00
Streamline resource resolution mechanics.
This commit is contained in:
@@ -548,11 +548,11 @@ class MetaConfiguration(Configuration):
|
||||
|
||||
plugin_packages = [
|
||||
'wa.commands',
|
||||
'wa.workloads',
|
||||
'wa.framework.getters',
|
||||
'wa.framework.target.descriptor',
|
||||
'wa.instrumentation',
|
||||
'wa.processors',
|
||||
'wa.framework.target.descriptor',
|
||||
'wa.framework.resource_getters',
|
||||
'wa.workloads',
|
||||
]
|
||||
|
||||
config_points = [
|
||||
|
@@ -95,6 +95,9 @@ class PluginCache(object):
|
||||
def is_global_alias(self, name):
|
||||
return name in self._list_of_global_aliases
|
||||
|
||||
def list_plugins(self, kind=None):
|
||||
return self.loader.list_plugins(kind)
|
||||
|
||||
def get_plugin_config(self, plugin_name, generic_name=None):
|
||||
config = obj_dict(not_in_dict=['name'])
|
||||
config.name = plugin_name
|
||||
|
Reference in New Issue
Block a user