Add disk io stats

This commit is contained in:
Evan Phoenix
2015-04-06 10:59:05 -07:00
parent 065e094121
commit 250074eecf
3 changed files with 66 additions and 0 deletions

View File

@@ -43,3 +43,11 @@ func (m *MockPS) NetIO() ([]net.NetIOCountersStat, error) {
return r0, r1
}
func (m *MockPS) DiskIO() (map[string]disk.DiskIOCountersStat, error) {
ret := m.Called()
r0 := ret.Get(0).(map[string]disk.DiskIOCountersStat)
r1 := ret.Error(1)
return r0, r1
}