initialization

package
v0.0.0-...-0c42e4c Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2017 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Name of admission plug-in
	PluginName = "Initializers"
)

Variables

This section is empty.

Functions

func NewInitializer

func NewInitializer() admission.Interface

NewInitializer creates a new initializer plugin which assigns newly created resources initializers based on configuration loaded from the admission API group. FUTURE: this may be moved to the storage layer of the apiserver, but for now this is an alpha feature

that can be disabled.

func Register

func Register(plugins *admission.Plugins)

Register registers a plugin

Types

type InitializationConfig

type InitializationConfig interface {
	Run(stopCh <-chan struct{})
	Initializers() (*v1alpha1.InitializerConfiguration, error)
}

Jump to

Keyboard shortcuts

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