VictoriaMetrics/lib/cgroup
Aliaksandr Valialkin 9f94c295ab
all: use os.{Read|Write}File instead of ioutil.{Read|Write}File
The ioutil.{Read|Write}File is deprecated since Go1.16 -
see https://tip.golang.org/doc/go1.16#ioutil

VictoriaMetrics needs at least Go1.18, so it is safe to remove ioutil usage
from source code.

This is a follow-up for 02ca2342ab
2022-08-21 23:52:35 +03:00
..
testdata adds cgroupsv2 support (#1283) 2021-05-13 09:02:13 +03:00
cpu.go all: use os.{Read|Write}File instead of ioutil.{Read|Write}File 2022-08-21 23:52:35 +03:00
cpu_test.go lib/cgroup: document the ability to detect cgroup v2 memory and cpu limits. This is follow-up for b50024812e 2021-05-13 09:26:20 +03:00
mem.go lib/cgroup: reduce the default GOGC value from 50% to 30% 2022-04-06 13:32:07 +03:00
mem_test.go lib/cgroup: follow-up after b9bf3cbe3e 2021-02-08 15:54:38 +02:00
util.go all: use os.{Read|Write}File instead of ioutil.{Read|Write}File 2022-08-21 23:52:35 +03:00
util_test.go adds cgroupsv2 support (#1283) 2021-05-13 09:02:13 +03:00