package podsecurity
import "k8s.io/kubernetes/plugin/pkg/admission/security/podsecurity"
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 ¶
const PluginName = "PodSecurity"
PluginName is a string with the name of the plugin
Functions ¶
func Register ¶
Register registers a plugin
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
Source Files ¶
admission.go
- Version
- v1.33.0 (latest)
- Published
- Apr 23, 2025
- Platform
- linux/amd64
- Imports
- 34 packages
- Last checked
- 3 hours ago –
Tools for package owners.