 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
      View Source
      
  
    const ( // the Linux IPC namespace IpcNamespace = Namespace("ipc") // the network namespace NetNamespace = Namespace("net") // the zero value if no namespace is known UnknownNamespace = Namespace("") )
      View Source
      
  
    const ( AnnotationInvalidReason = "InvalidSysctlAnnotation" ForbiddenReason = "SysctlForbidden" )
      View Source
      
  
const (
	UnsupportedReason = "SysctlUnsupported"
)
    Variables ¶
This section is empty.
Functions ¶
func NewRuntimeAdmitHandler ¶
NewRuntimeAdmitHandler returns a sysctlRuntimeAdmitHandler which checks whether the given runtime support sysctls.
func NewWhitelist ¶
NewWhitelist creates a new Whitelist from a list of sysctls and sysctl pattern (ending in *).
func SafeSysctlWhitelist ¶
func SafeSysctlWhitelist() []string
SafeSysctlWhitelist returns the whitelist of safe sysctls and safe sysctl patterns (ending in *).
A sysctl is called safe iff - it is namespaced in the container or the pod - it is isolated, i.e. has no influence on any other pod on the same node.
Types ¶
 Click to show internal directories. 
   Click to hide internal directories.