sum

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: May 26, 2020 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BiosCfg

type BiosCfg struct {
	XMLName xml.Name `xml:"BiosCfg"`
	Menus   []Menu   `xml:"Menu"`
}
type Menu struct {
	XMLName  xml.Name `xml:"Menu"`
	Name     string   `xml:"name,attr"`
	Settings []struct {
		XMLName        xml.Name `xml:"Setting"`
		Name           string   `xml:"name,attr"`
		Order          string   `xml:"order,attr,omitempty"`
		SelectedOption string   `xml:"selectedOption,attr"`
	} `xml:"Setting"`
	Menus []Menu `xml:"Menu"`
}

type Sum

type Sum interface {
	ConfigureBIOS() (bool, error)
	EnsureBootOrder(bootloaderID string) error
}

Sum defines methods to interact with Supermicro Update Manager (SUM)

func New

func New() (Sum, error)

Jump to

Keyboard shortcuts

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