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 WebhookKind
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultingWebhookFor ¶
func RegisterWebhooks ¶
func ValidatingWebhookFor ¶
Types ¶
type Defaulter ¶
type Defaulter interface { WebhookKind SetDefaults(obj interface{}) }
type Validator ¶
type Validator interface { WebhookKind ValidateCreate(obj interface{}) error ValidateUpdate(oldObj, obj interface{}) error ValidateDelete(obj interface{}) error }
type WebhookKind ¶
type WebhookKind interface {
Kind() string
}
Click to show internal directories.
Click to hide internal directories.