exposureclass

package
v1.56.1 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2022 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 = "ShootExposureClass"
)

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) SetExternalCoreInformerFactory

func (e *ExposureClass) SetExternalCoreInformerFactory(f externalcoreinformers.SharedInformerFactory)

SetExternalCoreInformerFactory 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