kubernetes/staging/src/k8s.io/apiserver/pkg/authentication/cel/compile.go

const claimsVarName

const userVarName

type compiler

// NewDefaultCompiler returns a new Compiler following the default compatibility version.
// Note: the compiler construction depends on feature gates and the compatibility version to be initialized.
func NewDefaultCompiler() Compiler {}

// NewCompiler returns a new Compiler.
func NewCompiler(env *environment.EnvSet) Compiler {}

// CompileClaimsExpression compiles the given expressionAccessor into a CEL program that can be evaluated.
// The claims CEL variable is available to the expression.
func (c compiler) CompileClaimsExpression(expressionAccessor ExpressionAccessor) (CompilationResult, error) {}

// CompileUserExpression compiles the given expressionAccessor into a CEL program that can be evaluated.
// The user CEL variable is available to the expression.
func (c compiler) CompileUserExpression(expressionAccessor ExpressionAccessor) (CompilationResult, error) {}

func (c compiler) compile(expressionAccessor ExpressionAccessor, envVarName string) (CompilationResult, error) {}

func buildUserType() *apiservercel.DeclType {}

func mustBuildEnvs(baseEnv *environment.EnvSet) map[string]*environment.EnvSet {}