sccadmission

package
v0.0.0-...-d679cd3 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2019 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const PluginName = "security.openshift.io/SecurityContextConstraint"

Variables

This section is empty.

Functions

func NewConstraint

func NewConstraint() *constraint

NewConstraint creates a new SCC constraint admission plugin.

func NewSCCExecRestrictions

func NewSCCExecRestrictions() *sccExecRestrictions

NewSCCExecRestrictions creates a new admission controller that denies an exec operation on a privileged pod

func Register

func Register(plugins *admission.Plugins)

func RegisterSCCExecRestrictions

func RegisterSCCExecRestrictions(plugins *admission.Plugins)

Types

type WantsSecurityInformer

type WantsSecurityInformer interface {
	SetSecurityInformers(securityv1informer.SecurityContextConstraintsInformer)
	admission.InitializationValidator
}

Jump to

Keyboard shortcuts

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