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) error
- func (webhook *GatewayHandler) ValidateDelete(_ context.Context, obj runtime.Object) error
- func (webhook *GatewayHandler) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GatewayHandler ¶
Cluster implements a validating and defaulting webhook for Cluster.
func (*GatewayHandler) SetupWebhookWithManager ¶
SetupWebhookWithManager sets up Cluster webhooks. mutate path, validatepath, error
func (*GatewayHandler) ValidateCreate ¶
ValidateCreate implements webhook.CustomValidator so a webhook will be registered for the type.
func (*GatewayHandler) ValidateDelete ¶
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) error
ValidateUpdate implements webhook.CustomValidator so a webhook will be registered for the type.
Click to show internal directories.
Click to hide internal directories.