package sysctl
import "k8s.io/kubernetes/pkg/kubelet/sysctl"
Index ¶
Constants ¶
const ( AnnotationInvalidReason = "InvalidSysctlAnnotation" ForbiddenReason = "SysctlForbidden" )
Functions ¶
func NewWhitelist ¶
NewWhitelist creates a new Whitelist from a list of sysctls and sysctl pattern (ending in *).
Types ¶
type Namespace ¶
type Namespace string
Namespace represents a kernel namespace name.
func NamespacedBy ¶
NamespacedBy returns the namespace of the Linux kernel for a sysctl, or unknownNamespace if the sysctl is not known to be namespaced.
Source Files ¶
namespace.go whitelist.go
- Version
- v1.19.7
- Published
- Jan 13, 2021
- Platform
- js/wasm
- Imports
- 5 packages
- Last checked
- 48 seconds ago –
Tools for package owners.