v1

package
v1.4.14 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGRPCRouteWebhook

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

func NewGatewayClassWebhook

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

func NewGatewayWebhook

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

func NewHTTPRouteWebhook

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

Types

type GRPCRouteWebhook

type GRPCRouteWebhook struct {
	webhook.DefaultWebhook
}

func (*GRPCRouteWebhook) ValidateCreate

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

func (*GRPCRouteWebhook) ValidateUpdate

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

type GatewayClassWebhook

type GatewayClassWebhook struct {
	webhook.DefaultWebhook
}

func (*GatewayClassWebhook) ValidateUpdate

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

type GatewayWebhook

type GatewayWebhook struct {
	webhook.DefaultWebhook
}

func (*GatewayWebhook) Default

func (r *GatewayWebhook) Default(ctx context.Context, obj runtime.Object) error

func (*GatewayWebhook) ValidateCreate

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

func (*GatewayWebhook) ValidateUpdate

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

type HTTPRouteWebhook

type HTTPRouteWebhook struct {
	webhook.DefaultWebhook
}

func (*HTTPRouteWebhook) ValidateCreate

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

func (*HTTPRouteWebhook) ValidateUpdate

func (r *HTTPRouteWebhook) 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