![]()  | 
  
    MySQL 9.5.0
    
   Source Code Documentation 
   | 
 
#include "router_app.h"#include <algorithm>#include <cerrno>#include <cstdio>#include <cstdlib>#include <fstream>#include <initializer_list>#include <memory>#include <set>#include <sstream>#include <stdexcept>#include <string>#include <system_error>#include <vector>#include "dim.h"#include "harness_assert.h"#include "keyring/keyring_manager.h"#include "keyring_handler.h"#include "mysql/harness/arg_handler.h"#include "mysql/harness/config_option.h"#include "mysql/harness/config_parser.h"#include "mysql/harness/dynamic_config.h"#include "mysql/harness/dynamic_state.h"#include "mysql/harness/filesystem.h"#include "mysql/harness/log_reopen_component.h"#include "mysql/harness/logging/logger_plugin.h"#include "mysql/harness/logging/logging.h"#include "mysql/harness/logging/registry.h"#include "mysql/harness/process_state_component.h"#include "mysql/harness/section_config_exposer.h"#include "mysql/harness/signal_handler.h"#include "mysql/harness/string_utils.h"#include "mysql/harness/supported_config_options.h"#include "mysql/harness/utility/string.h"#include "mysql/harness/vt100.h"#include "mysql_router_thread.h"#include "mysqlrouter/config_files.h"#include "mysqlrouter/connection_pool.h"#include "mysqlrouter/default_paths.h"#include "mysqlrouter/mysql_session.h"#include "mysqlrouter/routing.h"#include "mysqlrouter/supported_router_options.h"#include "mysqlrouter/utils.h"#include "print_version.h"#include "router_config.h"#include "scope_guard.h"#include "welcome_copyright_notice.h"#include <fcntl.h>#include <unistd.h>#include <csignal>Classes | |
| class | anonymous_namespace{router_app.cc}::RouterAppConfigExposer | 
Namespaces | |
| namespace | anonymous_namespace{router_app.cc} | 
Macros | |
| #define | MYSQL_ROUTER_LOG_DOMAIN ::mysql_harness::logging::kMainLogger | 
Functions | |
| void | anonymous_namespace{router_app.cc}::check_and_add_conf (std::vector< std::string > &configs, const std::string &value) | 
| void | anonymous_namespace{router_app.cc}::check_config_overwrites (const CmdArgHandler::ConfigOverwrites &overwrites, bool is_bootstrap) | 
| std::string | anonymous_namespace{router_app.cc}::get_plugin_folder_overwrite (const CmdArgHandler::ConfigOverwrites &overwrites) | 
| static bool | option_has_value (mysql_harness::ConfigSection *section, const std::string &key, const std::vector< std::string > &values) | 
| static void | markup_configfile (std::ostream &os, const std::string &filename) | 
| static std::pair< bool, CmdOption > | cmd_option_acceptor (const std::string §ion, const std::set< std::string > &accepted_opts, const CmdOption &opt) | 
| filter CmdOption by section.  More... | |
| void | expose_router_configuration (const bool initial, const mysql_harness::ConfigSection §ion) | 
| Expose the configured application-level options (the ones from [DEFAULT] section that are not specific to any particular plugin and are relevant from the Cluster metadata perspective)  More... | |
Variables | |
| const char | dir_sep = '/' | 
| static const char | kProgramName [] = "mysqlrouter" | 
| static const std::set< std::string > | kSupportedExternalLoggingHandlerNames | 
| #define MYSQL_ROUTER_LOG_DOMAIN ::mysql_harness::logging::kMainLogger | 
      
  | 
  static | 
filter CmdOption by section.
makes options "required" if needed for the usage output
| void expose_router_configuration | ( | const bool | initial, | 
| const mysql_harness::ConfigSection & | section | ||
| ) | 
Expose the configured application-level options (the ones from [DEFAULT] section that are not specific to any particular plugin and are relevant from the Cluster metadata perspective)
      
  | 
  static | 
      
  | 
  static | 
| const char dir_sep = '/' | 
      
  | 
  static | 
      
  | 
  static |