示例#1
0
文件: v11.py 项目: frgaudet/sahara
def job_executions_cancel(job_execution_id):
    return u.to_wrapped_dict(api.cancel_job_execution, job_execution_id)
示例#2
0
文件: v11.py 项目: frgaudet/sahara
def job_binary_get(job_binary_id):
    return u.to_wrapped_dict(api.get_job_binary, job_binary_id)
示例#3
0
文件: v11.py 项目: frgaudet/sahara
def job_binary_internal_update(job_binary_internal_id, data):
    return u.to_wrapped_dict(
        api.update_job_binary_internal, job_binary_internal_id, data)
示例#4
0
文件: v11.py 项目: frgaudet/sahara
def data_source_get(data_source_id):
    return u.to_wrapped_dict(api.get_data_source, data_source_id)
示例#5
0
文件: v11.py 项目: frgaudet/sahara
def job_get(job_id):
    return u.to_wrapped_dict(api.get_job, job_id)
示例#6
0
def job_executions(job_id):
    return u.to_wrapped_dict(api.get_job_execution, job_id)
示例#7
0
def cluster_templates_get(cluster_template_id):
    return u.to_wrapped_dict(api.get_cluster_template, cluster_template_id)
示例#8
0
def job_update(job_id, data):
    return u.to_wrapped_dict(api.update_job, job_id, data)
示例#9
0
def node_group_templates_get(node_group_template_id):
    return u.to_wrapped_dict(
        api.get_node_group_template, node_group_template_id)
示例#10
0
def data_source_update(data_source_id, data):
    return u.to_wrapped_dict(api.data_source_update, data_source_id, data)
示例#11
0
def job_get(job_id):
    return u.to_wrapped_dict(api.get_job, job_id)
示例#12
0
def data_source_get(data_source_id):
    return u.to_wrapped_dict(api.get_data_source, data_source_id)
示例#13
0
文件: v10.py 项目: egafford/sahara
def plugins_convert_to_cluster_template(plugin_name, version, name, data):
    return u.to_wrapped_dict(
        api.convert_to_cluster_template, plugin_name, version, name, data)
示例#14
0
def plugins_convert_to_cluster_template(plugin_name, version, name, data):
    return u.to_wrapped_dict(api.convert_to_cluster_template, plugin_name,
                             version, name, data)
示例#15
0
def node_group_templates_get(node_group_template_id):
    return u.to_wrapped_dict(
        api.get_node_group_template, node_group_template_id)
示例#16
0
def node_group_templates_update(node_group_template_id, data):
    return u.to_wrapped_dict(
        api.update_node_group_template, node_group_template_id, data)
示例#17
0
def cluster_templates_get(cluster_template_id):
    return u.to_wrapped_dict(api.get_cluster_template, cluster_template_id)
示例#18
0
def job_binary_internal_update(job_binary_internal_id, data):
    return u.to_wrapped_dict(
        api.update_job_binary_internal, job_binary_internal_id, data)
示例#19
0
def job_executions_cancel(job_id):
    return u.to_wrapped_dict(api.cancel_job_execution, job_id)
示例#20
0
def job_binary_get(job_binary_id):
    return u.to_wrapped_dict(api.get_job_binary, job_binary_id)
示例#21
0
def job_templates_update(job_templates_id, data):
    return u.to_wrapped_dict(api.update_job_template, job_templates_id, data)
示例#22
0
def job_binary_internal_get(job_binary_internal_id):
    return u.to_wrapped_dict(
        api.get_job_binary_internal, job_binary_internal_id)
示例#23
0
文件: v11.py 项目: frgaudet/sahara
def data_source_update(data_source_id, data):
    return u.to_wrapped_dict(api.data_source_update, data_source_id, data)
示例#24
0
文件: v11.py 项目: openstack/sahara
def job_executions(job_id):
    return u.to_wrapped_dict(api.get_job_execution, job_id)
示例#25
0
文件: v11.py 项目: frgaudet/sahara
def job_update(job_id, data):
    return u.to_wrapped_dict(api.update_job, job_id, data)
def cluster_templates_update(cluster_template_id, data):
    return u.to_wrapped_dict(api.update_cluster_template, cluster_template_id,
                             data)
示例#27
0
文件: v11.py 项目: frgaudet/sahara
def job_binary_internal_get(job_binary_internal_id):
    return u.to_wrapped_dict(
        api.get_job_binary_internal, job_binary_internal_id)
示例#28
0
def clusters_scale(cluster_id, data):
    return u.to_wrapped_dict(api.scale_cluster, cluster_id, data)
示例#29
0
文件: v11.py 项目: frgaudet/sahara
def job_executions_status(job_execution_id):
    return u.to_wrapped_dict(api.get_job_execution_status, job_execution_id)
示例#30
0
def clusters_get(cluster_id):
    data = u.get_request_args()
    show_events = six.text_type(data.get('show_progress',
                                         'false')).lower() == 'true'
    return u.to_wrapped_dict(api.get_cluster, cluster_id, show_events)
示例#31
0
文件: v11.py 项目: frgaudet/sahara
def job_executions_update(job_execution_id, data):
    return u.to_wrapped_dict(api.update_job_execution, job_execution_id, data)
示例#32
0
def clusters_update(cluster_id, data):
    return u.to_wrapped_dict(api.update_cluster, cluster_id, data)
示例#33
0
def node_group_templates_update(node_group_template_id, data):
    return u.to_wrapped_dict(
        api.update_node_group_template, node_group_template_id, data)
示例#34
0
def node_group_templates_update(node_group_template_id, data):
    data['hadoop_version'] = data['plugin_version']
    del data['plugin_version']
    return u.to_wrapped_dict(api.update_node_group_template,
                             node_group_template_id, data)
示例#35
0
def cluster_templates_update(cluster_template_id, data):
    return u.to_wrapped_dict(
        api.update_cluster_template, cluster_template_id, data)
示例#36
0
def clusters_scale(cluster_id, data):
    return u.to_wrapped_dict(api.scale_cluster, cluster_id, data)
示例#37
0
def job_executions_status(job_id):
    return u.to_wrapped_dict(api.get_job_execution_status, job_id)
示例#38
0
def clusters_get(cluster_id):
    data = u.get_request_args()
    show_events = six.text_type(
        data.get('show_progress', 'false')).lower() == 'true'
    return u.to_wrapped_dict(api.get_cluster, cluster_id, show_events)
示例#39
0
def job_executions_update(job_id, data):
    return u.to_wrapped_dict(api.update_job_execution, job_id, data)
示例#40
0
def clusters_update(cluster_id, data):
    return u.to_wrapped_dict(api.update_cluster, cluster_id, data)
示例#41
0
def cluster_templates_update(cluster_template_id, data):
    data['hadoop_version'] = data['plugin_version']
    del data['plugin_version']
    return u.to_wrapped_dict(api.update_cluster_template, cluster_template_id,
                             data)
示例#42
0
def job_templates_get(job_templates_id):
    return u.to_wrapped_dict(api.get_job_template, job_templates_id)