Commit Graph

30 Commits

Author SHA1 Message Date
Diptanu Choudhury 7ed107d04e Always defaulting to prefix match 2016-03-17 17:25:38 -07:00
Alex Dadgar 4332263048 standardize on <> for required flags 2016-01-27 12:00:31 -08:00
Alex Dadgar 837ca9ab86 limit length of string, taking into account its length 2016-01-27 10:42:10 -08:00
Ivo Verberk c44b4c8aa9 Do not use the exact internal field names in the CLI output 2016-01-21 21:35:56 +01:00
Ivo Verberk 427d3d650d 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 149c55252d Merge branch 'master' into f-cli-short-ids 2016-01-15 09:19:53 +01:00
Ivo Verberk 91a9f2c4ce 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 3348a0328b Add message to nomad status when there are no jobs 2016-01-14 11:56:06 -08:00
Alex Dadgar 4a75075a03 Change status message 2016-01-08 10:32:08 -08:00
Alex Dadgar f843e95cbf 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 ce5a7b73ed periodic status 2016-01-07 14:25:17 -08:00
Alex Dadgar 68a5877c91 Change multiple match cli output 2016-01-06 15:08:47 -08:00
Ivo Verberk 9527fc254d Improvements for short identifiers
* Fix tests
* Update documentation
2016-01-06 22:46:57 +01:00
Ivo Verberk fd177f4c6f Bring up-to-date with master 2015-12-24 21:16:32 +01:00
Ivo Verberk 0c01ca49e6 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 8b76a0718c Make nomad status id aware of periodic jobs 2015-12-23 18:26:39 -08:00
Ivo Verberk 33f73a1e8e 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 c796157278 command/status: don't display node ID in evaluations 2015-09-22 10:45:07 -07:00
Ryan Uber c5ab58761b command/status: cleanup 2015-09-22 10:45:07 -07:00
Ryan Uber e98307bd46 command: final adjustments for list output 2015-09-15 16:51:17 -07:00
Ryan Uber 1299fabf1f command: helpers for columns 2015-09-15 16:44:38 -07:00
Ryan Uber c577cd2143 command: output adjustments 2015-09-15 13:21:49 -07:00
Ryan Uber 8a25ca10a7 command: add evals/allocs to status command, add -short flag 2015-09-15 11:35:38 -07:00
Ryan Uber 6af11360f3 command: separate k/v pairs with an '=' 2015-09-14 20:29:08 -07:00
Ryan Uber 7b5fd8a214 command: use meta struct for common options 2015-09-14 13:24:03 -07:00
Ryan Uber bfb60d6a06 command: kill AllAtOnce in job list mode 2015-09-14 13:24:03 -07:00
Ryan Uber 18745e6e68 command: cleanup 2015-09-14 13:24:03 -07:00
Ryan Uber b047700788 command: unexport helpers 2015-09-14 13:24:02 -07:00
Ryan Uber 1b026abf08 command: adjustments for status 2015-09-14 13:24:02 -07:00
Ryan Uber a307f9b688 command: basic status command 2015-09-14 13:24:02 -07:00