Commit Graph

9 Commits (539c0d52c022dd05770517674d4f0cd3eaa311da)

Author SHA1 Message Date
shirou 1f733a99dc [disk] move without context functions to disk.go. 4 years ago
Simon Frei fb73f7095e Revert "[disk][openbsd] Use fallback for openBSD not on amd64"
This reverts commit 3aa75af2ac.
6 years ago
Simon Frei 3aa75af2ac [disk][openbsd] Use fallback for openBSD not on amd64 6 years ago
shirou 4c73494c78 Add WithContext functions. 7 years ago
WAKAYAMA Shirou 114c78c777 [host]: add not implemented methods. 8 years ago
Daniel Nelson 3830ed16b4
Make IOCounters a variadic function
Remove IOCountersForNames that was recently added in favor of variadic
function with same capabilities.
8 years ago
Daniel Nelson 3f35f001da
Add disk.IOCountersForNames function
Operates like disk.IOCounters, but accepts an array of names to limit
the results.
8 years ago
Marco Pfatschbacher b4846b445b Add support for OpenBSD/amd64
This code is based on the FreeBSD version
and implements roughly the same feature set.
8 years ago
Lukas Fittl da9fa1162b Add fallback code for all unsupported operating systems.
This enables using gopsutil in a codebase that gets built on other OSes
than the ones supported. Instead of a build failure as before, due to
the build tags, gopsutil will now throw an "not implemented" runtime
error.

Fixes #234.
9 years ago