webhooks

package
v1.13.3 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2020 License: Apache-2.0 Imports: 26 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 NewDataVolumeMutatingWebhook

func NewDataVolumeMutatingWebhook(client kubernetes.Interface, key *rsa.PrivateKey) http.Handler

NewDataVolumeMutatingWebhook creates a new DataVolumeMutation webhook

func NewDataVolumeValidatingWebhook

func NewDataVolumeValidatingWebhook(client kubernetes.Interface) http.Handler

NewDataVolumeValidatingWebhook creates a new DataVolumeValidation webhook

Types

type Admitter

type Admitter interface {
	Admit(v1beta1.AdmissionReview) *v1beta1.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