MySQL 9.1.0
Source Code Documentation
|
#include "plugin_config.h"
#include <algorithm>
#include <array>
#include <climits>
#include <exception>
#include <map>
#include <stdexcept>
#include <variant>
#include <vector>
#include "dim.h"
#include "mysql/harness/dynamic_config.h"
#include "mysql/harness/logging/logging.h"
#include "mysql/harness/section_config_exposer.h"
#include "mysql/harness/utility/string.h"
#include "mysqlrouter/metadata_cache.h"
#include "mysqlrouter/supported_metadata_cache_options.h"
#include "mysqlrouter/uri.h"
#include "mysqlrouter/utils.h"
Classes | |
class | ClusterTypeOption |
class | anonymous_namespace{plugin_config.cc}::MetadataCacheConfigExposer |
class | anonymous_namespace{plugin_config.cc}::RoutingRulesConfigExposer |
Namespaces | |
namespace | anonymous_namespace{plugin_config.cc} |
Macros | |
#define | GET_OPTION_CHECKED(option, section, name, value) |
#define | GET_SSL_OPTION_CHECKED(option, section, name, def_value) |
Typedefs | |
using | MilliSecondsOption = mysql_harness::MilliSecondsOption |
using | StringOption = mysql_harness::StringOption |
template<typename T > | |
using | IntOption = mysql_harness::IntOption< T > |
Functions | |
static std::string | get_ssl_option (const mysql_harness::ConfigSection *section, const std::string &key, const std::string_view def_value) |
static mysqlrouter::SSLOptions | make_ssl_options (const mysql_harness::ConfigSection *section) |
static double | duration_to_double (const auto &duration) |
Variables | |
constexpr std::string_view | anonymous_namespace{plugin_config.cc}::kDefaultSslMode {"PREFERRED"} |
constexpr std::string_view | anonymous_namespace{plugin_config.cc}::kDefaultSslCipher {""} |
constexpr std::string_view | anonymous_namespace{plugin_config.cc}::kDefaultTlsVersion {""} |
constexpr std::string_view | anonymous_namespace{plugin_config.cc}::kDefaultSslCa {""} |
constexpr std::string_view | anonymous_namespace{plugin_config.cc}::kDefaultSslCaPath {""} |
constexpr std::string_view | anonymous_namespace{plugin_config.cc}::kDefaultSslCrl {""} |
constexpr std::string_view | anonymous_namespace{plugin_config.cc}::kDefaultSslCrlPath {""} |
#define GET_OPTION_CHECKED | ( | option, | |
section, | |||
name, | |||
value | |||
) |
#define GET_SSL_OPTION_CHECKED | ( | option, | |
section, | |||
name, | |||
def_value | |||
) |
using IntOption = mysql_harness::IntOption<T> |
|
static |
|
static |
|
static |