# Functions
AssignSecurityContext creates a security context for each container in the pod and validates that the sc falls within the scc constraints.
ConstraintAppliesTo inspects the constraint's users and groups against the userInfo to determine if it is usable by the userInfo.
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.
NewDefaultSCCMatcher builds and initializes a DefaultSCCMatcher.
# Structs
DefaultSCCMatcher implements default implementation for SCCMatcher interface.
# Interfaces
SCCMatcher defines interface for SecurityContextConstraint matcher.
# 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.