MySQL 8.0.40
Source Code Documentation
|
#include "mock_server_plugin.h"
#include <array>
#include <climits>
#include <stdexcept>
#include <string>
#include <system_error>
#include "mysql.h"
#include "mysql/harness/config_option.h"
#include "mysql/harness/config_parser.h"
#include "mysql/harness/logging/logging.h"
#include "mysql/harness/plugin.h"
#include "mysql/harness/plugin_config.h"
#include "mysql/harness/stdx/filesystem.h"
#include "mysql/harness/string_utils.h"
#include "mysql/harness/tls_context.h"
#include "mysql/harness/tls_server_context.h"
#include "mysql/harness/utility/string.h"
#include "mysql_server_mock.h"
#include "mysqlrouter/io_component.h"
Classes | |
class | anonymous_namespace{mock_server_plugin.cc}::SslModeOption |
class | anonymous_namespace{mock_server_plugin.cc}::StringsOption |
class | PluginConfig |
Namespaces | |
namespace | anonymous_namespace{mock_server_plugin.cc} |
Macros | |
#define | GET_OPTION_CHECKED(option, section, name, value) |
Functions | |
static void | init (mysql_harness::PluginFuncEnv *env) |
static void | start (mysql_harness::PluginFuncEnv *env) |
static void | deinit (mysql_harness::PluginFuncEnv *) |
Variables | |
constexpr const std::array< std::pair< const char *, mysql_ssl_mode >, 3 > | anonymous_namespace{mock_server_plugin.cc}::allowed_ssl_modes |
static constexpr const char | anonymous_namespace{mock_server_plugin.cc}::kSectionName [] {"mock_server"} |
static constexpr std::array< const char *, 14 > | supported_options |
Monitor< std::list< IoComponent::Workguard > > | io_context_work_guards {{}} |
static const std::array< const char *, 4 > | required |
mysql_harness::Plugin MOCK_SERVER_EXPORT | harness_plugin_mock_server |
#define GET_OPTION_CHECKED | ( | option, | |
section, | |||
name, | |||
value | |||
) |
|
static |
|
static |
|
static |
mysql_harness::Plugin MOCK_SERVER_EXPORT harness_plugin_mock_server |
Monitor<std::list<IoComponent::Workguard> > io_context_work_guards {{}} |
|
static |
|
staticconstexpr |