initialization

package
v1.7.14-beta.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

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