flb

package
v1.4.16 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSecretWebhook

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

func NewServiceWebhook

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

func NewTLSSecretWebhook

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

Types

type SecretWebhook

type SecretWebhook struct {
	webhook.DefaultWebhook
}

func (*SecretWebhook) Default

func (r *SecretWebhook) Default(_ context.Context, obj runtime.Object) error

func (*SecretWebhook) ValidateCreate

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

func (*SecretWebhook) ValidateUpdate

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

type ServiceWebhook

type ServiceWebhook struct {
	webhook.DefaultWebhook
}

func (*ServiceWebhook) ValidateCreate

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

func (*ServiceWebhook) ValidateUpdate

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

type TLSSecretWebhook

type TLSSecretWebhook struct {
	webhook.DefaultWebhook
}

func (*TLSSecretWebhook) ValidateCreate

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

func (*TLSSecretWebhook) ValidateUpdate

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