const PatchAuditAnnotationPrefix … const MutationAuditAnnotationPrefix … const MutationAuditAnnotationFailedOpenKeyPrefix … type mutatingDispatcher … func newMutatingDispatcher(p *Plugin) func(cm *webhookutil.ClientManager) generic.Dispatcher { … } var _ … type versionedAttributeAccessor … func (v *versionedAttributeAccessor) VersionedAttribute(gvk schema.GroupVersionKind) (*admission.VersionedAttributes, error) { … } var _ … func (a *mutatingDispatcher) Dispatch(ctx context.Context, attr admission.Attributes, o admission.ObjectInterfaces, hooks []webhook.WebhookAccessor) error { … } func (a *mutatingDispatcher) callAttrMutatingHook(ctx context.Context, h *admissionregistrationv1.MutatingWebhook, invocation *generic.WebhookInvocation, attr *admission.VersionedAttributes, annotator *webhookAnnotator, o admission.ObjectInterfaces, round, idx int) (bool, error) { … } type webhookAnnotator … func newWebhookAnnotator(attr *admission.VersionedAttributes, round, idx int, webhook, configuration string) *webhookAnnotator { … } func (w *webhookAnnotator) addFailedOpenAnnotation() { … } func (w *webhookAnnotator) addMutationAnnotation(mutated bool) { … } func (w *webhookAnnotator) addPatchAnnotation(patch interface{ … } type MutationAuditAnnotation … type PatchAuditAnnotation … func mutationAnnotationValue(configuration, webhook string, mutated bool) (string, error) { … } func jsonPatchAnnotationValue(configuration, webhook string, patch interface{ … }