MCPcopy Index your code
hub / github.com/saltstack/salt / query

Method query

salt/cloud/__init__.py:278–284  ·  view source on GitHub ↗

Query basic instance information

(self, query_type="list_nodes")

Source from the content-addressed store, hash-verified

276 return salt.utils.data.simple_types_filter(mapper.location_list(provider))
277
278 def query(self, query_type="list_nodes"):
279 """
280 Query basic instance information
281 """
282 mapper = salt.cloud.Map(self._opts_defaults())
283 mapper.opts["selected_query_option"] = "list_nodes"
284 return mapper.map_providers_parallel(query_type)
285
286 def full_query(self, query_type="list_nodes_full"):
287 """

Callers 15

get_urlMethod · 0.80
_query_httpMethod · 0.80
upload_ssh_keyFunction · 0.80
get_ssh_keyFunction · 0.80
queryFunction · 0.80
queryFunction · 0.80
_jobsFunction · 0.80
update_jobFunction · 0.80
rm_jobFunction · 0.80
get_rsop_valueFunction · 0.80
list_roomsFunction · 0.80
list_usersFunction · 0.80

Calls 2

_opts_defaultsMethod · 0.95

Tested by 15

test_queryFunction · 0.64
test_queryFunction · 0.64
test_query_recordsFunction · 0.64
test_query_rawFunction · 0.64
test_query_levelFunction · 0.64
test_query_level_eventidFunction · 0.64
test_query_last_hourFunction · 0.64
test_query_errorFunction · 0.64
test_queryFunction · 0.64
test_query_null_responseFunction · 0.64