exposureclass

package
v1.93.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(plugins *admission.Plugins)

Register registers a plugin.

Types

type ExposureClass

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

ExposureClass contains listers and admission handler.

func New

func New() (*ExposureClass, error)

New creates a new ExposureClass admission plugin.

func (*ExposureClass) Admit

Admit unite the seed selector and/or tolerations of a Shoot resource with the ones from the referenced ExposureClass.

func (*ExposureClass) AssignReadyFunc

func (e *ExposureClass) AssignReadyFunc(f admission.ReadyFunc)

AssignReadyFunc assigns the ready function to the admission handler.

func (*ExposureClass) SetCoreInformerFactory added in v1.90.0

func (e *ExposureClass) SetCoreInformerFactory(f gardencoreinformers.SharedInformerFactory)

SetCoreInformerFactory sets the external garden core informer factory.

func (*ExposureClass) ValidateInitialization

func (e *ExposureClass) 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