MySQL 8.0.40
Source Code Documentation
|
#include <termios.h>
#include <unistd.h>
#include <array>
#include <stdexcept>
#include <string>
#include <thread>
#include "dim.h"
#include "keyring/keyring_manager.h"
#include "metadata_cache.h"
#include "my_thread.h"
#include "mysql/harness/config_parser.h"
#include "mysql/harness/loader_config.h"
#include "mysql/harness/logging/logging.h"
#include "mysql/harness/utility/string.h"
#include "mysqlrouter/mysql_client_thread_token.h"
#include "mysqlrouter/mysql_session.h"
#include "mysqlrouter/supported_metadata_cache_options.h"
#include "mysqlrouter/uri.h"
#include "mysqlrouter/utils.h"
#include "plugin_config.h"
Classes | |
class | MetadataServersStateListener |
Macros | |
#define | GET_OPTION_CHECKED(option, section, name, def_value) |
Functions | |
static metadata_cache::RouterAttributes | get_router_attributes (const mysql_harness::Config *cfg) |
static void | init (mysql_harness::PluginFuncEnv *env) |
static std::string | get_option (const mysql_harness::ConfigSection *section, const std::string &key, const std::string &def_value) |
static mysqlrouter::SSLOptions | make_ssl_options (const mysql_harness::ConfigSection *section) |
static void | start (mysql_harness::PluginFuncEnv *env) |
Initialize the metadata cache for fetching the information from the metadata servers. More... | |
Variables | |
static const mysql_harness::AppInfo * | g_app_info |
static const std::string | kSectionName = "metadata_cache" |
static const char * | kKeyringAttributePassword = "password" |
metadata_cache::RouterAttributes | g_router_attributes |
static const std::array< const char *, 2 > | required |
mysql_harness::Plugin METADATA_CACHE_PLUGIN_EXPORT | harness_plugin_metadata_cache |
#define GET_OPTION_CHECKED | ( | option, | |
section, | |||
name, | |||
def_value | |||
) |
|
static |
|
static |
|
static |
|
static |
|
static |
Initialize the metadata cache for fetching the information from the metadata servers.
env | plugin's environment |
|
static |
metadata_cache::RouterAttributes g_router_attributes |
mysql_harness::Plugin METADATA_CACHE_PLUGIN_EXPORT harness_plugin_metadata_cache |
|
static |
|
static |
|
static |