Documentation
¶
Index ¶
Constants ¶
View Source
const LSBLKBinaryPath = "/usr/bin/lsblk"
View Source
const MDADMBinaryPath = "/usr/sbin/mdadm"
View Source
const SSACLIPath = "ssacli"
View Source
const SmartCTLBinaryPath = "/usr/sbin/smartctl"
View Source
const (
UDevADMBinaryPath = "/usr/bin/udevadm"
)
Variables ¶
View Source
var ( //nolint:gochecknoglobals // Needed for mocking in tests LSBLKExecCommand = exec.Command )
View Source
var ( //nolint:gochecknoglobals // Needed for mocking in tests MDADMExecCommand = exec.Command )
View Source
var ( //nolint:gochecknoglobals // Needed for mocking in tests SSACLIExecCommand = exec.Command )
View Source
var ( //nolint:gochecknoglobals // Needed for mocking in tests SmartCTLExecCommand = exec.Command )
View Source
var ( //nolint:gochecknoglobals // Needed for mocking in tests UDevADMExecCommand = exec.Command )
Functions ¶
This section is empty.
Types ¶
type CommandRunner ¶
type SmartCTL ¶
type SmartCTL struct {
// contains filtered or unexported fields
}
func NewSmartCTL ¶
Click to show internal directories.
Click to hide internal directories.