Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for NewFilterCompiler (0.23 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/composition.go

    		MapType:           context.MapType,
    		EnvSet:            context.EnvSet,
    		CompiledVariables: map[string]CompilationResult{},
    	}
    	compiler := NewCompiler(context.EnvSet)
    	filterCompiler := NewFilterCompiler(context.EnvSet)
    	return &CompositedCompiler{
    		Compiler:       compiler,
    		FilterCompiler: filterCompiler,
    		CompositionEnv: context,
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 13 21:06:39 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/generic/webhook.go

    		sourceFactory:    sourceFactory,
    		clientManager:    &cm,
    		namespaceMatcher: &namespace.Matcher{},
    		objectMatcher:    &object.Matcher{},
    		dispatcher:       dispatcherFactory(&cm),
    		filterCompiler:   cel.NewFilterCompiler(environment.MustBaseEnvSet(environment.DefaultCompatibilityVersion(), utilfeature.DefaultFeatureGate.Enabled(features.StrictCostEnforcementForWebhooks))),
    	}, nil
    }
    
    // SetAuthenticationInfoResolverWrapper sets the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/filter.go

    	"k8s.io/apiserver/pkg/cel/environment"
    	"k8s.io/apiserver/pkg/cel/library"
    )
    
    // filterCompiler implement the interface FilterCompiler.
    type filterCompiler struct {
    	compiler Compiler
    }
    
    func NewFilterCompiler(env *environment.EnvSet) FilterCompiler {
    	return &filterCompiler{compiler: NewCompiler(env)}
    }
    
    type evaluationActivation struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 24 14:46:11 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/validator_test.go

    	fakeVersionedAttr, _ := admission.NewVersionedAttributes(fakeAttr, schema.GroupVersionKind{}, nil)
    	fc := cel.NewFilterCompiler(environment.MustBaseEnvSet(environment.DefaultCompatibilityVersion(), true))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/filter_test.go

    					ProgramOptions:    []celgo.ProgramOption{celgo.CostLimit(tc.testPerCallLimit)},
    				},
    			)
    			if err != nil {
    				t.Fatal(err)
    			}
    			c := NewFilterCompiler(env)
    			f := c.Compile(tc.validations, OptionalVariableDeclarations{HasParams: tc.hasParamKind, HasAuthorizer: tc.authorizer != nil, StrictCost: tc.strictCost}, environment.NewExpressions)
    			if f == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 40.4K bytes
    - Viewed (0)
Back to top