Versions in this module Expand all Collapse all v1 v1.16.0 Nov 22, 2017 Changes in this version + type MockCgroup struct — linux/amd64 + func NewMockCgroup(ctrl *gomock.Controller) *MockCgroup + func (_m *MockCgroup) Add(_param0 cgroups.Process) error + func (_m *MockCgroup) Delete() error + func (_m *MockCgroup) EXPECT() *_MockCgroupRecorder + func (_m *MockCgroup) Freeze() error + func (_m *MockCgroup) MoveTo(_param0 cgroups.Cgroup) error + func (_m *MockCgroup) New(_param0 string, _param1 *specs_go.LinuxResources) (cgroups.Cgroup, error) + func (_m *MockCgroup) OOMEventFD() (uintptr, error) + func (_m *MockCgroup) Processes(_param0 cgroups.Name, _param1 bool) ([]cgroups.Process, error) + func (_m *MockCgroup) Stat(_param0 ...cgroups.ErrorHandler) (*cgroups.Stats, error) + func (_m *MockCgroup) State() cgroups.State + func (_m *MockCgroup) Subsystems() []cgroups.Subsystem + func (_m *MockCgroup) Thaw() error + func (_m *MockCgroup) Update(_param0 *specs_go.LinuxResources) error