Classes | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
grpc_core::XdsBootstrap Class Reference

#include <xds_bootstrap.h>

Classes

struct  Authority
 
struct  Node
 
struct  XdsServer
 

Public Member Functions

const std::map< std::string, Authority > & authorities () const
 
const CertificateProviderStore::PluginDefinitionMapcertificate_providers () const
 
const std::string & client_default_listener_resource_name_template () const
 
const AuthorityLookupAuthority (const std::string &name) const
 
const Nodenode () const
 
const XdsServerserver () const
 
const std::string & server_listener_resource_name_template () const
 
std::string ToString () const
 
 XdsBootstrap (Json json, grpc_error_handle *error)
 
bool XdsServerExists (const XdsServer &server) const
 

Static Public Member Functions

static std::unique_ptr< XdsBootstrapCreate (absl::string_view json_string, grpc_error_handle *error)
 

Private Member Functions

grpc_error_handle ParseAuthorities (Json *json)
 
grpc_error_handle ParseAuthority (Json *json, const std::string &name)
 
grpc_error_handle ParseCertificateProvider (const std::string &instance_name, Json *certificate_provider_json)
 
grpc_error_handle ParseCertificateProviders (Json *json)
 
grpc_error_handle ParseLocality (Json *json)
 
grpc_error_handle ParseNode (Json *json)
 
grpc_error_handle ParseXdsServerList (Json *json, std::vector< XdsServer > *servers)
 

Private Attributes

std::map< std::string, Authorityauthorities_
 
CertificateProviderStore::PluginDefinitionMap certificate_providers_
 
std::string client_default_listener_resource_name_template_
 
std::unique_ptr< Nodenode_
 
std::string server_listener_resource_name_template_
 
std::vector< XdsServerservers_
 

Detailed Description

Definition at line 41 of file xds_bootstrap.h.

Constructor & Destructor Documentation

◆ XdsBootstrap()

grpc_core::XdsBootstrap::XdsBootstrap ( Json  json,
grpc_error_handle error 
)

Definition at line 194 of file xds_bootstrap.cc.

Member Function Documentation

◆ authorities()

const std::map<std::string, Authority>& grpc_core::XdsBootstrap::authorities ( ) const
inline

Definition at line 109 of file xds_bootstrap.h.

◆ certificate_providers()

const CertificateProviderStore::PluginDefinitionMap& grpc_core::XdsBootstrap::certificate_providers ( ) const
inline

Definition at line 113 of file xds_bootstrap.h.

◆ client_default_listener_resource_name_template()

const std::string& grpc_core::XdsBootstrap::client_default_listener_resource_name_template ( ) const
inline

Definition at line 103 of file xds_bootstrap.h.

◆ Create()

std::unique_ptr< XdsBootstrap > grpc_core::XdsBootstrap::Create ( absl::string_view  json_string,
grpc_error_handle error 
)
static

Definition at line 180 of file xds_bootstrap.cc.

◆ LookupAuthority()

const XdsBootstrap::Authority * grpc_core::XdsBootstrap::LookupAuthority ( const std::string &  name) const

Definition at line 270 of file xds_bootstrap.cc.

◆ node()

const Node* grpc_core::XdsBootstrap::node ( ) const
inline

Definition at line 102 of file xds_bootstrap.h.

◆ ParseAuthorities()

grpc_error_handle grpc_core::XdsBootstrap::ParseAuthorities ( Json json)
private

Definition at line 312 of file xds_bootstrap.cc.

◆ ParseAuthority()

grpc_error_handle grpc_core::XdsBootstrap::ParseAuthority ( Json json,
const std::string &  name 
)
private

Definition at line 327 of file xds_bootstrap.cc.

◆ ParseCertificateProvider()

grpc_error_handle grpc_core::XdsBootstrap::ParseCertificateProvider ( const std::string &  instance_name,
Json certificate_provider_json 
)
private

Definition at line 461 of file xds_bootstrap.cc.

◆ ParseCertificateProviders()

grpc_error_handle grpc_core::XdsBootstrap::ParseCertificateProviders ( Json json)
private

Definition at line 445 of file xds_bootstrap.cc.

◆ ParseLocality()

grpc_error_handle grpc_core::XdsBootstrap::ParseLocality ( Json json)
private

Definition at line 412 of file xds_bootstrap.cc.

◆ ParseNode()

grpc_error_handle grpc_core::XdsBootstrap::ParseNode ( Json json)
private

Definition at line 368 of file xds_bootstrap.cc.

◆ ParseXdsServerList()

grpc_error_handle grpc_core::XdsBootstrap::ParseXdsServerList ( Json json,
std::vector< XdsServer > *  servers 
)
private

Definition at line 290 of file xds_bootstrap.cc.

◆ server()

const XdsServer& grpc_core::XdsBootstrap::server ( ) const
inline

Definition at line 101 of file xds_bootstrap.h.

◆ server_listener_resource_name_template()

const std::string& grpc_core::XdsBootstrap::server_listener_resource_name_template ( ) const
inline

Definition at line 106 of file xds_bootstrap.h.

◆ ToString()

std::string grpc_core::XdsBootstrap::ToString ( ) const

Definition at line 510 of file xds_bootstrap.cc.

◆ XdsServerExists()

bool grpc_core::XdsBootstrap::XdsServerExists ( const XdsServer server) const

Definition at line 279 of file xds_bootstrap.cc.

Member Data Documentation

◆ authorities_

std::map<std::string, Authority> grpc_core::XdsBootstrap::authorities_
private

Definition at line 135 of file xds_bootstrap.h.

◆ certificate_providers_

CertificateProviderStore::PluginDefinitionMap grpc_core::XdsBootstrap::certificate_providers_
private

Definition at line 136 of file xds_bootstrap.h.

◆ client_default_listener_resource_name_template_

std::string grpc_core::XdsBootstrap::client_default_listener_resource_name_template_
private

Definition at line 133 of file xds_bootstrap.h.

◆ node_

std::unique_ptr<Node> grpc_core::XdsBootstrap::node_
private

Definition at line 132 of file xds_bootstrap.h.

◆ server_listener_resource_name_template_

std::string grpc_core::XdsBootstrap::server_listener_resource_name_template_
private

Definition at line 134 of file xds_bootstrap.h.

◆ servers_

std::vector<XdsServer> grpc_core::XdsBootstrap::servers_
private

Definition at line 131 of file xds_bootstrap.h.


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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:37