MCPcopy
hub / github.com/prometheus/node_exporter / DriverInfo

Method DriverInfo

collector/ethtool_linux.go:58–60  ·  view source on GitHub ↗
(intf string)

Source from the content-addressed store, hash-verified

56}
57
58func (e *ethtoolLibrary) DriverInfo(intf string) (ethtool.DrvInfo, error) {
59 return e.ethtool.DriverInfo(intf)
60}
61
62func (e *ethtoolLibrary) Stats(intf string) (map[string]uint64, error) {
63 return e.ethtool.Stats(intf)

Callers

nothing calls this directly

Calls 1

DriverInfoMethod · 0.65

Tested by

no test coverage detected