Documentation ¶
Index ¶
- func DefaultingWebhookFor(defaulter Defaulter) *admission.Webhook
- func RegisterGatewayApiWebhooks(webhookSvcNs, webhookSvcName string, caBundle []byte)
- func RegisterWebhooks(webhookSvcNs, webhookSvcName string, caBundle []byte)
- func ValidatingWebhookFor(validator Validator) *admission.Webhook
- type Defaulter
- type Validator
- type WebhookObject
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultingWebhookFor ¶
func RegisterWebhooks ¶
func ValidatingWebhookFor ¶
Types ¶
type Defaulter ¶
type Defaulter interface { WebhookObject SetDefaults(obj interface{}) }
type Validator ¶
type Validator interface { WebhookObject ValidateCreate(obj interface{}) error ValidateUpdate(oldObj, obj interface{}) error ValidateDelete(obj interface{}) error }
type WebhookObject ¶
Click to show internal directories.
Click to hide internal directories.