MySQL 9.1.0
Source Code Documentation
|
#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/http_constants.h"
#include "mysqlrouter/rest_api_component.h"
#include "mysqlrouter/supported_rest_options.h"
#include "rest_router_status.h"
Classes | |
class | RestRouterPluginConfig |
class | anonymous_namespace{rest_router_plugin.cc}::RestRouterConfigExposer |
Namespaces | |
namespace | anonymous_namespace{rest_router_plugin.cc} |
Macros | |
#define | GET_OPTION_CHECKED(option, section, name, value) |
#define | DLLEXPORT |
Typedefs | |
using | StringOption = mysql_harness::StringOption |
using | JsonPointer = RestApiComponent::JsonPointer |
using | JsonValue = RestApiComponent::JsonValue |
Functions | |
static void | init (mysql_harness::PluginFuncEnv *env) |
static JsonPointer::Token | make_json_pointer_token (std::string_view token) |
std::string | json_pointer_stringfy (const JsonPointer &ptr) |
static void | spec_adder (RestApiComponent::JsonDocument &spec_doc) |
static void | start (mysql_harness::PluginFuncEnv *env) |
static void | expose_configuration (mysql_harness::PluginFuncEnv *env, const char *, bool initial) |
Variables | |
static const char | kSectionName [] {"rest_router"} |
std::string | require_realm_router |
static const std::array | router_status_def_tokens |
static const std::array | router_status_path_tokens |
static const std::array | tags_append_tokens |
static constexpr std::array | rest_router_plugin_requires |
mysql_harness::Plugin DLLEXPORT | harness_plugin_rest_router |
#define DLLEXPORT |
#define GET_OPTION_CHECKED | ( | option, | |
section, | |||
name, | |||
value | |||
) |
using JsonValue = RestApiComponent::JsonValue |
|
static |
|
static |
std::string json_pointer_stringfy | ( | const JsonPointer & | ptr | ) |
|
static |
|
static |
|
static |
mysql_harness::Plugin DLLEXPORT harness_plugin_rest_router |
|
static |
std::string require_realm_router |
|
staticconstexpr |
|
static |
|
static |
|
static |