v1alpha1

package
v1.4.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GatewayHandler

type GatewayHandler struct {
	Client client.Client
}

Cluster implements a validating and defaulting webhook for Cluster.

func (*GatewayHandler) Default

func (webhook *GatewayHandler) Default(ctx context.Context, obj runtime.Object) error

Default satisfies the defaulting webhook interface.

func (*GatewayHandler) SetupWebhookWithManager

func (webhook *GatewayHandler) SetupWebhookWithManager(mgr ctrl.Manager) (string, string, error)

SetupWebhookWithManager sets up Cluster webhooks. mutate path, validatepath, error

func (*GatewayHandler) ValidateCreate

func (webhook *GatewayHandler) ValidateCreate(ctx context.Context, obj runtime.Object) 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) 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) error

ValidateUpdate implements webhook.CustomValidator so a webhook will be registered for the type.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL