Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for compResults (0.28 sec)

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

    	if err != nil {
    		return nil, err
    	}
    	estimator := newCostEstimator(declType)
    	// compResults is the return value which saves a list of compilation results in the same order as x-kubernetes-validations rules.
    	compResults := make([]CompilationResult, len(celRules))
    	maxCardinality := maxCardinality(declType.MinSerializedSize)
    	for i, rule := range celRules {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go

    			} else {
    				compResults, err := cel.Compile(typeInfo.Schema, typeInfo.DeclType, celconfig.PerCallLimit, opts.celEnvironmentSet, opts.preexistingExpressions)
    				if err != nil {
    					allErrs.CELErrors = append(allErrs.CELErrors, field.InternalError(fldPath.Child("x-kubernetes-validations"), err))
    				} else {
    					for i, cr := range compResults {
    						expressionCost := getExpressionCost(cr, celContext)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 82.6K bytes
    - Viewed (0)
Back to top