MySQL 8.0.29
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_router_thread.h"
#include "mysqlrouter/routing.h"
#include "mysqlrouter/routing_component.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
 

Typedefs

using StringOption = mysql_harness::StringOption
 
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...
 

Variables

const std::array< const char *, 29 > routing_supported_options
 

Typedef Documentation

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

Variable Documentation

◆ routing_supported_options

const std::array<const char *, 29> routing_supported_options
Initial value:
{
"protocol",
"destinations",
"bind_port",
"bind_address",
"socket",
"connect_timeout",
"mode",
"routing_strategy",
"max_connect_errors",
"max_connections",
"client_connect_timeout",
"net_buffer_length",
"thread_stack_size",
"client_ssl_mode",
"client_ssl_cert",
"client_ssl_key",
"client_ssl_cipher",
"client_ssl_curves",
"client_ssl_dh_params",
"server_ssl_mode",
"server_ssl_verify",
"disabled",
"server_ssl_cipher",
"server_ssl_ca",
"server_ssl_capath",
"server_ssl_crl",
"server_ssl_crlpath",
"server_ssl_curves",
"unreachable_destination_refresh_interval"}