MySQL 9.0.0
Source Code Documentation
|
Classes | |
struct | account_exists |
class | ChangeRouterAccountPlugin |
class | ConfigSectionPrinter |
struct | password_too_weak |
Functions | |
unsigned | get_password_retries (const std::map< std::string, std::string > &user_options) |
std::string | str (const mysqlrouter::ConfigGenerator::Options::Endpoint &ep) |
bool | is_valid_conf_ident (const std::string &name) |
std::map< std::string, std::string > | get_config_cmdln_options (const std::map< std::string, std::vector< std::string > > &multivalue_options) |
void | add_endpoint_option (ConfigSectionPrinter &routing_section, const ConfigGenerator::Options &options, const ConfigGenerator::Options::Endpoint &ep) |
void | add_metadata_cache_routing_section (std::ostream &config_file, const routing::RoutingBootstrapSectionType section_type, const ConfigGenerator::Options::Endpoint endpoint, const ConfigGenerator::Options &options, const std::string &cluster_name, const std::map< std::string, std::string > &config_cmdln_options) |
static void | add_http_auth_backend_section (std::ostream &config_file, const mysql_harness::Path &datadir, const std::string_view auth_backend_name, const mysqlrouter::MetadataSchemaVersion schema_version, const std::map< std::string, std::string > &config_cmdln_options) |
Add proper authentication backend section to the config based on the metadata version. More... | |
void | add_rest_section (std::ostream &config_file, const ConfigGenerator::Options &options, const std::map< std::string, std::string > &default_paths, const std::map< std::string, std::string > &config_cmdln_options, const std::string &ssl_cert, const std::string &ssl_key, const mysqlrouter::MetadataSchemaVersion &schema_version) |
std::string | get_cluster_type_specific_uuid (const mysql_harness::Config &conf, mysqlrouter::ClusterType cluster_type) |
void anonymous_namespace{config_generator.cc}::add_endpoint_option | ( | ConfigSectionPrinter & | routing_section, |
const ConfigGenerator::Options & | options, | ||
const ConfigGenerator::Options::Endpoint & | ep | ||
) |
|
static |
Add proper authentication backend section to the config based on the metadata version.
If needed it creates an empty authentication password file used in the config.
[in] | config_file | - output configuration file stream |
[in] | datadir | - path of a router data directory |
[in] | auth_backend_name | - authentication backend section name |
[in] | schema_version | - metadata schema version |
[in] | config_cmdln_options | - config options overwrites from the command line |
void anonymous_namespace{config_generator.cc}::add_metadata_cache_routing_section | ( | std::ostream & | config_file, |
const routing::RoutingBootstrapSectionType | section_type, | ||
const ConfigGenerator::Options::Endpoint | endpoint, | ||
const ConfigGenerator::Options & | options, | ||
const std::string & | cluster_name, | ||
const std::map< std::string, std::string > & | config_cmdln_options | ||
) |
void anonymous_namespace{config_generator.cc}::add_rest_section | ( | std::ostream & | config_file, |
const ConfigGenerator::Options & | options, | ||
const std::map< std::string, std::string > & | default_paths, | ||
const std::map< std::string, std::string > & | config_cmdln_options, | ||
const std::string & | ssl_cert, | ||
const std::string & | ssl_key, | ||
const mysqlrouter::MetadataSchemaVersion & | schema_version | ||
) |
std::string anonymous_namespace{config_generator.cc}::get_cluster_type_specific_uuid | ( | const mysql_harness::Config & | conf, |
mysqlrouter::ClusterType | cluster_type | ||
) |
std::map< std::string, std::string > anonymous_namespace{config_generator.cc}::get_config_cmdln_options | ( | const std::map< std::string, std::vector< std::string > > & | multivalue_options | ) |
unsigned anonymous_namespace{config_generator.cc}::get_password_retries | ( | const std::map< std::string, std::string > & | user_options | ) |
bool anonymous_namespace{config_generator.cc}::is_valid_conf_ident | ( | const std::string & | name | ) |
|
inline |