MySQL 9.1.0
Source Code Documentation
|
#include "rest_api_plugin.h"
#include <array>
#include <string>
#include "mysql/harness/config_option.h"
#include "mysql/harness/config_parser.h"
#include "mysql/harness/dynamic_config.h"
#include "mysql/harness/loader.h"
#include "mysql/harness/logging/logging.h"
#include "mysql/harness/plugin.h"
#include "mysql/harness/plugin_config.h"
#include "mysql/harness/section_config_exposer.h"
#include "mysql/harness/utility/string.h"
#include "mysqlrouter/component/http_server_component.h"
#include "mysqlrouter/rest_api_utils.h"
#include "rest_api.h"
Classes | |
class | RestApiPluginConfig |
class | anonymous_namespace{rest_api_plugin.cc}::RestApiConfigExposer |
Namespaces | |
namespace | anonymous_namespace{rest_api_plugin.cc} |
Macros | |
#define | GET_OPTION_CHECKED(option, section, name, value) |
#define | DLLEXPORT |
Functions | |
static void | init (mysql_harness::PluginFuncEnv *env) |
static void | start (mysql_harness::PluginFuncEnv *env) |
static void | deinit (mysql_harness::PluginFuncEnv *) |
static void | expose_configuration (mysql_harness::PluginFuncEnv *env, const char *, bool initial) |
Variables | |
static const char | kSectionName [] {"rest_api"} |
REST API plugin. More... | |
static constexpr std::array | supported_options |
std::string | require_realm_api |
static std::shared_ptr< RestApi > | rest_api |
static constexpr std::array | plugin_requires |
mysql_harness::Plugin DLLEXPORT | harness_plugin_rest_api |
#define DLLEXPORT |
#define GET_OPTION_CHECKED | ( | option, | |
section, | |||
name, | |||
value | |||
) |
|
static |
|
static |
|
static |
|
static |
mysql_harness::Plugin DLLEXPORT harness_plugin_rest_api |
|
static |
REST API plugin.
|
staticconstexpr |
std::string require_realm_api |
|
static |
|
staticconstexpr |