attribute

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2026 License: Apache-2.0 Imports: 18 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiscoverAll

func DiscoverAll(ctx context.Context, l logr.Logger, lldpTimeout time.Duration) *data.AgentAttributes

DiscoverAll discovers all attributes. lldpTimeout is passed to DiscoverNetworks.

func DiscoverBIOS

func DiscoverBIOS(l logr.Logger) *data.BIOS

func DiscoverBaseboard

func DiscoverBaseboard(l logr.Logger) *data.Baseboard

func DiscoverBlockDevices

func DiscoverBlockDevices(l logr.Logger) []*data.Block

func DiscoverCPU

func DiscoverCPU(l logr.Logger) *data.CPU

func DiscoverChassis

func DiscoverChassis(l logr.Logger) *data.Chassis

func DiscoverGPU

func DiscoverGPU(l logr.Logger) []*data.GPU

func DiscoverMemory

func DiscoverMemory(l logr.Logger) *data.Memory

func DiscoverNetworks

func DiscoverNetworks(ctx context.Context, l logr.Logger, lldpTimeout time.Duration) []*data.Network

DiscoverNetworks discovers network interfaces and their LLDP neighbors. It waits up to lldpTimeout for each physical interface that has a link to report a neighbor. A zero lldpTimeout skips LLDP discovery.

func DiscoverPCI

func DiscoverPCI(l logr.Logger) []*data.PCI

func DiscoverProduct

func DiscoverProduct(l logr.Logger) *data.Product

Types

This section is empty.

Jump to

Keyboard shortcuts

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