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

Method GetBlockDevices

lib/utils/sysfs/sysfs.go:110–110  ·  view source on GitHub ↗

Get directory information for available block devices.

()

Source from the content-addressed store, hash-verified

108 GetHugePagesNr(hugePagesDirectory string, hugePageName string) (string, error)
109 // Get directory information for available block devices.
110 GetBlockDevices() ([]os.FileInfo, error)
111 // Get Size of a given block device.
112 GetBlockDeviceSize(string) (string, error)
113 // Get scheduler type for the block device.

Callers 1

GetBlockDeviceInfoFunction · 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