Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoUpdatesApplicable = errors.New("no updates applicable") ErrDmiDecodeRun = errors.New("error running dmidecode") ErrComponentListExpected = errors.New("expected a list of components to apply updates") ErrDeviceInventory = errors.New("failed to collect device inventory") ErrUnsupportedDiskVendor = errors.New("unsupported disk vendor") ErrNoUpdateHandlerForComponent = errors.New("component slug has no update handler declared") ErrNoUpdateReqHandlerForComponent = errors.New("component slug has no update requirements handler declared") ErrNoUpdateReqGetterForComponent = errors.New("component slug has no update requirements getter handler declared") ErrBinNotExecutable = errors.New("bin has no executable bit set") ErrBinLstat = errors.New("failed to run lstat on bin") ErrBinLookupPath = errors.New("failed to lookup bin path") ErrUpdateReqNotImplemented = errors.New("UpdateRequirementsGetter interface not implemented") )
Functions ¶
This section is empty.
Types ¶
type DmiDecodeValueError ¶
DmiDecodeValueError is returned when a dmidecode value could not be retrieved
func NewDmidecodeValueError ¶
func NewDmidecodeValueError(section, field string, typeID int) *DmiDecodeValueError
NewDmidevodeValueError returns a DmiDecodeValueError object
func (*DmiDecodeValueError) Error ¶
func (d *DmiDecodeValueError) Error() string
Error implements the error interface
Click to show internal directories.
Click to hide internal directories.