Commit Graph

32 Commits

Author SHA1 Message Date
Alex Dadgar
b63f3bb078 Periodic jobs always are evaluated in UTC TZ 2016-04-12 09:47:25 -07:00
Diptanu Choudhury
b31b6b5d6e Showing the status of the first job when it's prefixed matched and the user input matched exact 2016-03-30 22:17:41 -07:00
Diptanu Choudhury
3fd9aaafea Always defaulting to prefix match 2016-03-17 17:25:38 -07:00
Alex Dadgar
bdb8512522 standardize on <> for required flags 2016-01-27 12:00:31 -08:00
Alex Dadgar
4836bd5656 limit length of string, taking into account its length 2016-01-27 10:42:10 -08:00
Ivo Verberk
2559bd68c8 Do not use the exact internal field names in the CLI output 2016-01-21 21:35:56 +01:00
Ivo Verberk
9770a95608 Refactoring of full-id argument and id length constants
* full-id argument is now called verbose to be more future-proof
* constants for identifier length are a little more concise
2016-01-15 23:32:38 +01:00
Ivo Verberk
648a3487c9 Merge branch 'master' into f-cli-short-ids 2016-01-15 09:19:53 +01:00
Ivo Verberk
ab9409184a Shorten CLI identifiers
* Truncate all UUID identifiers to eight characters by default
* Refactor the node identifier to an auto-generated UUID
* Created and updated tests and mocks
2016-01-14 21:57:43 +01:00
Alex Dadgar
fd19855878 Add message to nomad status when there are no jobs 2016-01-14 11:56:06 -08:00
Alex Dadgar
36030f1c9a Change status message 2016-01-08 10:32:08 -08:00
Alex Dadgar
f13a9d934a Check parent id of prefix jobs and special case the output if no child job has been launched 2016-01-07 14:43:55 -08:00
Alex Dadgar
0dc60bed50 periodic status 2016-01-07 14:25:17 -08:00
Alex Dadgar
012db31100 Change multiple match cli output 2016-01-06 15:08:47 -08:00
Ivo Verberk
62951082e2 Improvements for short identifiers
* Fix tests
* Update documentation
2016-01-06 22:46:57 +01:00
Ivo Verberk
db82564041 Bring up-to-date with master 2015-12-24 21:16:32 +01:00
Ivo Verberk
905742249e Refactoring continued
* Refactor other cli commands to new design
* Add PrefixList method to api package
* Add more tests
2015-12-24 20:53:37 +01:00
Alex Dadgar
33cb3e13d1 Make nomad status id aware of periodic jobs 2015-12-23 18:26:39 -08:00
Ivo Verberk
91075e130a Short identifiers functionality
* Use go-memdb prefix indexer for lookups
* Add Job lookups
* Update state store with new ByIDPrefix get methods
* Call new methods when exact lookup fails or is not applicable
2015-12-19 21:55:28 +01:00
Ryan Uber
4c53cbb608 command/status: don't display node ID in evaluations 2015-09-22 10:45:07 -07:00
Ryan Uber
7b908d035c command/status: cleanup 2015-09-22 10:45:07 -07:00
Ryan Uber
acd0d16a7a command: final adjustments for list output 2015-09-15 16:51:17 -07:00
Ryan Uber
210ee0bbb7 command: helpers for columns 2015-09-15 16:44:38 -07:00
Ryan Uber
c706942ece command: output adjustments 2015-09-15 13:21:49 -07:00
Ryan Uber
8a45651fe4 command: add evals/allocs to status command, add -short flag 2015-09-15 11:35:38 -07:00
Ryan Uber
c778599e9e command: separate k/v pairs with an '=' 2015-09-14 20:29:08 -07:00
Ryan Uber
7e26f938a2 command: use meta struct for common options 2015-09-14 13:24:03 -07:00
Ryan Uber
34d77eeb04 command: kill AllAtOnce in job list mode 2015-09-14 13:24:03 -07:00
Ryan Uber
0e16348052 command: cleanup 2015-09-14 13:24:03 -07:00
Ryan Uber
7901677c2c command: unexport helpers 2015-09-14 13:24:02 -07:00
Ryan Uber
45c5f4f9cc command: adjustments for status 2015-09-14 13:24:02 -07:00
Ryan Uber
314ce4be43 command: basic status command 2015-09-14 13:24:02 -07:00