Commit Graph

13 Commits (dbab8d86e9dffe4f634621fc98f4a0e1bdd7a634)

Author SHA1 Message Date
shirou bc060cc227 add SPDX License, remove old build tag, and replace import
mmorel-35 1e6b445a8a gofumpt
shirou 0969c9436b delete v2 directory, move v3 to top #1078
CMGS 80b3769ea3 not modify old API now
CMGS d93c01e54d get docker container cpu usage from cpuacct.usage
Laurie Clark-Michalek 413cb32b6c Use static initialisation for invoke instances, instead of init funcs
The order of init function execution is dependant on the order that the
source files are passed to the compiler. This causes issues when
building under other build systems, such as bazel or buck, as they are
not guarenteed to maintain the same file order as the default go tool.
shirou 231815dfea [docker]: move String() to docker.go for all platforms.
Shirou WAKAYAMA 57f6aebc7e add Timeout to invoke command and use common.Invoke refs: #201
Shirou WAKAYAMA 97e1d05084 [docker]linux: add CgroupDockerStat (#189)
Shirou WAKAYAMA 4bb84648bf JSON representation is renamed to fit Google JSON style, camelCase.
Shirou WAKAYAMA 40bbba9636 docker[linux]: add more memory stats in cgroup.
Shirou WAKAYAMA 1223e28905 docker[linux]: change docker error valiable and add cgroup error.
Cameron Sparr 7a2d225b30 Allow gopsutil docker to build on non-linux boxes by stubbing out non-linux libraries