seachest

package
v0.4.2-RC1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SeachestErrors

func SeachestErrors(err int) string

Seachest errors are converted to string using this function

Types

type Identifier

type Identifier struct {
	DevPath string
}

Identifier (devPath such as /dev/sda,etc) is an identifier for seachest probe

func (*Identifier) DriveType

func (I *Identifier) DriveType(driveInfo *C.driveInformationSAS_SATA) string

func (*Identifier) GetCapacity

func (I *Identifier) GetCapacity(driveInfo *C.driveInformationSAS_SATA) uint64

func (*Identifier) GetCurrentTemperature

func (I *Identifier) GetCurrentTemperature(driveInfo *C.driveInformationSAS_SATA) int16

func (*Identifier) GetDeviceUtilizationRate

func (I *Identifier) GetDeviceUtilizationRate(driveInfo *C.driveInformationSAS_SATA) float64

func (*Identifier) GetFirmwareRevision

func (I *Identifier) GetFirmwareRevision(driveInfo *C.driveInformationSAS_SATA) string

func (*Identifier) GetHighestTemperature

func (I *Identifier) GetHighestTemperature(driveInfo *C.driveInformationSAS_SATA) int16

func (*Identifier) GetHighestValid

func (I *Identifier) GetHighestValid(driveInfo *C.driveInformationSAS_SATA) bool

func (*Identifier) GetHostName

func (I *Identifier) GetHostName(driveInfo *C.driveInformationSAS_SATA) string

func (*Identifier) GetLogicalSectorSize

func (I *Identifier) GetLogicalSectorSize(driveInfo *C.driveInformationSAS_SATA) uint32

func (*Identifier) GetLowestTemperature

func (I *Identifier) GetLowestTemperature(driveInfo *C.driveInformationSAS_SATA) int16

func (*Identifier) GetLowestValid

func (I *Identifier) GetLowestValid(driveInfo *C.driveInformationSAS_SATA) bool

func (*Identifier) GetModelNumber

func (I *Identifier) GetModelNumber(driveInfo *C.driveInformationSAS_SATA) string

func (*Identifier) GetPath

func (I *Identifier) GetPath(driveInfo *C.driveInformationSAS_SATA) string

func (*Identifier) GetPercentEnduranceUsed

func (I *Identifier) GetPercentEnduranceUsed(driveInfo *C.driveInformationSAS_SATA) float64

func (*Identifier) GetPhysicalSectorSize

func (I *Identifier) GetPhysicalSectorSize(driveInfo *C.driveInformationSAS_SATA) uint32

func (*Identifier) GetRotationRate

func (I *Identifier) GetRotationRate(driveInfo *C.driveInformationSAS_SATA) uint16

func (*Identifier) GetSerialNumber

func (I *Identifier) GetSerialNumber(driveInfo *C.driveInformationSAS_SATA) string

func (*Identifier) GetTemperatureDataValidStatus

func (I *Identifier) GetTemperatureDataValidStatus(driveInfo *C.driveInformationSAS_SATA) bool

func (*Identifier) GetTotalBytesRead

func (I *Identifier) GetTotalBytesRead(driveInfo *C.driveInformationSAS_SATA) uint64

func (*Identifier) GetTotalBytesWritten

func (I *Identifier) GetTotalBytesWritten(driveInfo *C.driveInformationSAS_SATA) uint64

func (*Identifier) GetUuid

func (I *Identifier) GetUuid(driveInfo *C.driveInformationSAS_SATA) string

func (*Identifier) GetVendorID

func (I *Identifier) GetVendorID(driveInfo *C.driveInformationSAS_SATA) string

func (*Identifier) SeachestBasicDiskInfo

func (I *Identifier) SeachestBasicDiskInfo() (*C.driveInformationSAS_SATA, int)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL