Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ConvertToEnvoyMatches (0.13 sec)

  1. pilot/pkg/networking/util/util.go

    	for _, s := range in {
    		res = append(res, &matcher.StringMatcher{
    			MatchPattern: &matcher.StringMatcher_Prefix{Prefix: s},
    		})
    	}
    	return res
    }
    
    func ConvertToEnvoyMatches(in []*networking.StringMatch) []*matcher.StringMatcher {
    	res := make([]*matcher.StringMatcher, 0, len(in))
    
    	for _, im := range in {
    		if em := ConvertToEnvoyMatch(im); em != nil {
    			res = append(res, em)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
Back to top