MySQL 8.4.3
Source Code Documentation
|
#include "mysqlrouter/routing_plugin_export.h"
#include <atomic>
#include <mutex>
#include <stdexcept>
#include <vector>
#include "dim.h"
#include "hostname_validator.h"
#include "mysql/harness/config_parser.h"
#include "mysql/harness/filesystem.h"
#include "mysql/harness/loader_config.h"
#include "mysql/harness/logging/logging.h"
#include "mysql/harness/net_ts/io_context.h"
#include "mysql/harness/tls_server_context.h"
#include "mysql/harness/utility/string.h"
#include "mysql_routing.h"
#include "mysqlrouter/connection_pool.h"
#include "mysqlrouter/connection_pool_component.h"
#include "mysqlrouter/destination.h"
#include "mysqlrouter/io_component.h"
#include "mysqlrouter/routing_component.h"
#include "mysqlrouter/ssl_mode.h"
#include "mysqlrouter/supported_routing_options.h"
#include "plugin_config.h"
#include "scope_guard.h"
Functions | |
static void | validate_socket_info (const std::string &err_prefix, const mysql_harness::ConfigSection *section, const RoutingPluginConfig &config) |
void | validate_socket_info_test_proxy (const std::string &err_prefix, const mysql_harness::ConfigSection *section, const RoutingPluginConfig &config) |
static void | init (mysql_harness::PluginFuncEnv *env) |
static void | ensure_readable_directory (const std::string &opt_name, const std::string &opt_value) |
static std::string | get_default_ciphers () |
static void | start (mysql_harness::PluginFuncEnv *env) |
static void | deinit (mysql_harness::PluginFuncEnv *) |
static void | expose_configuration (mysql_harness::PluginFuncEnv *env, const char *key, bool initial) |
Variables | |
const mysql_harness::AppInfo * | g_app_info |
static const std::string | kSectionName = "routing" |
std::mutex | g_dest_tls_contexts_mtx |
std::vector< std::unique_ptr< DestinationTlsContext > > | g_dest_tls_contexts |
std::mutex | io_context_work_guard_mtx |
std::list< IoComponent::Workguard > | io_context_work_guards |
static const std::array< const char *, 6 > | required |
mysql_harness::Plugin ROUTING_PLUGIN_EXPORT | harness_plugin_routing |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
void validate_socket_info_test_proxy | ( | const std::string & | err_prefix, |
const mysql_harness::ConfigSection * | section, | ||
const RoutingPluginConfig & | config | ||
) |
const mysql_harness::AppInfo* g_app_info |
std::vector<std::unique_ptr<DestinationTlsContext> > g_dest_tls_contexts |
std::mutex g_dest_tls_contexts_mtx |
mysql_harness::Plugin ROUTING_PLUGIN_EXPORT harness_plugin_routing |
std::mutex io_context_work_guard_mtx |
std::list<IoComponent::Workguard> io_context_work_guards |
|
static |
|
static |