kubernetes: k8s.io/kubernetes/pkg/kubelet/sysctl Index | Files

package sysctl

import "k8s.io/kubernetes/pkg/kubelet/sysctl"


Package Files

namespace.go whitelist.go


const (
    AnnotationInvalidReason = "InvalidSysctlAnnotation"
    ForbiddenReason         = "SysctlForbidden"

func NewWhitelist Uses

func NewWhitelist(patterns []string) (*patternWhitelist, error)

NewWhitelist creates a new Whitelist from a list of sysctls and sysctl pattern (ending in *).

type Namespace Uses

type Namespace string

Namespace represents a kernel namespace name.

func NamespacedBy Uses

func NamespacedBy(val string) Namespace

NamespacedBy returns the namespace of the Linux kernel for a sysctl, or unknownNamespace if the sysctl is not known to be namespaced.

Package sysctl imports 5 packages (graph) and is imported by 275 packages. Updated 2020-06-24. Refresh now. Tools for package owners.