binding

package
Version: v1.50.1 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2022 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 20 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func Register

func Register(plugins *admission.Plugins)

Register registers a plugin.

Types

type Binding

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

Binding contains listers and and admission handler.

func New

func New() (*Binding, error)

New creates a new Binding admission plugin.

func (*Binding) AssignReadyFunc

func (b *Binding) AssignReadyFunc(f admission.ReadyFunc)

AssignReadyFunc assigns the ready function to the admission handler.

func (*Binding) SetExternalCoreInformerFactory

func (b *Binding) SetExternalCoreInformerFactory(f externalcoreinformers.SharedInformerFactory)

SetExternalCoreInformerFactory sets the external garden core informer factory.

func (*Binding) SetInternalCoreInformerFactory

func (b *Binding) SetInternalCoreInformerFactory(f coreinformers.SharedInformerFactory)

SetInternalCoreInformerFactory gets Lister from SharedInformerFactory.

func (*Binding) Validate

Validate validates the Binding against the existing conditions.

func (*Binding) ValidateInitialization

func (b *Binding) 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