MySQL 8.4.2
Source Code Documentation
supported_routing_options.h
Go to the documentation of this file.
1/*
2 Copyright (c) 2022, 2024, Oracle and/or its affiliates.
3
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License, version 2.0,
6 as published by the Free Software Foundation.
7
8 This program is designed to work with certain software (including
9 but not limited to OpenSSL) that is licensed under separate terms,
10 as designated in a particular file or component or in included license
11 documentation. The authors of MySQL hereby grant you an additional
12 permission to link the program and your derivative works with the
13 separately licensed software that they have either included with
14 the program or referenced in the documentation.
15
16 This program is distributed in the hope that it will be useful,
17 but WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 GNU General Public License for more details.
20
21 You should have received a copy of the GNU General Public License
22 along with this program; if not, write to the Free Software
23 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
24*/
25
26#ifndef MYSQLROUTER_ROUTING_SUPPORTED_ROUTING_INCLUDED
27#define MYSQLROUTER_ROUTING_SUPPORTED_ROUTING_INCLUDED
28
29#include <array>
30
31namespace routing {
32namespace options {
33static constexpr const char kProtocol[]{"protocol"};
34static constexpr const char kDestinations[]{"destinations"};
35static constexpr const char kBindPort[]{"bind_port"};
36static constexpr const char kBindAddress[]{"bind_address"};
37static constexpr const char kMaxConnections[]{"max_connections"};
38static constexpr const char kConnectTimeout[]{"connect_timeout"};
39static constexpr const char kSocket[]{"socket"};
40static constexpr const char kMaxConnectErrors[]{"max_connect_errors"};
41static constexpr const char kRoutingStrategy[]{"routing_strategy"};
42static constexpr const char kClientConnectTimeout[]{"client_connect_timeout"};
43static constexpr const char kNetBufferLength[]{"net_buffer_length"};
44static constexpr const char kThreadStackSize[]{"thread_stack_size"};
45static constexpr const char kClientSslMode[]{"client_ssl_mode"};
46static constexpr const char kClientSslCert[]{"client_ssl_cert"};
47static constexpr const char kClientSslKey[]{"client_ssl_key"};
48static constexpr const char kClientSslCipher[]{"client_ssl_cipher"};
49static constexpr const char kClientSslCa[]{"client_ssl_ca"};
50static constexpr const char kClientSslCaPath[]{"client_ssl_capath"};
51static constexpr const char kClientSslCrl[]{"client_ssl_crl"};
52static constexpr const char kClientSslCrlPath[]{"client_ssl_crlpath"};
53static constexpr const char kClientSslCurves[]{"client_ssl_curves"};
54static constexpr const char kClientSslDhParams[]{"client_ssl_dh_params"};
55static constexpr const char kServerSslMode[]{"server_ssl_mode"};
56static constexpr const char kServerSslCert[]{"server_ssl_cert"};
57static constexpr const char kServerSslKey[]{"server_ssl_key"};
58static constexpr const char kServerSslVerify[]{"server_ssl_verify"};
59static constexpr const char kServerSslCipher[]{"server_ssl_cipher"};
60static constexpr const char kServerSslCa[]{"server_ssl_ca"};
61static constexpr const char kServerSslCaPath[]{"server_ssl_capath"};
62static constexpr const char kServerSslCrl[]{"server_ssl_crl"};
63static constexpr const char kServerSslCrlPath[]{"server_ssl_crlpath"};
64static constexpr const char kServerSslCurves[]{"server_ssl_curves"};
65static constexpr const char kConnectionSharing[]{"connection_sharing"};
66static constexpr const char kConnectionSharingDelay[]{
67 "connection_sharing_delay"};
68
69static constexpr const char kClientSslSessionCacheMode[]{
70 "client_ssl_session_cache_mode"};
71static constexpr const char kClientSslSessionCacheSize[]{
72 "client_ssl_session_cache_size"};
73static constexpr const char kClientSslSessionCacheTimeout[]{
74 "client_ssl_session_cache_timeout"};
75
76static constexpr const char kServerSslSessionCacheMode[]{
77 "server_ssl_session_cache_mode"};
78static constexpr const char kServerSslSessionCacheSize[]{
79 "server_ssl_session_cache_size"};
80static constexpr const char kServerSslSessionCacheTimeout[]{
81 "server_ssl_session_cache_timeout"};
82
83static constexpr const char kConnectRetryTimeout[]{"connect_retry_timeout"};
84static constexpr const char kAccessMode[]{"access_mode"};
85static constexpr const char kWaitForMyWrites[]{"wait_for_my_writes"};
86static constexpr const char kWaitForMyWritesTimeout[]{
87 "wait_for_my_writes_timeout"};
88static constexpr const char kRouterRequireEnforce[]{"router_require_enforce"};
89} // namespace options
90} // namespace routing
91
92static constexpr std::array<const char *, 45> routing_supported_options{
138};
139
140#endif /* MYSQLROUTER_ROUTING_SUPPORTED_ROUTING_INCLUDED */
Definition: options.cc:57
static constexpr const char kServerSslCipher[]
Definition: supported_routing_options.h:59
static constexpr const char kMaxConnections[]
Definition: supported_routing_options.h:37
static constexpr const char kServerSslCa[]
Definition: supported_routing_options.h:60
static constexpr const char kMaxConnectErrors[]
Definition: supported_routing_options.h:40
static constexpr const char kNetBufferLength[]
Definition: supported_routing_options.h:43
static constexpr const char kServerSslCrl[]
Definition: supported_routing_options.h:62
static constexpr const char kWaitForMyWrites[]
Definition: supported_routing_options.h:85
static constexpr const char kClientSslSessionCacheMode[]
Definition: supported_routing_options.h:69
static constexpr const char kServerSslCert[]
Definition: supported_routing_options.h:56
static constexpr const char kServerSslCrlPath[]
Definition: supported_routing_options.h:63
static constexpr const char kClientSslDhParams[]
Definition: supported_routing_options.h:54
static constexpr const char kClientSslCurves[]
Definition: supported_routing_options.h:53
static constexpr const char kThreadStackSize[]
Definition: supported_routing_options.h:44
static constexpr const char kClientSslSessionCacheSize[]
Definition: supported_routing_options.h:71
static constexpr const char kServerSslCurves[]
Definition: supported_routing_options.h:64
static constexpr const char kServerSslKey[]
Definition: supported_routing_options.h:57
static constexpr const char kClientSslCaPath[]
Definition: supported_routing_options.h:50
static constexpr const char kServerSslSessionCacheMode[]
Definition: supported_routing_options.h:76
static constexpr const char kClientSslSessionCacheTimeout[]
Definition: supported_routing_options.h:73
static constexpr const char kClientSslMode[]
Definition: supported_routing_options.h:45
static constexpr const char kClientSslCa[]
Definition: supported_routing_options.h:49
static constexpr const char kBindPort[]
Definition: supported_routing_options.h:35
static constexpr const char kClientSslCrl[]
Definition: supported_routing_options.h:51
static constexpr const char kDestinations[]
Definition: supported_routing_options.h:34
static constexpr const char kConnectionSharingDelay[]
Definition: supported_routing_options.h:66
static constexpr const char kProtocol[]
Definition: supported_routing_options.h:33
static constexpr const char kBindAddress[]
Definition: supported_routing_options.h:36
static constexpr const char kServerSslCaPath[]
Definition: supported_routing_options.h:61
static constexpr const char kClientSslCrlPath[]
Definition: supported_routing_options.h:52
static constexpr const char kClientSslCert[]
Definition: supported_routing_options.h:46
static constexpr const char kRoutingStrategy[]
Definition: supported_routing_options.h:41
static constexpr const char kServerSslVerify[]
Definition: supported_routing_options.h:58
static constexpr const char kClientConnectTimeout[]
Definition: supported_routing_options.h:42
static constexpr const char kClientSslCipher[]
Definition: supported_routing_options.h:48
static constexpr const char kConnectTimeout[]
Definition: supported_routing_options.h:38
static constexpr const char kConnectionSharing[]
Definition: supported_routing_options.h:65
static constexpr const char kRouterRequireEnforce[]
Definition: supported_routing_options.h:88
static constexpr const char kWaitForMyWritesTimeout[]
Definition: supported_routing_options.h:86
static constexpr const char kServerSslSessionCacheTimeout[]
Definition: supported_routing_options.h:80
static constexpr const char kServerSslSessionCacheSize[]
Definition: supported_routing_options.h:78
static constexpr const char kConnectRetryTimeout[]
Definition: supported_routing_options.h:83
static constexpr const char kAccessMode[]
Definition: supported_routing_options.h:84
static constexpr const char kSocket[]
Definition: supported_routing_options.h:39
static constexpr const char kClientSslKey[]
Definition: supported_routing_options.h:47
static constexpr const char kServerSslMode[]
Definition: supported_routing_options.h:55
Definition: routing.h:36
static constexpr std::array< const char *, 45 > routing_supported_options
Definition: supported_routing_options.h:92