- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for GetPathSeparatedPrefix (0.24 sec)
-
istioctl/pkg/writer/envoy/configdump/listener.go
conds := []string{} if match.GetPrefix() != "" { conds = append(conds, fmt.Sprintf("%s*", match.GetPrefix())) } if match.GetPathSeparatedPrefix() != "" { conds = append(conds, fmt.Sprintf("PathPrefix:%s", match.GetPathSeparatedPrefix())) } if match.GetPath() != "" { conds = append(conds, match.GetPath()) } if match.GetSafeRegex() != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Nov 29 12:37:14 UTC 2023 - 18.1K bytes - Viewed (0) -
pilot/pkg/networking/core/route/route.go
// remove the prefix action.RegexRewrite = &matcher.RegexMatchAndSubstitute{ Pattern: &matcher.RegexMatcher{ Regex: fmt.Sprintf(`^%s(/?)(.*)`, regexp.QuoteMeta(out.Match.GetPathSeparatedPrefix())), }, // hold `/` in case the entire path is removed Substitution: `/\2`, } } else { action.PrefixRewrite = uri } } if in.Rewrite.GetAuthority() != "" {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 14:12:39 UTC 2024 - 56.1K bytes - Viewed (0)