Exemple #1
0
def check_plugin_name_exists(name):
    if name not in [p.name for p in api.get_plugins()]:
        raise ex.InvalidException("Savanna doesn't contain plugin with name "
                                  "'%s'" % name)
Exemple #2
0
def check_plugin_name_exists(name):
    if name not in [p.name for p in api.get_plugins()]:
        raise ex.InvalidException("Savanna doesn't contain plugin with name "
                                  "'%s'" % name)
Exemple #3
0
def plugins_list():
    return u.render(plugins=[p.dict for p in api.get_plugins()])
Exemple #4
0
def plugins_list():
    return u.render(plugins=[p.dict for p in api.get_plugins()])