Documentation ¶
Index ¶
- func AddFileToIgnitionConfig(tmpPath string, addFile string) error
- func CreateBootableIso(tmpPath string, destIsoPath string) error
- func FolderSize(path string) (int64, error)
- func ImgIgnitionAppend(tmpPath string, addFilePath string) error
- func ImgRepackIgnition(tmpPath string) error
- func ImgUnpackIgnition(tmpPath string) error
- func IsoUnpack(tmpPath string, isoPath string) error
- func OverwriteOldIgnitionImage(tmpPath string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddFileToIgnitionConfig ¶
Adds a binary file to the source ignition file, ad save it using a default name
func CreateBootableIso ¶
Creates a new bootable iso image using all the files found in the temporary iso folder
func FolderSize ¶
func ImgIgnitionAppend ¶
func ImgRepackIgnition ¶
Creats a new ignition.img containing an updated ignition file
func ImgUnpackIgnition ¶
imgUnpackIgnition extracts the config.ign file contained within the compressed cpio archive and saves it into the temp folder with a new name
func IsoUnpack ¶
isoUnpack extracts all files found in the iso image into the 'iso' subfolder within the temp one
func OverwriteOldIgnitionImage ¶
Overwrites the old ignition image with the new one
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.