Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
Config contains boot entries for a single configuration file (grub, syslinux, etc.)
func FindConfigs ¶
FindConfigs searching the path for valid boot configuration files and returns a Config for each valid instance found.
func ParseConfig ¶
ParseConfig attempts to construct a valid boot Config from the location and lines contents passed in.
type Device ¶
Device contains the path to a block filesystem along with its type
func FindDevice ¶
FindDevice attempts to construct a boot device at the given path
func FindDevices ¶
FindDevices searches for devices with bootable configs
type EntryType ¶
type EntryType int
EntryType dictates the method by which kexec should use to load the new kernel
Click to show internal directories.
Click to hide internal directories.