Documentation ¶
Index ¶
- type GatewayHandler
- func (webhook *GatewayHandler) Default(ctx context.Context, obj runtime.Object) error
- func (webhook *GatewayHandler) SetupWebhookWithManager(mgr ctrl.Manager) (string, string, error)
- func (webhook *GatewayHandler) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (webhook *GatewayHandler) ValidateDelete(_ context.Context, obj runtime.Object) (admission.Warnings, error)
- func (webhook *GatewayHandler) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GatewayHandler ¶
type GatewayHandler struct { }
Cluster implements a validating and defaulting webhook for Cluster.
func (*GatewayHandler) SetupWebhookWithManager ¶
SetupWebhookWithManager sets up Cluster webhooks. mutate path, validatepath, error
func (*GatewayHandler) ValidateCreate ¶
func (webhook *GatewayHandler) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.CustomValidator so a webhook will be registered for the type.
func (*GatewayHandler) ValidateDelete ¶
func (webhook *GatewayHandler) ValidateDelete(_ context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateDelete implements webhook.CustomValidator so a webhook will be registered for the type.
func (*GatewayHandler) ValidateUpdate ¶
func (webhook *GatewayHandler) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
ValidateUpdate implements webhook.CustomValidator so a webhook will be registered for the type.
Click to show internal directories.
Click to hide internal directories.