MySQL 9.1.0
Source Code Documentation
|
#include <array>
#include <string>
#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_clusters_list.h"
#include "rest_clusters_nodes.h"
#include "rest_metadata_cache_config.h"
#include "rest_metadata_cache_list.h"
#include "rest_metadata_cache_status.h"
Classes | |
class | RestMetadataCachePluginConfig |
class | anonymous_namespace{rest_metadata_cache_plugin.cc}::RestMetadataCacheConfigExposer |
Namespaces | |
namespace | anonymous_namespace{rest_metadata_cache_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 constexpr char | kSectionName [] {"rest_metadata_cache"} |
static constexpr char | kRequireRealm [] {"require_realm"} |
std::string | require_realm_metadata_cache |
static const std::array | metadata_name_param_tokens |
static const std::array | cluster_name_param_tokens |
static const std::array | metadata_status_def_tokens |
static const std::array | metadata_list_def_tokens |
static const std::array | metadata_summary_def_tokens |
static const std::array | metadata_config_def_tokens |
static const std::array | cluster_node_summary_def_tokens |
static const std::array | cluster_node_list_def_tokens |
static const std::array | cluster_summary_def_tokens |
static const std::array | cluster_list_def_tokens |
static const std::array | metadata_status_path_tokens |
static const std::array | metadata_config_path_tokens |
static const std::array | metadata_list_path_tokens |
static const std::array | tags_append_tokens |
static constexpr std::array | required |
mysql_harness::Plugin DLLEXPORT | harness_plugin_rest_metadata_cache |
#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 |
|
static |
|
static |
|
static |
|
static |
|
static |
mysql_harness::Plugin DLLEXPORT harness_plugin_rest_metadata_cache |
|
staticconstexpr |
|
staticconstexpr |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
std::string require_realm_metadata_cache |
|
staticconstexpr |
|
static |