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: 0

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