- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for PathTemplateMatcher (0.26 sec)
-
pilot/pkg/security/authz/matcher/template.go
"istio.io/istio/pkg/config/security" ) var replacer = strings.NewReplacer(security.MatchOneTemplate, "*", security.MatchAnyTemplate, "**") // PatherTemplateMatcher creates a URI template matcher for path. func PathTemplateMatcher(path string) *uri_template.UriTemplateMatchConfig { return &uri_template.UriTemplateMatchConfig{ PathTemplate: sanitizePathTemplate(path), } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Apr 20 01:58:53 UTC 2024 - 1.5K bytes - Viewed (0) -
pilot/pkg/security/authz/matcher/template_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Apr 20 01:58:53 UTC 2024 - 1.8K bytes - Viewed (0) -
pilot/pkg/security/authz/model/generator.go
if forTCP { return nil, fmt.Errorf("%q is HTTP only", key) } if security.ContainsPathTemplate(value) { m := matcher.PathTemplateMatcher(value) return permissionPathTemplate(m), nil } m := matcher.PathMatcher(value) return permissionPath(m), nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 03 18:02:42 UTC 2024 - 14.1K bytes - Viewed (0)