kubernetes/plugin/pkg/admission/security/podsecurity/admission.go

const PluginName

// Register registers a plugin
func Register(plugins *admission.Plugins) {}

type Plugin

var _

var _

var _

var defaultRecorder

var defaultRecorderInit

func getDefaultRecorder() metrics.Recorder {}

// newPlugin creates a new admission plugin.
func newPlugin(reader io.Reader) (*Plugin, error) {}

// SetExternalKubeInformerFactory registers an informer
func (p *Plugin) SetExternalKubeInformerFactory(f informers.SharedInformerFactory) {}

// SetExternalKubeClientSet sets the plugin's client
func (p *Plugin) SetExternalKubeClientSet(client kubernetes.Interface) {}

func (p *Plugin) updateDelegate() {}

func (c *Plugin) InspectFeatureGates(featureGates featuregate.FeatureGate) {}

// ValidateInitialization ensures all required options are set
func (p *Plugin) ValidateInitialization() error {}

var applicableResources

func (p *Plugin) Validate(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) error {}

type lazyConvertingAttributes

func (l *lazyConvertingAttributes) GetObject() (runtime.Object, error) {}

func (l *lazyConvertingAttributes) GetOldObject() (runtime.Object, error) {}

func (l *lazyConvertingAttributes) GetOperation() admissionv1.Operation {}

func (l *lazyConvertingAttributes) GetUserName() string {}

func convert(in runtime.Object) (runtime.Object, error) {}