package
0.62.0
Repository: https://github.com/containers/common.git
Documentation: pkg.go.dev

# Functions

CRApplyRootFsDiffTar applies the tar archive found in baseDirectory with the root file system changes on top of containerRootDirectory.
CRCreateFileWithLabel creates an empty file and sets the corresponding ('fileLabel') SELinux label on the file.
CRCreateRootFsDiffTar goes through the 'changes' and can create two files: * metadata.RootFsDiffTar will contain all new and changed files * metadata.DeletedFilesFile will contain a list of deleted files With these two files it is possible to restore the container file system to the same state it was during checkpointing.
CRGetRuntimeFromArchive extracts the checkpoint metadata from the given checkpoint archive and returns the runtime used to create the given checkpoint archive.
CRImportCheckpointConfigOnly only imports the checkpoint configuration from the checkpoint archive (input) into the directory destination.
CRImportCheckpointWithoutConfig imports the checkpoint archive (input) into the directory destination without "config.dump" and "spec.dump".
CRRemoveDeletedFiles loads the list of deleted files and if it exists deletes all files listed.
CRRuntimeSupportsCheckpointRestore tests if the given runtime at 'runtimePath' supports checkpointing.
CRRuntimeSupportsCheckpointRestore tests if the runtime at 'runtimePath' supports restoring into existing Pods.