Documentation ¶
Index ¶
- func FSTypeToStringSet(fsTypes []api.FSType) sets.String
- func GetAllFSTypesAsSet() sets.String
- func GetAllFSTypesExcept(exceptions ...string) sets.String
- func GetVolumeFSType(v api.Volume) (api.FSType, error)
- func SCCAllowsAllVolumes(scc *api.SecurityContextConstraints) bool
- func SCCAllowsFSType(scc *api.SecurityContextConstraints, fsType api.FSType) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FSTypeToStringSet ¶
fsTypeToStringSet converts an FSType slice to a string set.
func GetAllFSTypesAsSet ¶
func GetAllFSTypesExcept ¶
func GetVolumeFSType ¶
getVolumeFSType gets the FSType for a volume.
func SCCAllowsAllVolumes ¶
func SCCAllowsAllVolumes(scc *api.SecurityContextConstraints) bool
SCCAllowsAllVolumes checks for FSTypeAll in the scc's allowed volumes.
func SCCAllowsFSType ¶
func SCCAllowsFSType(scc *api.SecurityContextConstraints, fsType api.FSType) bool
SCCAllowsFSType is a utility for checking if an SCC allows a particular FSType. If all volumes are allowed then this will return true for any FSType passed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.