const maxTypesToCheck …
type TypeChecker …
type TypeCheckingContext …
type typeOverwrite …
type TypeCheckingResult …
type TypeCheckingResults …
func (rs TypeCheckingResults) String() string { … }
func (r *TypeCheckingResult) String() string { … }
func (c *TypeChecker) Check(policy *v1.ValidatingAdmissionPolicy) []v1.ExpressionWarning { … }
func (c *TypeChecker) CreateContext(policy *v1.ValidatingAdmissionPolicy) *TypeCheckingContext { … }
func (c *TypeChecker) compiler(ctx *TypeCheckingContext, typeOverwrite typeOverwrite) (*plugincel.CompositedCompiler, error) { … }
func (c *TypeChecker) CheckExpression(ctx *TypeCheckingContext, expression string) TypeCheckingResults { … }
type celExpression …
func (c celExpression) GetExpression() string { … }
func (c celExpression) ReturnTypes() []*cel.Type { … }
func generateUniqueTypeName(kind string) string { … }
func (c *TypeChecker) declType(gvk schema.GroupVersionKind) (*apiservercel.DeclType, error) { … }
func (c *TypeChecker) paramsGVK(policy *v1.ValidatingAdmissionPolicy) schema.GroupVersionKind { … }
func (c *TypeChecker) typesToCheck(p *v1.ValidatingAdmissionPolicy) []schema.GroupVersionKind { … }
func extractGroups(rule *v1.Rule) []string { … }
func extractVersions(rule *v1.Rule) []string { … }
func extractResources(rule *v1.Rule) []string { … }
func sortGVKList(list []schema.GroupVersionKind) []schema.GroupVersionKind { … }
func (c *TypeChecker) tryRefreshRESTMapper() { … }
func buildEnvSet(hasParams bool, hasAuthorizer bool, types typeOverwrite) (*environment.EnvSet, error) { … }
func createVariableOpts(declType *apiservercel.DeclType, variables ...string) []cel.EnvOption { … }
type typeCheckingCompiler …
func (c *typeCheckingCompiler) CompileCELExpression(expressionAccessor plugincel.ExpressionAccessor, options plugincel.OptionalVariableDeclarations, mode environment.Type) plugincel.CompilationResult { … }
var _ …