Home
last modified time | relevance | path

Searched refs:XdsApi (Results 1 – 14 of 14) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/src/core/ext/xds/
Dxds_api.cc117 XdsApi::Route::Matchers::PathMatcher::PathMatcher(const PathMatcher& other) in PathMatcher()
129 XdsApi::Route::Matchers::PathMatcher& XdsApi::Route::Matchers::PathMatcher::
144 bool XdsApi::Route::Matchers::PathMatcher::operator==( in operator ==()
158 std::string XdsApi::Route::Matchers::PathMatcher::ToString() const { in ToString()
184 XdsApi::Route::Matchers::HeaderMatcher::HeaderMatcher( in HeaderMatcher()
203 XdsApi::Route::Matchers::HeaderMatcher& XdsApi::Route::Matchers::HeaderMatcher::
225 bool XdsApi::Route::Matchers::HeaderMatcher::operator==( in operator ==()
242 std::string XdsApi::Route::Matchers::HeaderMatcher::ToString() const { in ToString()
274 std::string XdsApi::Route::Matchers::ToString() const { in ToString()
287 std::string XdsApi::Route::ClusterWeight::ToString() const { in ToString()
[all …]
Dxds_client.h50 virtual void OnListenerChanged(XdsApi::LdsUpdate listener) = 0;
59 virtual void OnRouteConfigChanged(XdsApi::RdsUpdate route_config) = 0;
68 virtual void OnClusterChanged(XdsApi::CdsUpdate cluster_data) = 0;
77 virtual void OnEndpointChanged(XdsApi::EdsUpdate update) = 0;
250 absl::optional<XdsApi::LdsUpdate> update;
258 absl::optional<XdsApi::RdsUpdate> update;
265 absl::optional<XdsApi::CdsUpdate> update;
273 absl::optional<XdsApi::EdsUpdate> update;
293 XdsApi::ClusterLoadReportMap BuildLoadReportSnapshotLocked(
300 XdsApi api_;
Dxds_client.cc200 if (type_url_ == XdsApi::kLdsTypeUrl) { in OnTimerLocked()
205 } else if (type_url_ == XdsApi::kRdsTypeUrl) { in OnTimerLocked()
211 } else if (type_url_ == XdsApi::kCdsTypeUrl) { in OnTimerLocked()
216 } else if (type_url_ == XdsApi::kEdsTypeUrl) { in OnTimerLocked()
253 void AcceptLdsUpdate(XdsApi::LdsUpdateMap lds_update_map);
254 void AcceptRdsUpdate(XdsApi::RdsUpdateMap rds_update_map);
255 void AcceptCdsUpdate(XdsApi::CdsUpdateMap cds_update_map);
256 void AcceptEdsUpdate(XdsApi::EdsUpdateMap eds_update_map);
719 Subscribe(XdsApi::kLdsTypeUrl, std::string(p.first)); in AdsCallState()
722 Subscribe(XdsApi::kRdsTypeUrl, std::string(p.first)); in AdsCallState()
[all …]
Dxds_certificate_provider.h39 std::vector<XdsApi::StringMatcher> san_matchers);
51 std::vector<XdsApi::StringMatcher> matchers);
68 std::vector<XdsApi::StringMatcher> subject_alternative_name_matchers() { in subject_alternative_name_matchers()
102 std::vector<XdsApi::StringMatcher> san_matchers_;
Dxds_certificate_provider.cc106 std::vector<XdsApi::StringMatcher> san_matchers) in XdsCertificateProvider()
180 std::vector<XdsApi::StringMatcher> matchers) { in UpdateSubjectAlternativeNameMatchers()
Dxds_server_config_fetcher.cc79 void OnListenerChanged(XdsApi::LdsUpdate listener) override { in OnListenerChanged()
Dxds_api.h49 class XdsApi {
413 XdsApi(XdsClient* client, TraceFlag* tracer, const XdsBootstrap::Node* node);
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/resolver/xds/
Dxds_resolver.cc74 Notifier(RefCountedPtr<XdsResolver> resolver, XdsApi::LdsUpdate update);
75 Notifier(RefCountedPtr<XdsResolver> resolver, XdsApi::RdsUpdate update);
87 XdsApi::LdsUpdate update_;
95 void OnListenerChanged(XdsApi::LdsUpdate listener) override { in OnListenerChanged()
109 void OnRouteConfigChanged(XdsApi::RdsUpdate route_config) override { in OnRouteConfigChanged()
139 const std::vector<XdsApi::Route>& routes,
156 XdsApi::Route route;
169 const XdsApi::Route& route);
176 void OnListenerUpdate(XdsApi::LdsUpdate listener);
177 void OnRouteConfigUpdate(XdsApi::RdsUpdate rds_update);
[all …]
/external/rust/crates/grpcio-sys/grpc/test/core/security/
Dxds_credentials_test.cc32 XdsApi::StringMatcher ExactMatcher(const char* string) { in ExactMatcher()
33 return XdsApi::StringMatcher(XdsApi::StringMatcher::StringMatcherType::EXACT, in ExactMatcher()
37 XdsApi::StringMatcher PrefixMatcher(const char* string, in PrefixMatcher()
39 return XdsApi::StringMatcher(XdsApi::StringMatcher::StringMatcherType::PREFIX, in PrefixMatcher()
43 XdsApi::StringMatcher SuffixMatcher(const char* string, in SuffixMatcher()
45 return XdsApi::StringMatcher(XdsApi::StringMatcher::StringMatcherType::SUFFIX, in SuffixMatcher()
49 XdsApi::StringMatcher ContainsMatcher(const char* string, in ContainsMatcher()
51 return XdsApi::StringMatcher( in ContainsMatcher()
52 XdsApi::StringMatcher::StringMatcherType::CONTAINS, string, ignore_case); in ContainsMatcher()
55 XdsApi::StringMatcher SafeRegexMatcher(const char* string) { in SafeRegexMatcher()
[all …]
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/lb_policy/xds/
Dcds.cc74 void OnClusterChanged(XdsApi::CdsUpdate cluster_data) override { in OnClusterChanged()
83 Notifier(RefCountedPtr<CdsLb> parent, XdsApi::CdsUpdate update);
95 XdsApi::CdsUpdate update_;
122 void OnClusterChanged(XdsApi::CdsUpdate cluster_data);
127 const XdsApi::CdsUpdate& cluster_data);
158 XdsApi::CdsUpdate update) in Notifier()
322 void CdsLb::OnClusterChanged(XdsApi::CdsUpdate cluster_data) { in OnClusterChanged()
447 const XdsApi::CdsUpdate& cluster_data) { in UpdateXdsCertificateProvider()
520 const std::vector<XdsApi::StringMatcher>& match_subject_alt_names = in UpdateXdsCertificateProvider()
Dxds_cluster_resolver.cc185 void OnEndpointChanged(XdsApi::EdsUpdate update) override { in OnEndpointChanged()
199 XdsApi::EdsUpdate update);
214 XdsApi::EdsUpdate update_;
263 RefCountedPtr<XdsApi::EdsUpdate::DropConfig> drop_config;
266 absl::optional<XdsApi::EdsUpdate::PriorityList> pending_priority_list;
298 void OnEndpointChanged(size_t index, XdsApi::EdsUpdate update);
304 void UpdatePriorityList(XdsApi::EdsUpdate::PriorityList priority_list);
331 XdsApi::EdsUpdate::PriorityList priority_list_;
414 XdsApi::EdsUpdate update) in Notifier()
509 XdsApi::EdsUpdate update; in ReturnResult()
[all …]
Dxds_cluster_impl.cc129 RefCountedPtr<XdsApi::EdsUpdate::DropConfig> drop_config) in XdsClusterImplLbConfig()
151 RefCountedPtr<XdsApi::EdsUpdate::DropConfig> drop_config() const { in drop_config()
161 RefCountedPtr<XdsApi::EdsUpdate::DropConfig> drop_config_;
215 RefCountedPtr<XdsApi::EdsUpdate::DropConfig> drop_config_;
708 auto drop_config = MakeRefCounted<XdsApi::EdsUpdate::DropConfig>(); in ParseLoadBalancingConfig()
734 const Json& json, XdsApi::EdsUpdate::DropConfig* drop_config) { in ParseDropCategories()
758 const Json& json, XdsApi::EdsUpdate::DropConfig* drop_config) { in ParseDropCategory()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/xds/
Dxds_credentials.cc38 const std::vector<XdsApi::StringMatcher>& matchers) { in XdsVerifySubjectAlternativeNames()
42 if (matcher.type() == XdsApi::StringMatcher::StringMatcherType::EXACT) { in XdsVerifySubjectAlternativeNames()
95 const std::vector<XdsApi::StringMatcher>& matchers) { in TestOnlyXdsVerifySubjectAlternativeNames()
Dxds_credentials.h65 const std::vector<XdsApi::StringMatcher>& matchers);