MySQL 8.0.39
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/loader.h"
#include "mysql/harness/logging/logging.h"
#include "mysql/harness/plugin.h"
#include "mysql/harness/plugin_config.h"
#include "mysql/harness/utility/string.h"
#include "mysqlrouter/http_server_component.h"
#include "mysqlrouter/rest_api_utils.h"
#include "rest_api.h"
Classes | |
class | RestApiPluginConfig |
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 *) |
Variables | |
static const char | kSectionName [] {"rest_api"} |
REST API plugin. More... | |
static constexpr std::array< const char *, 1 > | supported_options {"require_realm"} |
std::string | require_realm_api |
static std::shared_ptr< RestApi > | rest_api |
static const std::array< const char *, 2 > | plugin_requires |
mysql_harness::Plugin DLLEXPORT | harness_plugin_rest_api |
#define DLLEXPORT |
#define GET_OPTION_CHECKED | ( | option, | |
section, | |||
name, | |||
value | |||
) |
|
static |
|
static |
|
static |
mysql_harness::Plugin DLLEXPORT harness_plugin_rest_api |
|
static |
REST API plugin.
|
static |
std::string require_realm_api |
|
static |
|
staticconstexpr |