コード例 #1
0
def controller_status():
    return u.render(api.controller_status())
コード例 #2
0
def stop_scaling(app_id, data):
    return u.render(api.stop_scaling(app_id))
コード例 #3
0
def setup_environment(data):
    return u.render(api.setup_environment(data))
コード例 #4
0
def start_scaling(app_id, data):
    return u.render(api.start_scaling(app_id, data))
コード例 #5
0
ファイル: v10.py プロジェクト: ufcg-lsd/asperathos-controller
def install_plugin(data):
    plugin_repo = data.get('plugin_source')
    source = data.get('install_source')
    response, status = api.install_plugin(source, plugin_repo)
    return u.render(response), status