- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getXValidations (0.29 sec)
-
staging/src/k8s.io/apiserver/pkg/cel/openapi/extensions.go
} func (v ValidationRule) FieldPath() string { return v.PathField } func (v ValidationRule) MessageExpression() string { return v.MessageExpressionField } // TODO: simplify func getXValidations(schema *spec.Schema) []common.ValidationRule { var rules []ValidationRule err := schema.Extensions.GetObject(extValidations, &rules) if err != nil { return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 10 21:26:55 UTC 2023 - 2.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/openapi/adaptor.go
return getXMapType(s.Schema) } func (s *Schema) XListMapKeys() []string { return getXListMapKeys(s.Schema) } func (s *Schema) XValidations() []common.ValidationRule { return getXValidations(s.Schema) } func (s *Schema) WithTypeAndObjectMeta() common.Schema { return &Schema{common.WithTypeAndObjectMeta(s.Schema)} } func UnstructuredToVal(unstructured any, schema *spec.Schema) ref.Val {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 10 21:26:55 UTC 2023 - 4.9K bytes - Viewed (0)