Alex Dadgar
ac1539d5d9
Sync namespace changes
2017-09-07 17:04:21 -07:00
Michael Schurter
2f30827205
Refactor GetNodeClient weirdness
...
- No need to for a pointer to a pointer
- Properly set and use QueryOptions.Region
2017-08-28 14:41:21 -07:00
Michael Schurter
1bb8a54ffb
Fix TLS support in api pkg / cli
...
Fixes #3013
It's a little weird that Client now has a method for returning a
NewClient, but it's a convenient way to dedupe the logic to
connect-directly-to-a-node which is nontrivial and had sutble
differences between locations.
2017-08-28 11:46:28 -07:00
Alex Dadgar
c5b1e2dcc1
alloc-list shows version
2017-07-07 12:12:48 -07:00
Alex Dadgar
989aa56304
Remove canary
2017-07-07 12:10:04 -07:00
Alex Dadgar
7e507719f8
Add deployment id to alloc
2017-07-07 12:07:08 -07:00
Alex Dadgar
53f4952c56
initial impl
2017-07-07 12:03:11 -07:00
Diptanu Choudhury
fca8c2eb9a
Added the API for GC of allocations and nodes
2017-01-12 16:18:29 -08:00
Alex Dadgar
52a1acd611
Detect newly created allocation's properly
2017-01-08 13:55:03 -08:00
Alex Dadgar
e398a0d804
Consul-template fixes + PreviousAlloc in api
2016-10-28 15:50:35 -07:00
Diptanu Choudhury
722433b4f9
Making the cli use TLS if the client has enabled TLS
2016-10-26 11:13:53 -07:00
Alex Dadgar
0553288b07
address feedback
2016-10-25 11:31:09 -07:00
Alex Dadgar
72ce7e7d41
Don't query for node-status if the node is down and handle the errors
2016-10-20 18:05:58 -07:00
Alex Dadgar
1a7df4e7d2
Allocation resources returned in a struct
2016-06-11 21:04:10 -07:00
Diptanu Choudhury
4fc5eedfa7
Moving the stats error to the bottom of alloc status
2016-06-08 12:28:41 -04:00
Diptanu Choudhury
06f8d58038
Making the cli use new apis
2016-05-28 19:59:20 -07:00
Diptanu Choudhury
15e79c3783
Changing the api of the stats endpoints
2016-05-28 19:59:20 -07:00
Diptanu Choudhury
f16191c297
comments
2016-05-28 19:59:20 -07:00
Diptanu Choudhury
25be2da69c
Using the api client for querying nomad client endpoints
2016-05-28 19:59:20 -07:00
Diptanu Choudhury
33f2d0c18a
Added a stats api for retreiving node stats
2016-05-28 19:59:20 -07:00
Diptanu Choudhury
50250b1455
Added the nomad stats command
2016-05-28 19:42:34 -07:00
Alex Dadgar
675e2bfe69
Store alloc creation time
2016-02-08 21:58:05 -08:00
Alex Dadgar
cf3152d924
Merge pull request #575 from nautsio/f-short-ids
...
Allow lookups based on short identifiers
2016-01-06 14:36:19 -08:00
Alex Dadgar
892c7ddee3
Fix bug, add tests, and cli output
2016-01-04 14:23:06 -08: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
Diptanu Choudhury
d4d7572604
Making the allocs hold service ids
2015-12-14 15:08:35 -08:00
Alex Dadgar
2afcbbe082
Add TaskState to alloc
2015-11-16 15:14:21 -08:00
Ryan Uber
8b8a0ecb73
command: start alloc-status command
2015-09-22 10:45:07 -07:00
Ryan Uber
06aa0119e4
api: sort all list responses
2015-09-17 13:10:20 -07:00
Ryan Uber
d2597982ad
api: use stub structs
2015-09-13 20:02:22 -07:00
Ryan Uber
7b94b6213a
api: allow query options everywhere
2015-09-09 13:18:50 -07:00
Ryan Uber
ff894b352c
api: look up allocations by job ID
2015-09-08 17:52:47 -07:00