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

Struct ethtoolLibrary

collector/ethtool_linux.go:54–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54type ethtoolLibrary struct {
55 ethtool *ethtool.Ethtool
56}
57
58func (e *ethtoolLibrary) DriverInfo(intf string) (ethtool.DrvInfo, error) {
59 return e.ethtool.DriverInfo(intf)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected