v1alpha2

package
v1.4.12 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBackendLBPolicyWebhook

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

func NewHealthCheckPolicyWebhook

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

func NewRetryPolicyWebhook

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

Types

type BackendLBPolicyWebhook

type BackendLBPolicyWebhook struct {
	webhook.DefaultWebhook
}

func (*BackendLBPolicyWebhook) ValidateCreate

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

func (*BackendLBPolicyWebhook) ValidateUpdate

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

type HealthCheckPolicyWebhook

type HealthCheckPolicyWebhook struct {
	webhook.DefaultWebhook
}

func (*HealthCheckPolicyWebhook) ValidateCreate

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

func (*HealthCheckPolicyWebhook) ValidateUpdate

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

type RetryPolicyWebhook

type RetryPolicyWebhook struct {
	webhook.DefaultWebhook
}

func (*RetryPolicyWebhook) ValidateCreate

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

func (*RetryPolicyWebhook) ValidateUpdate

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