Documentation
¶
Index ¶
- func AddExternalNamespacesForDump(nsTypes ...configs.NamespaceType) types.Adapter[types.Dump]
- func CriuNsToKey(t configs.NamespaceType) string
- func IgnoreNamespacesForDump(nsTypes ...configs.NamespaceType) types.Adapter[types.Dump]
- func IgnoreNamespacesForRestore(nsTypes ...configs.NamespaceType) types.Adapter[types.Restore]
- func InheritExternalNamespacesForRestore(nsTypes ...configs.NamespaceType) types.Adapter[types.Restore]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CriuNsToKey ¶
func CriuNsToKey(t configs.NamespaceType) string
func IgnoreNamespacesForDump ¶
func InheritExternalNamespacesForRestore ¶
func InheritExternalNamespacesForRestore(nsTypes ...configs.NamespaceType) types.Adapter[types.Restore]
If the container is running in a network or PID namespace and has a path to the network or PID namespace configured, we will dump that network or PID namespace as an external namespace and we will expect that the namespace exists during restore. This basically means that CRIU will ignore the namespace and expect it to be setup correctly.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.