![]() |
MySQL 8.0.43
Source Code Documentation
|
route specific configuration. More...
#include <routing_config.h>
Public Attributes | |
| Protocol::Type | protocol {} |
| protocol (classic, x) More... | |
| std::string | destinations |
| destinations More... | |
| int | bind_port {} |
| TCP port to bind to. More... | |
| mysql_harness::TCPAddress | bind_address |
| IP address to bind to. More... | |
| mysql_harness::Path | named_socket |
| unix domain socket path to bind to More... | |
| int | connect_timeout {} |
| connect-timeout in seconds More... | |
| routing::AccessMode | mode |
| read-only/read-write More... | |
| routing::RoutingStrategy | routing_strategy |
| routing strategy (next-avail, ...) More... | |
| int | max_connections {} |
| max connections allowed More... | |
| unsigned long long | max_connect_errors {} |
| max connect errors More... | |
| unsigned int | client_connect_timeout {} |
| client connect timeout in seconds More... | |
| unsigned int | net_buffer_length {} |
| Size of buffer to receive packets. More... | |
| unsigned int | thread_stack_size {} |
| thread stack size in kilobytes More... | |
| SslMode | source_ssl_mode {} |
| SslMode of the client side connection. More... | |
| std::string | source_ssl_cert |
| Cert file. More... | |
| std::string | source_ssl_key |
| Key file. More... | |
| std::string | source_ssl_cipher |
| allowed TLS ciphers More... | |
| std::string | source_ssl_curves |
| allowed TLS curves More... | |
| std::string | source_ssl_dh_params |
| DH params. More... | |
| SslMode | dest_ssl_mode {} |
| SslMode of the server side connection. More... | |
| SslVerify | dest_ssl_verify {} |
| How to verify the server-side cert. More... | |
| std::string | dest_ssl_cipher |
| allowed TLS ciphers More... | |
| std::string | dest_ssl_ca_file |
| CA file to used to verify destinations' identity. More... | |
| std::string | dest_ssl_ca_dir |
| directory of CA files used to verify destinations' identity More... | |
| std::string | dest_ssl_crl_file |
| CRL file used to check revoked certificates. More... | |
| std::string | dest_ssl_crl_dir |
| directory of CRL files More... | |
| std::string | dest_ssl_curves |
| allowed TLS curves More... | |
| bool | connection_sharing {} |
| if connection sharing is allowed. More... | |
| std::chrono::milliseconds | connection_sharing_delay {} |
| delay before an idling connection is moved to the pool and connection sharing is allowed. More... | |
route specific configuration.
| mysql_harness::TCPAddress RoutingConfig::bind_address |
IP address to bind to.
| int RoutingConfig::bind_port {} |
TCP port to bind to.
| unsigned int RoutingConfig::client_connect_timeout {} |
client connect timeout in seconds
| int RoutingConfig::connect_timeout {} |
connect-timeout in seconds
| bool RoutingConfig::connection_sharing {} |
if connection sharing is allowed.
| std::chrono::milliseconds RoutingConfig::connection_sharing_delay {} |
delay before an idling connection is moved to the pool and connection sharing is allowed.
| std::string RoutingConfig::dest_ssl_ca_dir |
directory of CA files used to verify destinations' identity
| std::string RoutingConfig::dest_ssl_ca_file |
CA file to used to verify destinations' identity.
| std::string RoutingConfig::dest_ssl_cipher |
allowed TLS ciphers
| std::string RoutingConfig::dest_ssl_crl_dir |
directory of CRL files
| std::string RoutingConfig::dest_ssl_crl_file |
CRL file used to check revoked certificates.
| std::string RoutingConfig::dest_ssl_curves |
allowed TLS curves
| SslMode RoutingConfig::dest_ssl_mode {} |
SslMode of the server side connection.
| SslVerify RoutingConfig::dest_ssl_verify {} |
How to verify the server-side cert.
| std::string RoutingConfig::destinations |
destinations
| unsigned long long RoutingConfig::max_connect_errors {} |
max connect errors
| int RoutingConfig::max_connections {} |
max connections allowed
| routing::AccessMode RoutingConfig::mode |
read-only/read-write
| mysql_harness::Path RoutingConfig::named_socket |
unix domain socket path to bind to
| unsigned int RoutingConfig::net_buffer_length {} |
Size of buffer to receive packets.
| Protocol::Type RoutingConfig::protocol {} |
protocol (classic, x)
| routing::RoutingStrategy RoutingConfig::routing_strategy |
routing strategy (next-avail, ...)
| std::string RoutingConfig::source_ssl_cert |
Cert file.
| std::string RoutingConfig::source_ssl_cipher |
allowed TLS ciphers
| std::string RoutingConfig::source_ssl_curves |
allowed TLS curves
| std::string RoutingConfig::source_ssl_dh_params |
DH params.
| std::string RoutingConfig::source_ssl_key |
Key file.
| SslMode RoutingConfig::source_ssl_mode {} |
SslMode of the client side connection.
| unsigned int RoutingConfig::thread_stack_size {} |
thread stack size in kilobytes