|
void | base64_decode_by_reference (std::string const &encoded_string, StringBuffer &ret_buffer) |
| Convinience Method for base64 decoding. More...
|
|
StringBuffer * | base64_decode_safe (std::string const &encoded_string) |
| Convinience Method for base64 decoding. More...
|
|
void | add_acl_token (std::string &token) |
| Add an ACL Token to the Consul Admin.
|
|
| ConsulAdmin (std::string &caddr) |
|
| ConsulAdmin (std::string &caddr, int tout) |
|
| ConsulAdmin (std::string &caddr, std::string &cert) |
|
| ConsulAdmin (std::string &caddr, int tout, std::string &cert) |
|
| ConsulAdmin (std::string &caddr, int tout, std::string &cert, std::string &token) |
|
bool | register_service (const ServiceInterface &s) |
| Register the Service. More...
|
|
bool | deregister_service (const ServiceInterface &s) |
| Deregister the Service. More...
|
|
bool | set_config_value (std::string key, std::string val) |
| Set a configuration value. More...
|
|
bool | del_config_value (std::string key) |
| Delete a configuration value.
|
|
StringBuffer * | services () |
| Query the local agent for services registered. More...
|
|
StringBuffer * | agent_info () |
| Query the local agent for it's info.
|
|
StringBuffer * | healthy_services () |
| Query for healthy services only.
|
|
StringBuffer * | datacenters () |
| Query the catalog for datacenters.
|
|
StringBuffer * | nodes_dc (std::string data_center) |
| Query the catalog for the nodes in a particular datacenter. More...
|
|
StringBuffer * | services_dc (std::string data_center) |
| Query the catalog for the services in a particular datacenter. More...
|
|
StringBuffer * | nodes_service (std::string service) |
| Query the catalog for the nodes running a particular service. More...
|
|
StringBuffer * | services_node (std::string node, std::string data_center) |
| Query the catalog for the services provided by a particular node. More...
|
|
bool | opt_exist (std::string key) |
| Does a key exist?
|
|
StringBuffer * | get_opt (std::string key) |
| Get an option by key.
|
|
void | get_opt (std::string key, StringBuffer &val) |
| Get an option by key.
|
|
void | load_config () |
| Re-load configuration.
|
|
| BaseHttpClient (std::string &vaddr, int tout, std::string &cert) |
| Construct a secured HTTP Client.
|
|
| BaseHttpClient (std::string &vaddr, int tout) |
| Construct an unsecured HTTP Client.
|
|
std::string | get_address () |
|
std::string | get_ssl_cert () |
|
std::string | get_acl_token () |
|
void | put_by_reference (std::string &query_url, std::string &body, AOSSL::StringBuffer &ret_buffer) |
| Execute a Put query.
|
|
void | post_by_reference (std::string &query_url, std::string &body, AOSSL::StringBuffer &ret_buffer) |
| Execute a Post query.
|
|
void | get_by_reference (std::string &query_url, AOSSL::StringBuffer &ret_buffer) |
| Execute a Get query.
|
|
void | delete_by_reference (std::string &query_url, AOSSL::StringBuffer &ret_buffer) |
| Execute a Delete query.
|
|
void | set_acl_token (std::string token_name, std::string new_token) |
| Add an ACL Token.
|
|