initialization

package
v1.8.5-beta.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2017 License: Apache-2.0 Imports: 19 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