const PluginName …
var lazyCompositionEnvTemplateWithStrictCostInit …
var lazyCompositionEnvTemplateWithStrictCost …
var lazyCompositionEnvTemplateWithoutStrictCostInit …
var lazyCompositionEnvTemplateWithoutStrictCost …
func getCompositionEnvTemplateWithStrictCost() *cel.CompositionEnv { … }
func getCompositionEnvTemplateWithoutStrictCost() *cel.CompositionEnv { … }
func Register(plugins *admission.Plugins) { … }
type Policy …
type PolicyBinding …
type PolicyEvaluator …
type PolicyHook …
type Plugin …
var _ …
var _ …
var _ …
func NewPlugin(_ io.Reader) *Plugin { … }
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 { … }