Versions in this module Expand all Collapse all v3 v3.11.0 Oct 9, 2018 Changes in this version + func AssignSecurityContext(provider SecurityContextConstraintsProvider, pod *kapi.Pod, ...) field.ErrorList + func DeduplicateSecurityContextConstraints(sccs []*securityapi.SecurityContextConstraints) []*securityapi.SecurityContextConstraints + type ByPriority []*securityapi.SecurityContextConstraints + func (s ByPriority) Len() int + func (s ByPriority) Less(i, j int) bool + func (s ByPriority) Swap(i, j int) + type ByRestrictions []*securityapi.SecurityContextConstraints + func (s ByRestrictions) Len() int + func (s ByRestrictions) Less(i, j int) bool + func (s ByRestrictions) Swap(i, j int) + type SCCMatcher interface + FindApplicableSCCs func(user user.Info, namespace string) ([]*securityapi.SecurityContextConstraints, error) + func NewDefaultSCCMatcher(c securitylisters.SecurityContextConstraintsLister, ...) SCCMatcher + type SecurityContextConstraintsProvider interface + CreateContainerSecurityContext func(pod *api.Pod, container *api.Container) (*api.SecurityContext, error) + CreatePodSecurityContext func(pod *api.Pod) (*api.PodSecurityContext, map[string]string, error) + GetSCCName func() string + ValidateContainerSecurityContext func(pod *api.Pod, container *api.Container, fldPath *field.Path) field.ErrorList + ValidatePodSecurityContext func(pod *api.Pod, fldPath *field.Path) field.ErrorList + func CreateProviderFromConstraint(ns string, namespace *kapi.Namespace, ...) (SecurityContextConstraintsProvider, *kapi.Namespace, error) + func CreateProvidersFromConstraints(ns string, sccs []*securityapi.SecurityContextConstraints, ...) ([]SecurityContextConstraintsProvider, []error) + func NewSimpleProvider(scc *securityapi.SecurityContextConstraints) (SecurityContextConstraintsProvider, error) Other modules containing this package gopkg.in/openshift/origin.v4