Documentation
¶
Overview ¶
Package cosboot exports utilities for interacting with the COS boot process.
Index ¶
- Constants
- func EFIArch(img []byte) (string, error)
- func EditGRUBConfig(disk, sedCmd string) error
- func EditUKICmdLine(disk, vmlinux, sedCmd string) error
- func IsBootA(disk string) (bool, error)
- func NextGRUBCmdLine(disk string) (string, error)
- func NextUKICmdLine(disk, vmlinux string) (string, error)
- func ReadEFIFile(disk, path string) ([]byte, error)
- func WriteEFIFile(disk, path string, data []byte, perm os.FileMode) error
- type BootPath
Constants ¶
View Source
const ( UnknownBoot = BootPath("UnknownBoot") GRUBBoot = BootPath("GRUBBoot") UKI = BootPath("UKI") )
Variables ¶
This section is empty.
Functions ¶
func EditGRUBConfig ¶
func EditUKICmdLine ¶
func NextGRUBCmdLine ¶
func NextUKICmdLine ¶
func ReadEFIFile ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.