kubernetes/staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/plugin.go

const PluginName

var lazyCompositionEnvTemplateWithStrictCostInit

var lazyCompositionEnvTemplateWithStrictCost

var lazyCompositionEnvTemplateWithoutStrictCostInit

var lazyCompositionEnvTemplateWithoutStrictCost

func getCompositionEnvTemplateWithStrictCost() *cel.CompositionEnv {}

func getCompositionEnvTemplateWithoutStrictCost() *cel.CompositionEnv {}

// Register registers a plugin
func Register(plugins *admission.Plugins) {}

type Policy

type PolicyBinding

type PolicyEvaluator

type PolicyHook

type Plugin

var _

var _

var _

func NewPlugin(_ io.Reader) *Plugin {}

// Validate makes an admission decision based on the request attributes.
func (a *Plugin) Validate(ctx context.Context, attr admission.Attributes, o admission.ObjectInterfaces) error {}

func compilePolicy(policy *Policy) Validator {}

func convertv1Validations(inputValidations []v1.Validation) []cel.ExpressionAccessor {}

func convertv1MessageExpressions(inputValidations []v1.Validation) []cel.ExpressionAccessor {}

func convertv1AuditAnnotations(inputValidations []v1.AuditAnnotation) []cel.ExpressionAccessor {}

func convertv1beta1Variables(variables []v1.Variable) []cel.NamedExpressionAccessor {}