Help us shape the future of Go! Take the 2026 Go Developer Survey

shootstate

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2020 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// PluginName is the name of this admission plugin.
	PluginName = "ShootStateDeletionValidator"
)

Variables

This section is empty.

Functions

func NewFactory

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

NewFactory creates a new PluginFactory.

func Register

func Register(plugins *admission.Plugins)

Register registers a plugin.

Types

type ValidateShootStateDeletion

type ValidateShootStateDeletion struct {
	*admission.Handler
	// contains filtered or unexported fields
}

ValidateShootStateDeletion contains listers and admission handler.

func New

New creates a new ShootStateDeletion admission plugin.

func (*ValidateShootStateDeletion) AssignReadyFunc

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

AssignReadyFunc assigns the ready function to the admission handler.

func (*ValidateShootStateDeletion) SetExternalCoreInformerFactory

func (d *ValidateShootStateDeletion) SetExternalCoreInformerFactory(f externalcoreinformers.SharedInformerFactory)

SetExternalCoreInformerFactory sets the external garden core informer factory.

func (*ValidateShootStateDeletion) SetInternalCoreClientset

func (d *ValidateShootStateDeletion) SetInternalCoreClientset(c coreclientset.Interface)

SetInternalCoreClientset sets the garden core clientset.

func (*ValidateShootStateDeletion) Validate

Validate makes admissions decisions based on deletion confirmation annotation.

func (*ValidateShootStateDeletion) ValidateInitialization

func (d *ValidateShootStateDeletion) 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