Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for RootCELContext (0.15 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/cel_validation.go

    	if declType == nil {
    		return nil, fmt.Errorf("unable to convert structural schema to CEL declarations")
    	}
    	return &CELTypeInfo{structural, declType}, nil
    }
    
    // RootCELContext constructs CELSchemaContext for the given root schema.
    func RootCELContext(schema *apiextensions.JSONSchemaProps) *CELSchemaContext {
    	rootCardinality := uint64(1)
    	r := &CELSchemaContext{
    		jsonSchema:                schema,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 10 22:05:55 UTC 2022
    - 13.8K bytes
    - Viewed (0)
Back to top