MySQL 8.0.39
Source Code Documentation
mysqlrouter::ConfigGenerator Member List

This is the complete list of members for mysqlrouter::ConfigGenerator, including all inherited members.

backup_config_file_if_different(const mysql_harness::Path &config_path, const std::string &new_file_path, const std::map< std::string, std::string > &options, AutoCleaner *auto_cleaner=nullptr)mysqlrouter::ConfigGeneratorprivate
bootstrap_deployment(const std::string &program_name, std::ostream &config_file, std::ostream &state_file, const mysql_harness::Path &config_file_path, const mysql_harness::Path &state_file_path, const std::string &name, const std::map< std::string, std::string > &options, const std::map< std::string, std::vector< std::string > > &multivalue_options, const std::map< std::string, std::string > &default_paths, bool directory_deployment, AutoCleaner &auto_clean)mysqlrouter::ConfigGeneratorprivate
bootstrap_directory_deployment(const std::string &program_name, const std::string &directory, const std::map< std::string, std::string > &options, const std::map< std::string, std::vector< std::string > > &multivalue_options, const std::map< std::string, std::string > &default_paths)mysqlrouter::ConfigGenerator
bootstrap_system_deployment(const std::string &program_name, const std::string &config_file_path, const std::string &state_file_path, const std::map< std::string, std::string > &options, const std::map< std::string, std::vector< std::string > > &multivalue_options, const std::map< std::string, std::string > &default_paths)mysqlrouter::ConfigGenerator
cluster_initial_hostname_mysqlrouter::ConfigGeneratorprivate
cluster_initial_password_mysqlrouter::ConfigGeneratorprivate
cluster_initial_port_mysqlrouter::ConfigGeneratorprivate
cluster_initial_socket_mysqlrouter::ConfigGeneratorprivate
cluster_initial_username_mysqlrouter::ConfigGeneratorprivate
cluster_specific_id_mysqlrouter::ConfigGeneratorprivate
ConfigGenerator(std::ostream &out_stream=std::cout, std::ostream &err_stream=std::cerr, SysUserOperationsBase *sys_user_operations=SysUserOperations::instance())mysqlrouter::ConfigGenerator
connect_timeout_mysqlrouter::ConfigGeneratorprivate
connect_to_metadata_server(const URI &u, const std::string &bootstrap_socket, const std::map< std::string, std::string > &bootstrap_options)mysqlrouter::ConfigGeneratorprivate
create_accounts(const std::string &username, const std::set< std::string > &hostnames, const std::string &password, bool if_not_exists=false)mysqlrouter::ConfigGeneratorprivate
create_accounts_with_compliant_password(const std::map< std::string, std::string > &user_options, const std::string &username, const std::set< std::string > &hostnames, const std::string &password, bool password_change_ok, bool if_not_exists)mysqlrouter::ConfigGeneratorprivate
create_config(std::ostream &config_file, std::ostream &state_file, uint32_t router_id, const std::string &router_name, const std::string &system_username, const ClusterInfo &cluster_info, const std::string &username, const Options &options, const std::map< std::string, std::string > &default_paths, const std::map< std::string, std::string > &config_overwrites, const std::string &state_file_name="")mysqlrouter::ConfigGeneratorprivate
create_router_accounts(const std::map< std::string, std::string > &user_options, const std::set< std::string > &hostnames, const std::string &username, const std::string &password, bool password_change_ok)mysqlrouter::ConfigGeneratorprivate
create_start_script(const std::string &program_name, const std::string &directory, bool interactive_master_key, const std::map< std::string, std::string > &options)mysqlrouter::ConfigGeneratorprivate
create_stop_script(const std::string &directory, const std::map< std::string, std::string > &options)mysqlrouter::ConfigGeneratorprivate
create_users(const std::string &username, const std::set< std::string > &hostnames, const std::string &password, bool if_not_exists)mysqlrouter::ConfigGeneratorprivate
datadir_contains_allowed_files(const mysql_harness::Directory &dir) constmysqlrouter::ConfigGeneratorprivate
ensure_router_id_is_ours(uint32_t &router_id, const std::string &hostname_override)mysqlrouter::ConfigGeneratorprivate
err_stream_mysqlrouter::ConfigGeneratorprivate
fetch_password_from_keyring(const std::string &username, uint32_t router_id)mysqlrouter::ConfigGeneratorprivate
fill_options(const std::map< std::string, std::string > &user_options, const std::map< std::string, std::string > &default_paths, const ExistingConfigOptions &existing_config_options)mysqlrouter::ConfigGeneratorprivate
get_account_host_args(const std::map< std::string, std::vector< std::string > > &multivalue_options) noexceptmysqlrouter::ConfigGeneratorprivatestatic
get_bootstrap_report_text(const std::string &program_name, const std::string &config_file_name, const std::string &router_name, const std::string &metadata_cluster, const std::string &cluster_type_name, const std::string &hostname, bool is_system_deployment, const Options &options)mysqlrouter::ConfigGeneratorprivate
get_hostnames_of_created_accounts(const std::string &username, const std::set< std::string > &hostnames, bool if_not_exists)mysqlrouter::ConfigGeneratorprivate
get_options_from_config_if_it_exists(const std::string &config_file_path, const mysqlrouter::ClusterInfo &cluster_info, bool forcing_overwrite)mysqlrouter::ConfigGeneratorprivate
give_grants_to_users(const std::string &new_accounts)mysqlrouter::ConfigGeneratorprivate
init(const std::string &server_url, const std::map< std::string, std::string > &bootstrap_options)mysqlrouter::ConfigGenerator
init_gr_data(const URI &u, const std::string &bootstrap_socket)mysqlrouter::ConfigGeneratorprivate
init_keyring_and_master_key(AutoCleaner &auto_clean, const std::map< std::string, std::string > &user_options, uint32_t router_id)mysqlrouter::ConfigGeneratorprivate
init_keyring_file(uint32_t router_id, bool create_if_needed=true)mysqlrouter::ConfigGeneratorprivate
keyring_info_mysqlrouter::ConfigGeneratorprivate
keyring_initialized_mysqlrouter::ConfigGeneratorprivate
make_account_list(const std::string username, const std::set< std::string > &hostnames)mysqlrouter::ConfigGeneratorprivate
metadata_mysqlrouter::ConfigGeneratorprivate
mysql_mysqlrouter::ConfigGeneratorprivate
out_stream_mysqlrouter::ConfigGeneratorprivate
parse_bootstrap_options(const std::map< std::string, std::string > &bootstrap_options)mysqlrouter::ConfigGeneratorprivate
parse_server_uri(const std::string &server_uri, const std::string &bootstrap_socket)mysqlrouter::ConfigGeneratorprivate
prepare_ssl_certificate_files(const std::map< std::string, std::string > &user_options, const std::map< std::string, std::string > &default_paths, AutoCleaner *auto_cleaner) constmysqlrouter::ConfigGeneratorprivate
print_bootstrap_start_msg(uint32_t router_id, bool directory_deployment, const mysql_harness::Path &config_file_path)mysqlrouter::ConfigGeneratorprivate
read_timeout_mysqlrouter::ConfigGeneratorprivate
register_router(const std::string &router_name, const std::string &hostname_override, bool force)mysqlrouter::ConfigGeneratorprivate
schema_version_mysqlrouter::ConfigGeneratorprivate
set_file_owner(const std::map< std::string, std::string > &options, const std::string &owner) constmysqlrouter::ConfigGenerator
set_keyring_info(const KeyringInfo &keyring_info)mysqlrouter::ConfigGeneratorinline
set_keyring_info_real_paths(std::map< std::string, std::string > &options, const mysql_harness::Path &path)mysqlrouter::ConfigGeneratorprivate
set_log_file_permissions(const std::map< std::string, std::string > &default_paths, const std::map< std::string, std::string > &user_options, const Options &options)mysqlrouter::ConfigGeneratorprivate
set_script_permissions(const std::string &script_path, const std::map< std::string, std::string > &options)mysqlrouter::ConfigGeneratorprivatevirtual
set_ssl_options(MySQLSession *sess, const std::map< std::string, std::string > &options)mysqlrouter::ConfigGeneratorprivatestatic
store_credentials_in_keyring(AutoCleaner &auto_clean, const std::map< std::string, std::string > &user_options, uint32_t router_id, const std::string &username, const std::string &password, Options &options)mysqlrouter::ConfigGeneratorprivate
sys_user_operations_mysqlrouter::ConfigGeneratorprivate
throw_account_exists(const MySQLSession::Error &e, const std::string &username)mysqlrouter::ConfigGeneratorprivate
tls_filenames_mysqlrouter::ConfigGeneratorprivate
try_bootstrap_deployment(uint32_t &router_id, std::string &username, std::string &password, const std::string &router_name, const ClusterInfo &cluster_info, const std::map< std::string, std::string > &user_options, const std::map< std::string, std::vector< std::string > > &multivalue_options, const Options &options)mysqlrouter::ConfigGeneratorprivate
undo_create_account_list_mysqlrouter::ConfigGeneratorprivate
undo_create_user_for_new_accounts() noexceptmysqlrouter::ConfigGeneratorprivate
update_router_info(uint32_t router_id, const Options &options)mysqlrouter::ConfigGeneratorprivate
verify_router_account(const std::string &username, const std::string &password, bool strict)mysqlrouter::ConfigGeneratorprivate
warn_on_no_ssl(const std::map< std::string, std::string > &options)mysqlrouter::ConfigGenerator
~ConfigGenerator()mysqlrouter::ConfigGeneratorvirtual