Documentation ¶
Index ¶
- Variables
- type Command
- func (c *Command) Apropos() lang.Alt
- func (c *Command) AskKernel(parm *parms.Parms, flag *flags.Flags) (err error)
- func (c *Command) GetRoot() string
- func (c *Command) Goes(g *goes.Goes)
- func (c *Command) KexecCommand() []string
- func (c *Command) Main(args ...string) (err error)
- func (c *Command) Read(p []byte) (n int, err error)
- func (c *Command) RunMenu(m *menu.Menu, parm *parms.Parms, flag *flags.Flags) (err error)
- func (c *Command) ServeMenus(n string)
- func (c *Command) String() string
- func (c *Command) Usage() string
- func (c *Command) Write(p []byte) (n int, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var Cli = &cli.Command{}
View Source
var ErrNoDefinedKernelOrMenus = errors.New("No defined kernel or menus")
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": nop.Command{C: "background_color"}, "background_image": nop.Command{C: "background_image"}, "clear": nop.Command{C: "clear"}, "cli": Cli, "echo": echo.Command{}, "else": &elsecmd.Command{}, "export": nop.Command{C: "export"}, "false": falsecmd.Command{}, "fi": &ficmd.Command{}, "function": &function.Command{}, "gfxmode": nop.Command{C: "gfxmode"}, "if": &ifcmd.Command{}, "initrd": Initrd, "insmod": nop.Command{C: "insmod"}, "linux": Linux, "loadfont": nop.Command{C: "loadfont"}, "menuentry": menuEntry, "play": nop.Command{C: "play"}, "recordfail": nop.Command{C: "recordfail"}, "search": &search.Command{}, "set": &set.Command{}, "submenu": subMenu, "[": testcmd.Command{}, "terminal_output": nop.Command{C: "terminal_output"}, "then": &thencmd.Command{}, "true": truecmd.Command{}, }, }
View Source
var Initrd = &initrd.Command{}
View Source
var Linux = &linux.Command{}
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct {
// contains filtered or unexported fields
}
func (*Command) KexecCommand ¶
func (*Command) ServeMenus ¶
Click to show internal directories.
Click to hide internal directories.