package errors

import "k8s.io/apiserver/pkg/admission/plugin/webhook/errors"

Package errors contains utilities for admission webhook specific errors

Index

Functions

func NewDryRunUnsupportedErr

func NewDryRunUnsupportedErr(webhookName string) *apierrors.StatusError

NewDryRunUnsupportedErr returns a StatusError with information about the webhook plugin

func ToStatusErr

func ToStatusErr(webhookName string, result *metav1.Status) *apierrors.StatusError

ToStatusErr returns a StatusError with information about the webhook plugin

Source Files

doc.go statuserror.go

Version
v0.33.0 (latest)
Published
Apr 23, 2025
Platform
linux/amd64
Imports
4 packages
Last checked
1 hour ago

Tools for package owners.