errors

package
v0.29.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2024 License: Apache-2.0 Imports: 4 Imported by: 29

Documentation

Overview

Package errors contains utilities for admission webhook specific errors

Index

Constants

This section is empty.

Variables

This section is empty.

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

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL