Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetPathSeparatedPrefix (0.22 sec)

  1. 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)
  2. 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)
Back to top