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 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.
Types ¶
This section is empty.
Source Files
¶
- util.go
Click to show internal directories.
Click to hide internal directories.