![]()  | 
  
    MySQL 8.0.44
    
   Source Code Documentation 
   | 
 
#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_component.h"#include "mysqlrouter/supported_rest_options.h"#include "rest_router_status.h"Classes | |
| class | RestRouterPluginConfig | 
Macros | |
| #define | GET_OPTION_CHECKED(option, section, name, value) | 
| #define | STR(s) { s, strlen(s), rapidjson::kPointerInvalidIndex } | 
| #define | DLLEXPORT | 
Typedefs | |
| using | StringOption = mysql_harness::StringOption | 
| using | JsonPointer = RestApiComponent::JsonPointer | 
| using | JsonValue = RestApiComponent::JsonValue | 
Functions | |
| static void | init (mysql_harness::PluginFuncEnv *env) | 
| std::string | json_pointer_stringfy (const JsonPointer &ptr) | 
| static void | spec_adder (RestApiComponent::JsonDocument &spec_doc) | 
| static void | start (mysql_harness::PluginFuncEnv *env) | 
Variables | |
| static const char | kSectionName [] {"rest_router"} | 
| std::string | require_realm_router | 
| static const std::array< JsonPointer::Token, 2 > | router_status_def_tokens | 
| static const std::array< JsonPointer::Token, 2 > | router_status_path_tokens | 
| static const std::array< JsonPointer::Token, 2 > | tags_append_tokens | 
| static const std::array< const char *, 2 > | rest_router_plugin_requires | 
| mysql_harness::Plugin DLLEXPORT | harness_plugin_rest_router | 
| #define DLLEXPORT | 
| #define GET_OPTION_CHECKED | ( | option, | |
| section, | |||
| name, | |||
| value | |||
| ) | 
| #define STR | ( | s | ) | { s, strlen(s), rapidjson::kPointerInvalidIndex } | 
| using JsonValue = RestApiComponent::JsonValue | 
      
  | 
  static | 
| std::string json_pointer_stringfy | ( | const JsonPointer & | ptr | ) | 
      
  | 
  static | 
      
  | 
  static | 
| mysql_harness::Plugin DLLEXPORT harness_plugin_rest_router | 
      
  | 
  static | 
| std::string require_realm_router | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static |