Documentation ¶ Index ¶ func Available(ctx context.Context) bool func Item(ctx context.Context, value string) string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Available ¶ added in v0.26.0 func Available(ctx context.Context) bool Available returns true if DMI/SMBIOS data is exposed by the kernel, i.e. the host has a populated /sys/class/dmi/id directory. It is used to decide whether to fall back to other sources (such as the DeviceTree) for hardware identity. func Item ¶ func Item(ctx context.Context, value string) string Types ¶ This section is empty. Source Files ¶ View all Source files dmi_linux.go Click to show internal directories. Click to hide internal directories.