admission

package
v1.32.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: Apache-2.0 Imports: 3 Imported by: 470

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v1.13.0

type Config struct {
	CloudConfigFile string
}

Config holds the configuration needed to for initialize the admission plugins

func (*Config) New added in v1.13.0

func (c *Config) New() ([]admission.PluginInitializer, error)

New sets up the plugins and admission start hooks needed for admission

type PluginInitializer added in v1.7.0

type PluginInitializer struct {
	// contains filtered or unexported fields
}

PluginInitializer is used for initialization of the Kubernetes specific admission plugins.

func NewPluginInitializer

func NewPluginInitializer(cloudConfig []byte) *PluginInitializer

NewPluginInitializer constructs new instance of PluginInitializer

func (*PluginInitializer) Initialize added in v1.7.0

func (i *PluginInitializer) Initialize(plugin admission.Interface)

Initialize checks the initialization interfaces implemented by each plugin and provide the appropriate initialization data

type WantsCloudConfig

type WantsCloudConfig interface {
	SetCloudConfig([]byte)
}

WantsCloudConfig defines a function which sets CloudConfig for admission plugins that need it.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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