Documentation ¶
Overview ¶
Package errors contains utilities for admission webhook specific errors
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToStatusErr ¶
func ToStatusErr(webhookName string, result *metav1.Status) *apierrors.StatusError
ToStatusErr returns a StatusError with information about the webhook plugin
Types ¶
type ErrCallingWebhook ¶
ErrCallingWebhook is returned for transport-layer errors calling webhooks. It represents a failure to talk to the webhook, not the webhook rejecting a request.
func (*ErrCallingWebhook) Error ¶
func (e *ErrCallingWebhook) Error() string
Click to show internal directories.
Click to hide internal directories.