v1alpha2

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTCPRouteWebhook

func NewTCPRouteWebhook(cfg *whtypes.RegisterConfig) whtypes.Register

func NewTLSRouteWebhook

func NewTLSRouteWebhook(cfg *whtypes.RegisterConfig) whtypes.Register

func NewUDPRouteWebhook

func NewUDPRouteWebhook(cfg *whtypes.RegisterConfig) whtypes.Register

Types

type TCPRouteWebhook

type TCPRouteWebhook struct {
	webhook.DefaultWebhook
}

func (*TCPRouteWebhook) ValidateCreate

func (r *TCPRouteWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) (warnings admission.Warnings, err error)

func (*TCPRouteWebhook) ValidateUpdate

func (r *TCPRouteWebhook) ValidateUpdate(ctx context.Context, _, newObj runtime.Object) (warnings admission.Warnings, err error)

type TLSRouteWebhook

type TLSRouteWebhook struct {
	webhook.DefaultWebhook
}

func (*TLSRouteWebhook) ValidateCreate

func (r *TLSRouteWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) (warnings admission.Warnings, err error)

func (*TLSRouteWebhook) ValidateUpdate

func (r *TLSRouteWebhook) ValidateUpdate(ctx context.Context, _, newObj runtime.Object) (warnings admission.Warnings, err error)

type UDPRouteWebhook

type UDPRouteWebhook struct {
	webhook.DefaultWebhook
}

func (*UDPRouteWebhook) ValidateCreate

func (r *UDPRouteWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) (warnings admission.Warnings, err error)

func (*UDPRouteWebhook) ValidateUpdate

func (r *UDPRouteWebhook) ValidateUpdate(ctx context.Context, _, newObj runtime.Object) (warnings admission.Warnings, err error)

Jump to

Keyboard shortcuts

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