webhooks

package
v1.54.2 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2023 License: Apache-2.0 Imports: 33 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCDIValidatingWebhook added in v1.13.1

func NewCDIValidatingWebhook(client cdiclient.Interface) http.Handler

NewCDIValidatingWebhook creates a new CDI validating webhook

func NewDataImportCronValidatingWebhook added in v1.41.1

func NewDataImportCronValidatingWebhook(k8sClient kubernetes.Interface, cdiClient cdiclient.Interface) http.Handler

NewDataImportCronValidatingWebhook creates a new DataVolumeValidation webhook

func NewDataVolumeMutatingWebhook

func NewDataVolumeMutatingWebhook(k8sClient kubernetes.Interface, cdiClient cdiclient.Interface, key *rsa.PrivateKey) http.Handler

NewDataVolumeMutatingWebhook creates a new DataVolumeMutation webhook

func NewDataVolumeValidatingWebhook

func NewDataVolumeValidatingWebhook(k8sClient kubernetes.Interface, cdiClient cdiclient.Interface) http.Handler

NewDataVolumeValidatingWebhook creates a new DataVolumeValidation webhook

func NewObjectTransferValidatingWebhook added in v1.31.0

func NewObjectTransferValidatingWebhook(k8sClient kubernetes.Interface, cdiClient cdiclient.Interface) http.Handler

NewObjectTransferValidatingWebhook creates a new ObjectTransfer validating webhook

Types

type Admitter

type Admitter interface {
	Admit(admissionv1.AdmissionReview) *admissionv1.AdmissionResponse
}

Admitter is the interface implemented by admission webhooks

Jump to

Keyboard shortcuts

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