exposureclass

package
Version: v1.47.1 Latest Latest
Warning

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

Go to latest
Published: May 25, 2022 License: Apache-2.0, BSD-2-Clause, MIT, MPL-2.0 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.

Source Files

Jump to

Keyboard shortcuts

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