MySQL 8.0.40
Source Code Documentation
plugin_config.cc File Reference
#include "plugin_config.h"
#include <algorithm>
#include <array>
#include <cinttypes>
#include <initializer_list>
#include <stdexcept>
#include <string>
#include <string_view>
#include <vector>
#include "context.h"
#include "hostname_validator.h"
#include "mysql/harness/config_option.h"
#include "mysql/harness/config_parser.h"
#include "mysql/harness/logging/logging.h"
#include "mysql/harness/string_utils.h"
#include "mysql/harness/utility/string.h"
#include "mysql_router_thread.h"
#include "mysqlrouter/routing.h"
#include "mysqlrouter/routing_component.h"
#include "mysqlrouter/supported_routing_options.h"
#include "mysqlrouter/uri.h"
#include "mysqlrouter/utils.h"
#include "ssl_mode.h"
#include "tcp_address.h"

Classes

class  ProtocolOption
 
class  ModeOption
 
class  RoutingStrategyOption
 
class  DestinationsOption
 
class  NamedSocketOption
 
class  BindPortOption
 empty or 1..65335 More...
 
class  TCPAddressOption
 
class  SslModeOption
 
class  SslVerifyOption
 
class  MaxConnectionsOption
 

Macros

#define GET_OPTION_CHECKED(option, section, name, value)
 
#define GET_OPTION_NO_DEFAULT_CHECKED(option, section, name, value)
 

Typedefs

using StringOption = mysql_harness::StringOption
 
using BoolOption = mysql_harness::BoolOption
 
using DoubleOption = mysql_harness::DoubleOption
 
template<class T >
using IntOption = mysql_harness::IntOption< T >
 

Functions

static const char * ssl_verify_to_string (SslVerify verify)
 get the name for a SslVerify. More...
 

Macro Definition Documentation

◆ GET_OPTION_CHECKED

#define GET_OPTION_CHECKED (   option,
  section,
  name,
  value 
)
Value:
static_assert( \
option = get_option(section, name, value);
static std::string get_option(const mysql_harness::ConfigSection *section, const std::string &key, const std::string &def_value)
Definition: metadata_cache_plugin.cc:107
constexpr bool str_in_collection(const T &t, const std::string_view &k)
Definition: string.h:157
case opt name
Definition: sslopt-case.h:33
static constexpr std::array< const char *, 31 > routing_supported_options
Definition: supported_routing_options.h:32

◆ GET_OPTION_NO_DEFAULT_CHECKED

#define GET_OPTION_NO_DEFAULT_CHECKED (   option,
  section,
  name,
  value 
)
Value:
static_assert( \
option = get_option_no_default(section, name, value);

Typedef Documentation

◆ BoolOption

◆ DoubleOption

◆ IntOption

template<class T >
using IntOption = mysql_harness::IntOption<T>

◆ StringOption

Function Documentation

◆ ssl_verify_to_string()

static const char * ssl_verify_to_string ( SslVerify  verify)
static

get the name for a SslVerify.

Parameters
verifya SslVerify value
Returns
name of a SslVerify
Return values
nullptrif verify is unknown.