ingress

package
v1.4.11 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClusterWebhook

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

func NewGlobalTrafficPolicyWebhook

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

func NewServiceExportWebhook

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

func NewServiceImportWebhook

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

Types

type ClusterWebhook

type ClusterWebhook struct {
	webhook.DefaultWebhook
}

func (*ClusterWebhook) ValidateCreate

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

func (*ClusterWebhook) ValidateUpdate

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

type GlobalTrafficPolicyWebhook

type GlobalTrafficPolicyWebhook struct {
	webhook.DefaultWebhook
}

func (*GlobalTrafficPolicyWebhook) Default

func (*GlobalTrafficPolicyWebhook) ValidateCreate

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

func (*GlobalTrafficPolicyWebhook) ValidateUpdate

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

type ServiceExportWebhook

type ServiceExportWebhook struct {
	webhook.DefaultWebhook
}

type ServiceImportWebhook

type ServiceImportWebhook struct {
	webhook.DefaultWebhook
}

func (*ServiceImportWebhook) Default

Jump to

Keyboard shortcuts

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