Categorygithub.com/bmc-toolbox/common
modulepackage
0.0.0-20240723142833-87832458b53b
Repository: https://github.com/bmc-toolbox/common.git
Documentation: pkg.go.dev

# README

Package common is intended to provide a common data structure to model server hardware and its component attributes between libraries/tools.

# Packages

No description provided by the author

# Functions

No description provided by the author
Return a normalized product name given a product name nolint:gocyclo // This list is expected to be long.
FormatVendorName compares the given strings to identify and returned a known vendor name.
NewDevice returns a pointer to an initialized Device type.
NewFirmwareObj returns a *Firmware object.
Return the product vendor name, given a product name/model string.

# Constants

Generic component slugs Slugs are set on Device types to identify the type of component note: Enlist any new component types in the method further below.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RAID implementations.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Smart status.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

BIOS component.
BMC component.
Capability is a struct to describe a device/component capability and its status.
Common holds attributes shared by all components.
CPLD component.
CPU component.
Device type is composed of various components.
Drive component.
DriveSmartAttributes holds SMART attributes for a drive.
Enclosure component.
Firmware struct holds firmware attributes of a device component.
GPU component.
Mainboard component.
Memory component.
NIC component.
NICPort component.
PSU component.
Status is the health status of a component.
StorageController component.
TPM component.
VirtualDisk models RAID arrays.