Documentation
¶
Overview ¶
Package disk tracks the disk usage of all the mount points specified in the configuration.
Index ¶
- Constants
- func HasBeyondEndOfDevice(line string) bool
- func HasBufferIOError(line string) bool
- func HasFilesystemReadOnly(line string) bool
- func HasNVMeDeviceDisabled(line string) bool
- func HasNVMePathFailure(line string) bool
- func HasNVMeTimeout(line string) bool
- func HasNoSpaceLeft(line string) bool
- func HasRAIDArrayFailure(line string) bool
- func HasSuperblockWriteError(line string) bool
- func Match(line string) (eventName string, message string)
- func New(gpudInstance *components.GPUdInstance) (components.Component, error)
Constants ¶
const Name = "disk"
Name is the ID of the disk component.
const SubSystem = "disk"
Variables ¶
This section is empty.
Functions ¶
func HasBeyondEndOfDevice ¶ added in v0.6.0
Returns true if the line indicates attempt to access beyond end of device.
func HasBufferIOError ¶ added in v0.6.0
Returns true if the line indicates buffer I/O error.
func HasFilesystemReadOnly ¶ added in v0.6.0
Returns true if the line indicates filesystem was remounted read-only.
func HasNVMeDeviceDisabled ¶ added in v0.6.0
Returns true if the line indicates NVMe device was disabled.
func HasNVMePathFailure ¶ added in v0.6.0
Returns true if the line indicates NVMe path failure.
func HasNVMeTimeout ¶ added in v0.6.0
Returns true if the line indicates NVMe controller timeout.
func HasNoSpaceLeft ¶ added in v0.5.0
Returns true if the line indicates that the disk has no space left.
func HasRAIDArrayFailure ¶ added in v0.6.0
Returns true if the line indicates a RAID array failure.
func HasSuperblockWriteError ¶ added in v0.6.0
Returns true if the line indicates superblock write error.
func New ¶
func New(gpudInstance *components.GPUdInstance) (components.Component, error)
Types ¶
This section is empty.