Commit Graph

28 Commits

Author SHA1 Message Date
Alex Dadgar
a9e3a41407 Enable more linters 2017-09-26 15:26:33 -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
James Rasell
fe481ae0dd Updates based on feedback provided by dadgar. 2017-08-16 22:19:31 +01:00
“James
113e9b0c33 Add the Nomad agent version to the node-status CLI putput. 2017-08-10 08:27:26 +01:00
Diptanu Choudhury
fca8c2eb9a Added the API for GC of allocations and nodes 2017-01-12 16:18:29 -08:00
Diptanu Choudhury
b2bbd63d87 Fixed a bunch of TLS related failures 2016-10-26 14:08:46 -07:00
Diptanu Choudhury
722433b4f9 Making the cli use TLS if the client has enabled TLS 2016-10-26 11:13:53 -07:00
Diptanu Choudhury
3ef112b30e Added the status updated at timestamp 2016-07-27 11:50:06 -07:00
Alex Dadgar
020f8b05d3 only support latest and remove ring buffer 2016-06-12 09:32:38 -07:00
Alex Dadgar
a9c97cfb19 Don't require slash for node stats 2016-06-11 13:15:57 -07:00
Diptanu Choudhury
358cdf8f63 Calculating total ticks consumed in the nomad client 2016-06-10 23:14:33 +02:00
Diptanu Choudhury
06f8d58038 Making the cli use new apis 2016-05-28 19:59:20 -07:00
Diptanu Choudhury
78709127ba Fixed the node status cli command 2016-05-28 19:59:20 -07:00
Diptanu Choudhury
4491c2b0e8 Added disk usage to node status 2016-05-28 19:59:20 -07:00
Diptanu Choudhury
1183037d56 Added uptime to node stats 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
Alex Dadgar
410ae593e7 Fix double pull with introduction of AllocModifyIndex 2016-02-01 15:43:59 -08:00
Alex Dadgar
872eae28a9 Merge pull request #722 from iverberk/f-double-alloc-update
Add new RPC call to fetch a lightweight list of allocation information.
2016-01-30 16:39:09 -08:00
Ivo Verberk
60d8180279 Add additional API endpoint for requesting client specific node allocations. 2016-01-29 20:01:21 +01:00
Diptanu Choudhury
40a205f466 Added the cli for listing alloc dir 2016-01-27 12:53:23 -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
Ryan Uber
034846aec9 Add Meta field for Node struct 2015-12-07 21:41:57 -08:00
Antonio Fernández
b768ceb995 api /v1/node/<id>/allocations returns an array of Allocation objects, not AllocationIndexStub 2015-11-09 17:54:18 +01: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
ea24468e0e api: use strconv 2015-09-11 17:20:33 -07:00
Ryan Uber
2a5c563bd6 api: add nodes endpoints 2015-09-11 16:51:18 -07:00