MCPcopy
hub / github.com/google/cadvisor / GetNetworkAddress

Method GetNetworkAddress

lib/utils/sysfs/sysfs.go:122–122  ·  view source on GitHub ↗
(string)

Source from the content-addressed store, hash-verified

120
121 GetNetworkDevices() ([]os.FileInfo, error)
122 GetNetworkAddress(string) (string, error)
123 GetNetworkMtu(string) (string, error)
124 GetNetworkSpeed(string) (string, error)
125 GetNetworkStatValue(dev string, stat string) (uint64, error)

Callers 1

GetNetworkDevicesFunction · 0.65

Implementers 2

realSysFslib/utils/sysfs/sysfs.go
FakeSysFslib/utils/sysfs/fakesysfs/fake.go

Calls

no outgoing calls

Tested by

no test coverage detected