package
0.0.0
Repository: https://github.com/kubernetes-incubator/ocid.git
Documentation: pkg.go.dev

# Functions

CreateFakeRootfs creates a fake rootfs for test.
CreateInfraRootfs creates a rootfs similar to CreateFakeRootfs, but only copies a single binary from the host into the rootfs.
ExecCmd executes a command with args and returns its output as a string along with an error, if any.
ExecCmdWithStdStreams execute a command with the specified standard streams.
Prctl is a way to make the prctl linux syscall.
StatusToExitCode converts wait status code to an exit code.