package
3.11.21-1+incompatible
Repository: https://github.com/bparees/origin.git
Documentation: pkg.go.dev
# Functions
AssignSecurityContext creates a security context for each container in the pod and validates that the sc falls within the scc constraints.
CreateProviderFromConstraint creates a SecurityContextConstraintProvider from a SecurityContextConstraint.
CreateProvidersFromConstraints creates providers from the constraints supplied, including looking up pre-allocated values if necessary using the pod's namespace.
DeduplicateSecurityContextConstraints ensures we have a unique slice of constraints.
No description provided by the author
NewSimpleProvider creates a new SecurityContextConstraintsProvider instance.
# Interfaces
No description provided by the author
SecurityContextConstraintsProvider provides the implementation to generate a new security context based on constraints or validate an existing security context against constraints.
# Type aliases
ByRestrictions is a helper to sort SCCs based on priority.
ByRestrictions is a helper to sort SCCs in order of most restrictive to least restrictive.