Searched refs:path_matcher (Results 1 – 7 of 7) sorted by relevance
225 const XdsApi::RdsUpdate::RdsRoute::Matchers::PathMatcher& path_matcher) { in PathMatch() argument226 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 …]
106 PathMatcher path_matcher; member110 return (path_matcher == other.path_matcher &&
190 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()
2086 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()
73 StringMatcher path_matcher; member78 return (path_matcher == other.path_matcher &&
147 absl::StrFormat("PathMatcher{%s}", path_matcher.ToString())); in ToString()963 route->matchers.path_matcher = std::move(string_matcher.value()); in RoutePathMatchParse()
424 if (!entry.route.matchers.path_matcher.Match( in GetCallConfig()