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]
- func JoinOtherExternalNamespacesForRestore(next types.Restore) types.Restore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddExternalNamespacesForDump ¶
If the container is running in a network namespace and has a path to the network namespace configured, we will dump that network 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 to be setup correctly.
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.