Documentation ¶
Index ¶
- func NewCDIValidatingWebhook(client cdiclient.Interface) http.Handler
- func NewDataImportCronValidatingWebhook(k8sClient kubernetes.Interface, cdiClient cdiclient.Interface) http.Handler
- func NewDataVolumeMutatingWebhook(k8sClient kubernetes.Interface, cdiClient cdiclient.Interface, ...) http.Handler
- func NewDataVolumeValidatingWebhook(k8sClient kubernetes.Interface, cdiClient cdiclient.Interface) http.Handler
- func NewObjectTransferValidatingWebhook(k8sClient kubernetes.Interface, cdiClient cdiclient.Interface) http.Handler
- type Admitter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCDIValidatingWebhook ¶ added in v1.13.1
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
Click to show internal directories.
Click to hide internal directories.