Commit Graph

17 Commits

Author SHA1 Message Date
Michael Schurter f141bf3fe5 Add Agent.Health to api package 2017-10-13 16:43:00 -07:00
Michael Schurter 9a94b94bc8 Remove overly clever code 2017-03-27 20:54:43 -07:00
Michael Schurter 8310032c5c Fix TLS use in AllocFS API and region/dc detection 2017-03-27 17:38:16 -07:00
Ben Barnard 372303f4c6 Return AgentSelf struct from Agent.Self() instead of map
api.AgentSelf mirrors command.agent.agentSelf, and makes it easier to
work with the results of a call to Agent.Self()
2017-03-08 15:59:10 +01:00
Diptanu Choudhury a1b4b20eff Changing the API to use the new servermember datastructure 2016-11-06 10:30:43 -08:00
Diptanu Choudhury 0f6e0d10b6 Enable serf encryption (#1791)
* Added the keygen command

* Added support for gossip encryption

* Changed the URL for keyring management

* Fixed the cli

* Added some tests

* Added tests for keyring operations

* Added a test for removal of keys

* Added some docs

* Fixed some docs

* Added general options
2016-10-17 10:48:04 -07:00
Gregory Man 1af62592c1 Sort server-members output using name and tags 2015-10-23 21:33:18 +03:00
Ryan Uber fb35ceb4c3 api: add client server methods 2015-09-24 21:17:33 -07:00
Ryan Uber 3a84c96429 api: fixing join tests 2015-09-14 14:04:30 -07:00
Ryan Uber 761aad186a api: return the number of nodes joined 2015-09-14 13:24:03 -07:00
Ryan Uber 8961b910d5 api: fix status type 2015-09-14 13:24:03 -07:00
Ryan Uber 40a5696fb2 api: finish agent endpoint 2015-09-08 14:47:29 -07:00
Ryan Uber 801db291ed api: agent join api works 2015-09-08 14:26:53 -07:00
Ryan Uber 5a8bc52c56 api: region is queryable, optimize agent caching 2015-09-08 12:13:39 -07:00
Ryan Uber 500daf5d7f api: datacenter is cached and queryable 2015-09-08 12:01:54 -07:00
Ryan Uber c1f4faaab3 api: allow querying node name from agent 2015-09-08 11:51:20 -07:00
Ryan Uber f5c57cedfa api: add agent self call 2015-09-08 11:41:03 -07:00