Documentation
¶
Index ¶
- func AddFileToInitrd(oldInitrd string, data string, name string) error
- func CopyFileMountsToInitrd(oldInitrd string, mounts []specs.Mount) error
- func CopyFileToInitrd(w *cpio.Writer, srcFile string, destFile string) error
- func MergeFileMountsIntoInitrd(oldInitrd string, mounts []specs.Mount) (retErr error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyFileMountsToInitrd ¶
func CopyFileToInitrd ¶
func MergeFileMountsIntoInitrd ¶ added in v0.8.0
MergeFileMountsIntoInitrd adds regular-file bind mounts before the trailer of an uncompressed newc archive. The archive is fully parsed before the disposable initrd is updated in place.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.