Documentation ¶
Index ¶
- type Webhook
- func (w *Webhook) Default(ctx context.Context, obj runtime.Object) error
- func (w *Webhook) Register(mgr ctrl.Manager, log *logr.Logger) error
- func (w *Webhook) ValidateCreate(ctx context.Context, obj runtime.Object) (warnings admission.Warnings, err error)
- func (w *Webhook) ValidateDelete(ctx context.Context, obj runtime.Object) (warnings admission.Warnings, err error)
- func (w *Webhook) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (warnings admission.Warnings, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Webhook ¶
type Webhook struct {
// contains filtered or unexported fields
}
Webhook describes the data structure for the bar webhook
func (*Webhook) Default ¶
Default implements webhook.Defaulter so a webhook will be registered for the type.
func (*Webhook) ValidateCreate ¶
func (w *Webhook) ValidateCreate(ctx context.Context, obj runtime.Object) (warnings admission.Warnings, err error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type.
Click to show internal directories.
Click to hide internal directories.