v2

package
v0.0.0-...-b110700 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdmissionCtrl

type AdmissionCtrl struct{}

func (AdmissionCtrl) Default

func (a AdmissionCtrl) Default(ctx context.Context, obj runtime.Object) error

Default implements admission.CustomDefaulter.

func (AdmissionCtrl) SetupWithManager

func (a AdmissionCtrl) SetupWithManager(mgr ctrl.Manager) error

func (AdmissionCtrl) ValidateCreate

func (a AdmissionCtrl) ValidateCreate(
	ctx context.Context,
	obj runtime.Object,
) (admission.Warnings, error)

ValidateCreate implements admission.CustomValidator.

func (AdmissionCtrl) ValidateDelete

func (a AdmissionCtrl) ValidateDelete(
	ctx context.Context,
	obj runtime.Object,
) (admission.Warnings, error)

ValidateDelete implements admission.CustomValidator.

func (AdmissionCtrl) ValidateUpdate

func (a AdmissionCtrl) ValidateUpdate(
	ctx context.Context,
	oldObj runtime.Object,
	newObj runtime.Object,
) (admission.Warnings, error)

ValidateUpdate implements admission.CustomValidator.

Jump to

Keyboard shortcuts

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