MySQL 9.0.0
Source Code Documentation
|
#include <array>
#include <string>
#include "mysql/harness/config_option.h"
#include "mysql/harness/config_parser.h"
#include "mysql/harness/dynamic_config.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/section_config_exposer.h"
#include "mysql/harness/utility/string.h"
#include "mysqlrouter/component/http_server_component.h"
#include "mysqlrouter/http_constants.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 |
class | anonymous_namespace{rest_connection_pool_plugin.cc}::RestConnectionPoolConfigExposer |
Namespaces | |
namespace | anonymous_namespace{rest_connection_pool_plugin.cc} |
Macros | |
#define | GET_OPTION_CHECKED(option, section, name, value) |
Typedefs | |
using | StringOption = mysql_harness::StringOption |
using | JsonPointer = RestApiComponent::JsonPointer |
using | JsonValue = RestApiComponent::JsonValue |
Functions | |
static void | init (mysql_harness::PluginFuncEnv *env) |
static JsonPointer::Token | make_json_pointer_token (std::string_view token) |
std::string | json_pointer_stringfy (const JsonPointer &ptr) |
static void | spec_adder (RestApiComponent::JsonDocument &spec_doc) |
static void | start (mysql_harness::PluginFuncEnv *env) |
static void | expose_configuration (mysql_harness::PluginFuncEnv *env, const char *, bool initial) |
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 | route_name_param_tokens |
static const std::array | connection_pool_list_def_tokens |
static const std::array | connection_pool_summary_def_tokens |
static const std::array | connection_pool_config_def_tokens |
static const std::array | connection_pool_status_def_tokens |
static const std::array | connection_pool_status_path_tokens |
static const std::array | connection_pool_config_path_tokens |
static const std::array | connection_pool_list_path_tokens |
static const std::array | tags_append_tokens |
static constexpr std::array | required |
mysql_harness::Plugin REST_CONNECTION_POOL_EXPORT | harness_plugin_rest_connection_pool |
#define GET_OPTION_CHECKED | ( | option, | |
section, | |||
name, | |||
value | |||
) |
using JsonValue = RestApiComponent::JsonValue |
|
static |
|
static |
std::string json_pointer_stringfy | ( | const JsonPointer & | ptr | ) |
|
static |
|
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 |
|
staticconstexpr |
|
static |
|
staticconstexpr |
|
static |