Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 33 of 33 for MessageExpression (0.26 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/testdata/HEAD/apiextensions.k8s.io.v1.CustomResourceDefinition.json

                "x-kubernetes-validations": [
                  {
                    "rule": "ruleValue",
                    "message": "messageValue",
                    "messageExpression": "messageExpressionValue",
                    "reason": "reasonValue",
                    "fieldPath": "fieldPathValue",
                    "optionalOldSelf": true
                  }
                ]
              }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/cel/library/format.go

    )
    
    // Format provides a CEL library exposing common named Kubernetes string
    // validations. Can be used in CRD ValidationRules messageExpression.
    //
    //  Example:
    //
    //    rule:              format.dns1123label.validate(object.metadata.name).hasValue()
    //    messageExpression: format.dns1123label.validate(object.metadata.name).value().join("\n")
    //
    // format.named(name: string) -> ?Format
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/cel/common/adaptor.go

    	XMapType() string
    	XValidations() []ValidationRule
    }
    
    // ValidationRule represents a single x-kubernetes-validations rule.
    type ValidationRule interface {
    	Rule() string
    	Message() string
    	MessageExpression() string
    	FieldPath() string
    }
    
    // SchemaOrBool contains either a schema or a boolean indicating if the object
    // can contain any fields.
    type SchemaOrBool interface {
    	Schema() Schema
    	Allows() bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 10 21:26:55 UTC 2023
    - 3K bytes
    - Viewed (0)
Back to top