Documentation ¶
Index ¶
- Constants
- func Register(plugins *admission.Plugins)
- type Plugin
- func (c *Plugin) InspectFeatureGates(featureGates featuregate.FeatureGate)
- func (p *Plugin) SetExternalKubeClientSet(client kubernetes.Interface)
- func (p *Plugin) SetExternalKubeInformerFactory(f informers.SharedInformerFactory)
- func (p *Plugin) Validate(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) error
- func (p *Plugin) ValidateInitialization() error
Constants ¶
View Source
const PluginName = "PodSecurity"
PluginName is a string with the name of the plugin
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Plugin ¶
Plugin holds state for and implements the admission plugin.
func (*Plugin) InspectFeatureGates ¶
func (c *Plugin) InspectFeatureGates(featureGates featuregate.FeatureGate)
func (*Plugin) SetExternalKubeClientSet ¶
func (p *Plugin) SetExternalKubeClientSet(client kubernetes.Interface)
SetExternalKubeClientSet sets the plugin's client
func (*Plugin) SetExternalKubeInformerFactory ¶
func (p *Plugin) SetExternalKubeInformerFactory(f informers.SharedInformerFactory)
SetExternalKubeInformerFactory registers an informer
func (*Plugin) Validate ¶
func (p *Plugin) Validate(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) error
func (*Plugin) ValidateInitialization ¶
ValidateInitialization ensures all required options are set
Click to show internal directories.
Click to hide internal directories.