MySQL 8.0.40
Source Code Documentation
keyring_file::config Namespace Reference

Classes

class  Config_pod
 

Functions

bool find_and_read_config_file (std::unique_ptr< Config_pod > &config_pod)
 Read configuration file. More...
 
bool create_config (std::unique_ptr< std::vector< std::pair< std::string, std::string > > > &metadata)
 Create configuration vector. More...
 

Variables

char * g_component_path = nullptr
 
char * g_instance_path = nullptr
 
static const char * s_component_metadata [][2]
 
const std::string config_file_name = "component_keyring_file.cnf"
 
const std::string config_options [] = {"read_local_config", "path", "read_only"}
 

Function Documentation

◆ create_config()

bool keyring_file::config::create_config ( std::unique_ptr< std::vector< std::pair< std::string, std::string > > > &  metadata)

Create configuration vector.

Parameters
[out]metadataConfiguration data
Returns
status of read operation
Return values
falseSuccess
trueFailure

◆ find_and_read_config_file()

bool keyring_file::config::find_and_read_config_file ( std::unique_ptr< Config_pod > &  config_pod)

Read configuration file.

Parameters
[out]config_podConfiguration details
Returns
status of read operation
Return values
falseSuccess
trueFailure

Variable Documentation

◆ config_file_name

const std::string keyring_file::config::config_file_name = "component_keyring_file.cnf"

◆ config_options

const std::string keyring_file::config::config_options[] = {"read_local_config", "path", "read_only"}

◆ g_component_path

char * keyring_file::config::g_component_path = nullptr

◆ g_instance_path

char * keyring_file::config::g_instance_path = nullptr

◆ s_component_metadata

const char* keyring_file::config::s_component_metadata[][2]
static
Initial value:
= {
{"Component_name", "component_keyring_file"},
{"Author", "Oracle Corporation"},
{"License", "GPL"},
{"Implementation_name", "component_keyring_file"},
{"Version", "1.0"}}