Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for UsesOldSelf (0.35 sec)

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

    type CompilationResult struct {
    	Program cel.Program
    	Error   *apiservercel.Error
    	// If true, the compiled expression contains a reference to the identifier "oldSelf".
    	UsesOldSelf bool
    	// Represents the worst-case cost of the compiled expression in terms of CEL's cost units, as used by cel.EstimateCost.
    	MaxCost uint64
    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/apiserver/schema/cel/validation.go

    		activationFactory := validationActivationWithoutOldSelf
    		for _, rule := range compiledRules {
    			if rule.UsesOldSelf {
    				activationFactory = validationActivationWithOldSelf
    				break
    			}
    		}
    
    		return &Validator{
    			compiledRules:        compiledRules,
    			uncompiledRules:      validationSchema.XValidations,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 18:21:31 UTC 2024
    - 32.2K bytes
    - Viewed (0)
Back to top