v1.96.3 Latest Latest

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

Go to latest
Published: Jun 10, 2024 License: Apache-2.0 Imports: 27 Imported by: 2




This section is empty.


This section is empty.


func NewFactory

func NewFactory(_ io.Reader) (admission.Interface, error)

NewFactory creates a new PluginFactory.

func Register

func Register(plugins *admission.Plugins)

Register registers a plugin.


type DeletionConfirmation

type DeletionConfirmation struct {
	// contains filtered or unexported fields

DeletionConfirmation contains an admission handler and listers.

func New

func New() (*DeletionConfirmation, error)

New creates a new DeletionConfirmation admission plugin.

func (*DeletionConfirmation) Admit added in v1.95.0

Admit maintains the annotation.

func (*DeletionConfirmation) AssignReadyFunc

func (d *DeletionConfirmation) AssignReadyFunc(f admission.ReadyFunc)

AssignReadyFunc assigns the ready function to the admission handler.

func (*DeletionConfirmation) SetCoreClientSet added in v1.90.0

func (d *DeletionConfirmation) SetCoreClientSet(c versioned.Interface)

SetCoreClientSet gets the clientset from the Kubernetes client.

func (*DeletionConfirmation) SetCoreInformerFactory added in v1.90.0

func (d *DeletionConfirmation) SetCoreInformerFactory(f gardencoreinformers.SharedInformerFactory)

SetCoreInformerFactory gets Lister from SharedInformerFactory.

func (*DeletionConfirmation) Validate

Validate makes admissions decisions based on deletion confirmation annotation.

func (*DeletionConfirmation) ValidateInitialization

func (d *DeletionConfirmation) ValidateInitialization() error

ValidateInitialization checks whether the plugin was correctly initialized.

Jump to

Keyboard shortcuts

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