{"modulePath":"github.com/2lambda123/openshift-origin","version":"v4.1.0+incompatible","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package util\n\n## Functions\n\n```go\nfunc EqualStringSlices(a, b []string) bool\n```\nEqualStringSlices compares string slices for equality. Slices are equal when their sizes and elements on similar positions are equal.\n\n```go\nfunc FSTypeToStringSet(fsTypes []securityv1.FSType) sets.String\n```\nfsTypeToStringSet converts an FSType slice to a string set.\n\n```go\nfunc FSTypeToStringSetInternal(fsTypes []securityapi.FSType) sets.String\n```\nfsTypeToStringSet converts an FSType slice to a string set.\n\n```go\nfunc GetAllFSTypesAsSet() sets.String\n```\n\n```go\nfunc GetAllFSTypesExcept(exceptions ...string) sets.String\n```\n\n```go\nfunc GetVolumeFSType(v api.Volume) (securityapi.FSType, error)\n```\ngetVolumeFSType gets the FSType for a volume.\n\n```go\nfunc SCCAllowsAllVolumes(scc *securityapi.SecurityContextConstraints) bool\n```\nSCCAllowsAllVolumes checks for FSTypeAll in the scc's allowed volumes.\n\n```go\nfunc SCCAllowsFSType(scc *securityv1.SecurityContextConstraints, fsType securityv1.FSType) bool\n```\nSCCAllowsFSType 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.\n\n```go\nfunc SCCAllowsFSTypeInternal(scc *securityapi.SecurityContextConstraints, fsType securityapi.FSType) bool\n```\nSCCAllowsFSTypeInternal 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.\n\n","path":"github.com/2lambda123/openshift-origin/pkg/security/securitycontextconstraints/util","name":"util","synopsis":"","isRedistributable":true}
