Searched refs:discovery_mechanisms (Results 1 – 2 of 2) sorted by relevance
/third_party/grpc/src/core/ext/filters/client_channel/lb_policy/xds/ |
D | xds_cluster_resolver.cc | 85 std::vector<DiscoveryMechanism> discovery_mechanisms, Json xds_lb_policy) in XdsClusterResolverLbConfig() argument 86 : discovery_mechanisms_(std::move(discovery_mechanisms)), in XdsClusterResolverLbConfig() 90 const std::vector<DiscoveryMechanism>& discovery_mechanisms() const { in discovery_mechanisms() function in grpc_core::__anon9699b2f90111::XdsClusterResolverLbConfig 136 if (!parent_->config_->discovery_mechanisms()[index_] in GetXdsClusterResolverResourceName() 138 return parent_->config_->discovery_mechanisms()[index_] in GetXdsClusterResolverResourceName() 141 return parent_->config_->discovery_mechanisms()[index_].cluster_name; in GetXdsClusterResolverResourceName() 150 parent_->config_->discovery_mechanisms()[index_].cluster_name, in GetLrsClusterKey() 151 parent_->config_->discovery_mechanisms()[index_].eds_service_name}; in GetLrsClusterKey() 647 for (const auto& config : config_->discovery_mechanisms()) { in UpdateLocked() 955 config_->discovery_mechanisms()[discovery_index] in CreateChildPolicyConfigLocked() [all …]
|
D | cds.cc | 138 const std::string& name, Json::Array* discovery_mechanisms, 364 const std::string& name, Json::Array* discovery_mechanisms, in GenerateDiscoveryMechanismForCluster() argument 387 child_name, discovery_mechanisms, clusters_needed)) { in GenerateDiscoveryMechanismForCluster() 417 discovery_mechanisms->emplace_back(std::move(mechanism)); in GenerateDiscoveryMechanismForCluster() 446 Json::Array discovery_mechanisms; in OnClusterChanged() local 449 config_->cluster(), &discovery_mechanisms, &clusters_needed)) { in OnClusterChanged() 478 {"discoveryMechanisms", std::move(discovery_mechanisms)}, in OnClusterChanged()
|