kubernetes/vendor/github.com/opencontainers/runc/libcontainer/configs/namespaces_linux.go

const NEWNET

const NEWPID

const NEWNS

const NEWUTS

const NEWIPC

const NEWUSER

const NEWCGROUP

const NEWTIME

var nsLock

var supportedNamespaces

// NsName converts the namespace type to its filename
func NsName(ns NamespaceType) string {}

// IsNamespaceSupported returns whether a namespace is available or
// not
func IsNamespaceSupported(ns NamespaceType) bool {}

func NamespaceTypes() []NamespaceType {}

type Namespace

func (n *Namespace) GetPath(pid int) string {}

func (n *Namespaces) Remove(t NamespaceType) bool {}

func (n *Namespaces) Add(t NamespaceType, path string) {}

func (n *Namespaces) index(t NamespaceType) int {}

func (n *Namespaces) Contains(t NamespaceType) bool {}

func (n *Namespaces) PathOf(t NamespaceType) string {}