yurtingress

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type YurtIngressHandler

type YurtIngressHandler struct {
	Client client.Client
}

Cluster implements a validating and defaulting webhook for Cluster.

func (*YurtIngressHandler) Default

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

Default satisfies the defaulting webhook interface.

func (*YurtIngressHandler) SetupWebhookWithManager

func (webhook *YurtIngressHandler) SetupWebhookWithManager(mgr ctrl.Manager) error

SetupWebhookWithManager sets up Cluster webhooks.

func (*YurtIngressHandler) ValidateCreate

func (webhook *YurtIngressHandler) ValidateCreate(ctx context.Context, obj runtime.Object) error

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

func (*YurtIngressHandler) ValidateDelete

func (webhook *YurtIngressHandler) ValidateDelete(_ context.Context, obj runtime.Object) error

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

func (*YurtIngressHandler) ValidateUpdate

func (webhook *YurtIngressHandler) 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