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

Method GetBlockDeviceSize

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

Get Size of a given block device.

(string)

Source from the content-addressed store, hash-verified

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.
114 GetBlockDeviceScheduler(string) (string, error)
115 // Get device major:minor number string.

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