banflunder

package
v1.14.9 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2019 License: Apache-2.0, Apache-2.0 Imports: 10 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 DisallowFlunder added in v1.9.0

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

func New

func New() (*DisallowFlunder, error)

New creates a new ban flunder admission plugin

func (*DisallowFlunder) Admit added in v1.9.0

Admit ensures that the object in-flight is of kind Flunder. In addition checks that the Name is not on the banned list. The list is stored in Fischers API objects.

func (*DisallowFlunder) SetInternalWardleInformerFactory added in v1.9.0

func (d *DisallowFlunder) SetInternalWardleInformerFactory(f informers.SharedInformerFactory)

SetInternalWardleInformerFactory gets Lister from SharedInformerFactory. The lister knows how to lists Fischers.

func (*DisallowFlunder) ValidateInitialization added in v1.9.0

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