Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for getRules (0.07 sec)

  1. istioctl/pkg/authz/listener.go

    		for _, fc := range parsed.filterChains {
    			for _, rbacHTTP := range fc.rbacHTTP {
    				action := rbacHTTP.GetRules().GetAction()
    				for name := range rbacHTTP.GetRules().GetPolicies() {
    					nameOfPolicy, indexOfRule := extractName(name)
    					addPolicy(action, nameOfPolicy, indexOfRule)
    				}
    				if len(rbacHTTP.GetRules().GetPolicies()) == 0 {
    					addPolicy(action, anonymousName, "0")
    				}
    			}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Sep 11 15:29:30 UTC 2023
    - 6K bytes
    - Viewed (0)
  2. cni/pkg/plugin/plugin_dryrun_test.go

    			}
    			generatedRules := getRules(generated)
    
    			refreshGoldens(t, tt.golden, generatedRules)
    
    			// Compare generated iptables rule with golden files.
    			golden, err := os.ReadFile(tt.golden)
    			if err != nil {
    				log.Fatalf("Cannot read golden rule file: %v", err)
    			}
    			goldenRules := getRules(golden)
    
    			if len(generatedRules) == 0 {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Aug 27 16:44:45 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/RuleManagerImplTest.java

            responseData.setResponseBody(new byte[0]);
            final Rule rule = ruleManager.getRule(responseData);
            assertNotNull(rule);
            assertEquals("fileRule", rule.getRuleId());
            CloseableUtil.closeQuietly(responseData);
        }
    
        public void test_checkRule() {
            final Rule rule = ruleManager.getRule(new ResponseData());
            assertNotNull(rule);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleBuildDocumentationPlugin.java

            extension.getClasspath().from(runtimeClasspath);
            extension.getSourceRoots().from(sourcesPath.getIncoming().artifactView(v -> v.lenient(true)).getFiles());
            extension.getDocumentedSource().from(sourcesPath.getIncoming().artifactView(v -> v.lenient(true)).getFiles().getAsFileTree().matching(f -> {
                f.include(PublicApi.INSTANCE.getIncludes());
                // Filter out any non-public APIs
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Apr 17 20:04:00 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/entity/ElevateWord.java

                    this.getBoost(), this.getTags().toArray(new String[this.getTags().size()]),
                    this.getRoles().toArray(new String[this.getRoles().size()]), null, SuggestItem.Kind.USER);
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/user/exentity/User.java

            return asDocMeta().id();
        }
    
        public void setId(final String id) {
            asDocMeta().id(id);
        }
    
        @Override
        public String[] getRoleNames() {
            return stream(getRoles()).get(stream -> stream.map(this::decode).toArray(n -> new String[n]));
        }
    
        @Override
        public String[] getGroupNames() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/mylasta/action/FessUserBean.java

        //                                                                            ========
        public String[] getPermissions() {
            return user.getPermissions();
        }
    
        public String[] getRoles() {
            return user.getRoleNames();
        }
    
        public String[] getGroups() {
            return user.getGroupNames();
        }
    
        public boolean isEditable() {
            return user.isEditable();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RuleManagerImpl.java

        protected final List<Rule> ruleList = new ArrayList<>();
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.rule.RuleManager#getRule(org.codelibs.fess.crawler.entity.ResponseData)
         */
        @Override
        public Rule getRule(final ResponseData responseData) {
            for (final Rule rule : ruleList) {
                if (rule.match(responseData)) {
                    return rule;
                }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/suggest/settings/ElevateWordSettingsTest.java

            assertEquals(elevateWord3.getTags().get(0), settings.elevateWord().get()[2].getTags().get(0));
            assertEquals(elevateWord3.getRoles().get(0), settings.elevateWord().get()[2].getRoles().get(0));
        }
    
        @Test
        public void test_delete() {
            ElevateWord elevateWord1 =
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/RuleManager.java

     */
    package org.codelibs.fess.crawler.rule;
    
    import org.codelibs.fess.crawler.entity.ResponseData;
    
    /**
     * @author shinsuke
     *
     */
    public interface RuleManager {
    
        Rule getRule(ResponseData responseData);
    
        void addRule(Rule rule);
    
        void addRule(int index, Rule rule);
    
        boolean removeRule(Rule rule);
    
        boolean hasRule(Rule rule);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 967 bytes
    - Viewed (0)
Back to top