MySQL 9.1.0
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 <rapidjson/document.h>
#include <rapidjson/stringbuffer.h>
#include <rapidjson/writer.h>
#include "context.h"
#include "dest_metadata_cache.h"
#include "hostname_validator.h"
#include "mysql/harness/config_option.h"
#include "mysql/harness/config_parser.h"
#include "mysql/harness/dynamic_config.h"
#include "mysql/harness/logging/logging.h"
#include "mysql/harness/section_config_exposer.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/ssl_mode.h"
#include "mysqlrouter/supported_routing_options.h"
#include "mysqlrouter/uri.h"
#include "mysqlrouter/utils.h"
#include "tcp_address.h"

Classes

class  ProtocolOption
 
class  AccessModeOption
 
class  RoutingStrategyOption
 
class  DestinationsOption
 
class  NamedSocketOption
 
class  BindPortOption
 empty or 1..65335 More...
 
class  TCPAddressOption
 
class  SslModeOption
 
class  SslVerifyOption
 
class  MaxConnectionsOption
 
class  anonymous_namespace{plugin_config.cc}::RoutingConfigExposer
 

Namespaces

namespace  anonymous_namespace{plugin_config.cc}
 

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);
constexpr bool str_in_collection(const T &t, const std::string_view &k)
Definition: string.h:94
case opt name
Definition: sslopt-case.h:29
static constexpr std::array routing_supported_options
Definition: supported_routing_options.h:92

◆ 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.