package
0.5.1
Repository: https://github.com/metal-automata/ironlib.git
Documentation: pkg.go.dev

# Functions

ApplyWatermarks applies random watermarks randomly through out the specified device/file.
No description provided by the author
No description provided by the author
IdentifyVendorModel returns the device vendor, model, serial number attributes.
InitFakeDmidecode returns a fake dmidecode instance loaded with the dmidecode output from testFile.
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
NewAsrrBioscontrol returns a new Asrr bios control utility executor.
Return a new blkdiscard executor.
Return a new Dell racadm command executor.
No description provided by the author
Return a new dnf executor.
NewDsu returns a executor to run dsu commands if trace is enabled, stdout is printed to the terminal.
No description provided by the author
NewFakeBlkdiscard returns a mock implementation of the Blkdiscard interface for use in tests.
Returns a fake dnf instance for tests.
Returns a dsu instance with a fake executor for tests.
No description provided by the author
NewFakeHdparm returns a mock hdparm collector that returns mock data for use in tests.
Fake IPMI executor for tests.
NewFakeLsblk returns a mock lsblk collector that returns mock data for use in tests.
NewFakeLshw returns a fake lshw executor for testing.
NewFakeLshwExecutor returns a fake lshw executor for tests.
No description provided by the author
Return a Fake mvcli executor for tests.
NewFakeNvme returns a mock nvme collector that returns mock data for use in tests.
NewFakeRacadm returns a fake lshw executor for testing.
NewFakeRacadmExecute returns a fake SMC sum executor for tests.
NewFakeSmartctl returns a fake smartctl object for testing.
NewFakeSmartctlExecutor returns a fake smartctl executor for tests.
NewFakeSMCIpmiCfg returns a fake lshw executor for testing.
NewFakeSMCSum returns a fake lshw executor for testing.
NewFakeSMCSumExecute returns a fake SMC sum executor for tests.
Return a Fake storecli executor for tests.
Return a new zerowipe executor.
Return a new flashrom executor.
Return a new hdparm executor.
Return a new Supermicro IPMICFG executor.
Return a new lsblk executor.
Return a new lshw executor.
Return a new mellanox mlxup command executor.
NewMsecli returns a Msecli object to run msecli commands.
Return a new mvcli executor.
Return a new nvme executor.
Return a new smartctl executor.
Return a new storecli executor.
Return a new Supermicro sum command executor.
Return a new UefiFirmwareParser executor.

# Constants

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
see test_data/dsu_return_codes.md.
EnvAsrrBiosUtility - to override the utility path.
EnvAsrrKernelModule - to overide the kernel module path.
No description provided by the author
EnvDellDSURelease is the Dell DSU release version e.g: 21.11.12 from https://linux.dell.com/repo/hardware/DSU_21.11.12/.
EnvDellDSUVersion is the Dell DSU utility package version e.g: 1.9.2.0-21.07.00 from https://linux.dell.com/repo/hardware/DSU_21.11.12/os_independent/x86_64/dell-system-update-1.9.2.0-21.07.00.x86_64.rpm.
No description provided by the author
EnvDnfUtility - to override the utility path.
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
No description provided by the author
No description provided by the author

# Variables

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
No description provided by the author
No description provided by the author

# Structs

AsrrBiosControl is a asrr-bioscontrol executor.
No description provided by the author
No description provided by the author
No description provided by the author
DellRacadm is a dell racadm executor.
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
ExecError is returned when the command exits with an error or a non zero exit status.
An execute instace.
FakeExecute implements the utils.Executor interface to enable testing.
FakeLshwExecute implements the utils.Executor interface for testing.
FakeRacadmExecute implements the utils.Executor interface for testing.
FakeSmartctlExecute implements the utils.Executor interface for testing.
FakeSMCSumExecute implements the utils.Executor interface for testing.
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
The lshw command.
lshw -json output is unmarshalled into this struct each ChildNode is a LshwNode with almost all of the same fields https://ezix.org/project/wiki/HardwareLiSter.
Mlxup is a mlxup command executor object.
MlxupDevice is a mellanox device object.
Msecli is an msecli executor.
MseclieDevice is a Micron disk device object.
Mvcli is a mvcli command executor object.
MvcliDevice is a marvell device object.
No description provided by the author
No description provided by the author
The result of a command execution.
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

# Interfaces

Executor interface lets us implement dummy executors for tests.

# Type aliases

fields of the ChildNodes in the lshw output theres some fields with non-string attributes, in these fields, which are currently ignored.
fields of the ChildNodes in the lshw output theres some fields with non-string attributes, in these fields, which are currently ignored.
lshw JSON unmarshal data structure.
go:generate stringer -type SanitizeAction.
go:generate stringer -type SecureEraseSetting.
No description provided by the author