Alex Dadgar
c1cc51dbee
sync
2017-10-13 14:36:02 -07:00
Alex Dadgar
6d3d0a9391
Nomad UI Command
2017-10-09 23:01:55 -07:00
Alex Dadgar
96e226f1ee
Merge pull request #3127 from hashicorp/b-tls-api
...
Fix TLSServerName for Node API Client
2017-08-29 16:10:58 -07:00
Alex Dadgar
93add81844
Check for errors initializing client for autocomplete
2017-08-29 14:29:32 -07:00
Alex Dadgar
242d7794b6
respond to comments
2017-08-29 09:46:14 -07:00
Alex Dadgar
cd613dfaa5
Status honors exact match and displays matches when more than one is available
2017-08-29 08:42:09 -07:00
Alex Dadgar
5182ebb8cf
don't limit on one arg
2017-08-28 13:40:04 -07:00
Alex Dadgar
1df249f1fb
Reduce startup time on Mac
...
This PR moves creating the API client into the returned predict
function. The creation of the client causes a lookup of all the system
certificates and doing that for each command on mac was extremely slow.
2017-08-28 11:29:27 -07:00
Alex Dadgar
d7d8661485
Search respects QueryOptions and returns QueryMeta
...
@chelseakomlo heads up on this change
2017-08-27 22:17:51 -07:00
Chelsea Holland Komlo
2edf966a62
get status of deployment via status cli command
2017-08-25 21:06:33 +00:00
Chelsea Holland Komlo
8cdc1ece99
add global flags to status; re-order functions
2017-08-25 19:47:21 +00:00
Chelsea Holland Komlo
bd569bc4b9
refactor and fixups from code review
2017-08-25 17:34:05 +00:00
Chelsea Holland Komlo
f32c90cfc0
cli help and logging formatting
2017-08-25 16:42:11 +00:00
Chelsea Holland Komlo
9968689344
fix up formatting of error message
...
fixups from code review
2017-08-25 16:42:11 +00:00
Chelsea Holland Komlo
2f0df8cd80
limit argument autocompletion to one
2017-08-25 16:42:11 +00:00
Chelsea Holland Komlo
7cdf28d303
use existing arg parsing functionality
2017-08-25 16:42:11 +00:00
Chelsea Holland Komlo
3d743a476a
small fixups
2017-08-25 16:42:11 +00:00
Chelsea Holland Komlo
d231b4aa0f
fix autocomplete to list all matches
2017-08-25 16:42:11 +00:00
Chelsea Holland Komlo
a05d7a2a20
default to job status if no arguments are provided
2017-08-25 16:42:11 +00:00
Chelsea Holland Komlo
ffe95a1a62
adds any resource autocomplete
...
defaults to listing jobs if no id is provided
2017-08-25 16:42:11 +00:00
Chelsea Holland Komlo
869ee83b82
migrate nomad status to nomad job status
2017-08-09 15:16:04 +00:00
Alex Dadgar
eef3b15005
Ensure backwards compatibility between 0.6.X CLI and 0.5.X
...
This PR goes through the CLI commands and ensures that a 0.6.X cli
gracefully handles interacting with a 0.5.X Nomad Agent.
Fixes https://github.com/hashicorp/nomad/issues/2918
2017-07-28 10:20:47 -07:00
Alex Dadgar
40ca1298b3
Multiple matched objects now treated as an error condition.
2017-07-20 17:31:07 -07:00
Alex Dadgar
ade9a7c768
@jippi Changed my mind! Good suggestion
2017-07-07 12:12:48 -07:00
Alex Dadgar
e6f5e3f301
deployment status in job status view
2017-07-07 12:12:48 -07:00
Alex Dadgar
40b04a5ea9
alloc-list shows version
2017-07-07 12:12:48 -07:00
Alex Dadgar
2471b86dec
Show submit time
2017-07-07 12:07:07 -07:00
Alex Dadgar
7b3f3f80fb
Status shows type of job
2017-04-15 17:08:05 -07:00
Alex Dadgar
34332af70e
GC and some fixes
2017-04-15 17:08:05 -07:00
Alex Dadgar
3145086a42
non-purge deregisters
2017-04-15 17:08:05 -07:00
Alex Dadgar
c58494fdb6
Handle periodic paramaterized jobs
...
Fixes https://github.com/hashicorp/nomad/issues/2382
2017-03-01 11:45:20 -08:00
Alex Dadgar
b67c59f03c
Merge branch 'master' into refactor-parser
2017-02-20 15:13:21 -08:00
Alex Dadgar
b2eb7028cc
Fix CLI handling of parameterized/periodic jobs
2017-02-16 14:29:34 -08:00
Diptanu Choudhury
161ce2ff87
Removing un-neccessary conversions
2017-02-16 13:52:39 -08:00
Diptanu Choudhury
571d112e6d
Fixed the nomad status command
2017-02-16 13:52:39 -08:00
Diptanu Choudhury
7567209857
Making the job spec return api.Job
2017-02-16 13:52:39 -08:00
Alex Dadgar
7e918003ba
Allow specification of timezones
2017-02-15 14:37:06 -08:00
Michael Schurter
1f7b5b4b47
Rename Constructor -> Parameterized Job
2017-01-20 12:43:10 -08:00
Alex Dadgar
8d5f0fea69
Merge pull request #2128 from hashicorp/f-dispatch
...
Nomad Constructor Jobs and Dispatch
2017-01-06 05:22:49 +08:00
Diptanu Choudhury
9786708526
Added comments
2016-12-19 18:10:02 -08:00
Alex Dadgar
bf1e157bd8
Children fixes + nomad status outputs summaries
...
Children object is always initialized instead of lazily.
`nomad status` outputs children summaries and has specialized view for
constructor jobs.
2016-12-14 16:58:54 -08:00
Diptanu Choudhury
5191b4d33a
Making the status command return the allocs of currently registered job
2016-11-24 16:31:30 +01:00
Cameron Davison
9d812516e8
s/Created/Created At/
2016-08-15 21:40:34 -05:00
Cameron Davison
e0d757b7b0
move formatUnixNanoTime into a utility function
2016-08-08 21:24:38 -05:00
Cameron Davison
5ce7b308bb
remove time flag, and update docs with new column
2016-08-08 21:15:45 -05:00
Cameron Davison
15c343bbe4
add time flag to add created column to allocation
2016-08-07 19:44:56 -05:00
Cameron Davison
cceced4972
code cleanup of inconsistent naming, spacing, and duplicate code
2016-08-07 19:37:52 -05:00
Diptanu Choudhury
083643b840
Removing the custom sorting logic
2016-08-04 13:17:21 -07:00
Diptanu Choudhury
4761ce9eaf
Sorting the task group names and not the output of the format list
2016-08-04 11:54:18 -07:00
Diptanu Choudhury
5d3a2ac1e5
Sorting the job summaries while displaying
2016-08-04 10:42:53 -07:00