Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,170 for rulesv4 (0.22 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/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)
  3. 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)
  4. 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)
  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. 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)
  7. pilot/pkg/config/kube/gateway/testdata/http.yaml

    kind: HTTPRoute
    metadata:
      name: http
      namespace: default
    spec:
      parentRefs:
      - name: gateway
        namespace: istio-system
      hostnames: ["first.domain.example", "another.domain.example"]
      rules:
      - matches:
        - path:
            type: PathPrefix
            value: /get
          headers:
          - name: my-header
            value: some-value
            type: Exact
        filters:
        - type: RequestHeaderModifier
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 18 22:43:39 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  8. src/internal/dag/parse.go

    	return string(e)
    }
    
    // parseRules parses the rules of a DAG.
    func parseRules(rules string) (out []rule, err error) {
    	defer func() {
    		e := recover()
    		switch e := e.(type) {
    		case nil:
    			return
    		case syntaxError:
    			err = e
    		default:
    			panic(e)
    		}
    	}()
    	p := &rulesParser{lineno: 1, text: rules}
    
    	var prev []string
    	var op string
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/ScalarCollectionIntegrationTest.groovy

            given:
            buildFile << """
    class Rules extends RuleSource {
        @Model
        void strings(${type.name}<String> s) {
        }
    
        @Mutate
        void tasks(ModelMap<Task> tasks, @Path("strings") def strings) {
            tasks.create("show") {
                doLast {
                    println "strings: \$strings"
                }
            }
        }
    }
    
    apply plugin: Rules
    """
    
            when:
            run("show")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/internal/action/InstantiatingActionTest.groovy

                TestUtil.instantiatorFactory().decorateLenient(),
                shouldNotFail
            )
    
            then:
            action.rules.configurableRules[0].ruleParams.isolate() == [123, "test string"] as Object[]
            action.rules.configurableRules[0].ruleClass == RuleWithParams
    
            when:
            action.execute(details)
    
            then:
            1 * details.see(123, "test string")
    
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 14 07:19:04 UTC 2021
    - 5.5K bytes
    - Viewed (0)
Back to top