config

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InvalidBootModeOption

func InvalidBootModeOption(mode string) error

func InvalidSGXOption

func InvalidSGXOption(mode string) error

func UnknownConfigFormatError

func UnknownConfigFormatError(format string) error

func UnknownSettingType

func UnknownSettingType(t string) error

func UnknownVendorError

func UnknownVendorError(vendorName string) error

Types

type VendorConfigManager

type VendorConfigManager interface {
	Raw(name, value string, menuPath []string)
	Marshal() (string, error)
	Unmarshal(cfgData string) (err error)
	StandardConfig() (biosConfig map[string]string, err error)

	BootMode(mode string) error
	BootOrder(mode string) error
	IntelSGX(mode string) error
	SecureBoot(enable bool) error
	TPM(enable bool) error
	SMT(enable bool) error
	SRIOV(enable bool) error
}

func NewAsrockrackVendorConfigManager

func NewAsrockrackVendorConfigManager(configFormat string, vendorOptions map[string]string) (VendorConfigManager, error)

func NewDellVendorConfigManager

func NewDellVendorConfigManager(configFormat string, vendorOptions map[string]string) (VendorConfigManager, error)

func NewSupermicroVendorConfigManager

func NewSupermicroVendorConfigManager(configFormat string, vendorOptions map[string]string) (VendorConfigManager, error)

func NewVendorConfigManager

func NewVendorConfigManager(configFormat, vendorName string, vendorOptions map[string]string) (VendorConfigManager, error)

Jump to

Keyboard shortcuts

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