Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceInfo ¶
type DiskInfo ¶
type DiskInfo struct { Error string Path string DeviceModel string SerialNumber string LUWWNDeviceId string AddProductId string FirmwareVersion string UserCapacity string SectorSizes string RotationRate string FormFactor string Deviceis string ATAVersionis string SATAVersionis string LocalTimeis string SMARTsupportis string }
type ExecConfig ¶
func NewExecConfig ¶
func NewExecConfig(configPath string) (*ExecConfig, error)
func (*ExecConfig) ReadConfig ¶
func (execConfig *ExecConfig) ReadConfig(configFilePath string) error
func (*ExecConfig) Run ¶
func (execConfig *ExecConfig) Run() ([]DeviceInfo, error)
func (*ExecConfig) RunOneJob ¶
func (execConfig *ExecConfig) RunOneJob(h HostInfo) ([]DeviceInfo, error)
Click to show internal directories.
Click to hide internal directories.