// ToStatusErr returns a StatusError with information about the webhook plugin func ToStatusErr(webhookName string, result *metav1.Status) *apierrors.StatusError { … } // NewDryRunUnsupportedErr returns a StatusError with information about the webhook plugin func NewDryRunUnsupportedErr(webhookName string) *apierrors.StatusError { … }