package
1.4.0-alpha.0
Repository: https://github.com/reason2010/kubernetes.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
HasCapabilitiesRequest returns true if Adds or Drops are defined in the security context capabilities, taking into account nils.
HasPrivilegedRequest returns the value of SecurityContext.Privileged, taking into account the possibility of nils.
HasRootRunAsUser returns true if the run as user is set and it is set to 0.
HasNonRootUID returns true if the runAsUser is set and is greater than 0.
HasRunAsUser determines if the sc's runAsUser field is set.
MakeCapabilities creates string slices from Capability slices.
NewFakeSecurityContextProvider creates a new, no-op security context provider.
NewSimpleSecurityContextProvider creates a new SimpleSecurityContextProvider.
ParseSELinuxOptions parses a string containing a full SELinux context (user, role, type, and level) into an SELinuxOptions object.
ValidSecurityContextWithContainerDefaults creates a valid security context provider based on empty container defaults.

# Structs

No description provided by the author
SimpleSecurityContextProvider is the default implementation of a SecurityContextProvider.

# Interfaces

No description provided by the author