MySQL 9.1.0
Source Code Documentation
|
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::ConfigGenerator | private |
bootstrap_deployment(const std::string &program_name, std::ofstream &config_file, std::ofstream &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::ConfigGenerator | private |
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::ConfigGenerator | private |
cluster_initial_password_ | mysqlrouter::ConfigGenerator | private |
cluster_initial_port_ | mysqlrouter::ConfigGenerator | private |
cluster_initial_socket_ | mysqlrouter::ConfigGenerator | private |
cluster_initial_username_ | mysqlrouter::ConfigGenerator | private |
cluster_specific_id_ | mysqlrouter::ConfigGenerator | private |
ConfigGenerator(std::ostream &out_stream=std::cout, std::ostream &err_stream=std::cerr, SysUserOperationsBase *sys_user_operations=SysUserOperations::instance()) | mysqlrouter::ConfigGenerator | |
connect_timeout_ | mysqlrouter::ConfigGenerator | private |
connect_to_metadata_server(const URI &u, const std::string &bootstrap_socket, const std::map< std::string, std::string > &bootstrap_options) | mysqlrouter::ConfigGenerator | private |
create_accounts(const std::string &username, const std::set< std::string > &hostnames, const std::string &password, bool if_not_exists=false) | mysqlrouter::ConfigGenerator | private |
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::ConfigGenerator | private |
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, const bool full) | mysqlrouter::ConfigGenerator | private |
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::ConfigGenerator | private |
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::ConfigGenerator | private |
create_stop_script(const std::string &directory, const std::map< std::string, std::string > &options) | mysqlrouter::ConfigGenerator | private |
create_users(const std::string &username, const std::set< std::string > &hostnames, const std::string &password, bool if_not_exists) | mysqlrouter::ConfigGenerator | private |
datadir_contains_allowed_files(const mysql_harness::Directory &dir) const | mysqlrouter::ConfigGenerator | private |
ensure_router_id_is_ours(uint32_t &router_id, const std::string &hostname_override) | mysqlrouter::ConfigGenerator | private |
err_stream_ | mysqlrouter::ConfigGenerator | private |
fetch_password_from_keyring(const std::string &username, uint32_t router_id) | mysqlrouter::ConfigGenerator | private |
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::ConfigGenerator | private |
get_account_host_args(const std::map< std::string, std::vector< std::string > > &multivalue_options) noexcept | mysqlrouter::ConfigGenerator | privatestatic |
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::ConfigGenerator | private |
get_hostnames_of_created_accounts(const std::string &username, const std::set< std::string > &hostnames, bool if_not_exists) | mysqlrouter::ConfigGenerator | private |
get_options_from_config_if_it_exists(const std::string &config_file_path, const mysqlrouter::ClusterInfo &cluster_info, bool forcing_overwrite) | mysqlrouter::ConfigGenerator | private |
give_grants_to_users(const std::string &new_accounts) | mysqlrouter::ConfigGenerator | private |
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::ConfigGenerator | private |
init_keyring_and_master_key(AutoCleaner &auto_clean, const std::map< std::string, std::string > &user_options, uint32_t router_id) | mysqlrouter::ConfigGenerator | private |
init_keyring_file(uint32_t router_id, bool create_if_needed=true) | mysqlrouter::ConfigGenerator | private |
keyring_info_ | mysqlrouter::ConfigGenerator | private |
keyring_initialized_ | mysqlrouter::ConfigGenerator | private |
make_account_list(const std::string username, const std::set< std::string > &hostnames) | mysqlrouter::ConfigGenerator | private |
metadata_ | mysqlrouter::ConfigGenerator | private |
mysql_ | mysqlrouter::ConfigGenerator | private |
out_stream_ | mysqlrouter::ConfigGenerator | private |
parse_bootstrap_options(const std::map< std::string, std::string > &bootstrap_options) | mysqlrouter::ConfigGenerator | private |
parse_server_uri(const std::string &server_uri, const std::string &bootstrap_socket) | mysqlrouter::ConfigGenerator | private |
plugin_folder_ | mysqlrouter::ConfigGenerator | private |
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) const | mysqlrouter::ConfigGenerator | private |
print_bootstrap_start_msg(uint32_t router_id, bool directory_deployment, const mysql_harness::Path &config_file_path) | mysqlrouter::ConfigGenerator | private |
read_timeout_ | mysqlrouter::ConfigGenerator | private |
register_router(const std::string &router_name, const std::string &hostname_override, bool force) | mysqlrouter::ConfigGenerator | private |
schema_version_ | mysqlrouter::ConfigGenerator | private |
set_file_owner(const std::map< std::string, std::string > &options, const std::string &owner) const | mysqlrouter::ConfigGenerator | |
set_keyring_info(const KeyringInfo &keyring_info) | mysqlrouter::ConfigGenerator | inline |
set_keyring_info_real_paths(std::map< std::string, std::string > &options, const mysql_harness::Path &path) | mysqlrouter::ConfigGenerator | private |
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::ConfigGenerator | private |
set_plugin_folder(const std::string &val) | mysqlrouter::ConfigGenerator | inline |
set_script_permissions(const std::string &script_path, const std::map< std::string, std::string > &options) | mysqlrouter::ConfigGenerator | privatevirtual |
set_ssl_options(MySQLSession *sess, const std::map< std::string, std::string > &options) | mysqlrouter::ConfigGenerator | privatestatic |
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::ConfigGenerator | private |
sys_user_operations_ | mysqlrouter::ConfigGenerator | private |
throw_account_exists(const MySQLSession::Error &e, const std::string &username) | mysqlrouter::ConfigGenerator | private |
tls_filenames_ | mysqlrouter::ConfigGenerator | private |
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::ConfigGenerator | private |
undo_create_account_list_ | mysqlrouter::ConfigGenerator | private |
undo_create_user_for_new_accounts() noexcept | mysqlrouter::ConfigGenerator | private |
update_router_info(uint32_t router_id, const Options &options) | mysqlrouter::ConfigGenerator | private |
verify_router_account(const std::string &username, const std::string &password, bool strict) | mysqlrouter::ConfigGenerator | private |
warn_on_no_ssl(const std::map< std::string, std::string > &options) | mysqlrouter::ConfigGenerator | |
~ConfigGenerator() | mysqlrouter::ConfigGenerator | virtual |