Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for StringMatcher (0.81 sec)

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

    }
    
    func StringToExactMatch(in []string) []*matcher.StringMatcher {
    	return pm.StringToExactMatch(in)
    }
    
    func StringToPrefixMatch(in []string) []*matcher.StringMatcher {
    	if len(in) == 0 {
    		return nil
    	}
    	res := make([]*matcher.StringMatcher, 0, len(in))
    	for _, s := range in {
    		res = append(res, &matcher.StringMatcher{
    			MatchPattern: &matcher.StringMatcher_Prefix{Prefix: s},
    		})
    	}
    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