package
1.4.0-alpha.2
Repository: https://github.com/stackpointcloud/kubernetes.git
Documentation: pkg.go.dev

# Functions

GetPlugins enumerates the names of all registered plugins.
InitPlugin creates an instance of the named interface.
No description provided by the author
NewChainHandler creates a new chain handler from an array of handlers.
NewForbidden is a utility function to return a well-formatted admission control error response.
NewFromPlugins returns an admission.Interface that will enforce admission control decisions of all the given plugins.
NewHandler creates a new base handler that handles the passed in operations.
NewNotFound is a utility function to return a well-formatted admission control error response.
NewPluginInitializer constructs new instance of PluginInitializer.
RegisterPlugin registers a plugin Factory by name.
Validate will call the Validate function in each plugin if they implement the Validator interface.

# Constants

Operation constants.
Operation constants.
Operation constants.
Operation constants.

# Variables

PluginEnabledFn checks whether a plugin is enabled.

# Structs

Handler is a base for admission control handlers that support a predefined set of operations.

# Interfaces

Attributes is an interface used by AdmissionController to get information about a request that is used to make an admission decision.
Interface is an abstract, pluggable interface for Admission Control decisions.
PluginInitializer is used for initialization of shareable resources between admission plugins.
Validator holds Validate functions, which are responsible for validation of initialized shared resources and should be implemented on admission plugins.
WantsNamespaceInformer defines a function which sets NamespaceInformer for admission plugins that need it.

# Type aliases

Factory is a function that returns an Interface for admission decisions.
Operation is the type of resource operation being checked for admission control.
PluginEnabledFunc is a function type that can provide an external check on whether an admission plugin may be enabled.