type FakeOOMAdjuster … func NewFakeOOMAdjuster() *OOMAdjuster { … } func fakeApplyOOMScoreAdj(pid int, oomScoreAdj int) error { … } func fakeApplyOOMScoreAdjContainer(cgroupName string, oomScoreAdj, maxTries int) error { … }
type FakeOOMAdjuster … func NewFakeOOMAdjuster() *OOMAdjuster { … } func fakeApplyOOMScoreAdj(pid int, oomScoreAdj int) error { … } func fakeApplyOOMScoreAdjContainer(cgroupName string, oomScoreAdj, maxTries int) error { … }