MySQL 8.0.40
Source Code Documentation
anonymous_namespace{config_generator.cc}::ChangeRouterAccountPlugin Class Reference

Public Member Functions

 ChangeRouterAccountPlugin (MySQLSession &mysql, std::ostream &out_stream, std::ostream &err_stream)
 
void execute (const std::string &username, const std::string &password)
 

Private Member Functions

stdx::expected< std::string, std::string > get_default_auth_plugin ()
 
std::string as_string (const char *input_str)
 
void log_error_msg (const std::string &msg)
 
void log_info_msg (const std::string &msg)
 

Private Attributes

MySQLSessionmysql_
 
std::ostream & out_stream_
 
std::ostream & err_stream_
 

Constructor & Destructor Documentation

◆ ChangeRouterAccountPlugin()

anonymous_namespace{config_generator.cc}::ChangeRouterAccountPlugin::ChangeRouterAccountPlugin ( MySQLSession mysql,
std::ostream &  out_stream,
std::ostream &  err_stream 
)
inline

Member Function Documentation

◆ as_string()

std::string anonymous_namespace{config_generator.cc}::ChangeRouterAccountPlugin::as_string ( const char *  input_str)
inlineprivate

◆ execute()

void anonymous_namespace{config_generator.cc}::ChangeRouterAccountPlugin::execute ( const std::string &  username,
const std::string &  password 
)
inline

◆ get_default_auth_plugin()

stdx::expected< std::string, std::string > anonymous_namespace{config_generator.cc}::ChangeRouterAccountPlugin::get_default_auth_plugin ( )
inlineprivate

◆ log_error_msg()

void anonymous_namespace{config_generator.cc}::ChangeRouterAccountPlugin::log_error_msg ( const std::string &  msg)
inlineprivate

◆ log_info_msg()

void anonymous_namespace{config_generator.cc}::ChangeRouterAccountPlugin::log_info_msg ( const std::string &  msg)
inlineprivate

Member Data Documentation

◆ err_stream_

std::ostream& anonymous_namespace{config_generator.cc}::ChangeRouterAccountPlugin::err_stream_
private

◆ mysql_

MySQLSession& anonymous_namespace{config_generator.cc}::ChangeRouterAccountPlugin::mysql_
private

◆ out_stream_

std::ostream& anonymous_namespace{config_generator.cc}::ChangeRouterAccountPlugin::out_stream_
private

The documentation for this class was generated from the following file: