Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for MessageExpression (0.52 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation_test.go

    			},
    		},
    		{
    			name: "messageExpression inclusion",
    			input: schema.Structural{
    				Generic: schema.Generic{
    					Type: "string",
    				},
    				ValidationExtensions: schema.ValidationExtensions{
    					XValidations: apiextensions.ValidationRules{
    						{
    							Rule:              "self.startsWith('s')",
    							MessageExpression: `"scoped field should start with 's'"`,
    						},
    					},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/admissionregistration/v1/generated.proto

      optional string reason = 3;
    
      // messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails.
      // Since messageExpression is used as a failure message, it must evaluate to a string.
      // If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/admissionregistration/v1/types.go

    	// messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails.
    	// Since messageExpression is used as a failure message, it must evaluate to a string.
    	// If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 61.6K bytes
    - Viewed (0)
Back to top