Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 2,188 for rulesv4 (0.19 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/UnboundRulesProcessorTest.groovy

        }
    
        String reportFor(UnboundRule.Builder... rules) {
            reportFor(rules.toList()*.build())
        }
    
        String reportFor(List<UnboundRule> rules) {
            def writer = new StringWriter()
            new UnboundRulesReporter(new PrintWriter(writer), "").reportOn(rules)
            normaliseLineSeparators(writer.toString())
        }
    
        def "creates unbound rules for unfulfilled binders with unbound subject reference"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/attributes/DefaultDisambiguationRuleChain.java

            this.rules.add(new InstantiatingAction<>(DefaultConfigurableRules.of(DefaultConfigurableRule.of(rule, configureAction, isolatableFactory)),
                instantiator, new ExceptionHandler<>(rule)));
        }
    
        @Override
        public void add(final Class<? extends AttributeDisambiguationRule<T>> rule) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/legacy/rule_source.adoc

    == Applying additional rules
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/NodeBackedModelMap.java

            private final ModelType<? extends RuleSource> rules;
    
            public ApplyRuleSource(Class<? extends RuleSource> rules) {
                this.rules = ModelType.of(rules);
            }
    
            @Override
            public void execute(MutableModelNode node) {
                node.applyToSelf(rules.getConcreteClass());
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 23K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/ModelRuleBindingValidationIntegrationTest.groovy

            when:
            buildScript """
                class Rules extends RuleSource {
                  @Model
                  String s1(Integer iDontExist) {
                    "foo"
                  }
                }
    
                pluginManager.apply Rules
            """
    
            then:
            fails "help"
            failureCauseContains("""
      Rules#s1(Integer)
        inputs:
          - <no path> Integer (parameter 1) [*]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ModelSetIntegrationTest.groovy

                }
    
                class Rules extends RuleSource {
                  @Model
                  void group(Group group, @Path("people") ModelSet<Person> people) {
                  }
                }
    
                apply type: Rules
            '''
    
            then:
            fails "tasks"
    
            and:
            failure.assertHasCause "Exception thrown while executing model rule: Rules#group"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedModelMapIntegrationTest.groovy

                }
    
                apply type: Rules
            '''
    
            then:
            fails "tasks"
    
            and:
            failure.assertHasDescription('A problem occurred configuring root project')
            failure.assertHasCause('Exception thrown while executing model rule: Rules#people(ModelMap<Person>) > create(foo)')
            failure.assertHasCause('broken')
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  8. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/policy_test.go

    	// modify the edit role rules to make then read-only for comparison against view role rules
    	for i := range semanticRoles.edit.Rules {
    		rule := semanticRoles.edit.Rules[i]
    		remainingVerbs := []string{}
    		for _, verb := range rule.Verbs {
    			if readVerbs.Has(verb) {
    				remainingVerbs = append(remainingVerbs, verb)
    			}
    		}
    		rule.Verbs = remainingVerbs
    		semanticRoles.edit.Rules[i] = rule
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:45:31 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/audit/policy/reader_test.go

      - level: Metadata
    `
    
    const policyWithUnknownField = `
    apiVersion: audit.k8s.io/v1
    kind: Policy
    rules:
    - level: None
      resources:
      - group: coordination.k8s.io
        resources:
        - "leases"
        verbs: ["watch", "get", "list"] # invalid indentation on verbs
    `
    
    var expectedPolicy = &audit.Policy{
    	Rules: []audit.PolicyRule{{
    		Level:           audit.LevelNone,
    		NonResourceURLs: []string{"/healthz*", "/version"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  10. pilot/pkg/security/authz/builder/testdata/http/allow-full-rule-out.yaml

    name: envoy.filters.http.rbac
    typedConfig:
      '@type': type.googleapis.com/envoy.extensions.filters.http.rbac.v3.RBAC
      rules:
        policies:
          ns[foo]-policy[httpbin-1]-rule[0]:
            permissions:
            - andRules:
                rules:
                - orRules:
                    rules:
                    - header:
                        name: :authority
                        stringMatch:
                          exact: exact.com
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 20 01:58:53 UTC 2024
    - 32.6K bytes
    - Viewed (0)
Back to top