def set(name, timeout): ''' allocation/explain ''' valid_name = name_validator(name[0]) valid_time = timeout_validator(timeout) allocation_enable(valid_name, valid_time)
def nodes(local, timeout, format): ''' _cat/nodes ''' valid_time = timeout_validator(timeout) valid_format = format_validator(format) nodes_api(local, valid_time, valid_format)
def master(local, timeout, format): ''' _cat/master ''' valid_time = timeout_validator(timeout) valid_format = format_validator(format) master_api(local, valid_time, format)
def get(name, local, timeout, format): ''' _cat/shards ''' valid_format = format_validator(format) valid_time = timeout_validator(timeout) get_shards(name, local, valid_time, valid_format)
def get(name, local, timeout, status, format): ''' _cat/indices ''' valid_format = format_validator(format) valid_time = timeout_validator(timeout) valid_status = status_validator(status) get_indices(name, local, valid_time, valid_status, valid_format)
def health(local, timeout, index): ''' _cluster/health ''' valid_time = timeout_validator(timeout) cluster_api(local, valid_time, index)
def create(name, timeout): ''' indices/create ''' valid_time = timeout_validator(timeout) create_indices(name, valid_time)
def delete(name, timeout): ''' indices/delete ''' valid_time = timeout_validator(timeout) delete_indices(name, valid_time)
def close(name, timeout): ''' indices/_open ''' valid_time = timeout_validator(timeout) close_indices(name, valid_time)
def open(name, timeout): ''' indices/_open ''' valid_time = timeout_validator(timeout) open_indices(name, valid_time)
def delete(name, timeout): ''' _template/delete ''' valid_time = timeout_validator(timeout) delete_templates(name, valid_time)
def get(timeout, flat): ''' _cluster/settings ''' valid_time = timeout_validator(timeout) get_settings(valid_time, flat)