Documentation
¶
Index ¶
Constants ¶
View Source
const RUNTIME_PATTERN = "io.containerd.(.*).v[0-9]+"
Variables ¶
This section is empty.
Functions ¶
func NamespaceFromRoot ¶
Extract the namespace from the root path E.g. /run/containerd/runc/default -> default
func PluginForRuntime ¶
E.g. io.containerd.runc.v2 -> runc
func RootFromPlugin ¶
Get the root runtime directory for the plugin in namespace (e.g. runc) E.g. /run/containerd/runc/default
func RootFromRuntime ¶ added in v0.9.278
Get the root runtime directory for the runtime in namespace (e.g. io.containerd.runc.v2) E.g. /run/containerd/runc/default
func Runtime ¶ added in v0.9.278
func Runtime(container *containerd.Containerd) string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.