Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for PathMatcher (0.13 sec)

  1. platforms/core-runtime/files/src/test/groovy/org/gradle/api/internal/file/pattern/PatternMatcherFactoryTest.java

            assertThat(pathMatcher(matcher), instanceOf(AnythingMatcher.class));
            assertThat(matcher, matchesFile());
            assertThat(matcher, matchesFile("a"));
            assertThat(matcher, matchesFile("a", "b", "c"));
    
            matcher = PatternMatcherFactory.getPatternMatcher(false, true, "**/");
            assertThat(pathMatcher(matcher), instanceOf(AnythingMatcher.class));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  2. pilot/pkg/security/authz/model/model.go

    	attrEnvoyFilter      = "experimental.envoy.filters." // an experimental attribute for checking Envoy Metadata directly.
    
    	// Internal names used to generate corresponding Envoy matcher.
    	methodHeader = ":method"
    	pathMatcher  = "path-matcher"
    	hostHeader   = ":authority"
    )
    
    type rule struct {
    	key       string
    	values    []string
    	notValues []string
    	g         generator
    	// This generator aggregates value predicates
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 25 10:39:25 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. pilot/pkg/security/authz/model/generator.go

    		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
    }
    
    func (pathGenerator) principal(key, value string, forTCP bool, _ bool) (*rbacpb.Principal, error) {
    	return nil, fmt.Errorf("unimplemented")
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 03 18:02:42 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top