webhooks

package
v1.59.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: Apache-2.0 Imports: 35 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,
	snapClient snapclient.Interface, controllerRuntimeClient client.Client) 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

func NewPopulatorValidatingWebhook added in v1.57.0

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

NewPopulatorValidatingWebhook creates a new DataVolumeValidation webhook

func NewPvcMutatingWebhook added in v1.59.0

func NewPvcMutatingWebhook(cachedClient client.Client) http.Handler

NewPvcMutatingWebhook creates a new PvcMutation 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