MySQL 9.1.0
Source Code Documentation
anonymous_namespace{rest_api_plugin.cc}::RestApiConfigExposer Class Reference
Inheritance diagram for anonymous_namespace{rest_api_plugin.cc}::RestApiConfigExposer:
[legend]

Public Types

using DC = mysql_harness::DynamicConfig
 
- Public Types inherited from mysql_harness::SectionConfigExposer
enum class  Mode { ExposeInitialConfig , ExposeDefaultConfig }
 
using DC = mysql_harness::DynamicConfig
 
using OptionValue = DC::OptionValue
 

Public Member Functions

 RestApiConfigExposer (const bool initial, const RestApiPluginConfig &plugin_config, const mysql_harness::ConfigSection &default_section)
 
void expose () override
 Exposes plugin instance configuration. More...
 
- Public Member Functions inherited from mysql_harness::SectionConfigExposer
 SectionConfigExposer (bool initial, const mysql_harness::ConfigSection &default_section, const DC::SectionId &section_id)
 Constructor. More...
 
virtual ~SectionConfigExposer ()=default
 
 SectionConfigExposer (const SectionConfigExposer &)=delete
 

Private Attributes

const RestApiPluginConfigplugin_config_
 

Additional Inherited Members

- Protected Member Functions inherited from mysql_harness::SectionConfigExposer
void expose_option (std::string_view option, const OptionValue &value, const OptionValue &default_value, bool is_common=false)
 Exposes single option configuration. More...
 
void expose_option (std::string_view option, const OptionValue &value, const OptionValue &default_value_cluster, const OptionValue &default_value_clusterset, bool is_common)
 Exposes single option configuration (overload for options that have different defaults for Cluster and for ClusterSet configuration). More...
 
- Protected Attributes inherited from mysql_harness::SectionConfigExposer
const Mode mode_
 
const mysql_harness::ConfigSectiondefault_section_
 
const DC::SectionId section_id_
 
const DC::SectionId common_section_id_ {"common", ""}
 

Member Typedef Documentation

◆ DC

using anonymous_namespace{rest_api_plugin.cc}::RestApiConfigExposer::DC = mysql_harness::DynamicConfig

Constructor & Destructor Documentation

◆ RestApiConfigExposer()

anonymous_namespace{rest_api_plugin.cc}::RestApiConfigExposer::RestApiConfigExposer ( const bool  initial,
const RestApiPluginConfig plugin_config,
const mysql_harness::ConfigSection default_section 
)
inline

Member Function Documentation

◆ expose()

void anonymous_namespace{rest_api_plugin.cc}::RestApiConfigExposer::expose ( )
inlineoverridevirtual

Exposes plugin instance configuration.

Implements mysql_harness::SectionConfigExposer.

Member Data Documentation

◆ plugin_config_

const RestApiPluginConfig& anonymous_namespace{rest_api_plugin.cc}::RestApiConfigExposer::plugin_config_
private

The documentation for this class was generated from the following file: