MySQL 8.0.40
Source Code Documentation
|
#include <array>
#include <string>
#include "mysql/harness/config_option.h"
#include "mysql/harness/config_parser.h"
#include "mysql/harness/loader.h"
#include "mysql/harness/logging/logging.h"
#include "mysql/harness/plugin.h"
#include "mysql/harness/plugin_config.h"
#include "mysql/harness/utility/string.h"
#include "mysqlrouter/http_server_component.h"
#include "mysqlrouter/rest_api_component.h"
#include "mysqlrouter/rest_connection_pool_export.h"
#include "rest_connection_pool_config.h"
#include "rest_connection_pool_list.h"
#include "rest_connection_pool_status.h"
Classes | |
class | RestConnectionPoolPluginConfig |
Macros | |
#define | GET_OPTION_CHECKED(option, section, name, value) |
#define | STR(s) { s, strlen(s), rapidjson::kPointerInvalidIndex } |
Typedefs | |
using | StringOption = mysql_harness::StringOption |
using | JsonPointer = RestApiComponent::JsonPointer |
using | JsonValue = RestApiComponent::JsonValue |
Functions | |
static void | init (mysql_harness::PluginFuncEnv *env) |
std::string | json_pointer_stringfy (const JsonPointer &ptr) |
static void | spec_adder (RestApiComponent::JsonDocument &spec_doc) |
static void | start (mysql_harness::PluginFuncEnv *env) |
Variables | |
static constexpr const char | kSectionName [] {"rest_connection_pool"} |
static constexpr const char | kRequireRealm [] {"require_realm"} |
static constexpr const std::array | supported_options |
std::string | require_realm_connection_pool |
static const std::array< JsonPointer::Token, 2 > | route_name_param_tokens |
static const std::array< JsonPointer::Token, 2 > | connection_pool_list_def_tokens |
static const std::array< JsonPointer::Token, 2 > | connection_pool_summary_def_tokens |
static const std::array< JsonPointer::Token, 2 > | connection_pool_config_def_tokens |
static const std::array< JsonPointer::Token, 2 > | connection_pool_status_def_tokens |
static const std::array< JsonPointer::Token, 2 > | connection_pool_status_path_tokens |
static const std::array< JsonPointer::Token, 2 > | connection_pool_config_path_tokens |
static const std::array< JsonPointer::Token, 2 > | connection_pool_list_path_tokens |
static const std::array< JsonPointer::Token, 2 > | tags_append_tokens |
static std::array< const char *, 2 > | required |
mysql_harness::Plugin REST_CONNECTION_POOL_EXPORT | harness_plugin_rest_connection_pool |
#define GET_OPTION_CHECKED | ( | option, | |
section, | |||
name, | |||
value | |||
) |
#define STR | ( | s | ) | { s, strlen(s), rapidjson::kPointerInvalidIndex } |
using JsonValue = RestApiComponent::JsonValue |
|
static |
std::string json_pointer_stringfy | ( | const JsonPointer & | ptr | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
mysql_harness::Plugin REST_CONNECTION_POOL_EXPORT harness_plugin_rest_connection_pool |
|
staticconstexpr |
|
staticconstexpr |
std::string require_realm_connection_pool |
|
static |
|
static |
|
staticconstexpr |