MySQL 9.1.0
Source Code Documentation
mysqlrouter::anonymous_namespace{cluster_metadata.cc} Namespace Reference

Classes

class  ConfigurationDefaults
 

Functions

std::string to_string_md (const ClusterType cluster_type)
 
void update_router_info_v2 (const mysqlrouter::ClusterType cluster_type, const uint32_t router_id, const std::string &cluster_id, const std::string &target_cluster, const std::string &rw_endpoint, const std::string &ro_endpoint, const std::string &rw_split_endpoint, const std::string &rw_x_endpoint, const std::string &ro_x_endpoint, const std::string &username, MySQLSession *mysql)
 
uint32_t register_router_v2 (const std::string &router_name, const bool overwrite, const std::string &hostname_override, MySQLSession *mysql, mysql_harness::SocketOperationsBase *socket_operations)
 

Function Documentation

◆ register_router_v2()

uint32_t mysqlrouter::anonymous_namespace{cluster_metadata.cc}::register_router_v2 ( const std::string &  router_name,
const bool  overwrite,
const std::string &  hostname_override,
MySQLSession mysql,
mysql_harness::SocketOperationsBase socket_operations 
)

◆ to_string_md()

std::string mysqlrouter::anonymous_namespace{cluster_metadata.cc}::to_string_md ( const ClusterType  cluster_type)

◆ update_router_info_v2()

void mysqlrouter::anonymous_namespace{cluster_metadata.cc}::update_router_info_v2 ( const mysqlrouter::ClusterType  cluster_type,
const uint32_t  router_id,
const std::string &  cluster_id,
const std::string &  target_cluster,
const std::string &  rw_endpoint,
const std::string &  ro_endpoint,
const std::string &  rw_split_endpoint,
const std::string &  rw_x_endpoint,
const std::string &  ro_x_endpoint,
const std::string &  username,
MySQLSession mysql 
)