Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 112 for RULE (0.05 sec)

  1. internal/bucket/lifecycle/lifecycle_test.go

    			expectedParsingErr:    nil,
    			expectedValidationErr: nil,
    		},
    		// Lifecycle with empty Filter tag
    		{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation_test.go

    					XValidations: apiextensions.ValidationRules{
    						{Rule: "self.i >= oldSelf.i.value()", OptionalOldSelf: ptr.To(true)},
    						{Rule: "self.s == oldSelf.s.value()", OptionalOldSelf: ptr.To(true)},
    						{Rule: "self.b == oldSelf.b.value()", OptionalOldSelf: ptr.To(true)},
    						{Rule: "self.o == oldSelf.o.value()", OptionalOldSelf: ptr.To(true)},
    						{Rule: "self.o.i >= oldSelf.o.i.value()", OptionalOldSelf: ptr.To(true)},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  3. pkg/proxy/nftables/proxier.go

    	tx.Add(&knftables.Rule{
    		Chain: markMasqChain,
    		Rule: knftables.Concat(
    			"mark", "set", "mark", "or", proxier.masqueradeMark,
    		),
    	})
    
    	tx.Add(&knftables.Rule{
    		Chain: masqueradingChain,
    		Rule: knftables.Concat(
    			"mark", "and", proxier.masqueradeMark, "==", "0",
    			"return",
    		),
    	})
    	tx.Add(&knftables.Rule{
    		Chain: masqueradingChain,
    		Rule: knftables.Concat(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/suppliers/DynamicRevisionRemoteResolveWithMetadataSupplierIntegrationTest.groovy

            noExceptionThrown()
            outputContains "Found result for rule [DefaultConfigurableRule{rule=class MP, ruleParams=[]}] and key group:projectB:2.2"
            outputContains "Found result for rule [DefaultConfigurableRule{rule=class MP, ruleParams=[]}] and key group:projectB:1.1"
        }
    
        @ToBeFixedForConfigurationCache
        def "changing the implementation of a rule invalidates the cache"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 11:46:17 UTC 2024
    - 49K bytes
    - Viewed (0)
  5. pkg/apis/batch/validation/validation.go

    	}
    	if len(rule.OnPodConditions) > 0 {
    		allErrs = append(allErrs, validatePodFailurePolicyRuleOnPodConditions(rule.OnPodConditions, rulePath.Child("onPodConditions"))...)
    	}
    	if rule.OnExitCodes != nil && len(rule.OnPodConditions) > 0 {
    		allErrs = append(allErrs, field.Invalid(rulePath, field.OmitValueType{}, "specifying both OnExitCodes and OnPodConditions is not supported"))
    	}
    	if rule.OnExitCodes == nil && len(rule.OnPodConditions) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 16:43:24 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/DefaultModelRegistryTest.groovy

            then:
            ModelRuleExecutionException e = thrown()
            e.message == /Exception thrown while executing model rule: mutate foo as Integer/
            e.cause instanceof DuplicateModelException
            e.cause.message == /Cannot create 'foo.bar' using creation rule 'create foo.bar as Integer' as the rule 'create foo.bar as String' is already registered to create this model element./
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 56K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go

    	if len(schema.XValidations) > 0 {
    		for i, rule := range schema.XValidations {
    			trimmedRule := strings.TrimSpace(rule.Rule)
    			trimmedMsg := strings.TrimSpace(rule.Message)
    			trimmedMsgExpr := strings.TrimSpace(rule.MessageExpression)
    			if len(trimmedRule) == 0 {
    				allErrs.SchemaErrors = append(allErrs.SchemaErrors, field.Required(fldPath.Child("x-kubernetes-validations").Index(i).Child("rule"), "rule is not specified"))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 82.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/testdata/swagger.json

    functions such as `self.all(...)`. If the Rule is scoped to an array, the elements of the array are accessible via `self[i]` and also by macros and functions. If the Rule is scoped to a scalar, `self` is bound to the scalar value. Examples: - Rule scoped to a map of objects: {\"rule\": \"self.components['Widget'].priority \u003c 10\"} - Rule scoped to a list of integers: {\"rule\": \"self.values.all(value, value \u003e= 0 \u0026\u0026 value \u003c 100)\"} - Rule scoped to a string value: {\"rule\": ...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 13 18:37:59 UTC 2023
    - 55.4K bytes
    - Viewed (0)
  9. pkg/apis/admissionregistration/validation/validation.go

    	string(admissionregistration.AllScopes),
    )
    
    func validateRule(rule *admissionregistration.Rule, fldPath *field.Path, allowSubResource bool) field.ErrorList {
    	var allErrors field.ErrorList
    	if len(rule.APIGroups) == 0 {
    		allErrors = append(allErrors, field.Required(fldPath.Child("apiGroups"), ""))
    	}
    	if len(rule.APIGroups) > 1 && hasWildcard(rule.APIGroups) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 56.6K bytes
    - Viewed (0)
  10. pilot/pkg/model/push_context.go

    		rule.Host = string(ResolveShortnameToFQDN(rule.Host, configs[i].Meta))
    		var exportToSet sets.Set[visibility.Instance]
    
    		// destination rules with workloadSelector should not be exported to other namespaces
    		if rule.GetWorkloadSelector() == nil {
    			exportToSet = sets.NewWithLength[visibility.Instance](len(rule.ExportTo))
    			for _, e := range rule.ExportTo {
    				exportToSet.Insert(visibility.Instance(e))
    			}
    		} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 91.8K bytes
    - Viewed (0)
Back to top