MySQL 8.3.0
Source Code Documentation
supported_routing_options.h
Go to the documentation of this file.
1/*
2 Copyright (c) 2022, 2023, 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 also distributed 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 included with MySQL.
14
15 This program is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU General Public License for more details.
19
20 You should have received a copy of the GNU General Public License
21 along with this program; if not, write to the Free Software
22 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
23*/
24
25#ifndef MYSQLROUTER_ROUTING_SUPPORTED_ROUTING_INCLUDED
26#define MYSQLROUTER_ROUTING_SUPPORTED_ROUTING_INCLUDED
27
28#include <array>
29#include <string_view>
30
31static constexpr std::array<const char *, 48> routing_supported_options{
32 "protocol",
33 "destinations",
34 "bind_port",
35 "bind_address",
36 "socket",
37 "connect_timeout",
38 "mode",
39 "routing_strategy",
40 "max_connect_errors",
41 "max_connections",
42 "client_connect_timeout",
43 "net_buffer_length",
44 "thread_stack_size",
45 "client_ssl_mode",
46 "client_ssl_cert",
47 "client_ssl_key",
48 "client_ssl_cipher",
49 "client_ssl_ca",
50 "client_ssl_capath",
51 "client_ssl_crl",
52 "client_ssl_crlpath",
53 "client_ssl_curves",
54 "client_ssl_dh_params",
55 "server_ssl_mode",
56 "server_ssl_cert",
57 "server_ssl_key",
58 "server_ssl_verify",
59 "disabled",
60 "server_ssl_cipher",
61 "server_ssl_ca",
62 "server_ssl_capath",
63 "server_ssl_crl",
64 "server_ssl_crlpath",
65 "server_ssl_curves",
66 // that is no longer used, kept for backward compatibilty, replaced by
67 // [destination_status].error_quarantine_interval
68 "unreachable_destination_refresh_interval",
69 "connection_sharing",
70 "connection_sharing_delay",
71 "client_ssl_session_cache_mode",
72 "client_ssl_session_cache_size",
73 "client_ssl_session_cache_timeout",
74 "server_ssl_session_cache_mode",
75 "server_ssl_session_cache_size",
76 "server_ssl_session_cache_timeout",
77 "connect_retry_timeout",
78 "access_mode",
79 "wait_for_my_writes",
80 "wait_for_my_writes_timeout",
81 "router_require_enforce",
82};
83
84#endif /* MYSQLROUTER_ROUTING_SUPPORTED_ROUTING_INCLUDED */
static constexpr std::array< const char *, 48 > routing_supported_options
Definition: supported_routing_options.h:31