initialresources

package
v1.10.7-beta.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2018 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// PluginName indicates name of admission plugin.
	PluginName = "InitialResources"
)

Variables

This section is empty.

Functions

func Register

func Register(plugins *admission.Plugins)

Register registers a plugin WARNING: this feature is experimental and will definitely change.

Types

type InitialResources added in v1.9.0

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

func (InitialResources) Admit added in v1.9.0

func (ir InitialResources) Admit(a admission.Attributes) (err error)

Admit makes an admission decision based on the request attributes

Jump to

Keyboard shortcuts

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