Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/opencontainers/runc
/ Contains
Method
Contains
libcontainer/configs/namespaces_linux.go:124–126 ·
view source on GitHub ↗
(t NamespaceType)
Source
from the content-addressed store, hash-verified
122
}
123
124
func
(n *Namespaces) Contains(t NamespaceType) bool {
125
return
n.index(t) != -1
126
}
127
128
func
(n *Namespaces) PathOf(t NamespaceType) string {
129
i := n.index(t)
Callers
15
ps.go
File · 0.80
Checkpoint
Method · 0.80
Restore
Method · 0.80
logCriuErrors
Function · 0.80
criuNotifications
Method · 0.80
setupNetworkDevices
Method · 0.80
getSessionRingParams
Method · 0.80
Init
Method · 0.80
prepareRootfs
Function · 0.80
mountCgroupV1
Function · 0.80
createDevices
Function · 0.80
orderNamespacePaths
Method · 0.80
Calls
1
index
Method · 0.95
Tested by
15
check
Function · 0.64
TestProcessEnv
Function · 0.64
TestProcessEmptyCaps
Function · 0.64
TestProcessCaps
Function · 0.64
TestAdditionalGroups
Function · 0.64
testPids
Function · 0.64
testCgroupResourcesUnifiedErrorOnV1
Function · 0.64
testCgroupResourcesUnified
Function · 0.64
TestMountCgroupRO
Function · 0.64
TestMountCgroupRW
Function · 0.64
TestTmpfsCopyUp
Function · 0.64
testUpdateDevices
Function · 0.64