type dispatcher …
var _ …
func NewDispatcher(
authorizer authorizer.Authorizer,
matcher generic.PolicyMatcher,
) generic.Dispatcher[PolicyHook] { … }
type policyDecisionWithMetadata …
func (c *dispatcher) Dispatch(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces, hooks []PolicyHook) error { … }
func publishValidationFailureAnnotation(binding *admissionregistrationv1.ValidatingAdmissionPolicyBinding, expressionIndex int, decision PolicyDecision, attributes admission.Attributes) { … }
const maxAuditAnnotationValueLength …
type ValidationFailureValue …
type auditAnnotationCollector …
func newAuditAnnotationCollector() auditAnnotationCollector { … }
func (a auditAnnotationCollector) add(key, value string) { … }
func (a auditAnnotationCollector) publish(policyName string, attributes admission.Attributes) { … }
type wrappedParam …
func (w *wrappedParam) MarshalJSON() ([]byte, error) { … }
func (w *wrappedParam) UnmarshalJSON(data []byte) error { … }
func (w *wrappedParam) ToUnstructured() interface{ … }
func (w *wrappedParam) DeepCopyObject() runtime.Object { … }
func (w *wrappedParam) GetObjectKind() schema.ObjectKind { … }