package
2.0.0+incompatible
Repository: https://github.com/mem/u-root.git
Documentation: pkg.go.dev

# Functions

FindConfigs searching the path for valid boot configuration files and returns a Config for each valid instance found.
FindDevice attempts to construct a boot device at the given path.
FindDevices searches for devices with bootable configs.
NewModule constructs a module for a boot entry.
ParseConfig attempts to construct a valid boot Config from the location and lines contents passed in.

# Constants

EntryType can be either Elf or Multiboot.
EntryType can be either Elf or Multiboot.

# Structs

Config contains boot entries for a single configuration file (grub, syslinux, etc.).
Device contains the path to a block filesystem along with its type.
Entry
Entry contains the necessary info to kexec into a new kernel.
Module represents a path to a binary along with arguments for its xecution.

# Type aliases

EntryType dictates the method by which kexec should use to load the new kernel.