gasoline

package
v0.0.0-...-0b97540 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddFileToIgnitionConfig

func AddFileToIgnitionConfig(tmpPath string, addFile string) error

Adds a binary file to the source ignition file, ad save it using a default name

func CreateBootableIso

func CreateBootableIso(tmpPath string, destIsoPath string) error

Creates a new bootable iso image using all the files found in the temporary iso folder

func FolderSize

func FolderSize(path string) (int64, error)

func ImgIgnitionAppend

func ImgIgnitionAppend(tmpPath string, addFilePath string) error

func ImgRepackIgnition

func ImgRepackIgnition(tmpPath string) error

Creats a new ignition.img containing an updated ignition file

func ImgUnpackIgnition

func ImgUnpackIgnition(tmpPath string) error

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

func IsoUnpack(tmpPath string, isoPath string) error

isoUnpack extracts all files found in the iso image into the 'iso' subfolder within the temp one

func OverwriteOldIgnitionImage

func OverwriteOldIgnitionImage(tmpPath string) error

Overwrites the old ignition image with the new one

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL