pkg

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: May 10, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const DeviceProtocolAta = "ATA"
View Source
const DeviceProtocolNvme = "NVMe"
View Source
const DeviceProtocolScsi = "SCSI"
View Source
const SmartAttributeStatusFailed = 1
View Source
const SmartAttributeStatusPassed = 0
View Source
const SmartAttributeStatusWarning = 2
View Source
const SmartWhenFailedFailingNow = "FAILING_NOW"
View Source
const SmartWhenFailedInThePast = "IN_THE_PAST"

Variables

This section is empty.

Functions

func Has

func Has(b, flag DeviceStatus) bool

Types

type DeviceStatus

type DeviceStatus int
const (
	DeviceStatusPassed         DeviceStatus = 0
	DeviceStatusFailedSmart    DeviceStatus = iota
	DeviceStatusFailedScrutiny DeviceStatus = iota
)

func Clear

func Clear(b, flag DeviceStatus) DeviceStatus

func Set

func Set(b, flag DeviceStatus) DeviceStatus

func Toggle

func Toggle(b, flag DeviceStatus) DeviceStatus

Directories

Path Synopsis
mock
Package mock_config is a generated GoMock package.
Package mock_config is a generated GoMock package.
web

Jump to

Keyboard shortcuts

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