26#ifndef MYSQL_HARNESS_BUILTIN_PLUGINS_INCLUDED
27#define MYSQL_HARNESS_BUILTIN_PLUGINS_INCLUDED
29#include "mysql/harness/plugin.h"
31#include "harness_export.h"
Singleton class implementing registry of the built-in MySQLRouter plugins.
Definition: builtin_plugins.h:46
BuiltinPlugins & operator=(const BuiltinPlugins &)=delete
Plugin * get_plugin(const std::string &plugin_name)
Returns pointer to the Plugin struct for the plugin with selected name.
Definition: builtin_plugins.h:102
const PluginsMap * get() noexcept
Returns the map containing information about all built-in plugins in the registry.
Definition: builtin_plugins.h:91
PluginsMap plugins_
Definition: builtin_plugins.h:113
std::map< std::string, PluginInfo > PluginsMap
Definition: builtin_plugins.h:75
BuiltinPlugins(const BuiltinPlugins &)=delete
It's a singleton so we disable copying.
Fido Client Authentication Plugin
Definition: fido_client_plugin.cc:221
static MYSQL_PLUGIN plugin_info
Definition: rewriter_plugin.cc:89
LEX_CSTRING * plugin_name(st_plugin_int **ref)
Definition: sql_plugin_ref.h:95
case opt name
Definition: sslopt-case.h:33
Stores the information about a single built-in plugin.
Definition: builtin_plugins.h:62
Plugin * plugin
pointer to the plugin struct (used by the Loader to run init(), start(), etc on the plugin)
Definition: builtin_plugins.h:67
bool always_load
if true the plugin should ALWAYS be loaded even if it does not have its section in the configuration
Definition: builtin_plugins.h:72