v1beta1

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2025 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupLoadBalancerWebhookWithManager

func SetupLoadBalancerWebhookWithManager(mgr ctrl.Manager) error

SetupLoadBalancerWebhookWithManager registers the webhook for LoadBalancer in the manager.

Types

type LoadBalancerCustomValidator

type LoadBalancerCustomValidator struct {
	Client client.Client
}

LoadBalancerCustomValidator struct is responsible for validating the LoadBalancer resource when it is created, updated, or deleted.

func (*LoadBalancerCustomValidator) ValidateCreate

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

func (*LoadBalancerCustomValidator) ValidateDelete

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

func (*LoadBalancerCustomValidator) ValidateUpdate

func (v *LoadBalancerCustomValidator) ValidateUpdate(_ context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)

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

Jump to

Keyboard shortcuts

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