Home
last modified time | relevance | path

Searched refs:path_matcher (Results 1 – 7 of 7) sorted by relevance

/third_party/grpc/src/core/ext/filters/client_channel/lb_policy/xds/
Dxds_routing.cc225 const XdsApi::RdsUpdate::RdsRoute::Matchers::PathMatcher& path_matcher) { in PathMatch() argument
226 switch (path_matcher.type) { in PathMatch()
229 return absl::StartsWith(path, path_matcher.string_matcher); in PathMatch()
232 return path == path_matcher.string_matcher; in PathMatch()
235 return RE2::FullMatch(path.data(), *path_matcher.regex_matcher); in PathMatch()
336 if (!PathMatch(args.path, route.matchers->path_matcher)) continue; in Pick()
860 route->matchers.path_matcher.type = XdsApi::RdsUpdate::RdsRoute:: in ParseRoute()
862 route->matchers.path_matcher.string_matcher = it->second.string_value(); in ParseRoute()
876 route->matchers.path_matcher.type = XdsApi::RdsUpdate::RdsRoute:: in ParseRoute()
878 route->matchers.path_matcher.string_matcher = in ParseRoute()
[all …]
/third_party/grpc/src/core/ext/filters/client_channel/xds/
Dxds_api.h106 PathMatcher path_matcher; member
110 return (path_matcher == other.path_matcher &&
Dxds_api.cc190 contents.push_back(path_matcher.ToString()); in ToString()
1023 rds_route->matchers.path_matcher.type = XdsApi::RdsUpdate::RdsRoute:: in RoutePathMatchParse()
1025 rds_route->matchers.path_matcher.string_matcher = in RoutePathMatchParse()
1059 rds_route->matchers.path_matcher.type = XdsApi::RdsUpdate::RdsRoute:: in RoutePathMatchParse()
1061 rds_route->matchers.path_matcher.string_matcher = in RoutePathMatchParse()
1074 rds_route->matchers.path_matcher.type = XdsApi::RdsUpdate::RdsRoute:: in RoutePathMatchParse()
1076 rds_route->matchers.path_matcher.regex_matcher = std::move(regex); in RoutePathMatchParse()
Dxds_client.cc2086 switch (route.matchers.path_matcher.type) { in CreateServiceConfigRoute()
2090 "\"prefix\": \"%s\",\n", route.matchers.path_matcher.string_matcher); in CreateServiceConfigRoute()
2095 "\"path\": \"%s\",\n", route.matchers.path_matcher.string_matcher); in CreateServiceConfigRoute()
2101 route.matchers.path_matcher.regex_matcher->pattern()); in CreateServiceConfigRoute()
/third_party/grpc/src/core/ext/xds/
Dxds_api.h73 StringMatcher path_matcher; member
78 return (path_matcher == other.path_matcher &&
Dxds_api.cc147 absl::StrFormat("PathMatcher{%s}", path_matcher.ToString())); in ToString()
963 route->matchers.path_matcher = std::move(string_matcher.value()); in RoutePathMatchParse()
/third_party/grpc/src/core/ext/filters/client_channel/resolver/xds/
Dxds_resolver.cc424 if (!entry.route.matchers.path_matcher.Match( in GetCallConfig()