grub

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2019 License: GPL-2.0, GPL-2.0-or-later Imports: 44 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Goes = &goes.Goes{
	NAME: "grub",
	APROPOS: lang.Alt{
		lang.EnUS: "execute a grub configuration file",
	},
	ByName: map[string]cmd.Cmd{
		"background_color": background_color.Command{},
		"clear":            clear.Command{},
		"cli":              &cli.Command{},
		"echo":             echo.Command{},
		"else":             &elsecmd.Command{},
		"export":           export.Command{},
		"false":            falsecmd.Command{},
		"fi":               &ficmd.Command{},
		"function":         &function.Command{},
		"gfxmode":          gfxmode.Command{},
		"if":               &ifcmd.Command{},
		"initrd":           Initrd,
		"insmod":           insmod.Command{},
		"kexec":            kexec.Command{},
		"linux":            Linux,
		"loadfont":         loadfont.Command{},
		"menuentry":        Menuentry,
		"recordfail":       recordfail.Command{},
		"search":           &search.Command{},
		"set":              &set.Command{},
		"submenu":          submenu.Command{M: Menuentry},
		"[":                testcmd.Command{},
		"terminal_output":  terminal_output.Command{},
		"then":             &thencmd.Command{},
		"true":             truecmd.Command{},
	},
}
View Source
var Initrd = &initrd.Command{}
View Source
var Linux = &linux.Command{}
View Source
var Menuentry = &menuentry.Command{}

Functions

This section is empty.

Types

type Command

type Command struct{}

func (*Command) Apropos

func (c *Command) Apropos() lang.Alt

func (*Command) AskKernel

func (c *Command) AskKernel(parm *parms.Parms, flag *flags.Flags) (err error)

func (*Command) GetRoot

func (c *Command) GetRoot() string

func (*Command) KexecCommand

func (c *Command) KexecCommand() []string

func (*Command) Main

func (c *Command) Main(args ...string) error

func (*Command) RunMenu

func (c *Command) RunMenu(m []menuentry.Entry, parm *parms.Parms, flag *flags.Flags) (err error)

func (*Command) ServeMenus

func (c *Command) ServeMenus()

func (*Command) String

func (c *Command) String() string

func (*Command) Usage

func (c *Command) Usage() string

Jump to

Keyboard shortcuts

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