nquery-0.3.1 is not a library.
nquery
Query and explore jobs on your Nomad clusters from the comfort of the command line.
The output is raw JSON, to facilitate integration with tooling such
as jq.
Usage
# Get all jobs with IDs starting with 'redis' as pretty-printed JSON
[
{
# ...
{
# ...
{
# ...
}
}
}
# Get the ID and task data-source fields of all parameterized jobs starting with etl
[
{
}
{
}
# Count the number of ETL tasks
|
Installation
Download the latest binary for your platform from the releases page.
or, with Cargo:
Debugging
To get helpful debugging information, run nquery with the NQUERY_LOG=nquery
environment variable set.