disk

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2026 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Overview

Package disk tracks the disk usage of all the mount points specified in the configuration.

Index

Constants

View Source
const Name = "disk"

Name is the ID of the disk component.

View Source
const SubSystem = "disk"

Variables

This section is empty.

Functions

func HasBeyondEndOfDevice added in v0.6.0

func HasBeyondEndOfDevice(line string) bool

Returns true if the line indicates attempt to access beyond end of device.

func HasBufferIOError added in v0.6.0

func HasBufferIOError(line string) bool

Returns true if the line indicates buffer I/O error.

func HasFilesystemReadOnly added in v0.6.0

func HasFilesystemReadOnly(line string) bool

Returns true if the line indicates filesystem was remounted read-only.

func HasNVMeDeviceDisabled added in v0.6.0

func HasNVMeDeviceDisabled(line string) bool

Returns true if the line indicates NVMe device was disabled.

func HasNVMePathFailure added in v0.6.0

func HasNVMePathFailure(line string) bool

Returns true if the line indicates NVMe path failure.

func HasNVMeTimeout added in v0.6.0

func HasNVMeTimeout(line string) bool

Returns true if the line indicates NVMe controller timeout.

func HasRAIDArrayFailure added in v0.6.0

func HasRAIDArrayFailure(line string) bool

Returns true if the line indicates a RAID array failure.

func HasSuperblockWriteError added in v0.6.0

func HasSuperblockWriteError(line string) bool

Returns true if the line indicates superblock write error.

func Match added in v0.5.0

func Match(line string) (eventName string, message string)

func New

func New(gpudInstance *components.GPUdInstance) (components.Component, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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