webhooks

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: Apache-2.0 Imports: 20 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serialize added in v1.4.0

func SetupWithManager

func SetupWithManager(mgr ctrl.Manager, serviceAccountName string)

Types

type MappingValidator added in v1.4.0

type MappingValidator struct {
	// contains filtered or unexported fields
}

func NewMappingValidator added in v1.4.0

func NewMappingValidator(config *rest.Config, mapper meta.RESTMapper) (*MappingValidator, error)

func (*MappingValidator) SetupWebhookWithManager added in v1.4.0

func (validator *MappingValidator) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*MappingValidator) ValidateCreate added in v1.4.0

func (validator *MappingValidator) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)

func (*MappingValidator) ValidateDelete added in v1.4.0

func (validator *MappingValidator) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)

func (*MappingValidator) ValidateUpdate added in v1.4.0

func (validator *MappingValidator) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)

Jump to

Keyboard shortcuts

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